Browse Source

修改分包

feature-1.0
helming 3 years ago
parent
commit
7a837940ed
  1. 6
      manifest.json
  2. 2
      pages-profit/profit/profitEndDetails.vue
  3. 0
      pages-profit/profit/profitEndOrder.vue
  4. 2
      pages-profit/profit/profitInDetails.vue
  5. 0
      pages-profit/profit/profitInOrder.vue
  6. 0
      pages-profit/profit/profitPreDetails.vue
  7. 2
      pages-userInfo/contact/contact.vue
  8. 190
      pages.json
  9. 10
      pages/index/index.vue
  10. 12
      pages/profit/profit.vue
  11. 4
      pages/userInfo/userInfo.vue
  12. BIN
      static/advertIcon.png
  13. BIN
      static/contact/contact.jpg
  14. BIN
      static/inviteIcon.png
  15. BIN
      static/material.png
  16. BIN
      static/upload.png

6
manifest.json

@ -48,7 +48,11 @@
"setting" : { "setting" : {
"urlCheck" : false "urlCheck" : false
}, },
"usingComponents" : true "usingComponents" : true,
"lazyCodeLoading": "requiredComponents",
"optimization": {
"subPackages": true
}
}, },
"vueVersion" : "2" "vueVersion" : "2"
} }

2
pages/profit/profitEndDetails.vue → pages-profit/profit/profitEndDetails.vue

@ -220,7 +220,7 @@ export default {
targetToOrder(id) { targetToOrder(id) {
if (id) { if (id) {
uni.navigateTo({ uni.navigateTo({
url: "../profit/profitEndOrder?id=" + id, url: "/pages-profit/profit/profitEndOrder?id=" + id,
}); });
} }
}, },

0
pages/profit/profitEndOrder.vue → pages-profit/profit/profitEndOrder.vue

2
pages/profit/profitInDetails.vue → pages-profit/profit/profitInDetails.vue

@ -222,7 +222,7 @@ export default {
console.log("id", id); console.log("id", id);
if (id) { if (id) {
uni.navigateTo({ uni.navigateTo({
url: "../profit/profitInOrder?id=" + id, url: "/pages-profit/profit/profitInOrder?id=" + id,
}); });
} }
}, },

0
pages/profit/profitInOrder.vue → pages-profit/profit/profitInOrder.vue

0
pages/profit/profitPreDetails.vue → pages-profit/profit/profitPreDetails.vue

2
pages-userInfo/contact/contact.vue

@ -1,6 +1,6 @@
<template> <template>
<view class="box"> <view class="box">
<image class="img" src="/static/contact/contact.jpg" mode=""></image> <image class="img" src="http://117.50.61.7:6001/mini/bnyer-hub/contact.jpg" mode=""></image>
</view> </view>
</template> </template>

190
pages.json

