From 32ed54f1b1a1c4827026f8e7ae65b50f33dcb16c Mon Sep 17 00:00:00 2001 From: mohuishou <1@lailin.xyz> Date: Wed, 4 Jul 2018 17:43:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E9=A6=96=E9=A1=B5=E5=9B=BE?= =?UTF-8?q?=E6=A0=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/icon/index/feedback.svg | 1 + src/icon/index/gs.svg | 1 + src/icon/index/notify.svg | 1 + src/pages/index.vue | 2 +- src/util/index/index.js | 35 ++++++++++++++++++++++++++++------- 5 files changed, 32 insertions(+), 8 deletions(-) create mode 100644 src/icon/index/feedback.svg create mode 100644 src/icon/index/gs.svg create mode 100644 src/icon/index/notify.svg diff --git a/src/icon/index/feedback.svg b/src/icon/index/feedback.svg new file mode 100644 index 0000000..f05c373 --- /dev/null +++ b/src/icon/index/feedback.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icon/index/gs.svg b/src/icon/index/gs.svg new file mode 100644 index 0000000..8ff67da --- /dev/null +++ b/src/icon/index/gs.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/icon/index/notify.svg b/src/icon/index/notify.svg new file mode 100644 index 0000000..7f19a6f --- /dev/null +++ b/src/icon/index/notify.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/pages/index.vue b/src/pages/index.vue index 53d1c5e..2091c03 100644 --- a/src/pages/index.vue +++ b/src/pages/index.vue @@ -27,7 +27,7 @@ page { .mview { padding-top: 30rpx; // 控制每行图标数目 - width: 25%; // border-bottom: 1px solid #eee; + width: 20%; // border-bottom: 1px solid #eee; } .icon-btn { text-align: center; diff --git a/src/util/index/index.js b/src/util/index/index.js index f093154..beffacf 100644 --- a/src/util/index/index.js +++ b/src/util/index/index.js @@ -115,14 +115,35 @@ const funcs = [{ bg: '#ab96c5', type: 'jwc', is_graduate: false +}, +{ + name: '我的反馈', + url: 'my/feedbackList', + icon: 'feedback', + bg: '#ab96c5', + type: 'normal' +}, +{ + name: '通知设置', + url: 'my/notifyConfig', + icon: 'notify', + bg: '#ab96c5', + type: 'normal' +}, +{ + name: '研究生', + url: 'my/userConfig', + icon: 'gs', + bg: '#ab96c5', + type: 'normal' +}, +{ + name: '打赏', + url: 'money', + icon: 'money', + bg: '#ab96c5', + type: 'money' } - // { - // name: '开发者', - // url: 'money', - // icon: 'money', - // bg: '#ab96c5', - // type: 'money' - // } ] module.exports = {