fanfan 9 months ago
commit ec4e5b023c
  1. 2
      pages/index/index.vue
  2. 4
      pages/user/index.vue

@ -1029,7 +1029,7 @@
} }
.secondRows{ .secondRows{
.imageC{ .imageC{
background-color: #F3F3F3; // background-color: #F3F3F3;
border-radius: 50%; border-radius: 50%;
overflow:hidden; overflow:hidden;
display: flex; display: flex;

@ -33,6 +33,7 @@
<image :src="$picUrl+'/static/user/code.png'" class="thumbnail_2"></image> <image :src="$picUrl+'/static/user/code.png'" class="thumbnail_2"></image>
<text lines="1" class="text_3">会员码</text> <text lines="1" class="text_3">会员码</text>
</view> </view>
<!-- -->
<view class="group_5" @click="lookMemberCode('3')" v-if="userInfo.user_type == 30"> <view class="group_5" @click="lookMemberCode('3')" v-if="userInfo.user_type == 30">
<image :src="$picUrl+'/static/user/code.png'" class="thumbnail_3"></image> <image :src="$picUrl+'/static/user/code.png'" class="thumbnail_3"></image>
<text lines="1" class="text_4">分销码</text> <text lines="1" class="text_4">分销码</text>
@ -652,7 +653,8 @@
}) })
.then(result => { .then(result => {
let data = result.data.userInfo let data = result.data.userInfo
data.qrcode = createQrCodeImg(data.user_id, { console.log("data.user_id",data.user_id)
data.qrcode = createQrCodeImg(data.user_id.toString(), {
'size': 500 'size': 500
}); });
console.log(data) console.log(data)

Loading…
Cancel
Save