From f54d071dad957faa10c00e5011f26e04a59f394d Mon Sep 17 00:00:00 2001 From: Fox-33 <1466778434@qq.com> Date: Tue, 23 Sep 2025 12:14:18 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=8E=A5=E5=8F=A3=E5=AF=B9=E6=8E=A5;?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- api/api.js | 5 +- api/model/index.js | 10 + api/model/medal.js | 20 ++ api/model/partner.js | 5 + common.scss | 4 + components/base/posterPopup.vue | 244 ++++++++++++++ components/growing/recordsView.vue | 3 +- components/growing/userCard.vue | 39 ++- components/home/categoryView.vue | 113 +++---- components/home/productView.vue | 1 + components/home/recommendView.vue | 4 - .../{posterPopup.vue => posterPopup copy.vue} | 10 +- components/product/productCard.vue | 38 +-- mixins/list.js | 6 + pages.json | 3 + pages/index/category.vue | 373 ++++++++------------- pages/index/growing.vue | 36 +- pages/index/index.vue | 20 +- pages/index/partner.vue | 134 ++------ pages_order/article/search.vue | 4 + pages_order/auth/roleChoose.vue | 141 ++++++++ pages_order/auth/wxUserInfo.vue | 3 +- pages_order/comment/recordFormPopup.vue | 71 ++-- pages_order/growing/achievement/index.vue | 98 ++---- pages_order/growing/achievement/recordsView.vue | 14 +- pages_order/growing/activity/commentCard.vue | 210 ++++++++++++ pages_order/growing/activity/index.vue | 80 +++-- pages_order/growing/activity/search.vue | 84 ++--- pages_order/growing/activity/sortBar.vue | 14 +- pages_order/order/components/orderInfoView.vue | 54 +-- pages_order/order/orderConfirm/index.vue | 27 +- .../order/orderConfirm/peopleNumberInput.vue | 14 +- pages_order/partner/team.vue | 4 +- pages_order/product/commentList.vue | 2 +- pages_order/product/productDetail.vue | 16 +- store/store.js | 41 ++- 36 files changed, 1209 insertions(+), 736 deletions(-) create mode 100644 api/model/medal.js create mode 100644 components/base/posterPopup.vue rename components/partner/{posterPopup.vue => posterPopup copy.vue} (97%) create mode 100644 pages_order/auth/roleChoose.vue create mode 100644 pages_order/growing/activity/commentCard.vue diff --git a/api/api.js b/api/api.js index c5ab3d4..6ec7e2f 100644 --- a/api/api.js +++ b/api/api.js @@ -5,7 +5,7 @@ import utils from '../utils/utils.js' let limit = {} let debounce = {} -const models = ['login', 'index', 'image', 'activity', 'coupon', 'order', 'comment', 'bind', 'experience', 'partner', 'info', 'notice'] +const models = ['login', 'index', 'image', 'activity', 'coupon', 'order', 'comment', 'medal', 'bind', 'experience', 'partner', 'info', 'notice'] const config = { // 示例 @@ -19,6 +19,9 @@ const config = { queryPeriodList : {url : '/config/queryPeriodList', method : 'GET'}, queryCommentOptionList : {url : '/config/queryCommentOptionList', method : 'GET'}, queryExperienceQuestionList : {url : '/config/queryExperienceQuestionList', method : 'GET'}, + queryAddressList : {url : '/config/queryAddressList', method : 'GET'}, + queryAgeList : {url : '/config/queryAgeList', method : 'GET'}, + queryTimeList : {url : '/config/queryTimeList', method : 'GET'}, } diff --git a/api/model/index.js b/api/model/index.js index 713df52..b7c0f41 100644 --- a/api/model/index.js +++ b/api/model/index.js @@ -26,6 +26,16 @@ const api = { url: '/index/queryPolicyById', method: 'GET', }, + // 首页-查询研学日记列表 + queryJournalList: { + url: '/index/queryJournalList', + method: 'GET', + }, + // 首页-查询研学日记详情 + queryJournalById: { + url: '/index/queryJournalById', + method: 'GET', + }, } export default api \ No newline at end of file diff --git a/api/model/medal.js b/api/model/medal.js new file mode 100644 index 0000000..403c88c --- /dev/null +++ b/api/model/medal.js @@ -0,0 +1,20 @@ +// 我的成就相关接口 + +const api = { + // 我的成就-查询勋章列表 + queryMedalList: { + url: '/medal/queryMedalList', + method: 'GET', + auth: true, + }, + // 我的成就-点亮勋章 + lightMedal: { + url: '/medal/lightMedal', + method: 'POST', + auth: true, + limit : 500, + showLoading : true, + }, +} + +export default api \ No newline at end of file diff --git a/api/model/partner.js b/api/model/partner.js index 97e5bf3..7a2739d 100644 --- a/api/model/partner.js +++ b/api/model/partner.js @@ -35,6 +35,11 @@ const api = { url: '/partner/queryIndirectList', method: 'GET', }, + // 我的团队-查询佣金记录列表 + queryCommissionList: { + url: '/partner/queryCommissionList', + method: 'GET', + }, } export default api \ No newline at end of file diff --git a/common.scss b/common.scss index 2404755..5833ad1 100644 --- a/common.scss +++ b/common.scss @@ -77,6 +77,10 @@ border: none; } +.nowrap { + white-space: nowrap; +} + /deep/ .uv-modal__content { padding: 0 !important; } diff --git a/components/base/posterPopup.vue b/components/base/posterPopup.vue new file mode 100644 index 0000000..66a33f0 --- /dev/null +++ b/components/base/posterPopup.vue @@ -0,0 +1,244 @@ + + + + + + \ No newline at end of file diff --git a/components/growing/recordsView.vue b/components/growing/recordsView.vue index 39722ef..ce1d35e 100644 --- a/components/growing/recordsView.vue +++ b/components/growing/recordsView.vue @@ -15,7 +15,7 @@