diff --git a/common/api/user.js b/common/api/user.js
index 67e592c..8594ef0 100644
--- a/common/api/user.js
+++ b/common/api/user.js
@@ -396,6 +396,10 @@ export default {
articleCollectList() {
return vm.$u.post('article/articleCollectList');
},
+ // 关注用户列表
+ attentionMemberList() {
+ return vm.$u.post('member/attentionMemberList');
+ },
}
}
}
\ No newline at end of file
diff --git a/components/mine/order-item/index.vue b/components/mine/order-item/index.vue
index d844a2b..e167fd8 100644
--- a/components/mine/order-item/index.vue
+++ b/components/mine/order-item/index.vue
@@ -15,11 +15,11 @@
{{ spec + ';' }}
-
+ 结束时间:{{ order.end_time | date('yyyy-mm-dd hh:MM') }}
总价:¥{{ goods.goods_price }},实付款¥{{ goods.goods_pay_price }}
- {{ order.add_time | date }}
+ {{ order.add_time | date('yyyy-mm-dd hh:MM') }}
diff --git a/pageB/sdetails/index.vue b/pageB/sdetails/index.vue
index f467767..cfe66dd 100644
--- a/pageB/sdetails/index.vue
+++ b/pageB/sdetails/index.vue
@@ -201,7 +201,8 @@ export default {
showSpec: false, // 是否显示选择规格
goodsNumber: 1,
sel: "", // 拼接的规格
- quanxuan: false, // 规格是否选择
+ quanxuan: false, // 规格是否选择
+ debounce: true,
}
},
components: {
@@ -224,6 +225,7 @@ export default {
this.setTitle();
},
onShow() {
+ this.debounce = true;
this.showSpec = false;
this.showGroupUser = false;
this.showInvolvementUser = false;
@@ -235,34 +237,6 @@ export default {
clearInterval(this.timer);
},
methods: {
- // init() {
- // this.id = this.$store.state.goods_id;
- // this.type = this.$store.getters.getGoodsType;
- // const info = this.$store.getters.getGoodsInfo;
- // // 拼团商品
- // if(this.type == 2) {
- // this.user_suc = info.user_suc;
- // this.groupUser = info.user;
- // this.pintuan_id = info.pintuan_id;
- // }
- // // 秒杀商品
- // if (this.type == 3) {
- // this.groupbuyInfo = this.$store.state.groupbuyInfo;
- // this.setSpikeTime();
- // }
- // // console.log(this.groupbuyInfo);
- // this.goodsInfo = info.goods;
- // // 设置轮播图
- // let list = [];
- // info.goods_image[0].forEach(item => {
- // let temp = {
- // image: item
- // }
- // list.push(temp);
- // })
- // this.list = list;
- // this.setTitle();
- // },
setSwiperList(list) {
let img = [];
list.forEach(item => {
@@ -331,7 +305,7 @@ export default {
break;
}
},
- // 普通商品
+ // 普通商品详情
ordinaryDetails(id) {
this.$u.api.getGoodsDetails({ id: id }).then((res)=>{
if (res.errCode == 0) {
@@ -343,7 +317,7 @@ export default {
}
})
},
- // 拼团
+ // 拼团详情
pinTuanDetails(id) {
this.$u.api.getPinTuanDetails({
pintuan_id: id
@@ -358,7 +332,7 @@ export default {
}
})
},
- // 秒杀
+ // 秒杀详情
spikeGoodsDetails(id) {
this.$u.api.getSpikeInfo({
groupbuy_id: id
@@ -388,6 +362,8 @@ export default {
* @params {Number} ifcart 结算方式 1:购物车 0:直接结算(立即购买/拼团/秒杀)
**/
settlementOrder({type, num = this.goodsNumber, ifcart = 0} = {}) {
+ if(!this.debounce) return;
+ this.debounce = false;
let params = {
ifcart: ifcart,
cart_id: [this.goodsInfo.goods_id + '|' + num],
@@ -413,6 +389,8 @@ export default {
this.$u.route({
url: '/pageC/cart/ConfirmOrder'
})
+ } else {
+ this.debounce = true;
}
})
},
diff --git a/pageB/triedDress/index.vue b/pageB/triedDress/index.vue
index c03bec1..60adef3 100644
--- a/pageB/triedDress/index.vue
+++ b/pageB/triedDress/index.vue
@@ -124,7 +124,7 @@ export default {
return true;
},
chooseDate(e) {
- let time = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute;
+ let time = e.year + '/' + e.month + '/' + e.day + ' ' + e.hour + ':' + e.minute;
this.time = time;
},
confirmBtn() {
diff --git a/pageC/cart/ConfirmOrder.vue b/pageC/cart/ConfirmOrder.vue
index 870d14f..e8ac769 100644
--- a/pageC/cart/ConfirmOrder.vue
+++ b/pageC/cart/ConfirmOrder.vue
@@ -122,6 +122,7 @@ export default {
choiceCoupon: {}, // 使用的平台优惠券
goodsClass: [],
orderType: '', // 订单类型 1 普通订单 2 拼团订单 3 秒杀订单 4 优惠券 5 购物车订单
+ debounce: true,
}
},
components: {
@@ -153,6 +154,7 @@ export default {
this.setTotalPrice();
},
onShow() {
+ this.debounce = true;
this.storeCoupon = {};
this.choiceCoupon = {};
// 判断是不是从选择地址页面返回
@@ -189,11 +191,14 @@ export default {
if(res.errCode == 0) {
this.sendOrder(0);
} else {
+ this.debounce = true;
this.$u.toast(res.message);
}
})
},
intermediate() {
+ if(!this.debounce) return;
+ this.debounce = false;
if(this.orderType == 2) {
this.withImmediate();
} else if(this.orderType == 1) {
@@ -258,6 +263,7 @@ export default {
}
})
} else {
+ this.debounce = true;
this.$u.toast(res.message);
}
})
diff --git a/pageE/mine/MineConcerns.vue b/pageE/mine/MineConcerns.vue
index 57b8e39..3e7e741 100644
--- a/pageE/mine/MineConcerns.vue
+++ b/pageE/mine/MineConcerns.vue
@@ -1,58 +1,77 @@
-
-
-
-
-
- 阿迪达斯
-
-
- 列表2
-
-
- 列表3
+
+
+
+
+ {{ info.member_nickname }}
+ 状态: {{ info.live_status == 1 ? '正在直播' : '未开播' }}
+ 关注
+ 未关注
-
+