diff --git a/common/api/user.js b/common/api/user.js index 714350d..29a3f3a 100644 --- a/common/api/user.js +++ b/common/api/user.js @@ -467,6 +467,18 @@ export default { return vm.$u.post("auth/memberUnbindThird", { third_type: type, }) + }, + getIndustryList() { + return vm.$u.post("Expertapply/industryList") + }, + getHobbyList() { + return vm.$u.post("Expertapply/hobbyList") + }, + // 达人申请 + applyExpert({ name, mobile, address, industry, hobby }) { + return vm.$u.post("Expertapply/expertApply", { + name, mobile, address, industry, hobby + }) } } diff --git a/pageE/more/ApplyLive.vue b/pageE/more/ApplyLive.vue new file mode 100644 index 0000000..37effb5 --- /dev/null +++ b/pageE/more/ApplyLive.vue @@ -0,0 +1,254 @@ + + + \ No newline at end of file diff --git a/pages.json b/pages.json index b9f0e00..9fef5c7 100644 --- a/pages.json +++ b/pages.json @@ -622,6 +622,19 @@ } } }, + { + "path": "more/ApplyLive", + "style": { + "navigationBarTitleText": "达人申请", + "app-plus": { + "titleSize": "36px", + "titleNView": { + "titleColor": "#333333", + "backgroundColor": "#FFFFFF" + } + } + } + }, { "path": "mine/ArticleDetails", "style": { diff --git a/pages/mine/index.vue b/pages/mine/index.vue index 661616b..e24e4e1 100644 --- a/pages/mine/index.vue +++ b/pages/mine/index.vue @@ -103,9 +103,12 @@ 投诉意见 - + + + + + 达人申请 - @@ -118,8 +121,8 @@ export default { computed: { ...mapState(['hasLogin', 'token']) }, - data() { - return { + data() { + return { userInfo: {}, orderList: [ { @@ -165,8 +168,8 @@ export default { number: '', }, ], - offset: [-10,6] - }; + offset: [-10,6] + }; }, filters: { phoneFormat(value) { @@ -180,9 +183,9 @@ export default { url: "../../pageA/login/login" }) } else { - this.getOrderNumber(); + this.getOrderNumber(); this.getUserInfo(); - } + } }, onNavigationBarButtonTap(e) { // console.log(e); @@ -300,12 +303,12 @@ export default { .bottom { display: flex; justify-content: space-around; - padding: 0 10rpx; + padding: 0 10rpx; box-sizing: border-box; > view { text-align: center; font-size: 26rpx; - font-weight: 500; + font-weight: 500; color: #333; > view:first-child { margin-bottom: 10rpx; @@ -330,15 +333,15 @@ export default { display: flex; align-items: center; height: 76rpx; - padding: 0 20rpx; + padding: 0 20rpx; font-size: 28rpx; color: #666; - border-bottom: 1px solid #ececec; + border-bottom: 1px solid #ececec; + } + .title-text-more { + font-size: 24rpx; + color: #999; } - .title-text-more { - font-size: 24rpx; - color: #999; - } .content { padding: $content-padding-top $content-padding-row $content-padding-bottom; display: flex; @@ -379,7 +382,7 @@ export default { } } .content { - align-items: center; + align-items: center; justify-content: space-between; > view { display: flex; @@ -448,11 +451,11 @@ export default { width: 100rpx; } > view:not(:last-child) { - margin-right: 36rpx; + margin-right: 32rpx; } } } - .more-tool { + .more-tool { @include common-mine( $content-padding-top: 24rpx, $content-padding-row: 20rpx, @@ -465,12 +468,12 @@ export default { width: 100rpx; } > view:not(:last-child) { - margin-right: 36rpx; + margin-right: 32rpx; } } - .badge-box { - position: relative; - } + .badge-box { + position: relative; + } } } } diff --git a/static/image/mine/45.png b/static/image/mine/45.png new file mode 100644 index 0000000..699d3aa Binary files /dev/null and b/static/image/mine/45.png differ