积分显示更新

This commit is contained in:
GaoHao
2024-11-12 11:06:34 +08:00
parent 4cf6352494
commit 2808dec925

View File

@@ -96,7 +96,7 @@
</view>
<view class="favorable_right" ><text class="favorable_right_text">{{item.value}}</text> <u-icon name="arrow-right" color="#575B66" size="28"></u-icon></view>
</view>
<view class="favorable" v-else-if="item.type=='points'&&calcUsablePointsData.usable">
<view class="favorable" v-else-if="item.type=='points'">
<view class="favorable_left">
<image class="icon" :src="item.url" mode="aspectFill"/>
<text class="name"> {{ item.name }} </text>
@@ -548,14 +548,14 @@
shopId: uni.cache.get('shopId'),
type: index,
}
if ( this.eatModel == "dine-in" && this.tableCode ) { params.tableId = this.tableCode; }
if ( index == 0 && this.tableCode ) { params.tableId = this.tableCode; }
if ( this.shopTableInfo && this.shopTableInfo.seatNum ) { params.num = this.shopTableInfo.seatNum; }
let res = await this.api.choseEatModel(params)
console.log(index)
if ( type == 'tabClick') {
if ( index == 1 ) {
if ( this.listinfo.details.length > 0) {
if ( res.data.info.length > 0) {
this.is_type = index;
this.sendType = item.type
this.eatModel = [];