diff --git a/manifest.json b/manifest.json index 648ba9a..2b4ead1 100644 --- a/manifest.json +++ b/manifest.json @@ -44,7 +44,7 @@ /* 快应用特有相关 */ "mp-weixin" : { /* 小程序特有相关 */ - "appid" : "", + "appid" : "wx8d102130278c8346", "setting" : { "urlCheck" : false }, diff --git a/pages.json b/pages.json index 27973fb..d929432 100644 --- a/pages.json +++ b/pages.json @@ -1,17 +1,57 @@ { - "pages": [{ - "path": "pages/index/index", - "style": { - "navigationBarTitleText": "uni-app" - } - }], + "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + { + "path": "pages/index/index", + "style": { + "navigationBarTitleText": "首页", + "enablePullDownRefresh": true + } + }, + { + "path": "pages/profit/index", + "style": { + "navigationBarTitleText": "收益", + "enablePullDownRefresh": true + } + }, + { + "path": "pages/userInfo/index", + "style": { + "navigationBarTitleText": "我的", + "enablePullDownRefresh": false + } + } + ], "globalStyle": { "navigationBarTextStyle": "black", - "navigationBarTitleText": "uni-app", + "navigationBarTitleText": "bnyer", "navigationBarBackgroundColor": "#F8F8F8", + "backgroundColor": "#F8F8F8" + }, + //底部跳转tab + "tabBar": { + "color": "#7A7E83", + "selectedColor": "#1296DB", + "borderStyle": "black", "backgroundColor": "#F8F8F8", - "app-plus": { - "background": "#efeff4" - } + "list": [{ + "pagePath": "pages/index/index", + "iconPath": "static/index-default.png", + "selectedIconPath": "static/index-select.png", + "text": "首页" + }, + { + "pagePath": "pages/profit/index", + "iconPath": "static/theme-default.png", + "selectedIconPath": "static/theme-select.png", + "text": "收益" + }, + { + "pagePath": "pages/userInfo/index", + "iconPath": "static/mine-default.png", + "selectedIconPath": "static/mine-select.png", + "text": "我的" + } + ] } } diff --git a/pages/profit/index.vue b/pages/profit/index.vue new file mode 100644 index 0000000..8c03e21 --- /dev/null +++ b/pages/profit/index.vue @@ -0,0 +1,204 @@ + + + + + diff --git a/pages/userInfo/about/about.vue b/pages/userInfo/about/about.vue new file mode 100644 index 0000000..171f8b6 --- /dev/null +++ b/pages/userInfo/about/about.vue @@ -0,0 +1,180 @@ + + + + + diff --git a/pages/userInfo/contact/contact.vue b/pages/userInfo/contact/contact.vue new file mode 100644 index 0000000..507f695 --- /dev/null +++ b/pages/userInfo/contact/contact.vue @@ -0,0 +1,180 @@ + + + + + diff --git a/pages/userInfo/extends/extends.vue b/pages/userInfo/extends/extends.vue new file mode 100644 index 0000000..4da1b69 --- /dev/null +++ b/pages/userInfo/extends/extends.vue @@ -0,0 +1,180 @@ + + + + + diff --git a/pages/userInfo/index.vue b/pages/userInfo/index.vue new file mode 100644 index 0000000..8c03e21 --- /dev/null +++ b/pages/userInfo/index.vue @@ -0,0 +1,204 @@ + + + + + diff --git a/pages/userInfo/inviteLog/inviteLog.vue b/pages/userInfo/inviteLog/inviteLog.vue new file mode 100644 index 0000000..ceac680 --- /dev/null +++ b/pages/userInfo/inviteLog/inviteLog.vue @@ -0,0 +1,180 @@ + + + + + diff --git a/pages/userInfo/notice/notice.vue b/pages/userInfo/notice/notice.vue new file mode 100644 index 0000000..4a8ea0d --- /dev/null +++ b/pages/userInfo/notice/notice.vue @@ -0,0 +1,180 @@ + + + + + diff --git a/pages/userInfo/withdraw/withdraw.vue b/pages/userInfo/withdraw/withdraw.vue new file mode 100644 index 0000000..6358415 --- /dev/null +++ b/pages/userInfo/withdraw/withdraw.vue @@ -0,0 +1,180 @@ + + + + + diff --git a/static/collect-select.png b/static/collect-select.png new file mode 100644 index 0000000..2cca9a6 Binary files /dev/null and b/static/collect-select.png differ diff --git a/static/collect.png b/static/collect.png new file mode 100644 index 0000000..1361291 Binary files /dev/null and b/static/collect.png differ diff --git a/static/collectLength.png b/static/collectLength.png new file mode 100644 index 0000000..c75ea49 Binary files /dev/null and b/static/collectLength.png differ diff --git a/static/css/main.scss b/static/css/main.scss new file mode 100644 index 0000000..2a2c2d7 --- /dev/null +++ b/static/css/main.scss @@ -0,0 +1,33 @@ +/* ===== 页面公用 ===== */ +page { + // width: 100vw; + height: 100vh; + background-color: #f5f5f5; +} + +view { + box-sizing: border-box; +} + +/* ==== 弹性盒模型布局 ==== */ +.fb-d-r { display: flex; flex-direction: row; } +.fb-d-c { display: flex; flex-direction: column;} +.fb-w { flex-wrap: wrap; } +.fb-j-a { justify-content: flex-start; } +.fb-j-e { justify-content: flex-end; } +.fb-j-c { justify-content: center; } +.fb-j-sb { justify-content: space-between; } +.fb-j-sa { justify-content: space-around; } +.fb-a-a { align-items: flex-start; } +.fb-a-e { align-items: flex-end; } +.fb-a-c { align-items: center; } +.fb-a-sb { align-items: space-between; } +.fb-a-sa { align-items: space-around; } + +/* ==== 外边距 ==== */ +.ml-10 { + margin-left: 10rpx; +} +.mt-10 { + margin-top: 10rpx; +} \ No newline at end of file diff --git a/static/download-select.png b/static/download-select.png new file mode 100644 index 0000000..8ff9e12 Binary files /dev/null and b/static/download-select.png differ diff --git a/static/download.png b/static/download.png new file mode 100644 index 0000000..49803af Binary files /dev/null and b/static/download.png differ diff --git a/static/hot-not.png b/static/hot-not.png new file mode 100644 index 0000000..8e18cb3 Binary files /dev/null and b/static/hot-not.png differ diff --git a/static/hot-yes.png b/static/hot-yes.png new file mode 100644 index 0000000..5edc21d Binary files /dev/null and b/static/hot-yes.png differ diff --git a/static/img/share.svg b/static/img/share.svg new file mode 100644 index 0000000..8d6a93f --- /dev/null +++ b/static/img/share.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/static/img/slide-top.svg b/static/img/slide-top.svg new file mode 100644 index 0000000..54e6ec6 --- /dev/null +++ b/static/img/slide-top.svg @@ -0,0 +1,2 @@ + \ No newline at end of file diff --git a/static/img/start.gif b/static/img/start.gif new file mode 100644 index 0000000..aa95825 Binary files /dev/null and b/static/img/start.gif differ diff --git a/static/imgLength.png b/static/imgLength.png new file mode 100644 index 0000000..15ba478 Binary files /dev/null and b/static/imgLength.png differ diff --git a/static/index-default.png b/static/index-default.png new file mode 100644 index 0000000..b57450a Binary files /dev/null and b/static/index-default.png differ diff --git a/static/index-select.png b/static/index-select.png new file mode 100644 index 0000000..1a7f689 Binary files /dev/null and b/static/index-select.png differ diff --git a/static/jiantou-right.png b/static/jiantou-right.png new file mode 100644 index 0000000..6430d24 Binary files /dev/null and b/static/jiantou-right.png differ diff --git a/static/like-select.png b/static/like-select.png new file mode 100644 index 0000000..ccc1761 Binary files /dev/null and b/static/like-select.png differ diff --git a/static/like.png b/static/like.png new file mode 100644 index 0000000..15c826d Binary files /dev/null and b/static/like.png differ diff --git a/static/likeLength.png b/static/likeLength.png new file mode 100644 index 0000000..b2835c4 Binary files /dev/null and b/static/likeLength.png differ diff --git a/static/mine-default.png b/static/mine-default.png new file mode 100644 index 0000000..b908584 Binary files /dev/null and b/static/mine-default.png differ diff --git a/static/mine-select.png b/static/mine-select.png new file mode 100644 index 0000000..2a9d810 Binary files /dev/null and b/static/mine-select.png differ diff --git a/static/share.png b/static/share.png new file mode 100644 index 0000000..87e3527 Binary files /dev/null and b/static/share.png differ diff --git a/static/theme-default.png b/static/theme-default.png new file mode 100644 index 0000000..14a009e Binary files /dev/null and b/static/theme-default.png differ diff --git a/static/theme-select.png b/static/theme-select.png new file mode 100644 index 0000000..032a098 Binary files /dev/null and b/static/theme-select.png differ