Merge branch 'wwz_d' of https://e.coding.net/g-cphe0354/xiaochengxusaomadiancan/cashier_weapp into wwz_x
This commit is contained in:
commit
b1191261f2
|
|
@ -13,10 +13,10 @@
|
||||||
<text class="towcontentitemtowetext">VIP{{userInfo.code || '无'}}</text>
|
<text class="towcontentitemtowetext">VIP{{userInfo.code || '无'}}</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="towcontentitevip">
|
<view class="towcontentitevip">
|
||||||
VIP{{userInfo.isVip?userInfo.isVip:''}}
|
VIP{{userInfo.isVip||''}}
|
||||||
</view>
|
</view>
|
||||||
<image src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/drder/erweima.png" class="imgStyle" mode=""
|
<image src="https://czg-qr-order.oss-cn-beijing.aliyuncs.com/drder/erweima.png" class="imgStyle" mode=""
|
||||||
@click=""></image>
|
@click="clickEvent"></image>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
@ -27,16 +27,18 @@
|
||||||
return {}
|
return {}
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
console.log(this.userInfo,'调试1113')
|
console.log(this.userInfo, '调试1113')
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
clickEvent() {
|
clickEvent() {
|
||||||
|
if (this.userInfo.amount) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/pay_code/pay_code?shopInfo='+JSON.stringify(this.userInfo)
|
url: '/pages/pay_code/pay_code?shopInfo=' + JSON.stringify(this.userInfo)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue