diff --git a/.gitignore b/.gitignore index f4e4c6b..d45e2c8 100644 --- a/.gitignore +++ b/.gitignore @@ -9,3 +9,5 @@ node_modules/ .vscode/ /unpackage/ .hbuilderx/launch.json +.project.config.json +.project.private.config.json diff --git a/manifest.json b/manifest.json index ec82d1b..a37a425 100644 --- a/manifest.json +++ b/manifest.json @@ -211,7 +211,8 @@ "version" : "1.3.0", "provider" : "wx2b03c6e691cd7370" } - } + }, + "requiredPrivateInfos" : [ "chooseLocation", "getLocation" ] }, "h5" : { "devServer" : { diff --git a/pages/cart/coupon/myCoupon.vue b/pages/cart/coupon/myCoupon.vue index fe029a7..687d73f 100644 --- a/pages/cart/coupon/myCoupon.vue +++ b/pages/cart/coupon/myCoupon.vue @@ -32,7 +32,7 @@ @@ -139,7 +139,7 @@ export default { pageSize: 10, status: 1, }, - wheterEmpty: false, + whetherEmpty: false, }, { text: "已使用", @@ -151,7 +151,7 @@ export default { pageSize: 10, status: 2, }, - wheterEmpty: false, + whetherEmpty: false, }, { text: "已过期", @@ -163,7 +163,7 @@ export default { pageSize: 10, status: 3, }, - wheterEmpty: false, + whetherEmpty: false, }, ], couponList: [], //优惠券列表 @@ -206,7 +206,7 @@ export default { let data = res.data.result.records; if (data.length == 0) { if (res.data.pageNumber == 1) { - this.navList[index].wheterEmpty = true; + this.navList[index].whetherEmpty = true; } else { this.navList[index].loadStatus = "noMore"; } diff --git a/pages/cart/payment/shareOrderGoods.vue b/pages/cart/payment/shareOrderGoods.vue index 79c4312..f7f21f2 100644 --- a/pages/cart/payment/shareOrderGoods.vue +++ b/pages/cart/payment/shareOrderGoods.vue @@ -1,5 +1,5 @@ - + {{selectedGoods.goodsName}} @@ -58,7 +58,7 @@ + :thumbnail="data.promotionGoods.thumbnail" :goodsName="data.promotionGoods.goodsName" v-if="shareFlag " /> @@ -72,13 +72,13 @@ import popupGoods from "@/components/m-buy/goods"; //购物车商品的模块 export default { data() { return { - flage: false, //判断接口是否正常请求 + flag: false, //判断接口是否正常请求 addr: { id: "", }, maskFlag: false, //商品弹框 timeStamp: 0, - shareFlage: false, + shareFlag: false, data: "", isMaster: true, selectedGoods: "", //选择的商品规格昵称 @@ -116,7 +116,7 @@ export default { }, methods: { closeShare() { - this.shareFlage = false; + this.shareFlag = false; }, // 这里的话得先跳到商品详情才能购买商品 toBuy() { @@ -131,7 +131,7 @@ export default { }, // 分享 share() { - this.shareFlage = true; + this.shareFlag = true; }, closePopupBuy(val) { this.maskFlag = false; @@ -140,7 +140,7 @@ export default { async init(sn, sku) { let res = await getPinTuanShare(sn, sku); if (res.data.success && res.data.result.promotionGoods) { - this.flage = true; + this.flag = true; this.data = res.data.result; this.selectedGoods = res.data.result.promotionGoods; let endTime = Date.parse( diff --git a/pages/mine/address/add.vue b/pages/mine/address/add.vue index 6bc4923..a491dc4 100644 --- a/pages/mine/address/add.vue +++ b/pages/mine/address/add.vue @@ -33,18 +33,18 @@ - +
{{selectedGoods.goodsName}}