部分微调
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<swiper :indicator-dots="true" :autoplay="true" :interval="3000" :duration="1000"
|
||||
style="width: 100%;height: 100%;">
|
||||
<swiper-item v-for="(item,index) in swiperlist" :key="index" style="width: 100%;height: 100%;">
|
||||
<image :src="item" mode="aspectFit" style="width: 100%;height: 100%;"></image>
|
||||
<image :src="item" mode="aspectFit" style="width: 100%;height: 100%;" @click="previewImage(item)"></image>
|
||||
</swiper-item>
|
||||
</swiper>
|
||||
</view>
|
||||
@@ -319,7 +319,13 @@
|
||||
previewImage(url) {
|
||||
console.log(url)
|
||||
uni.previewImage({
|
||||
urls: [url]
|
||||
urls: [url],
|
||||
longPressActions:{
|
||||
itemList:['很抱歉,暂不支持保存图片到本地'],
|
||||
success:function(res){
|
||||
console.log(res,'+++++')
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
// 获取html格式的评论1
|
||||
|
||||
@@ -287,15 +287,20 @@
|
||||
this.shangIDNum = e.list
|
||||
}
|
||||
// this.getYunFei()
|
||||
|
||||
},
|
||||
onShow() {
|
||||
if (this.typeId == 1) {
|
||||
this.getCartList()
|
||||
|
||||
} else if (this.typeId == 0) {
|
||||
this.getShangList(this.shangIDNum);
|
||||
}
|
||||
}
|
||||
},
|
||||
onShow() {
|
||||
// if (this.typeId == 1) {
|
||||
// this.getCartList()
|
||||
|
||||
// } else if (this.typeId == 0) {
|
||||
// this.getShangList(this.shangIDNum);
|
||||
// }
|
||||
this.getData()
|
||||
this.getOS()
|
||||
},
|
||||
@@ -433,7 +438,7 @@
|
||||
for (let i = 0; i < this.cartIDNum.length; i++) {
|
||||
this.cartList.push(res.cartList[this.cartIDNum[i]])
|
||||
}
|
||||
// console.log(this.cartList, '购物车列表')
|
||||
console.log(this.cartList, '购物车列表')
|
||||
this.getCourpe()
|
||||
this.getUserAddress()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user