Commit 0b67f20e authored by chenfenglei's avatar chenfenglei

海报

parent 9542701a
......@@ -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.singsingenglish.com/#/buyDetail?"',
BUY_URL:'"http://wechat.test.changchangenglish.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/"',
});
......@@ -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
});
}
......
......@@ -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: 525 / 2 * @toVw;
width: 518 / 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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment