diff --git a/manifest.json b/manifest.json index aee0991..b301f08 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "lili商城", "appid" : "__UNI__C100675", "description" : "", - "versionName" : "4.0.44", - "versionCode" : 4000044, + "versionName" : "4.0.45", + "versionCode" : 4000045, "transformPx" : false, "app-plus" : { "compatible" : { diff --git a/pages.json b/pages.json index 0690b0b..1666bc6 100644 --- a/pages.json +++ b/pages.json @@ -10,7 +10,8 @@ "style": { "navigationBarTitleText": "首页", "navigationStyle": "custom", // 隐藏系统导航栏 - "navigationBarTextStyle": "black" + "navigationBarTextStyle": "black", + "enablePullDownRefresh":true } }, diff --git a/pages/product/goods.vue b/pages/product/goods.vue index 3e9a9c9..59e4a3e 100644 --- a/pages/product/goods.vue +++ b/pages/product/goods.vue @@ -204,24 +204,25 @@ - + - - - 优惠 - × + + 优惠 + + + + 促销活动 + + + + + 可领优惠券 + + + - - - 促销活动 - - - - 可领优惠券 - - - - + { + setTimeout(() => { uni.navigateBack(); - },500) + }, 500); } // 这里是绑定分销员 if (distributionId || this.$store.state.distributionId) { @@ -625,14 +629,14 @@ export default { */ closePopupAddress(val) { this.addressFlag = val; - this.maskFlag = false; + // this.maskFlag = false; }, /** * 商品规格子级关闭回调 */ closePopupBuy(val) { this.buyMask = val; - this.maskFlag = false; + // this.maskFlag = false; }, /** 参与拼团 创建拼团 */ @@ -708,7 +712,7 @@ export default { */ getGoodsCollectionFun(goodsId) { if (storage.getHasLogin()) { - API_Members.getGoodsIsCollect("GOODS",goodsId ).then((res) => { + API_Members.getGoodsIsCollect("GOODS", goodsId).then((res) => { this.favorite = res.data.result; }); } @@ -730,7 +734,7 @@ export default { /** * 获取相似商品列表 - * + * */ getOtherLikeGoods() { getGoodsList({ @@ -775,22 +779,21 @@ export default { * 规格弹窗开关 */ shutMask(flag, buyFlag, type) { - // type是指是否点击底部按钮 + this.promotionFlag = false; + this.buyMask = false; + this.addressFlag = false; if (flag) { switch (flag) { case 1: //优惠券弹窗 - this.maskFlag = true; - this.cuxiao = true; + this.promotionFlag = true; break; - case 3: - this.maskFlag = true; this.addressFlag = true; break; case 4: //添加购物车直接购买,查看已选 弹窗 // 判断是否是一个规格 - this.maskFlag = true; + this.buyMask = true; if (buyFlag == "PINTUAN") { if (type.orderSn) { @@ -804,10 +807,6 @@ export default { break; } - } else { - this.maskFlag = false; - this.cuxiao = false; - this.buyMask = false; } }, @@ -820,7 +819,7 @@ export default { this.deleteGoodsCollectionFun(id); return false; } - API_Members.collectionGoods("GOODS",id ).then((res) => { + API_Members.collectionGoods("GOODS", id).then((res) => { if (res.data.success) { uni.showToast({ title: "收藏成功!", diff --git a/pages/product/product/popup/address.vue b/pages/product/product/popup/address.vue index ac8acf7..8c89866 100644 --- a/pages/product/product/popup/address.vue +++ b/pages/product/product/popup/address.vue @@ -1,5 +1,5 @@