diff --git a/新闻小程序/app.json b/新闻小程序/app.json new file mode 100644 index 0000000..43746a9 --- /dev/null +++ b/新闻小程序/app.json @@ -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" +} diff --git a/新闻小程序/app.wxss b/新闻小程序/app.wxss new file mode 100644 index 0000000..06c6fc9 --- /dev/null +++ b/新闻小程序/app.wxss @@ -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; +} diff --git a/新闻小程序/project.config.json b/新闻小程序/project.config.json new file mode 100644 index 0000000..30a6350 --- /dev/null +++ b/新闻小程序/project.config.json @@ -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": [] + } + } +} \ No newline at end of file diff --git a/新闻小程序/project.private.config.json b/新闻小程序/project.private.config.json new file mode 100644 index 0000000..dda1cb1 --- /dev/null +++ b/新闻小程序/project.private.config.json @@ -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" + } + ] + } + } +} \ No newline at end of file diff --git a/新闻小程序/sitemap.json b/新闻小程序/sitemap.json new file mode 100644 index 0000000..ca02add --- /dev/null +++ b/新闻小程序/sitemap.json @@ -0,0 +1,7 @@ +{ + "desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html", + "rules": [{ + "action": "allow", + "page": "*" + }] +} \ No newline at end of file