线上2.1.39

ymt-db-dev
游梦婷 1 year ago
parent a5ff7ca162
commit e31af7c216
  1. 6
      pages/goods/externalCoupon/externalCoupon.vue
  2. 3
      pages/goods/goods-list/goods-list.vue
  3. 13
      pages/tabBar/classify/classify.vue
  4. 3
      subPages/coupon-package/coupon-package.vue

@ -39,7 +39,7 @@
<image :src="imageres5" class="width100 headbgimg" mode="widthFix" <image :src="imageres5" class="width100 headbgimg" mode="widthFix"
v-if="couponsDetails.highDiscount.usingRange == 8"></image> v-if="couponsDetails.highDiscount.usingRange == 8"></image>
<view class="width90 contents backcorfff height260 border-r fotct" <view class="width90 contents backcorfff border-r fotct"
v-if="couponsDetails.highDiscount.usingRange == 8"> v-if="couponsDetails.highDiscount.usingRange == 8">
<view class="width90 font18 fontwig6 fcor333 paddtop10 ">{{couponsDetails.highDiscount.discountName}} <view class="width90 font18 fontwig6 fcor333 paddtop10 ">{{couponsDetails.highDiscount.discountName}}
</view> </view>
@ -76,7 +76,7 @@
<!-- // --> <!-- // -->
<image :src="imageres4" class="width100 headbgimg" mode="widthFix" <image :src="imageres4" class="width100 headbgimg" mode="widthFix"
v-if="couponsDetails.highDiscount.usingRange != 8"></image> v-if="couponsDetails.highDiscount.usingRange != 8"></image>
<view class="width90 contents backcorfff height260 border-r fotct" <view class="width90 contents backcorfff border-r fotct"
v-if="couponsDetails.highDiscount.usingRange != 8"> v-if="couponsDetails.highDiscount.usingRange != 8">
<view class="width90 font18 fontwig6 fcor333 paddtop10 ">{{couponsDetails.highDiscount.discountName}} <view class="width90 font18 fontwig6 fcor333 paddtop10 ">{{couponsDetails.highDiscount.discountName}}
</view> </view>
@ -643,7 +643,7 @@
.contents { .contents {
position: relative; position: relative;
top: 160px; top: 160px;
padding-bottom: 1px;
.headcontimg { .headcontimg {
width: 90px; width: 90px;
height: 90px; height: 90px;

@ -227,7 +227,8 @@
} }
let pagenum = this.pageNum; let pagenum = this.pageNum;
let params = { let params = {
regionId: app.globalData.cityId, // regionId: app.globalData.cityId,
companyId:app.globalData.companyId,
goodsTypeId: this.goodtyid, goodsTypeId: this.goodtyid,
pageNum: pagenum, pageNum: pagenum,
pageSize: this.pageSize, pageSize: this.pageSize,

@ -160,11 +160,9 @@
}, },
onShow(){ onShow(){
this.$nextTick(()=>{ this.$nextTick(()=>{
if(this.$refs.goodsList&&app.globalData.userInfo){ if(this.isLoading==false&&app.globalData.userInfo){
this.$refs.goodsList.refreshCartNum() this.$refs.goodsList.refreshCartNum()
} }
}) })
@ -194,7 +192,7 @@
length:_this.data_content.children.length length:_this.data_content.children.length
}; };
// console.log(_this.selectObject,"_this.selectObject") // console.log(_this.selectObject,"_this.selectObject")
await _this.get_goods_list(_this.data_content.children[_this.nav_active_item_two_index].key);// await _this.get_goods_list(_this.data_content.children[_this.nav_active_item_two_index].key,true);//
} }
} }
@ -247,7 +245,7 @@
this.get_goods_list(this.data_content.children[this.nav_active_item_two_index].key) this.get_goods_list(this.data_content.children[this.nav_active_item_two_index].key)
}, },
get_goods_list(key){ get_goods_list(key,isRefreshCart=false){
let price =0; let price =0;
if(this.sortIndex ==3){ if(this.sortIndex ==3){
@ -276,6 +274,11 @@
getListGoodsDetail(params).then(res=>{ getListGoodsDetail(params).then(res=>{
setTimeout(()=>{ setTimeout(()=>{
this.isLoading = false; this.isLoading = false;
if(isRefreshCart&&app.globalData.userInfo){
this.$nextTick(()=>{
this.$refs.goodsList.refreshCartNum();
})
}
},200) },200)
// uni.hideLoading(); // uni.hideLoading();
if (res.return_code == '000000') { if (res.return_code == '000000') {

@ -131,7 +131,8 @@
} }
let pagenum = this.pageNum; let pagenum = this.pageNum;
let params = { let params = {
regionId: app.globalData.cityId, // regionId: app.globalData.cityId,
companyId:app.globalData.companyId,
pageNum: pagenum, pageNum: pagenum,
pageSize: this.pageSize, pageSize: this.pageSize,
title: this.couponName title: this.couponName

Loading…
Cancel
Save