+
+
+
+
{{loginTitleWay[current].title}}
+
{{loginTitleWay[current].desc}}{{mobile | secrecyMobile}}
+
+
+
+
+
获取验证码
+
-
-
+
- 同意
《用户协议》和
《隐私政策》
+
未注册的手机号验证后将自动创建用户账号,登录即代表您已同意《使用条款及隐私协议》
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
+
\ No newline at end of file
diff --git a/pages/passport/mp-codeLogin.scss b/pages/passport/mp-codeLogin.scss
deleted file mode 100644
index 87ebeeb..0000000
--- a/pages/passport/mp-codeLogin.scss
+++ /dev/null
@@ -1,8 +0,0 @@
-
-/deep/ .u-form-item {
- margin: 40rpx 0 !important;
- padding: 40rpx 0 !important;
-}
-.submit {
- margin-top: 40rpx;
-}
diff --git a/pages/passport/onClickLogin.vue b/pages/passport/onClickLogin.vue
deleted file mode 100644
index eb766cf..0000000
--- a/pages/passport/onClickLogin.vue
+++ /dev/null
@@ -1,296 +0,0 @@
-
-
-
-
-
-
diff --git a/pages/product/goods.vue b/pages/product/goods.vue
index d55f275..c8b31bc 100644
--- a/pages/product/goods.vue
+++ b/pages/product/goods.vue
@@ -410,17 +410,7 @@ export default {
routerVal: "",
};
},
- // #ifdef MP-WEIXNI
- shareAppMessage() {
- return {
- title: this.goodsDetail.goodsName,
- type: 0,
- query: `id=${this.routerVal.id}&goodsId=${this.routerVal.goodsId}`,
- path: `/pages/product/goods`,
- imageUrl: this.goodsDetail.goodsGalleryList[0],
- };
- },
- // #endif
+
watch: {
isGroup(val) {
if (val) {
@@ -483,7 +473,7 @@ export default {
getMpScene(this.routerVal.scene).then((res) => {
if (res.data.success) {
let data = res.data.result.split(","); // skuId,goodsId,distributionId
- console.warn(data)
+ console.warn(data);
this.init(data[0], data[1], data[2]);
}
});
@@ -495,7 +485,19 @@ export default {
);
}
},
+ // #ifdef MP-WEIXIN
+ onShareAppMessage(res) {
+ return {
+ path: this.share(),
+ title: `[好友推荐]${this.goodsDetail.goodsName}`,
+ imageUrl: this.goodsDetail.goodsGalleryList[0],
+ };
+ },
+ // #endif
methods: {
+ share() {
+ return `/pages/product/goods?id=${this.routerVal.id}&goodsId=${this.routerVal.goodsId}`;
+ },
/**
* 导航栏列表栏
*/
@@ -521,12 +523,14 @@ export default {
/**
* 初始化信息
*/
- async init(id, goodsId, distributionId="") {
+ async init(id, goodsId, distributionId = "") {
this.isGroup = false; //初始化拼团
this.productId = id; // skuId
// 这里请求获取到页面数据 解析数据
let response = await getGoods(id, goodsId);
+
+ console.log(response);
if (!response.data.success) {
setTimeout(() => {
uni.navigateBack();
@@ -536,7 +540,7 @@ export default {
if (distributionId || this.$store.state.distributionId) {
let disResult = await getGoodsDistribution(distributionId);
if (!disResult.data.success || disResult.statusCode == 403) {
- console.log("绑定成功!")
+ console.log("绑定成功!");
this.$store.state.distributionId = distributionId;
}
}
diff --git a/pages/product/product/popup/goods.vue b/pages/product/product/popup/goods.vue
index b9b5571..eb98d57 100644
--- a/pages/product/product/popup/goods.vue
+++ b/pages/product/product/popup/goods.vue
@@ -53,14 +53,14 @@
-
+
{{ spec.name }}
{{ spec_val.value }}
+ @click="handleClickSpec(spec, specIndex, spec_val)">{{ spec_val.value }}
@@ -71,7 +71,7 @@
v-model="num">
-
+
@@ -86,6 +86,7 @@
diff --git a/pages/product/product/style.scss b/pages/product/product/style.scss
index 82b3e4a..efedaa9 100644
--- a/pages/product/product/style.scss
+++ b/pages/product/product/style.scss
@@ -71,7 +71,8 @@ page {
font-size: 32rpx;
}
.-goods-desc {
- padding: 36rpx 0 24rpx 0;
+ padding: 36rpx 0 0 0;
+ margin-bottom: 24rpx;
font-size: 24rpx;
color: #666;
display: -webkit-box;
diff --git a/pages/tabbar/cart/cartList.vue b/pages/tabbar/cart/cartList.vue
index 2f3a8f2..07cf0cd 100644
--- a/pages/tabbar/cart/cartList.vue
+++ b/pages/tabbar/cart/cartList.vue
@@ -26,17 +26,17 @@
@change="checkboxChangeDP(item)">
- {{
+ {{
item.storeName
}}
-
-
+
+
领劵
失效
-
+
@@ -76,7 +76,8 @@
{{skuItem.goodsSku.simpleSpecs}}
-
+
+
¥{{ formatPrice(skuItem.goodsSku.price)[0] }}
.{{ formatPrice(skuItem.goodsSku.price)[1] }}
@@ -101,11 +102,10 @@
font-size="24" :timestamp="getCountDownTime(seckill.endTime)">
-
-
预估到手价 ¥{{ formatPrice(skuItem.priceDetailDTO.flowPrice)[0]}}
.{{ formatPrice(skuItem.priceDetailDTO.flowPrice)[1] }}
@@ -137,7 +137,7 @@
class="discountPrice">
优惠减:¥{{(cartDetail.priceDetailDTO.goodsPrice - cartDetail.priceDetailDTO.flowPrice) | unitPrice}}
- 优惠明细
+ 优惠明细
@@ -208,6 +208,7 @@ export default {
WEIXIN_num: "", //购物车兼容微信步进器
};
},
+
mounted() {
// #ifdef MP-WEIXIN
// 小程序默认分享
@@ -542,6 +543,11 @@ export default {
};
+