Commit abd9c153 by Sweet Zhang

增加vite配置文件

parent 0088031f
This source diff could not be displayed because it is too large. You can view the blob instead.
{ {
"id": "vcode-input",
"name": "验证码输入框",
"version": "2.0",
"description": "验证码输入框,密码输入框",
"keywords": [
"验证码输入框",
"支付密码输入框"
],
"displayName": "验证码输入框",
"dcloudext": {
"category": [
"前端组件",
"通用组件"
]
},
"dependencies": { "dependencies": {
"@dcloudio/uni-ui": "^1.5.11", "@dcloudio/uni-ui": "^1.5.11",
"@uqrcode/js": "^4.0.7", "@uqrcode/js": "^4.0.7",
...@@ -29,7 +14,6 @@ ...@@ -29,7 +14,6 @@
"qrcode": "^1.5.4", "qrcode": "^1.5.4",
"qrcodejs2": "^0.0.2", "qrcodejs2": "^0.0.2",
"uqrcodejs": "^4.0.7", "uqrcodejs": "^4.0.7",
"vite-plugin-top-level-await": "^1.6.0",
"weixin-js-sdk": "^1.6.5" "weixin-js-sdk": "^1.6.5"
}, },
"devDependencies": { "devDependencies": {
......
{ {
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages "pages": [
{ {
"path": "pages/index/index", "path": "pages/index/index",
"style": { "style": {
"topWindow": false, "topWindow": false,
"navigationBarTitleText": "银盾家办" "navigationBarTitleText": "银盾家办"
} },
}, { "lazyLoad": true
},
{
"path": "components/login/login", "path": "components/login/login",
"style": { "style": {
"topWindow": false, "topWindow": false,
"navigationBarTitleText": "银盾家办" "navigationBarTitleText": "银盾家办"
} },
}, { "lazyLoad": true
},
{
"path": "pages/courselist/courselist", "path": "pages/courselist/courselist",
"style": { "style": {
"topWindow": false, "topWindow": false,
"navigationBarTitleText": "银盾家办" "navigationBarTitleText": "银盾家办"
} },
}, { "lazyLoad": true
},
{
"path": "pages/courseDetail/courseDetail", "path": "pages/courseDetail/courseDetail",
"style": { "style": {
"navigationBarTitleText": "产品详情", "navigationBarTitleText": "产品详情",
...@@ -27,51 +32,66 @@ ...@@ -27,51 +32,66 @@
"app-plus": { "app-plus": {
"softinputMode": "adjustResize" "softinputMode": "adjustResize"
} }
} },
}, { "lazyLoad": true
},
{
"path": "pages/product/product", "path": "pages/product/product",
"style": { "style": {
"navigationBarTitleText": "SFP", "navigationBarTitleText": "SFP",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/shareFriend/shareFriend", "path": "pages/shareFriend/shareFriend",
"style": { "style": {
"navigationBarTitleText": "分享好友", "navigationBarTitleText": "分享好友",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, { },
{
"path": "pages/personalCenter/personalCenter", "path": "pages/personalCenter/personalCenter",
"style": { "style": {
"navigationBarTitleText": "我的", "navigationBarTitleText": "我的",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/announcement/announcement", "path": "pages/announcement/announcement",
"style": { "style": {
"navigationBarTitleText": "公告列表", "navigationBarTitleText": "公告列表",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/announcement/announcement_detail", "path": "pages/announcement/announcement_detail",
"style": { "style": {
"navigationBarTitleText": "公告详情", "navigationBarTitleText": "公告详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/systemMsg/system_msg", "path": "pages/systemMsg/system_msg",
"style": { "style": {
"navigationBarTitleText": "消息列表", "navigationBarTitleText": "消息列表",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/systemMsg/system_msg_detail", "path": "pages/systemMsg/system_msg_detail",
"style": { "style": {
"navigationBarTitleText": "消息详情", "navigationBarTitleText": "消息详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/application-process/basic-info", "path": "pages/application-process/basic-info",
"style": { "style": {
"navigationBarTitleText": "申请加盟-基本资料", "navigationBarTitleText": "申请加盟-基本资料",
...@@ -79,55 +99,72 @@ ...@@ -79,55 +99,72 @@
"app-plus": { "app-plus": {
"softinputMode": "adjustPan" "softinputMode": "adjustPan"
} }
} },
}, { "lazyLoad": true
},
{
"path": "pages/application-process/work-experience", "path": "pages/application-process/work-experience",
"style": { "style": {
"navigationBarTitleText": "从业经历", "navigationBarTitleText": "从业经历",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/myCertify/myCertify", "path": "pages/myCertify/myCertify",
"style": { "style": {
"navigationBarTitleText": "我的认证", "navigationBarTitleText": "我的认证",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/inviteJoin/inviteJoin", "path": "pages/inviteJoin/inviteJoin",
"style": { "style": {
"navigationBarTitleText": "邀请加盟", "navigationBarTitleText": "邀请加盟",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/orderConfirm/orderConfirm", "path": "pages/orderConfirm/orderConfirm",
"style": { "style": {
"navigationBarTitleText": "订单确认", "navigationBarTitleText": "订单确认",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/learnCertify/learnCertify", "path": "pages/learnCertify/learnCertify",
"style": { "style": {
"navigationBarTitleText": "学习认证", "navigationBarTitleText": "学习认证",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/authentication-query/authentication-query", "path": "pages/authentication-query/authentication-query",
"style": { "style": {
"navigationBarTitleText": "认证查询", "navigationBarTitleText": "认证查询",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/authentication-query/authentication-result", "path": "pages/authentication-query/authentication-result",
"style": { "style": {
"navigationBarTitleText": "查询结果", "navigationBarTitleText": "查询结果",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/certifyDetail/certifyDetail", "path": "pages/certifyDetail/certifyDetail",
"style": { "style": {
"navigationBarTitleText": "认证详情", "navigationBarTitleText": "认证详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, },
// { // {
// "path": "pages/myLearning/myLearning", // "path": "pages/myLearning/myLearning",
...@@ -135,157 +172,192 @@ ...@@ -135,157 +172,192 @@
// "navigationBarTitleText": "我的学习", // "navigationBarTitleText": "我的学习",
// "enablePullDownRefresh": false // "enablePullDownRefresh": false
// } // }
// }, // },
{ {
"path": "pages/personalCenter/myTeam", "path": "pages/personalCenter/myTeam",
"style": { "style": {
"navigationBarTitleText": "我的团队", "navigationBarTitleText": "我的团队",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, },
{ {
"path": "pages/personalCenter/myTeamIncubate", "path": "pages/personalCenter/myTeamIncubate",
"style": { "style": {
"navigationBarTitleText": "育成团队", "navigationBarTitleText": "育成团队",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, },
{ {
"path": "pages/personalCenter/helpCenter", "path": "pages/personalCenter/helpCenter",
"style": { "style": {
"navigationBarTitleText": "帮助中心", "navigationBarTitleText": "帮助中心",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, },
{ {
"path": "pages/myShare/myShare", "path": "pages/myShare/myShare",
"style": { "style": {
"navigationBarTitleText": "分享数据", "navigationBarTitleText": "分享数据",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, },
{ {
"path": "pages/myPoints/myPoints", "path": "pages/myPoints/myPoints",
"style": { "style": {
"navigationBarTitleText": "我的积分", "navigationBarTitleText": "我的积分",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/commonDetail/commonDetail", "path": "pages/commonDetail/commonDetail",
"style": { "style": {
"navigationBarTitleText": "明细", "navigationBarTitleText": "明细",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, { },
{
"path": "pages/orderDetail/orderDetail", "path": "pages/orderDetail/orderDetail",
"style": { "style": {
"navigationBarTitleText": "订单详情", "navigationBarTitleText": "订单详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, { },
{
"path": "pages/afterSales/afterSales", "path": "pages/afterSales/afterSales",
"style": { "style": {
"navigationBarTitleText": "我的售后", "navigationBarTitleText": "我的售后",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, { },
{
"path": "pages/afterSaleDetail/afterSaleDetail", "path": "pages/afterSaleDetail/afterSaleDetail",
"style": { "style": {
"navigationBarTitleText": "我的售后", "navigationBarTitleText": "我的售后",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/saleCourseLists/saleCourseLists", "path": "pages/saleCourseLists/saleCourseLists",
"style": { "style": {
"navigationBarTitleText": "成交订单", "navigationBarTitleText": "成交订单",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/myPoints/pointsDetail", "path": "pages/myPoints/pointsDetail",
"style": { "style": {
"navigationBarTitleText": "积分明细", "navigationBarTitleText": "积分明细",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/pointsExchange/pointsStatus", "path": "pages/pointsExchange/pointsStatus",
"style": { "style": {
"navigationBarTitleText": "佣金", "navigationBarTitleText": "佣金",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/pointsExchange/pointsExchange", "path": "pages/pointsExchange/pointsExchange",
"style": { "style": {
"navigationBarTitleText": "佣金", "navigationBarTitleText": "佣金",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/withdrawal/withdrawal", "path": "pages/withdrawal/withdrawal",
"style": { "style": {
"navigationBarTitleText": "兑换提现", "navigationBarTitleText": "兑换提现",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/exchangeRecord/exchangeRecord", "path": "pages/exchangeRecord/exchangeRecord",
"style": { "style": {
"navigationBarTitleText": "兑换记录", "navigationBarTitleText": "兑换记录",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/withdrawal/withdrawalDetail", "path": "pages/withdrawal/withdrawalDetail",
"style": { "style": {
"navigationBarTitleText": "提现详情", "navigationBarTitleText": "提现详情",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/taxRules/taxRules", "path": "pages/taxRules/taxRules",
"style": { "style": {
"navigationBarTitleText": "纳税规则", "navigationBarTitleText": "纳税规则",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/applyDropClass/applyDropClass", "path": "pages/applyDropClass/applyDropClass",
"style": { "style": {
"navigationBarTitleText": "申请退款", "navigationBarTitleText": "申请退款",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/application-process/id-card", "path": "pages/application-process/id-card",
"style": { "style": {
"navigationBarTitleText": "申请加盟-个人证件", "navigationBarTitleText": "申请加盟-个人证件",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/application-process/education", "path": "pages/application-process/education",
"style": { "style": {
"navigationBarTitleText": "申请加盟-学历信息", "navigationBarTitleText": "申请加盟-学历信息",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/application-process/bank-card", "path": "pages/application-process/bank-card",
"style": { "style": {
"navigationBarTitleText": "申请加盟-银行卡号", "navigationBarTitleText": "申请加盟-银行卡号",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/application-process/personal-statement", "path": "pages/application-process/personal-statement",
"style": { "style": {
"navigationBarTitleText": "申请加盟-个人声明", "navigationBarTitleText": "申请加盟-个人声明",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/application-process/contract", "path": "pages/application-process/contract",
"style": { "style": {
"navigationBarTitleText": "申请加盟-合同文档", "navigationBarTitleText": "申请加盟-合同文档",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/application-process/signature", "path": "pages/application-process/signature",
"style": { "style": {
"navigationBarTitleText": "申请加盟-电子签名", "navigationBarTitleText": "申请加盟-电子签名",
...@@ -293,50 +365,57 @@ ...@@ -293,50 +365,57 @@
"app-plus": { "app-plus": {
"bounce": "none" "bounce": "none"
} }
} },
}, { "lazyLoad": true
},
{
"path": "pages/personalCenter/teamMembers/teamMembers", "path": "pages/personalCenter/teamMembers/teamMembers",
"style": { "style": {
"navigationBarTitleText": "团队成员", "navigationBarTitleText": "团队成员",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, { },
{
"path": "pages/personalCenter/teamPerformance/teamPerformance", "path": "pages/personalCenter/teamPerformance/teamPerformance",
"style": { "style": {
"navigationBarTitleText": "团队业绩", "navigationBarTitleText": "团队业绩",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, { },
{
"path": "pages/personalCenter/user-information", "path": "pages/personalCenter/user-information",
"style": { "style": {
"navigationBarTitleText": "个人资料", "navigationBarTitleText": "个人资料",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, { },
{
"path": "pages/personalCenter/system/settings", "path": "pages/personalCenter/system/settings",
"style": { "style": {
"navigationBarTitleText": "设置", "navigationBarTitleText": "设置",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, { },
{
"path": "pages/orderStatus/orderStatus", "path": "pages/orderStatus/orderStatus",
"style": { "style": {
"navigationBarTitleText": "订单支付", "navigationBarTitleText": "订单支付",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, { },
{
"path": "pages/dropLists/dropLists", "path": "pages/dropLists/dropLists",
"style": { "style": {
"navigationBarTitleText": "已退课", "navigationBarTitleText": "已退课",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, },
// { // {
// "path": "pages/learningStatistics/learningStatistics", // "path": "pages/learningStatistics/learningStatistics",
// "style": { // "style": {
...@@ -349,341 +428,389 @@ ...@@ -349,341 +428,389 @@
"style": { "style": {
"navigationBarTitleText": "账号绑定设置", "navigationBarTitleText": "账号绑定设置",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, },
{ {
"path": "pages/personalCenter/accountoperation/phonebinding", "path": "pages/personalCenter/accountoperation/phonebinding",
"style": { "style": {
"navigationBarTitleText": "手机号绑定", "navigationBarTitleText": "手机号绑定",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, },
{ {
"path": "pages/personalCenter/accountoperation/resetpassword", "path": "pages/personalCenter/accountoperation/resetpassword",
"style": { "style": {
"navigationBarTitleText": "重置密码", "navigationBarTitleText": "重置密码",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, },
{ {
"path": "pages/personalCenter/accountoperation/confirmResetpassword", "path": "pages/personalCenter/accountoperation/confirmResetpassword",
"style": { "style": {
"navigationBarTitleText": "重置密码", "navigationBarTitleText": "重置密码",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, },
{ {
"path": "pages/personalCenter/accountoperation/aboutcffp", "path": "pages/personalCenter/accountoperation/aboutcffp",
"style": { "style": {
"navigationBarTitleText": "关于我", "navigationBarTitleText": "关于我",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, },
{ {
"path": "pages/certifyDetail/uploadinformation", "path": "pages/certifyDetail/uploadinformation",
"style": { "style": {
"navigationBarTitleText": "上传信息", "navigationBarTitleText": "上传信息",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, { },
{
"path": "pages/receiptCycleDesc/receiptCycleDesc", "path": "pages/receiptCycleDesc/receiptCycleDesc",
"style": { "style": {
"navigationBarTitleText": "到账周期说明", "navigationBarTitleText": "到账周期说明",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, { },
{
"path": "pages/invitationRegister/invitationRegister", "path": "pages/invitationRegister/invitationRegister",
"style": { "style": {
"navigationBarTitleText": "邀请注册", "navigationBarTitleText": "邀请注册",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, { },
{
"path": "pages/invitationRegister/invitationlogin", "path": "pages/invitationRegister/invitationlogin",
"style": { "style": {
"navigationBarTitleText": "邀请登录", "navigationBarTitleText": "邀请登录",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/application-process/application-result", "path": "pages/application-process/application-result",
"style": { "style": {
"navigationBarTitleText": "申请加盟-结果", "navigationBarTitleText": "申请加盟-结果",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
}, { "lazyLoad": true
},
{
"path": "pages/downloadApp/index", "path": "pages/downloadApp/index",
"style": { "style": {
"navigationBarTitleText": "下载", "navigationBarTitleText": "下载",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
} "lazyLoad": true
},
, { {
"path": "pages/product/finance-calculator", "path": "pages/product/finance-calculator",
"style": { "style": {
"navigationBarTitleText": "pages/product/finance-calculator", "navigationBarTitleText": "pages/product/finance-calculator",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, },
{ {
"path": "components/webview" "path": "components/webview",
"style": {},
"lazyLoad": true
}, },
{ {
"path": "pages/personalCenter/system/cancellation", "path": "pages/personalCenter/system/cancellation",
"style": { "style": {
"navigationBarTitleText": "", "navigationBarTitleText": "",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, },
{ {
"path": "components/clause/clauseIOS", "path": "components/clause/clauseIOS",
"style": { "style": {},
"navigationBarTitleText": "", "lazyLoad": true
"enablePullDownRefresh": false
}
}, },
{ {
"path": "sfp/index/index", "path": "sfp/index/index",
"style": { "style": {
"navigationBarTitleText": "", "navigationBarTitleText": "",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, },
{ {
"path": "sfp/housePurchase/housePurchase", "path": "sfp/housePurchase/housePurchase",
"style": { "style": {
"navigationBarTitleText": "", "navigationBarTitleText": "",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, },
{ {
"path": "sfp/childEdu/childEdu", "path": "sfp/childEdu/childEdu",
"style": { "style": {
"navigationBarTitleText": "", "navigationBarTitleText": "",
"enablePullDownRefresh": false "enablePullDownRefresh": false
} },
"lazyLoad": true
}, },
{ {
"path": "sfp/dataImport/data-import", "path": "sfp/dataImport/data-import",
"style": { "style": {
"topWindow": false, "topWindow": false,
"navigationBarTitleText": "批量数据计算" "navigationBarTitleText": "批量数据计算"
} },
"lazyLoad": true
}, },
{ {
"path" : "pages/personalCenter/detail", "path": "pages/personalCenter/detail",
"style" : "style": {
{ "navigationBarTitleText": "",
"navigationBarTitleText" : "",
"disableScroll": false, "disableScroll": false,
"webview": { "webview": {
// 1. 允许加载本地静态资源(viewer.html /static 目录) "allowAccessFromFileURLs": true,
"allowAccessFromFileURLs": true, "allowUniversalAccessFromFileURLs": true,
// 2. 允许加载外部资源(OSS的PDF) "enableJavaScript": true,
"allowUniversalAccessFromFileURLs": true, "disableWebSecurity": true,
// 3. 启用JavaScript(PDF.js依赖) "allowNavigateToExternalPages": true,
"enableJavaScript": true, "webviewDebug": true
// 4. 关闭安全校验(开发环境测试用,线上可关闭) }
"disableWebSecurity": true, },
// 5. 允许跳转外部链接 "lazyLoad": true
"allowNavigateToExternalPages": true,
// 6. 启用调试(关键:便于查看WebView内部错误)
"webviewDebug": true
}
}
}, },
{ {
"path": "pages/lanch/index", "path": "pages/lanch/index",
"style": { "style": {
"topWindow": false, "topWindow": false,
"navigationBarTitleText": "启动页" "navigationBarTitleText": "启动页"
} },
"lazyLoad": true
} }
], ],
"subPackages": [{ "subPackages": [
"root": "myPackageA",
"pages": [{
"path": "lawManual/lawManual",
"style": {
"navigationBarTitleText": "CFFP法条摘要"
}
}, {
"path": "videoProject/login",
"style": {
"navigationBarTitleText": "登录"
}
}, {
"path": "videoProject/videoDetail",
"style": {
"navigationBarTitleText": "视频播放"
}
}, {
"path": "videoProject/wxLogin",
"style": {
"navigationBarTitleText": "微信登录"
}
},{
"path": "applyFranchise/applyFranchise",
"style": {
"navigationBarTitleText": "申请加盟"
}
},{
"path": "integralExchange/exchange",
"style": {
"navigationBarTitleText": "积分提现"
}
},{
"path": "ruleAndContract/taxRules",
"style": {
"navigationBarTitleText": "纳税规则"
}
},{
"path": "integralExchange/authenticaInfo",
"style": {
"navigationBarTitleText": "实名认证"
}
},{
"path": "setting/logOff",
"style": {
"navigationBarTitleText": "合伙人解约"
}
},{
"path": "ruleAndContract/cancelProtocol",
"style": {
"navigationBarTitleText": "合伙人解约协议"
}
}, {
"path": "login/login",
"style": {
"navigationBarTitleText": "银盾家办"
}
},{
"path": "ruleAndContract/clause",
"style": {
"navigationBarTitleText": "协议"
}
},{
"path": "poster/poster",
"style": {
"navigationBarTitleText": "分销海报"
}
},{
"path": "myTeam/myTeam",
"style": {
"navigationBarTitleText": "我的团队"
}
},{
"path": "commission/withdrawalRecord",
"style": {
"navigationBarTitleText": "提现记录"
}
},{
"path": "compare-result/compare-result",
"style": {
"navigationBarTitleText": "对比结果"
}
},{
"path": "product-list/product-list",
"style": {
"navigationBarTitleText": "产品对比"
}
},{
"path": "product-list/product-commission",
"style": {
"navigationBarTitleText": "产品佣率查询"
}
},
{
"path": "product-list/commission-detail",
"style": {
"navigationBarTitleText": "佣金详情"
}
},
{
"path" : "businessCard/businessCard",
"style" :
{
"navigationBarTitleText" : "我的名片"
}
},
{ {
"path" : "noBusinessCard/noBusinessCard", "root": "myPackageA",
"style" : "pages": [
{ {
"navigationBarTitleText" : "我的名片" "path": "lawManual/lawManual",
} "style": {
"navigationBarTitleText": "CFFP法条摘要"
},
"lazyLoad": true
},
{
"path": "videoProject/login",
"style": {
"navigationBarTitleText": "登录"
},
"lazyLoad": true
},
{
"path": "videoProject/videoDetail",
"style": {
"navigationBarTitleText": "视频播放"
},
"lazyLoad": true
},
{
"path": "videoProject/wxLogin",
"style": {
"navigationBarTitleText": "微信登录"
},
"lazyLoad": true
},
{
"path": "applyFranchise/applyFranchise",
"style": {
"navigationBarTitleText": "申请加盟"
},
"lazyLoad": true
},
{
"path": "integralExchange/exchange",
"style": {
"navigationBarTitleText": "积分提现"
},
"lazyLoad": true
},
{
"path": "ruleAndContract/taxRules",
"style": {
"navigationBarTitleText": "纳税规则"
},
"lazyLoad": true
},
{
"path": "integralExchange/authenticaInfo",
"style": {
"navigationBarTitleText": "实名认证"
},
"lazyLoad": true
},
{
"path": "setting/logOff",
"style": {
"navigationBarTitleText": "合伙人解约"
},
"lazyLoad": true
},
{
"path": "ruleAndContract/cancelProtocol",
"style": {
"navigationBarTitleText": "合伙人解约协议"
},
"lazyLoad": true
},
{
"path": "login/login",
"style": {
"navigationBarTitleText": "银盾家办"
},
"lazyLoad": true
},
{
"path": "ruleAndContract/clause",
"style": {
"navigationBarTitleText": "协议"
},
"lazyLoad": true
},
{
"path": "poster/poster",
"style": {
"navigationBarTitleText": "分销海报"
},
"lazyLoad": true
},
{
"path": "myTeam/myTeam",
"style": {
"navigationBarTitleText": "我的团队"
},
"lazyLoad": true
},
{
"path": "commission/withdrawalRecord",
"style": {
"navigationBarTitleText": "提现记录"
},
"lazyLoad": true
},
{
"path": "compare-result/compare-result",
"style": {
"navigationBarTitleText": "对比结果"
},
"lazyLoad": true
},
{
"path": "product-list/product-list",
"style": {
"navigationBarTitleText": "产品对比"
},
"lazyLoad": true
},
{
"path": "product-list/product-commission",
"style": {
"navigationBarTitleText": "产品佣率查询"
},
"lazyLoad": true
},
{
"path": "product-list/commission-detail",
"style": {
"navigationBarTitleText": "佣金详情"
},
"lazyLoad": true
},
{
"path": "businessCard/businessCard",
"style": {
"navigationBarTitleText": "我的名片"
},
"lazyLoad": true
},
{
"path": "noBusinessCard/noBusinessCard",
"style": {
"navigationBarTitleText": "我的名片"
},
"lazyLoad": true
},
{
"path": "salary/salaryList",
"style": {
"navigationBarTitleText": "积分明细"
},
"lazyLoad": true
}
// {
// "path" : "ticket/unUsed",
// "style" : {
// "navigationBarTitleText" : "我的卡券"
// }
// },
// {
// "path" : "ticket/alreadyUsed",
// "style" : {
// "navigationBarTitleText" : "使用记录"
// }
// }
]
}, },
{ {
"path" : "salary/salaryList", "root": "officialWebsite",
"style" : "pages": [
{ {
"navigationBarTitleText" : "积分明细" "path": "memberQuery",
} "style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
},
"lazyLoad": true
}
]
} }
// { ],
// "path" : "ticket/unUsed",
// "style" :
// {
// "navigationBarTitleText" : "我的卡券"
// }
// },
// {
// "path" : "ticket/alreadyUsed",
// "style" :
// {
// "navigationBarTitleText" : "使用记录"
// }
// }
]
},{
"root": "officialWebsite",
"pages": [{
"path": "memberQuery",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}]
}],
"tabBar": { "tabBar": {
"color": "#7A7E83", // tab 上的文字默认颜色 "color": "#7A7E83",
"selectedColor": "#20279b", // tab 上的文字选中时的颜色 "selectedColor": "#20279b",
"borderStyle": "black", // tabbar 上边框的颜色,可选值 black/white "borderStyle": "black",
"backgroundColor": "#ffffff", // tab 的背景色 "backgroundColor": "#ffffff",
"fontSize": "24rpx", "fontSize": "24rpx",
"iconWidth": "30rpx", "iconWidth": "30rpx",
"height": "100rpx", "height": "100rpx",
"list": [{ // 最少2个、最多5 tab "list": [
"pagePath": "pages/index/index", // 页面路径,必须在 pages 中先定义 {
"iconPath": "static/images/home.png",// 图片路径,icon 大小限制为40kb,建议尺寸为 81px * 81px "pagePath": "pages/index/index",
"iconPath": "static/images/home.png",
"selectedIconPath": "static/images/selectHome.png", "selectedIconPath": "static/images/selectHome.png",
"text": "首页" // tab 上按钮文字 "text": "首页"
}, },
{ // 最少2个、最多5 tab {
"pagePath": "pages/product/product", // 页面路径,必须在 pages 中先定义 "pagePath": "pages/product/product",
"iconPath": "static/images/tools.png",// 图片路径,icon 大小限制为40kb,建议尺寸为 81px * 81px "iconPath": "static/images/tools.png",
"selectedIconPath": "static/images/selectTools.png", "selectedIconPath": "static/images/selectTools.png",
"text": "金融工具" // tab 上按钮文字 "text": "金融工具"
}, },
{ // 最少2个、最多5 tab {
"pagePath": "pages/courselist/courselist", // 页面路径,必须在 pages 中先定义 "pagePath": "pages/courselist/courselist",
"text": "产品中心" ,// tab 上按钮文字 "text": "产品中心",
"iconPath": "static/images/product.png",// 图片路径,icon 大小限制为40kb,建议尺寸为 81px * 81px "iconPath": "static/images/product.png",
"selectedIconPath": "static/images/selectProduct.png" "selectedIconPath": "static/images/selectProduct.png"
}, { },
{
"pagePath": "pages/personalCenter/personalCenter", "pagePath": "pages/personalCenter/personalCenter",
"text": "我的", "text": "我的",
"iconPath": "static/images/personal.png",// 图片路径,icon 大小限制为40kb,建议尺寸为 81px * 81px "iconPath": "static/images/personal.png",
"selectedIconPath": "static/images/selectPersonal.png" "selectedIconPath": "static/images/selectPersonal.png"
} }
] ]
...@@ -696,18 +823,20 @@ ...@@ -696,18 +823,20 @@
"navigationStyle": "custom" "navigationStyle": "custom"
}, },
"uniIdRouter": {}, "uniIdRouter": {},
"easycom": { "easycom": {
"autoscan": true, "autoscan": true,
"custom": { "custom": {
"^my-list-item": "@/components/my-list-item/my-list-item.vue" "^my-list-item": "@/components/my-list-item/my-list-item.vue"
} }
}, },
"condition": { //模式配置,仅开发期间生效 "condition": {
"current": 0, //当前激活的模式(list 的索引项) "current": 0,
"list": [{ "list": [
"name": "", //模式名称 {
"path": "", //启动页面,必选 "name": "",
"query": "" //启动参数,在页面的onLoad函数里面得到 "path": "",
}] "query": ""
}
]
} }
} }
\ No newline at end of file
// vite.config.js
import { defineConfig } from 'vite'
import uni from '@dcloudio/vite-plugin-uni'
// 自定义插件:移除 CSS 中的 shadow-grey.png 引用
function removeShadowGrey() {
return {
name: 'remove-shadow-grey',
transform(code, id) {
// 只处理 CSS 和 Vue 文件(含 <style>)
if (id.endsWith('.css') || id.endsWith('.scss') || id.endsWith('.vue')) {
// 将 url(...) 中包含 shadow-grey.png 的替换为 none
const newCode = code.replace(
/url\([^)]*shadow-grey\.png[^)]*\)/g,
'none' // 或 '""' 或 '#000',可根据需要调整
)
if (newCode !== code) {
return { code: newCode, map: null }
}
}
return null // 不处理其他文件
}
}
}
export default defineConfig({
plugins: [
uni(),
removeShadowGrey() // 加入自定义插件
],
build: {
cssCodeSplit: true
// 不再配置 rollupOptions.output.manualChunks,使用 Vite 默认分包策略
}
})
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment