佣金展示条件增加
This commit is contained in:
parent
6a46951dc3
commit
64a3531227
|
|
@ -44,7 +44,7 @@
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view id="pageAnchor0" class="flex justify-between align-end">
|
<view id="pageAnchor0" class="flex justify-between align-end">
|
||||||
<view class="text-df">
|
<view class="text-df" v-if="curUserInfo.placeStatus === 2">
|
||||||
佣金:<text class="text-price margin-right-sm">{{curProductSpecs.finalPrice}}</text>
|
佣金:<text class="text-price margin-right-sm">{{curProductSpecs.finalPrice}}</text>
|
||||||
<!-- <text class="cuIcon-share"></text> -->
|
<!-- <text class="cuIcon-share"></text> -->
|
||||||
</view>
|
</view>
|
||||||
|
|
@ -227,7 +227,8 @@
|
||||||
orderNow: false,
|
orderNow: false,
|
||||||
totalPickCount: 0,
|
totalPickCount: 0,
|
||||||
ifHasCsMsg: true,
|
ifHasCsMsg: true,
|
||||||
picUrls: []
|
picUrls: [],
|
||||||
|
curUserInfo: {}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad(options) {
|
onLoad(options) {
|
||||||
|
|
@ -248,6 +249,8 @@
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
async loadData() {
|
async loadData() {
|
||||||
|
await this.$request.refreshCurUserCache();
|
||||||
|
this.curUserInfo = this.$request.getCurUserInfo();
|
||||||
let productDetailMock = await this.$api.data('productDetail');
|
let productDetailMock = await this.$api.data('productDetail');
|
||||||
this.productDetail = await this.$request.getGoodsDetail({
|
this.productDetail = await this.$request.getGoodsDetail({
|
||||||
goodsId: this.inParam.goodsId
|
goodsId: this.inParam.goodsId
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue