From 59362ebc7c4ed517e3d08ce480e361fa9df664ad Mon Sep 17 00:00:00 2001 From: ghusermoon <2673031505@qq.com> Date: Thu, 23 Jul 2020 20:58:56 +0800 Subject: [PATCH] loadmore 7.23 --- common/store/index.js | 4 ++ components/loadmore/index.vue | 61 ++++++++++++++++++++++++++++ components/shop/group/index.vue | 19 +++++---- components/shop/group/item.vue | 24 +++++------ components/shop/list/index.vue | 58 ++++++++++++++++++++------ components/shop/list/item.vue | 2 +- pageB/components/sdetails/guige.vue | 2 +- pageB/components/sdetails/tloos.vue | 4 +- pageB/sdetails/index.vue | 63 +++++++++++++++++++---------- pageC/groupBuy/index.vue | 46 ++++++++++++++++----- pageE/mine/MineConcerns.vue | 9 +++-- pages/shop/index.vue | 18 +++++---- 12 files changed, 227 insertions(+), 83 deletions(-) create mode 100644 components/loadmore/index.vue diff --git a/common/store/index.js b/common/store/index.js index 9301ea3..9ddea79 100644 --- a/common/store/index.js +++ b/common/store/index.js @@ -11,6 +11,7 @@ const store = new Vuex.Store({ goods_id: '', // 拼团商品 id pintuangroup_headid: '', // 拼团团长id 有为开团 无为参团 groupbuyInfo: {}, // 秒杀详情 + loadmore: {}, // 下拉加载返回的数据 }, getters: { getOrderAddress(state) { @@ -45,6 +46,9 @@ const store = new Vuex.Store({ setGroupHeadId(state, id) { state.pintuangroup_headid = id; }, + setLoadMore(state, info) { + state.loadmore = info; + }, } }) export default store; \ No newline at end of file diff --git a/components/loadmore/index.vue b/components/loadmore/index.vue new file mode 100644 index 0000000..e52261f --- /dev/null +++ b/components/loadmore/index.vue @@ -0,0 +1,61 @@ + + + \ No newline at end of file diff --git a/components/shop/group/index.vue b/components/shop/group/index.vue index d9e89fe..f13d33c 100644 --- a/components/shop/group/index.vue +++ b/components/shop/group/index.vue @@ -8,7 +8,7 @@ - + @@ -67,19 +67,18 @@ export default { color: #999; } } - .label{ - display: flex; - font-size: 24rpx; - color: #999; - >text{ - margin-right: 34rpx; - } - } + // .label{ + // display: flex; + // font-size: 24rpx; + // color: #999; + // >text{ + // margin-right: 34rpx; + // } + // } .list{ display: flex; justify-content: space-between; margin-top: 21rpx; - } } \ No newline at end of file diff --git a/components/shop/group/item.vue b/components/shop/group/item.vue index b3dabb8..1dc51fe 100644 --- a/components/shop/group/item.vue +++ b/components/shop/group/item.vue @@ -3,8 +3,8 @@ {{ info.pintuan_goods_name }} - ¥{{ info.pintuan_goods_price }} - 立即购买 + ¥{{ info.pintuan_goods_price }} + 立即拼团 @@ -38,33 +38,33 @@ export default { \ No newline at end of file diff --git a/components/shop/list/index.vue b/components/shop/list/index.vue index 9df9885..89cdc9c 100644 --- a/components/shop/list/index.vue +++ b/components/shop/list/index.vue @@ -16,10 +16,14 @@ + + + diff --git a/pageE/mine/MineConcerns.vue b/pageE/mine/MineConcerns.vue index ea85215..57b8e39 100644 --- a/pageE/mine/MineConcerns.vue +++ b/pageE/mine/MineConcerns.vue @@ -32,10 +32,10 @@ export default {