Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

Commit

Permalink
新增首页图标
Browse files Browse the repository at this point in the history
  • Loading branch information
mohuishou committed Jul 4, 2018
1 parent e8f01d5 commit 32ed54f
Show file tree
Hide file tree
Showing 5 changed files with 32 additions and 8 deletions.
1 change: 1 addition & 0 deletions src/icon/index/feedback.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/icon/index/gs.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/icon/index/notify.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
35 changes: 28 additions & 7 deletions src/util/index/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down

0 comments on commit 32ed54f

Please sign in to comment.