From ece513a6f07c5385a24a5e6255eb2f0296c5a264 Mon Sep 17 00:00:00 2001 From: xiaobo <1317797578@qq.com> Date: Mon, 30 Dec 2024 01:27:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 2 + api/model/zhaomu.js | 8 +- components/active/active-item.vue | 3 +- components/base/tabbar.vue | 1 - components/cart/CardList.vue | 205 ++++++++++++++++++---------------- components/zhaomu/zhaomu-item.vue | 66 ++++++----- config.js | 2 + main.js | 7 +- pages.json | 14 +++ pages/index/cart.vue | 78 +++++++------ pages/index/center.vue | 16 ++- pages/index/index.vue | 27 ++++- pages/index/member.vue | 69 +++++++++--- pages_login/fuwutiaokuan.vue | 51 +++++++++ pages_login/wxLogin.vue | 15 ++- pages_login/wxUserInfo.vue | 2 +- pages_login/yinsixieyi.vue | 51 +++++++++ pages_my/user-msg.vue | 36 ++++-- pages_order/orderDetails.vue | 225 ++++++++++++++++++++++++-------------- pages_zlx/zlx-form.vue | 50 +++++++-- store/store.js | 12 +- 21 files changed, 636 insertions(+), 304 deletions(-) create mode 100644 pages_login/fuwutiaokuan.vue create mode 100644 pages_login/yinsixieyi.vue diff --git a/App.vue b/App.vue index ae332f2..63fde9a 100644 --- a/App.vue +++ b/App.vue @@ -5,6 +5,8 @@ onShow: function() { }, onHide: function() { + }, + onLoad() { } } diff --git a/api/model/zhaomu.js b/api/model/zhaomu.js index 95adae0..53162a9 100644 --- a/api/model/zhaomu.js +++ b/api/model/zhaomu.js @@ -2,10 +2,14 @@ const api = { // 招募订单 recruitPageList: { - url: '/popularize-admin/shop_common/getRecruitPageList', + url: '/shop_common/getRecruitPageList', method: 'GET', }, - + // 主理人认证 + joinRecruit: { + url: '/shop_common/joinRecruit', + method: 'POST', + }, } export default api \ No newline at end of file diff --git a/components/active/active-item.vue b/components/active/active-item.vue index 75e3ce8..c62f7a8 100644 --- a/components/active/active-item.vue +++ b/components/active/active-item.vue @@ -3,7 +3,7 @@ - + @@ -132,6 +132,7 @@ width: 22rpx; height: 26rpx; margin-right: 10rpx; + flex-shrink: 0; } } } diff --git a/components/base/tabbar.vue b/components/base/tabbar.vue index cd75048..37d5a9f 100644 --- a/components/base/tabbar.vue +++ b/components/base/tabbar.vue @@ -27,7 +27,6 @@ name:"tabbar", props : ['select'], computed : { - ...mapGetters(['userShop']), }, data() { return { diff --git a/components/cart/CardList.vue b/components/cart/CardList.vue index 5596853..69549af 100644 --- a/components/cart/CardList.vue +++ b/components/cart/CardList.vue @@ -1,109 +1,122 @@ + .cardList { + padding: 10rpx 32rpx 0; + + .container { + margin-top: 31rpx; + padding: 25rpx 0; + border-radius: 20rpx; + background: $uni-color-card-background; + + .head { + display: flex; + justify-content: space-between; + padding: 0 35rpx 28rpx; + border-bottom: 1px solid #2A2A2A; + + .orderTime { + font-size: 25rpx; + color: $uni-text-color-grey; + } + + .orderStatus { + font-size: 26rpx; + color: #ccc; + } + } + + .content_border { + border-bottom: 1px solid #2A2A2A; + } + + .button-sp-area { + text-align: right; + padding-top: 20rpx; + + .mini-btn { + width: 166rpx; + height: 53rpx; + line-height: 53rpx; + font-size: 24rpx; + border-radius: 50rpx; + margin-left: 20rpx; + background-color: #34312E; + color: #AFAFAF; + } + } + } + } + + .active { + color: $uni-color-primary !important; + } + \ No newline at end of file diff --git a/components/zhaomu/zhaomu-item.vue b/components/zhaomu/zhaomu-item.vue index ebadb56..c9b9a6d 100644 --- a/components/zhaomu/zhaomu-item.vue +++ b/components/zhaomu/zhaomu-item.vue @@ -1,20 +1,23 @@