@ -8,16 +8,7 @@
"navigationBarBackgroundColor": "#141b29", "navigationBarBackgroundColor": "#141b29",
"navigationStyle": "custom" "navigationStyle": "custom"
} }
}, },{
{
"path": "pages/profit/profit",
"style": {
"navigationBarTitleText": "收益",
"enablePullDownRefresh": false,
"navigationStyle": "custom"
}
},
{
"path": "pages/index/upload/upload", "path": "pages/index/upload/upload",
"style": { "style": {
"navigationBarTitleText": "上传图片", "navigationBarTitleText": "上传图片",
@ -61,74 +52,84 @@
} }
}, { }, {
"path": "pages/profit/profitPreDetails", "path": "pages/userInfo/userInfo",
"style": {
"navigationBarTitleText": "即将入账详情",
"enablePullDownRefresh": true
}
}, {
"path": "pages/profit/profitInDetails",
"style": {
"navigationBarTitleText": "已入账详情",
"enablePullDownRefresh": true
}
}, {
"path": "pages/profit/profitInOrder",
"style": {
"navigationBarTitleText": "收益结算单",
"enablePullDownRefresh": false
}
}, {
"path": "pages/profit/profitEndDetails",
"style": { "style": {
"navigationBarTitleText": "转入钱包详情", "navigationBarTitleText": "",
"enablePullDownRefresh": true "enablePullDownRefresh": false,
"navigationStyle": "custom"
} }
}, { }, {
"path": "pages/profit/profitEndOrder", "path": "pages/profit/profit",
"style": {
"navigationBarTitleText": "转入钱包结算单",
"enablePullDownRefresh": false
}
},
{
"path": "pages/userInfo/userInfo",
"style": { "style": {
"navigationBarTitleText": "", "navigationBarTitleText": "收益",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
"navigationStyle": "custom" "navigationStyle": "custom"
} }
} }
], ],
"subPackages": [{ "subPackages": [
"root": "pages-userInfo", {
"pages": [{ "root": "pages-profit",
"path": "about/about", "pages": [
"style": { {
"navigationBarTitleText": "常见问题", "path": "profit/profitPreDetails",
"enablePullDownRefresh": false "style": {
"navigationBarTitleText": "即将入账详情",
"enablePullDownRefresh": true
}
}, {
"path": "profit/profitInDetails",
"style": {
"navigationBarTitleText": "已入账详情",
"enablePullDownRefresh": true
}
}, {
"path": "profit/profitInOrder",
"style": {
"navigationBarTitleText": "收益结算单",
"enablePullDownRefresh": false
}
}, {
"path": "profit/profitEndDetails",
"style": {
"navigationBarTitleText": "转入钱包详情",
"enablePullDownRefresh": true
}
}, {
"path": "profit/profitEndOrder",
"style": {
"navigationBarTitleText": "转入钱包结算单",
"enablePullDownRefresh": false
}
} }
}, ]
},{
"root": "pages-userInfo",
"pages": [
{ {
"path": "about/about",
"style": {
"navigationBarTitleText": "常见问题",
"enablePullDownRefresh": false
}
}, {
"path": "contact/contact", "path": "contact/contact",
"style": { "style": {
"navigationBarTitleText": "联系我们", "navigationBarTitleText": "联系我们",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, }, {
{
"path": "extends/extends", "path": "extends/extends",
"style": { "style": {
"navigationBarTitleText": "邀请更多人", "navigationBarTitleText": "邀请更多人",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, }, {
{
"path": "setting/setting", "path": "setting/setting",
"style": { "style": {
"navigationBarTitleText": "系统设置", "navigationBarTitleText": "系统设置",
@ -140,75 +141,63 @@
"navigationBarTitleText": "通知公告", "navigationBarTitleText": "通知公告",
"enablePullDownRefresh": true "enablePullDownRefresh": true
} }
}, }, {
{
"path": "creatorAccount/creatorAccount", "path": "creatorAccount/creatorAccount",
"style": { "style": {
"navigationBarTitleText": "收款账户", "navigationBarTitleText": "收款账户",
"enablePullDownRefresh": true "enablePullDownRefresh": true
} }
}, }, {
{
"path": "creatorAccount/createAccount", "path": "creatorAccount/createAccount",
"style": { "style": {
"navigationBarTitleText": "添加收款账户", "navigationBarTitleText": "添加收款账户",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, }, {
{
"path": "withdraw/withdrawLog", "path": "withdraw/withdrawLog",
"style": { "style": {
"navigationBarTitleText": "提现记录", "navigationBarTitleText": "提现记录",
"enablePullDownRefresh": true "enablePullDownRefresh": true
} }
}, }, {
{
"path": "withdraw/withdrawIndex", "path": "withdraw/withdrawIndex",
"style": { "style": {
"navigationBarTitleText": "提现", "navigationBarTitleText": "提现",
"enablePullDownRefresh": true "enablePullDownRefresh": true
} }
}, }, {
{
"path": "withdraw/withdraw", "path": "withdraw/withdraw",
"style": { "style": {
"navigationBarTitleText": "发起提现", "navigationBarTitleText": "发起提现",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, }, {
{
"path": "notice/noticeDetail", "path": "notice/noticeDetail",
"style": { "style": {
"navigationBarTitleText": "公告详情", "navigationBarTitleText": "公告详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
} }, {
, {
"path": "withdraw/withdrawDetail", "path": "withdraw/withdrawDetail",
"style": { "style": {
"navigationBarTitleText": "提现详情", "navigationBarTitleText": "提现详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} }
}, }, {
{ "path": "setting/compoSign",
"path": "setting/compoSign", "style": {
"style": { "navigationBarTitleText": "艺术家合作协议",
"navigationBarTitleText": "艺术家合作协议", "enablePullDownRefresh": false
"enablePullDownRefresh": false }
} }, {
"path": "setting/secretSign",
}, "style": {
{ "navigationBarTitleText": "艺术家隐私协议",
"path": "setting/secretSign", "enablePullDownRefresh": false
"style": { }
"navigationBarTitleText": "艺术家隐私协议", }
"enablePullDownRefresh": false
}
}
] ]
}], }],
"globalStyle": { "globalStyle": {
@ -236,19 +225,16 @@
"iconPath": "static/index-default.png", "iconPath": "static/index-default.png",
"selectedIconPath": "static/index-select.png", "selectedIconPath": "static/index-select.png",
"text": "首页" "text": "首页"
}, }, {
{ "pagePath": "pages/profit/profit",
"pagePath": "pages/profit/profit", "iconPath": "static/theme-default.png",
"iconPath": "static/theme-default.png", "selectedIconPath": "static/theme-select.png",
"selectedIconPath": "static/theme-select.png", "text": "收益"
"text": "收益" }, {
}, "pagePath": "pages/userInfo/userInfo",
{ "iconPath": "static/mine-default.png",
"pagePath": "pages/userInfo/userInfo", "selectedIconPath": "static/mine-select.png",
"iconPath": "static/mine-default.png", "text": "我的"
"selectedIconPath": "static/mine-select.png", }]
"text": "我的"
}
]
} }
} }

10
pages/index/index.vue

@ -54,11 +54,7 @@
return { return {
iconColor: '#0b6375', iconColor: '#0b6375',
userInfo:{}, userInfo:{},
banner:[ banner:[],
{
bannerImg: "/static/material.png"
}
],
current: 0, current: 0,
mode: 'default', mode: 'default',
dotsStyles: { dotsStyles: {
@ -77,11 +73,11 @@
funcList: [{ funcList: [{
title: '素材管理', title: '素材管理',
url: '/pages/index/material/material', url: '/pages/index/material/material',
icon: '/static/material.png' icon: 'http://117.50.61.7:6001/mini/bnyer-hub/material.png'
}, { }, {
title: '上传素材', title: '上传素材',
url: '/pages/index/upload/upload', url: '/pages/index/upload/upload',
icon: '/static/upload.png' icon: 'http://117.50.61.7:6001/mini/bnyer-hub/upload.png'
}], }],
list: [{ list: [{
typeId: 1, typeId: 1,

12
pages/profit/profit.vue

@ -193,8 +193,8 @@ export default {
active: 0, active: 0,
hidden: true, hidden: true,
incomeBackground: '/static/income-background.png', incomeBackground: '/static/income-background.png',
advertIcon: "/static/advertIcon.png", advertIcon: "http://117.50.61.7:6001/mini/bnyer-hub/inviteIcon.png",
inviteIcon: "/static/inviteIcon.png", inviteIcon: "http://117.50.61.7:6001/mini/bnyer-hub/inviteIcon.png",
}; };
}, },
// //
@ -329,7 +329,7 @@ export default {
data: typeId, data: typeId,
success() { success() {
uni.navigateTo({ uni.navigateTo({
url: "../profit/profitPreDetails", url: "/pages-profit/profit/profitPreDetails",
}); });
}, },
}); });
@ -339,7 +339,7 @@ export default {
data: typeId, data: typeId,
success() { success() {
uni.navigateTo({ uni.navigateTo({
url: "../profit/profitInDetails", url: "/pages-profit/profit/profitInDetails",
}); });
}, },
}); });
@ -349,7 +349,7 @@ export default {
data: typeId, data: typeId,
success() { success() {
uni.navigateTo({ uni.navigateTo({
url: "../profit/profitEndDetails", url: "/pages-profit/profit/profitEndDetails",
}); });
}, },
}); });
@ -364,7 +364,7 @@ export default {
// //
getMore() { getMore() {
uni.navigateTo({ uni.navigateTo({
url: "../../pages-userInfo/notice/notice", url: "/pages-userInfo/notice/notice",
}); });
}, },
segActive(index) { segActive(index) {

4
pages/userInfo/userInfo.vue

@ -87,8 +87,8 @@
}], }],
pageUrl: '', pageUrl: '',
userInfo: { userInfo: {
name: "Adming", name: "admin",
img: "/static/material.png" img: "/static/mine-select.png"
}, },
creatorFansLikeInfo: { creatorFansLikeInfo: {
fansNum: 0, fansNum: 0,

BIN
static/advertIcon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 36 KiB

BIN
static/contact/contact.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 146 KiB

BIN
static/inviteIcon.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

BIN
static/material.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 30 KiB

BIN
static/upload.png

Binary file not shown.

Before

Width:  |  Height:  |  Size: 34 KiB

Loading…
Cancel
Save