上传文件至 ''
This commit is contained in:
parent
f5cd394f3b
commit
49be2bedee
|
@ -0,0 +1,19 @@
|
|||
// app.js
|
||||
App({
|
||||
onLaunch() {
|
||||
let that = this;
|
||||
// 展示本地存储能力
|
||||
const logs = wx.getStorageSync('logs') || []
|
||||
logs.unshift(Date.now())
|
||||
wx.setStorageSync('logs', logs)
|
||||
},
|
||||
//是全局的数据存储
|
||||
globalData: {
|
||||
userInfo: null,
|
||||
url:'http://192.168.123.163:8099', //真实上线是一个域名
|
||||
// url:'http://localhost:8099', //真实上线是一个域名
|
||||
openid:'',
|
||||
session_key:'',
|
||||
token:''
|
||||
}
|
||||
})
|
|
@ -0,0 +1,36 @@
|
|||
{
|
||||
"pages":[
|
||||
"pages/login/login",
|
||||
"pages/user/info",
|
||||
"pages/home/home",
|
||||
"pages/mypage/mypage",
|
||||
"pages/index/index",
|
||||
"pages/detail/index",
|
||||
"pages/answer/index",
|
||||
"pages/logs/logs",
|
||||
"pages/myanswer/index"
|
||||
],
|
||||
"window":{
|
||||
"backgroundTextStyle":"light",
|
||||
"navigationBarBackgroundColor": "#8EE5EE",
|
||||
"navigationBarTitleText": "都都调查问卷",
|
||||
"navigationBarTextStyle":"white"
|
||||
},
|
||||
"tabBar": {
|
||||
"color":"#000000",
|
||||
"selectedColor":"#10BFFC",
|
||||
"list": [{
|
||||
"pagePath": "pages/home/home",
|
||||
"text": "首页",
|
||||
"iconPath":"/images/home_.png",
|
||||
"selectedIconPath":"/images/home_act.png"
|
||||
}, {
|
||||
"pagePath": "pages/mypage/mypage",
|
||||
"text": "我的",
|
||||
"iconPath":"/images/my_.png",
|
||||
"selectedIconPath":"/images/my_act.png"
|
||||
}]
|
||||
},
|
||||
"style": "v2",
|
||||
"sitemapLocation": "sitemap.json"
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
/**app.wxss**/
|
||||
page{
|
||||
height: 100%;
|
||||
}
|
||||
.container {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 200rpx 0;
|
||||
box-sizing: border-box;
|
||||
}
|
|
@ -0,0 +1,77 @@
|
|||
{
|
||||
"description": "项目配置文件",
|
||||
"packOptions": {
|
||||
"ignore": []
|
||||
},
|
||||
"setting": {
|
||||
"urlCheck": false,
|
||||
"es6": true,
|
||||
"enhance": true,
|
||||
"postcss": true,
|
||||
"preloadBackgroundData": false,
|
||||
"minified": true,
|
||||
"newFeature": false,
|
||||
"coverView": true,
|
||||
"nodeModules": false,
|
||||
"autoAudits": false,
|
||||
"showShadowRootInWxmlPanel": true,
|
||||
"scopeDataCheck": false,
|
||||
"uglifyFileName": false,
|
||||
"checkInvalidKey": true,
|
||||
"checkSiteMap": true,
|
||||
"uploadWithSourceMap": true,
|
||||
"compileHotReLoad": false,
|
||||
"lazyloadPlaceholderEnable": false,
|
||||
"useMultiFrameRuntime": false,
|
||||
"useApiHook": false,
|
||||
"useApiHostProcess": false,
|
||||
"babelSetting": {
|
||||
"ignore": [],
|
||||
"disablePlugins": [],
|
||||
"outputPath": ""
|
||||
},
|
||||
"useIsolateContext": false,
|
||||
"userConfirmedBundleSwitch": false,
|
||||
"packNpmManually": false,
|
||||
"packNpmRelationList": [],
|
||||
"minifyWXSS": true,
|
||||
"disableUseStrict": false,
|
||||
"minifyWXML": true,
|
||||
"showES6CompileOption": false,
|
||||
"useCompilerPlugins": false,
|
||||
"ignoreUploadUnusedFiles": true
|
||||
},
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "2.18.0",
|
||||
"appid": "wx9b8ebbaa5f9ba987",
|
||||
"projectname": "wx-question-project5",
|
||||
"debugOptions": {
|
||||
"hidedInDevtools": []
|
||||
},
|
||||
"scripts": {},
|
||||
"staticServerOptions": {
|
||||
"baseURL": "",
|
||||
"servePath": ""
|
||||
},
|
||||
"isGameTourist": false,
|
||||
"condition": {
|
||||
"search": {
|
||||
"list": []
|
||||
},
|
||||
"conversation": {
|
||||
"list": []
|
||||
},
|
||||
"game": {
|
||||
"list": []
|
||||
},
|
||||
"plugin": {
|
||||
"list": []
|
||||
},
|
||||
"gamePlugin": {
|
||||
"list": []
|
||||
},
|
||||
"miniprogram": {
|
||||
"list": []
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"desc": "关于本文件的更多信息,请参考文档 https://developers.weixin.qq.com/miniprogram/dev/framework/sitemap.html",
|
||||
"rules": [{
|
||||
"action": "allow",
|
||||
"page": "*"
|
||||
}]
|
||||
}
|
Loading…
Reference in New Issue