上传文件至 '新闻小程序'

This commit is contained in:
link_1999 2022-04-04 21:43:15 +08:00
parent 7eb432981c
commit 812e12d916
5 changed files with 171 additions and 0 deletions

48
新闻小程序/app.json Normal file
View File

@ -0,0 +1,48 @@
{
"pages":[
"pages/home1/home1",
"pages/home/home",
"pages/tw/tw",
"pages/xg/xg",
"pages/gj/gj",
"pages/junshi/junshi",
"pages/news-detail/news-detail",
"pages/logs/logs"
],
"window":{
"backgroundTextStyle":"light",
"navigationBarBackgroundColor": "#2b4b6b",
"navigationBarTitleText": "大公新闻",
"navigationBarTextStyle":"white"
},
"tabBar": {
"list": [{
"pagePath": "pages/home/home",
"text": "国内",
"iconPath": "/images/tabs/nd-no.png",
"selectedIconPath": "/images/tabs/nd-yes.png"
},{
"pagePath": "pages/tw/tw",
"text": "两岸",
"iconPath": "/images/tabs/tw-no.png",
"selectedIconPath": "/images/tabs/tw-yes.png"
},{
"pagePath": "pages/xg/xg",
"text": "港闻",
"iconPath": "/images/tabs/xg-no.png",
"selectedIconPath": "/images/tabs/xg-yes.png"
},{
"pagePath": "pages/gj/gj",
"text": "国际",
"iconPath": "/images/tabs/gj-no.png",
"selectedIconPath": "/images/tabs/gj-yes.png"
},{
"pagePath": "pages/junshi/junshi",
"text": "军事",
"iconPath": "/images/tabs/js-no.png",
"selectedIconPath": "/images/tabs/js-yes.png"
}]
},
"style": "v2",
"sitemapLocation": "sitemap.json"
}

10
新闻小程序/app.wxss Normal file
View File

@ -0,0 +1,10 @@
/**app.wxss**/
.container {
height: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: space-between;
padding: 200rpx 0;
box-sizing: border-box;
}

View File

@ -0,0 +1,74 @@
{
"description": "项目配置文件",
"packOptions": {
"ignore": [
{
"type": "file",
"value": ".eslintrc.js"
}
]
},
"setting": {
"bundle": false,
"userConfirmedBundleSwitch": false,
"urlCheck": true,
"scopeDataCheck": false,
"coverView": true,
"es6": true,
"postcss": true,
"compileHotReLoad": true,
"lazyloadPlaceholderEnable": false,
"preloadBackgroundData": false,
"minified": true,
"autoAudits": false,
"newFeature": false,
"uglifyFileName": false,
"uploadWithSourceMap": true,
"useIsolateContext": true,
"nodeModules": false,
"enhance": true,
"useMultiFrameRuntime": true,
"useApiHook": true,
"useApiHostProcess": true,
"showShadowRootInWxmlPanel": true,
"packNpmManually": false,
"enableEngineNative": false,
"packNpmRelationList": [],
"minifyWXSS": true,
"showES6CompileOption": false,
"minifyWXML": true
},
"compileType": "miniprogram",
"libVersion": "2.19.4",
"appid": "wxe2a2a71a152aaf4e",
"projectname": "%E6%96%B0%E9%97%BB%E5%B0%8F%E7%A8%8B%E5%BA%8F",
"debugOptions": {
"hidedInDevtools": []
},
"scripts": {},
"staticServerOptions": {
"baseURL": "",
"servePath": ""
},
"isGameTourist": false,
"condition": {
"search": {
"list": []
},
"conversation": {
"list": []
},
"game": {
"list": []
},
"plugin": {
"list": []
},
"gamePlugin": {
"list": []
},
"miniprogram": {
"list": []
}
}
}

View File

@ -0,0 +1,32 @@
{
"setting": {},
"condition": {
"plugin": {
"list": []
},
"game": {
"list": []
},
"gamePlugin": {
"list": []
},
"miniprogram": {
"list": [
{
"name": "",
"pathName": "pages/news-detail/news-detail",
"query": "id=82afc00a62493cc702fec1ae48649635",
"launchMode": "default",
"scene": null
},
{
"name": "",
"pathName": "pages/home/home",
"query": "",
"scene": null,
"launchMode": "default"
}
]
}
}
}

View File

@ -0,0 +1,7 @@
{
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
"rules": [{
"action": "allow",
"page": "*"
}]
}