diff --git a/api/business/member.js b/api/business/member.js
index 1f137e9..241ea0b 100644
--- a/api/business/member.js
+++ b/api/business/member.js
@@ -8,6 +8,20 @@ export function bloggerDetail(userId) {
url: '/member/member/bloggerDetail/' + userId,
method: 'get'
})
+export function queryDetail(params) {
+ return request({
+ url: '/member/member/queryDetail',
+ method: 'get',
+ params:params
+ })
+}
+//保存博主
+export function uniSaveMember(data) {
+ return request({
+ url: '/member/member/uniSaveMember',
+ method: 'post',
+ data:data
+ })
}
@@ -99,10 +113,11 @@ export function getById(params) {
params: params
})
}
+
//获取会员权益
export function selectMemberRights() {
return request({
url: '/member/card/selectMemberRights',
method: 'get'
})
-}
\ No newline at end of file
+}
diff --git a/config.js b/config.js
index f5f68c1..70005e5 100644
--- a/config.js
+++ b/config.js
@@ -27,6 +27,12 @@ module.exports = {
}, {
title: "认证指南",
code: "user_auth_text"
+ }, {
+ title: "了解通告券",
+ code: "coupon_text"
+ }, {
+ title: "通告券购买协议",
+ code: "coupon_agreement"
}
]
}
diff --git a/pages.json b/pages.json
index a54c47a..882d1e6 100644
--- a/pages.json
+++ b/pages.json
@@ -161,6 +161,27 @@
"style": {
"navigationBarTitleText": ""
}
+ },
+ {
+ "path": "coupon/coupon-list",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "coupon/my-coupon",
+ "style": {
+ "navigationBarTitleText": ""
+ }
+ },
+ {
+ "path": "history/history",
+ "style": {
+ "navigationBarTitleText": "",
+ "componentPlaceholder": {
+ "notice-item": "view"
+ }
+ }
}
]
}],
diff --git a/pages/components/my-notice.vue b/pages/components/my-notice.vue
index d9957d9..7bdfab1 100644
--- a/pages/components/my-notice.vue
+++ b/pages/components/my-notice.vue
@@ -15,12 +15,9 @@
-
-
-
-
+
diff --git a/pages/mine/auth/auth-form.vue b/pages/mine/auth/auth-form.vue
index dd3eb50..250ccdb 100644
--- a/pages/mine/auth/auth-form.vue
+++ b/pages/mine/auth/auth-form.vue
@@ -9,7 +9,7 @@
我是
“{{identityTypeText}}”
- 认证指南认证指南
@@ -252,7 +252,7 @@
this.identityTypeText = getTextByIdentityType(option.key)
},
methods: {
- viewAuthText() {
+ viewRichText() {
this.$tab.navigateTo(
`/pages/common/richview/index?title=${this.globalConfig.appInfo.agreements[4].title}&code=${this.globalConfig.appInfo.agreements[4].code}`
)
diff --git a/pages/mine/coupon/coupon-list.vue b/pages/mine/coupon/coupon-list.vue
new file mode 100644
index 0000000..89a4c9d
--- /dev/null
+++ b/pages/mine/coupon/coupon-list.vue
@@ -0,0 +1,215 @@
+
+
+
+
+
+
+
+
+
+
+ 获取更多
+ 加速特权
+
+
+
+
+
+ 剩余0张
+ 去获取
+
+
+
+
+
+
+ 了解通告券
+
+
+
+ 购买记录
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/mine/coupon/my-coupon.vue b/pages/mine/coupon/my-coupon.vue
new file mode 100644
index 0000000..7500203
--- /dev/null
+++ b/pages/mine/coupon/my-coupon.vue
@@ -0,0 +1,440 @@
+
+
+
+
+
+
+
+
+
+
+ 剩余0张
+
+
+
+
+ {{item.num}}张
+
+
+ ¥{{item.price}}
+
+
+ 购买
+
+
+
+ 查看《通告券购买协议》
+
+
+
+
+
+
+
+
+ 订单编号:{{item.orderNo}}
+ {{item.ifPay?'已支付':'未支付'}}
+
+
+
+ 通告券
+ *{{item.num}} 张
+
+
+ 金额
+ {{item.price}} 元
+
+
+ 下单时间:{{item.createTime}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/mine/history/history.vue b/pages/mine/history/history.vue
new file mode 100644
index 0000000..af5b72c
--- /dev/null
+++ b/pages/mine/history/history.vue
@@ -0,0 +1,127 @@
+
+
+
+
+
+
+
+ 最近{{maxHisNum}}条通告浏览记录
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/mine/mine-index.vue b/pages/mine/mine-index.vue
index e47961f..69d4b94 100644
--- a/pages/mine/mine-index.vue
+++ b/pages/mine/mine-index.vue
@@ -98,13 +98,13 @@
通告主认证
-