Commit c108048c authored by beisir's avatar beisir

feat:测试列表

parent 65690df2
......@@ -91,7 +91,7 @@ export default {
const {
skuNo,
goodsSpecialId,
activityTemplateInfoId,
activityTemplateId,
activityTemplateDetailId,
activityInfoId
} = this.goodsItem;
......@@ -101,6 +101,12 @@ export default {
return;
}
if (s === 2) {
// skuNo=2305164578817
// goodsSpecialId=59
// activityId=47
// templateId=58
// templateDetailId=83
this.$router.push({
path: '/groupBuy/skuInfo',
query: {
......@@ -108,7 +114,7 @@ export default {
skuNo,
goodsSpecialId,
activityId: activityInfoId,
templateId: activityTemplateInfoId,
templateId: activityTemplateId,
templateDetailId: activityTemplateDetailId
}
});
......@@ -116,7 +122,7 @@ export default {
return false;
}
this.$dialog({
message: '请在微信小程序中参与此活动哦~',
message: '该活动已结束~',
confirmButtonText: s === 3 ? '重新选择' : '订阅消息',
onConfirm: () => {
// todo 跳转到小程序
......
......@@ -259,9 +259,7 @@ export default {
if (res.size) {
this.loading = false;
this.showLoading = false;
// res.items[5].goodsCount = 0;
this.goodsList = res.items || [];
console.log(this.goodsList, 'this.goodsList');
if (!res.hasNext) {
this.finished = true;
} else {
......@@ -298,7 +296,7 @@ async function getActivityList(urlQuery, next) {
t.hasStart = handleRemainTime(startTime, '')[0] > 0;
t = { ...t, ...handleDateFormat(startTime, endTime) };
t.stateTxt = !t.hasStart ? '即将开始' : t.hasStop ? '活动已结束' : '距结束';
t.groupBuyUserInfoList = t.groupBuyUserInfoList.reverse();
const { title } = t;
store.commit('CHANGE_TITLE', title || '活动页');
nextFns(vm => {
......
......@@ -128,7 +128,7 @@ export default {
3: {
class: 'Ol__head-fail',
message: '拼团失败',
footTxt: '0元拿商品,退款将原路返还'
footTxt: '退款将原路返还,请注意帐户变动'
}
}
};
......
......@@ -21,7 +21,7 @@ export const goUrlExtends = {
});
}
setTimeout(() => {
this.$router.replace({ name: 'orderList', params: { state: 0 } });
this.$router.replace({ name: 'orderList', params: { status: 0 } });
}, 500);
},
goOrderDetail() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment