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 @@