Commit 54ec955a authored by chenfenglei's avatar chenfenglei

优化

parent 7bd38117
...@@ -376,7 +376,6 @@ ...@@ -376,7 +376,6 @@
limit: 4 limit: 4
} }
getInviteListApi(json).then(res=>{ getInviteListApi(json).then(res=>{
console.log(res)
this.inviteList = res.list this.inviteList = res.list
}); });
} }
......
<template> <template>
<div class="group-index" ref="index" v-if="groupDetail" style="background-color: #fda813;"> <div class="group-index" ref="index" v-if="groupDetail" style="background-color: #59c1f1;">
<div> <div>
<div class="img-cvs" id="capture" ref="imageWrapper" v-if="groupDetail.share_desc.refImg && groupDetail.share_desc.refImg.length > 0"> <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" id="avatarImg"> <div v-if="avatar && QRCodeB" id="avatarImg">
...@@ -478,7 +478,10 @@ ...@@ -478,7 +478,10 @@
text-align: left; text-align: left;
font-size: 14 * @toVw; font-size: 14 * @toVw;
color: #fff; color: #fff;
background: url('../../assets/activity/red-bg.png') no-repeat center; // background: url('../../assets/activity/red-bg.png') no-repeat center;
background: #f5c10c;
border-radius: 25 * @toVw;
box-shadow: 2px 2px 2px #888888;
background-size: cover; background-size: cover;
box-sizing: border-box; box-sizing: border-box;
padding: 2px 58/2*@toVw; padding: 2px 58/2*@toVw;
......
...@@ -219,6 +219,7 @@ ...@@ -219,6 +219,7 @@
height1, height1,
width1 width1
} = document.getElementById('capture').getClientRects()[0]; } = document.getElementById('capture').getClientRects()[0];
console.log(height1)
html2canvas(document.getElementById('capture'),{ html2canvas(document.getElementById('capture'),{
async: true, async: true,
timeout: 500, timeout: 500,
......
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