improve: 优化;

This commit is contained in:
From-wh 2023-04-19 18:30:22 +08:00
parent 40e4273e92
commit f2526ffc69
4 changed files with 14 additions and 10 deletions

View File

@ -21,7 +21,7 @@
@click="selectUser(item)"
>
<div class="avatar">
<img v-lazy="item.avatar" alt="" />
<img v-lazy="item.wx_avatar" alt="" />
<div class="status" :class="{ off: item.online == 0 }"></div>
</div>
<div class="user-info">

View File

@ -235,7 +235,7 @@ export default {
{
col: 8,
count: 0,
name: '推广人数(人)',
name: '砍价人数(人)',
className: 'ios-speedometer-outline',
},
{

View File

@ -23,6 +23,9 @@
<span class="nickname">{{ row.nickname }}</span> |
<span class="uid">{{ row.uid }}</span>
</template>
<template slot-scope="{ row, index }" slot="pay_price">
<span>{{ row.paid ? row.pay_price : '未支付' }}</span>
</template>
<template slot-scope="{ row, index }" slot="info">
<div class="tabBox" v-for="(val, i) in row._info" :key="i">
<div class="tabBox_img" v-viewer>
@ -262,7 +265,7 @@ export default {
},
{
title: '实际支付',
key: 'pay_price',
slot: 'pay_price',
align: 'center',
width: 100,
},

View File

@ -123,6 +123,13 @@
async onLaunch(option) {
uni.hideTabBar()
let that = this;
// #ifdef H5
if (option.query.hasOwnProperty('type') && option.query.type == "iframeWindow") {
this.globalData.isIframe = true;
} else {
this.globalData.isIframe = false;
}
// #endif
colorChange('color_change').then(res => {
uni.setStorageSync('is_diy', res.data.is_diy)
uni.$emit('is_diy', res.data.is_diy)
@ -245,13 +252,7 @@
}
// #endif
// #ifdef H5
if (option.query.hasOwnProperty('type') && option.query.type == "iframeWindow") {
this.globalData.isIframe = true;
} else {
this.globalData.isIframe = false;
}
// #endif
// #ifdef MP
// 小程序静默授权
// if (!this.$store.getters.isLogin) {