9.25
This commit is contained in:
parent
cfb12b40e0
commit
c56a065fa1
@ -8,7 +8,7 @@
|
||||
</view>
|
||||
<!-- 顶部区域 -->
|
||||
<view class="box-xianze" v-for="(item,index) in dataList" :key="index">
|
||||
<view class="">
|
||||
<view class="" @click="choose(item)">
|
||||
<view style="display: flex;align-items: center;margin-bottom: 5px;">
|
||||
<view class="">{{item.name || '--'}}</view>
|
||||
<view style="margin: 0 10px;" v-if="item.sex==0"> 先生</view>
|
||||
@ -97,7 +97,6 @@
|
||||
if (item.ifDefault == 1) {
|
||||
item.checked = true
|
||||
}
|
||||
this.$set(item, 'checked', item.checked); // 正确更新响应式属性
|
||||
})
|
||||
console.log(res, this.dataList, 98);
|
||||
this.$forceUpdate()
|
||||
|
@ -9,7 +9,8 @@
|
||||
<view class="f-box" v-for="(item,index) in integralGiftList" :key="index" @click="goDetails(item)">
|
||||
<view class="f-top">{{item.storeName}}可用</view>
|
||||
<view class="f-bs">
|
||||
<image v-if="item.coverImage" :src="baseUrl+item.coverImage" mode="aspectFit" style="width: 60px; height: 60px; "></image>
|
||||
<image v-if="item.coverImage" :src="baseUrl+item.coverImage" mode="aspectFit"
|
||||
style="width: 60px; height: 60px; "></image>
|
||||
<image v-else src="../../static/logo.png" style="width: 60px; height: 60px; "></image>
|
||||
<view class="r-box">
|
||||
<view class="">
|
||||
@ -18,7 +19,9 @@
|
||||
<view class="q_">兑换券</view>
|
||||
</view>
|
||||
<view class="">
|
||||
<view class="an_">100积分</view>
|
||||
<view class="an_">
|
||||
{{item.exchangePoints}}积分
|
||||
</view>
|
||||
<u-line-progress :percentage="50" :showText="false" height="6"
|
||||
activeColor="#FA6400"></u-line-progress>
|
||||
<view class="hui_">券已领70%</view>
|
||||
@ -59,8 +62,8 @@
|
||||
page: 1,
|
||||
pageSize: 30
|
||||
},
|
||||
integralGiftList:[],
|
||||
total:0
|
||||
integralGiftList: [],
|
||||
total: 0
|
||||
}
|
||||
},
|
||||
onPullDownRefresh() {
|
||||
@ -106,7 +109,7 @@
|
||||
if (res.code == 200) {
|
||||
this.integralGiftList = res.data.records
|
||||
this.total = res.data.total
|
||||
console.log(res,100);
|
||||
console.log(res, 100);
|
||||
}
|
||||
})
|
||||
},
|
||||
|
@ -132,7 +132,7 @@
|
||||
allAmout: 0,
|
||||
orderInfo: {},
|
||||
addrInfo: {
|
||||
address: ''
|
||||
name:''
|
||||
},
|
||||
appltType: uni.getStorageSync("appltType"),
|
||||
shippingType: '',
|
||||
@ -168,13 +168,14 @@
|
||||
},
|
||||
|
||||
onShow() {
|
||||
|
||||
uni.$on('chooseAddr', (data) => {
|
||||
this.addrInfo = data
|
||||
})
|
||||
uni.$emit('unChooseAddr')
|
||||
|
||||
// 当地址信息为空是查询地址
|
||||
if (!this.addrInfo) {
|
||||
if (!this.addrInfo.name ) {
|
||||
// 查询默认预留信息
|
||||
this.getAddress()
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user