Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
H
h5-base
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
new-sing
h5-base
Commits
0b67f20e
Commit
0b67f20e
authored
Jan 08, 2019
by
chenfenglei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
海报
parent
9542701a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
4 deletions
+10
-4
dev.env.js
config/dev.env.js
+1
-1
activity.vue
src/components/buy/activity.vue
+2
-0
activityInvite.vue
src/components/buy/activityInvite.vue
+7
-3
No files found.
config/dev.env.js
View file @
0b67f20e
...
...
@@ -7,7 +7,7 @@ module.exports = merge(prodEnv, {
API_URL
:
'"/"'
,
MAX_FILESIZE
:
'1024*1024*10'
,
IMAGE_URL_HEAD
:
'"http://cdn.singsingenglish.com/"'
,
BUY_URL
:
'"http://wechat.test.
singsi
ngenglish.com/#/buyDetail?"'
,
BUY_URL
:
'"http://wechat.test.
changcha
ngenglish.com/#/buyDetail?"'
,
AUTHOR_UEL
:
'"http://wechat-test.changchangenglish.com/api/client/login?redirect_url=http://192.168.31.242:8085/#/"'
,
REDIRECT_URL
:
'"http://localhost:8085/"'
,
});
src/components/buy/activity.vue
View file @
0b67f20e
...
...
@@ -367,6 +367,7 @@
},
getInviteResult
(){
getInviteResultApi
().
then
(
res
=>
{
console
.
log
(
res
)
this
.
earnings
=
res
.
earnings
;
this
.
userNum
=
res
.
user_num
;
});
...
...
@@ -377,6 +378,7 @@
limit
:
4
}
getInviteListApi
(
json
).
then
(
res
=>
{
console
.
log
(
res
)
this
.
inviteList
=
res
.
list
});
}
...
...
src/components/buy/activityInvite.vue
View file @
0b67f20e
...
...
@@ -2,7 +2,7 @@
<div
class=
"group-index"
ref=
"index"
v-if=
"groupDetail"
style=
"background-color: #fda813;"
>
<div>
<div
class=
"img-cvs"
id=
"capture"
ref=
"imageWrapper"
v-if=
"groupDetail.share_desc.refImg && groupDetail.share_desc.refImg.length > 0"
>
<div
v-if=
"avatar && QRCodeB"
>
<div
v-if=
"avatar && QRCodeB"
id=
"avatarImg"
>
<img
:src=
"groupDetail.share_desc.refImg[0].url"
v-if=
"showLoad"
id=
"showImg"
>
<div
class=
"avatar-container"
><img
:src=
"avatar"
class=
"avatar"
/>
我已加入,邀请你一起加入
</div>
</div>
...
...
@@ -163,6 +163,7 @@
}
let
code
=
`
${
invite_code
[
0
]}
-
${
invite_code
[
1
]}
`
;
let
URL
=
`
${
process
.
env
.
BUY_URL
}
shopId=
${
this
.
shopId
}
&invite_code=
${
code
}
-
${
this
.
user_id
}
`
;
if
(
this
.
groupId
&&
this
.
groupId
!==
'null'
){
URL
+=
`&groupId=
${
this
.
groupId
}
`
}
...
...
@@ -429,7 +430,7 @@
}
.img-cvs{
position: absolute;
width: 5
25
/ 2 * @toVw;
width: 5
18
/ 2 * @toVw;
top: 25 * @toVh;
left: 113 / 2 * @toVw;
.avatar-container {
...
...
@@ -452,11 +453,14 @@
}
.qrcode{
position: absolute;
top:
700
/ 2 * @toVw;
top:
695
/ 2 * @toVw;
left: 15 * @toVw;
width: 60 * @toVw;
}
}
#avatarImg{
max-height: 420 * @toVw;
}
.cvs-img{
position: absolute;
width: 525 / 2 * @toVw;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment