diff --git a/apis/interfaces/user.js b/apis/interfaces/user.js new file mode 100644 index 0000000..37fe4d5 --- /dev/null +++ b/apis/interfaces/user.js @@ -0,0 +1,60 @@ + +/** + * Web唐明明 + * 匆匆数载恍如梦,岁月迢迢华发增。 + * 碌碌无为枉半生,一朝惊醒万事空。 + * moduleName: 区块链 + */ + +import { request } from '../index' + +// 节点中心-用户信息 +const userIndex = () => { + return request({ + url: 'user/web' + }) +} + +// 节点中心-公告 +const userNotice = () => { + return request({ + url: 'articles/notice' + }) +} + +// 专属客服 +const userCustomer = () => { + return request({ + url: 'user/services' + }) +} + +// 帮助中心 +const userHelp = () => { + return request({ + url: 'articles/helps' + }) +} + +// 服务条款 +const userClause = () => { + return request({ + url: 'articles/service' + }) +} + +// 邀请好友 +const userInvite = () => { + return request({ + url: 'articles/invite' + }) +} + +export { + userIndex, + userNotice, + userCustomer, + userHelp, + userClause, + userInvite +} diff --git a/pages.json b/pages.json index 961899c..012293b 100644 --- a/pages.json +++ b/pages.json @@ -20,6 +20,27 @@ "style": { "navigationBarTitleText": "节点中心" } + }, { + "path": "pages/user/code", + "name": "userCode", + "auth": true, + "style": { + "navigationBarTitleText": "邀请好友" + } + }, { + "path": "pages/user/help", + "name": "userHelp", + "auth": true, + "style": { + "navigationBarTitleText": "帮助中心" + } + }, { + "path": "pages/user/clause", + "name": "userClause", + "auth": true, + "style": { + "navigationBarTitleText": "服务条款" + } }, { "path": "pages/instrument/basics", "name": "instrumentBasics", diff --git a/pages/user/clause.vue b/pages/user/clause.vue new file mode 100644 index 0000000..4b787d1 --- /dev/null +++ b/pages/user/clause.vue @@ -0,0 +1,46 @@ + + + + + \ No newline at end of file diff --git a/pages/user/code.vue b/pages/user/code.vue new file mode 100644 index 0000000..db51af6 --- /dev/null +++ b/pages/user/code.vue @@ -0,0 +1,281 @@ + + + + + + + diff --git a/pages/user/help.vue b/pages/user/help.vue new file mode 100644 index 0000000..4006a29 --- /dev/null +++ b/pages/user/help.vue @@ -0,0 +1,118 @@ + + + + + \ No newline at end of file diff --git a/pages/user/index.vue b/pages/user/index.vue index 118f6c4..00d8eb2 100644 --- a/pages/user/index.vue +++ b/pages/user/index.vue @@ -1,28 +1,433 @@ diff --git a/scss/globa.scss b/scss/globa.scss index 6966e36..f63b05f 100644 --- a/scss/globa.scss +++ b/scss/globa.scss @@ -26,6 +26,8 @@ $title-size-sm: 26rpx; // 模块圆角 $radius: 20rpx; $radius-sm: 10rpx; +$radius-lg: 12rpx; +$radius-m: 10rpx; // 模块边距 $margin: 30rpx; diff --git a/static/user/order-cancelPay.png b/static/user/order-cancelPay.png new file mode 100644 index 0000000..18372e3 Binary files /dev/null and b/static/user/order-cancelPay.png differ diff --git a/static/user/user-customer-close.png b/static/user/user-customer-close.png new file mode 100644 index 0000000..3167284 Binary files /dev/null and b/static/user/user-customer-close.png differ diff --git a/static/user/user-portrait.png b/static/user/user-portrait.png new file mode 100644 index 0000000..c485c35 Binary files /dev/null and b/static/user/user-portrait.png differ diff --git a/static/user/user-top-00.png b/static/user/user-top-00.png new file mode 100644 index 0000000..4cecca3 Binary files /dev/null and b/static/user/user-top-00.png differ diff --git a/static/user/user-top-01.png b/static/user/user-top-01.png new file mode 100644 index 0000000..5691fee Binary files /dev/null and b/static/user/user-top-01.png differ diff --git a/static/user/userAssets_tips.png b/static/user/userAssets_tips.png new file mode 100644 index 0000000..ba8c481 Binary files /dev/null and b/static/user/userAssets_tips.png differ diff --git a/static/user/userNew_icon.png b/static/user/userNew_icon.png new file mode 100644 index 0000000..efbb8dd Binary files /dev/null and b/static/user/userNew_icon.png differ diff --git a/static/user/userRightst_icon_00.png b/static/user/userRightst_icon_00.png new file mode 100644 index 0000000..c302991 Binary files /dev/null and b/static/user/userRightst_icon_00.png differ diff --git a/static/user/userRightst_icon_01.png b/static/user/userRightst_icon_01.png new file mode 100644 index 0000000..4963f44 Binary files /dev/null and b/static/user/userRightst_icon_01.png differ diff --git a/static/user/userRightst_icon_02.png b/static/user/userRightst_icon_02.png new file mode 100644 index 0000000..78ab392 Binary files /dev/null and b/static/user/userRightst_icon_02.png differ diff --git a/static/user/userRightst_icon_03.png b/static/user/userRightst_icon_03.png new file mode 100644 index 0000000..4737641 Binary files /dev/null and b/static/user/userRightst_icon_03.png differ diff --git a/static/user/userServe-00.png b/static/user/userServe-00.png new file mode 100644 index 0000000..91fab5f Binary files /dev/null and b/static/user/userServe-00.png differ diff --git a/static/user/userServe-01.png b/static/user/userServe-01.png new file mode 100644 index 0000000..dc0855b Binary files /dev/null and b/static/user/userServe-01.png differ diff --git a/static/user/userServe-02.png b/static/user/userServe-02.png new file mode 100644 index 0000000..a104a9c Binary files /dev/null and b/static/user/userServe-02.png differ diff --git a/static/user/userServe-03.png b/static/user/userServe-03.png new file mode 100644 index 0000000..9fa2179 Binary files /dev/null and b/static/user/userServe-03.png differ diff --git a/static/user/userTool-00.png b/static/user/userTool-00.png new file mode 100644 index 0000000..4633801 Binary files /dev/null and b/static/user/userTool-00.png differ diff --git a/static/user/userTool-01.png b/static/user/userTool-01.png new file mode 100644 index 0000000..bca7018 Binary files /dev/null and b/static/user/userTool-01.png differ diff --git a/static/user/userTool-02.png b/static/user/userTool-02.png new file mode 100644 index 0000000..7d192df Binary files /dev/null and b/static/user/userTool-02.png differ diff --git a/static/user/userTool-03.png b/static/user/userTool-03.png new file mode 100644 index 0000000..96dd3c9 Binary files /dev/null and b/static/user/userTool-03.png differ diff --git a/static/user/userTool-04.png b/static/user/userTool-04.png new file mode 100644 index 0000000..a9839db Binary files /dev/null and b/static/user/userTool-04.png differ diff --git a/static/user/userTool-05.png b/static/user/userTool-05.png new file mode 100644 index 0000000..f7214c3 Binary files /dev/null and b/static/user/userTool-05.png differ diff --git a/static/user/userVip_arrow.png b/static/user/userVip_arrow.png new file mode 100644 index 0000000..2cc9001 Binary files /dev/null and b/static/user/userVip_arrow.png differ diff --git a/static/user/userVip_more_arrow.png b/static/user/userVip_more_arrow.png new file mode 100644 index 0000000..a6e0033 Binary files /dev/null and b/static/user/userVip_more_arrow.png differ