1 Star 1 Fork 1

cy曹媛/online_education

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pages.json 9.53 KB
一键复制 编辑 原始数据 按行查看 历史
cy曹媛 提交于 2021-04-26 15:48 . 我的页面
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarBackgroundColor": "#345DC2", // 导航背景色
"navigationBarTextStyle": "white" ,// 状态和导航字体样式
"app-plus":{
"bounce":"none", //禁止回弹
"titleNView":{
"type":"transparent", //滚动条透明渐变
"searchInput":{
"align": "center",
"placeholder": "搜索你想要的内容",
"borderRadius": "30rpx",
"backgroundColor": "#F0F1F2",
"placeholderColor": "#979C9D", //提示字体颜色
"disabled": true //禁止输入,点击进入新搜索页面
}
// #ifdef APP-PLUS
,"buttons": [
{
"float": "right",
"background": "rgba(0,0,0,0)",
"fontSize": "23",
"fontSrc": "/static/icon/iconfont.ttf",
"text": "\ue689"
}
]
// #endif
}
}
}
}
, {
"path": "pages/catalogue/catalogue",
"style": {
"navigationBarTitleText": "分类",
"navigationBarBackgroundColor": "#345DC2", // 导航背景色
"navigationBarTextStyle": "white" ,// 状态和导航字体样式
"enablePullDownRefresh": false,
"app-plus":{
"bounce":"none", //禁止回弹
"titleNView":{
"buttons": [
{
"float": "right",
"background": "rgba(0,0,0,0)",
"fontSize": "23",
"fontSrc": "/static/icon/iconfont.ttf",
"text": "\ue608"
}
]
}
}
}
}, {
"path": "pages/article/article",
"style": {
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"app-plus":{
"bounce":"none", //禁止回弹
"titleNView":{
"type":"transparent", //滚动条透明渐变
"searchInput":{
"align": "center",
"placeholder": "搜索你想要的内容",
"borderRadius": "30rpx",
"backgroundColor": "#F0F1F2",
"placeholderColor": "#979C9D", //提示字体颜色
"disabled": true //禁止输入,点击进入新搜索页面
}
// #ifdef APP-PLUS
,"buttons": [
{
"float": "right",
"background": "rgba(0,0,0,0)",
"fontSize": "23",
"fontSrc": "/static/icon/iconfont.ttf",
"text": "\ue689"
}
]
// #endif
}
}
}
}, {
"path": "pages/question/question",
"style": {
"enablePullDownRefresh": false,
"navigationBarTitleText": "问答",
"navigationBarTextStyle": "white" ,
"navigationBarBackgroundColor": "#345DC2",
"app-plus":{
"titleNView":{
"searchInput":{
"align": "center",
"placeholder": "搜索你想要的内容",
"borderRadius": "30rpx",
"backgroundColor": "#F0F1F2",
"placeholderColor": "#979C9D", //提示字体颜色
"disabled": true //禁止输入,点击进入新搜索页面
}
}
}
}
}, {
"path": "pages/mine/mine",
"style": {
"navigationBarTitleText": "我的",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#345DC2",
"navigationBarTextStyle": "white" ,// 状态和导航字体样式
"transparentTitle": "auto",
"app-plus": {
"scrollIndicator": "none", // app隐藏页面滚动条
"titleNView": {
"type": "transparent" // app/h5滚动透明渐变
}
}
}
},
{
"path": "pages/mine/about",
"style": {
"navigationBarTitleText": "关于梦雪谷",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#fff", // 导航背景色
"navigationBarTextStyle": "black" // 状态和导航字体样式
}
},
{
"path": "pages/mine/setting",
"style": {
"navigationBarTitleText": "设置",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#fff", // 导航背景色
"navigationBarTextStyle": "black" // 状态和导航字体样式
}
},
{
"path": "pages/mine/feedback",
"style": {
"navigationBarTitleText": "意见反馈",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#fff", // 导航背景色
"navigationBarTextStyle": "black" // 状态和导航字体样式
}
},
{
"path": "pages/mine/study",
"style": {
"navigationBarTitleText": "我的学习",
"navigationBarBackgroundColor": "#fff", // 导航背景色
"navigationBarTextStyle": "black" // 状态和导航字体样式
}
},
{
"path" : "components/common/Search/Search",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
,{
"path" : "components/common/Banner/Banner",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
,{
"path" : "components/common/Categorize/Categorize",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
,{
"path" : "components/common/swiper-course/swiper-course",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
,{
"path" : "components/common/course-title/course-title",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
,{
"path" : "pages/Web/Web",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
},
{
"path" : "pages/common-search/common-search",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"app-plus":{
"bounce":"none", //禁止回弹
"titleNView":{
"autoBackButton": false,
"searchInput":{
"align": "left",
"placeholder": "搜索你想要的内容",
"borderRadius": "30rpx",
"backgroundColor": "#F0F1F2",
"placeholderColor": "#979C9D" //提示字体颜色
}
,"buttons": [
{
"float": "right",
//"background": "#fff",
"color":"#1B1F23",
"fontSize":"16",
"text": "取消"
}
]
}
}
}
}
,{
"path" : "pages/order/order",
"style" :
{
"navigationBarTitleText": "我的订单",
"enablePullDownRefresh": false
}
}
,{
"path" : "pages/balance/balance",
"style" :
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false
}
}
],
"globalStyle": {
"navigationBarTextStyle": "black",
"navigationBarBackgroundColor": "#FFFFFF",
"backgroundColor":"#F8F9FB"
},
"tabBar": {
"color": "#b0abb3", // 未选中字体颜色
"selectedColor": "#345dc2", // 选中字体颜色
"backgroundColor": "#F8F8F8", // 背景色
"borderStyle": "white", // 边框色
"fontSize": "11px", //字体大小
"height": "52px", //标签栏高度
"list": [{
"text": "首页", // 标签名
"pagePath": "pages/index/index", // 页面路径
"iconPath": "static/tab/index.png", // 未选中图标
"selectedIconPath": "static/tab/index-active.png" //选中图标
},
{
"text": "分类",
"pagePath": "pages/catalogue/catalogue",
"iconPath": "static/tab/category.png",
"selectedIconPath": "static/tab/category-active.png"
},
{
"text": "阅读",
"pagePath": "pages/article/article",
"iconPath": "static/tab/article.png",
"selectedIconPath": "static/tab/article-active.png"
},
{
"text": "问答",
"pagePath": "pages/question/question",
"iconPath": "static/tab/question.png",
"selectedIconPath": "static/tab/question-active.png"
},
{
"text": "我的",
"pagePath": "pages/mine/mine",
"iconPath": "static/tab/my.png",
"selectedIconPath": "static/tab/my-active.png"
}
]
}
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/cy_caoyuan/online_education.git
git@gitee.com:cy_caoyuan/online_education.git
cy_caoyuan
online_education
online_education
master

搜索帮助