Code: front-end uinapp back-end php database mysql Construction environment: Pagoda ngnix2.1 php7.2 mysql5.7
Core function introduction: Compatible with Douyin Kuaishou WeChat qq four-terminal small program document information upload review, expert entry, traffic main advertisement, Member payment, traffic master distribution, cps distribution, etc.
front-end pages.josn
{
"pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
{
"path": "pages/index/index",
"style": {
"navigationBarTitleText":"",
// "navigationStyle": "custom"
"transparentTitle":"always"
}
},
{
"path": "pages/index/recommend",
"style": {
"navigationBarTitleText": "专题详情"
}
},
{
"path": "pages/special/list",
"style": {
"navigationBarTitleText": "专题"
}
},
{
"path": "pages/special/detail",
"style": {
"navigationBarTitleText": "专题详情"
}
},
{
"path": "pages/talent/index"
},
{
"path": "pages/talent/detail"
},
{
"path": "pages/cate/index"
},
{
"path": "pages/search/index"
},
{
"path": "pages/search/result"
},
{
"path": "pages/list/index"
},
{
"path": "pages/detail/index"
},
{
"path": "pages/user/index",
"style": {
"navigationBarTitleText":"",
// "navigationStyle": "custom"
"transparentTitle":"always"
}
},
{
"path": "pages/user/collect",
"style": {
"navigationBarTitleText": "我的收藏"
}
}
,{
"path": "pages/user/download",
"style": {
"navigationBarTitleText": "我的下载"
}
}
,{
"path" : "pages/index/webview"
},
{
"path":"pages/index/richtext"
},
{
"path": "pages/detail/layout2"
},
{
"path":"pages/user/richtext"
},
{
"path":"pages/user/setting"
}
,{
"path" : "pages/user/expert"
}
,{
"path" : "pages/pay/index",
"style": {
"navigationBarTitleText": "成为会员"
}
},
{
"path": "pages/user/order-list",
"style": {
"navigationBarTitleText": "我的订单"
}
},
{
"path": "pages/synthesis/detail"
},
{
"path": "pages/synthesis/list"
},
{
"path": "pages/detail/download-success"
}
],
"globalStyle": {
"navigationBarTextStyle": "white",
"navigationBarTitleText": "云云文库",
"navigationBarBackgroundColor": "#3D88FE",
"backgroundColor": "#FFFFFF"
},
"tabBar": {
"color": "#666666",
"selectedColor": "#3D88FE",
"borderStyle": "black",
"backgroundColor": "#ffffff",
"list": [{
"pagePath": "pages/index/index",
"iconPath": "static/images/home.png",
"selectedIconPath": "static/images/home-active.png",
"text": "首页"
}
, {
"pagePath": "pages/talent/index",
"iconPath": "static/images/expert.png",
"selectedIconPath": "static/images/expert-active.png",
"text": "推荐"
}
, {
"pagePath": "pages/special/list",
"iconPath": "static/images/zhuanti1.png",
"selectedIconPath": "static/images/zhuanti.png",
"text": "专题"
}
, {
"pagePath": "pages/user/index",
"iconPath": "static/images/user.png",
"selectedIconPath": "static/images/user-active.png",
"text": "我的"
}
]
}
}
The interface display after construction: Douyin terminal: Yunyun Library