上传文件至 xcx
This commit is contained in:
parent
ddc9719a88
commit
7b76a27600
23
xcx/app.js
Normal file
23
xcx/app.js
Normal file
@ -0,0 +1,23 @@
|
||||
// app.js
|
||||
App({
|
||||
onLaunch() {
|
||||
this.globalData = {
|
||||
supervisorInfo: {
|
||||
name: "张主管",
|
||||
phone: "13800138000",
|
||||
role: "护理主管"
|
||||
}
|
||||
}
|
||||
const logs = wx.getStorageSync('logs') || []
|
||||
logs.unshift(Date.now())
|
||||
wx.setStorageSync('logs', logs)
|
||||
|
||||
wx.login({
|
||||
success: res => {
|
||||
}
|
||||
})
|
||||
},
|
||||
globalData: {
|
||||
userInfo: null
|
||||
}
|
||||
})
|
||||
43
xcx/app.json
Normal file
43
xcx/app.json
Normal file
@ -0,0 +1,43 @@
|
||||
{
|
||||
"pages": [
|
||||
"pages/shouye/shouye",
|
||||
"pages/renwu/task",
|
||||
"pages/jiankang/health",
|
||||
"pages/mine/mine",
|
||||
"pages/index/index",
|
||||
"pages/logs/logs"
|
||||
],
|
||||
"window": {
|
||||
"backgroundTextStyle": "light",
|
||||
"navigationBarBackgroundColor": "#e6f7ff",
|
||||
"navigationBarTitleText": "护理主管系统",
|
||||
"navigationBarTextStyle": "black"
|
||||
},
|
||||
"tabBar": {
|
||||
"color": "#666",
|
||||
"selectedColor": "#1890ff",
|
||||
"borderStyle": "black",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/shouye/shouye",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/renwu/task",
|
||||
"text": "任务"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/jiankang/health",
|
||||
"text": "健康"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/mine/mine",
|
||||
"text": "我的"
|
||||
}
|
||||
]
|
||||
},
|
||||
"style": "v2",
|
||||
"componentFramework": "glass-easel",
|
||||
"sitemapLocation": "sitemap.json",
|
||||
"lazyCodeLoading": "requiredComponents"
|
||||
}
|
||||
57
xcx/app.wxss
Normal file
57
xcx/app.wxss
Normal file
@ -0,0 +1,57 @@
|
||||
/* 页面背景色 */
|
||||
page {
|
||||
background-color: #f5f5f5;
|
||||
font-size: 14px;
|
||||
color: #333;
|
||||
}
|
||||
|
||||
/* 卡片样式 */
|
||||
.card {
|
||||
background-color: #fff;
|
||||
border-radius: 8px;
|
||||
margin: 10rpx;
|
||||
padding: 20rpx;
|
||||
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
|
||||
}
|
||||
|
||||
/* 标题样式 */
|
||||
.title {
|
||||
font-size: 16px;
|
||||
font-weight: 600;
|
||||
margin-bottom: 15rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
/* 按钮样式 */
|
||||
.btn {
|
||||
background-color: #1890ff;
|
||||
color: #fff;
|
||||
border-radius: 30rpx;
|
||||
padding: 12rpx 24rpx;
|
||||
font-size: 14px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
/* 数字统计卡片 */
|
||||
.stat-card {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 15rpx;
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.stat-value {
|
||||
font-size: 24px;
|
||||
font-weight: 700;
|
||||
color: #1890ff;
|
||||
margin-bottom: 5rpx;
|
||||
}
|
||||
|
||||
.stat-a2 {
|
||||
font-size: 12px;
|
||||
color: #666;
|
||||
}
|
||||
41
xcx/project.config.json
Normal file
41
xcx/project.config.json
Normal file
@ -0,0 +1,41 @@
|
||||
{
|
||||
"compileType": "miniprogram",
|
||||
"libVersion": "trial",
|
||||
"packOptions": {
|
||||
"ignore": [],
|
||||
"include": []
|
||||
},
|
||||
"setting": {
|
||||
"coverView": true,
|
||||
"es6": true,
|
||||
"postcss": true,
|
||||
"minified": true,
|
||||
"enhance": true,
|
||||
"showShadowRootInWxmlPanel": true,
|
||||
"packNpmRelationList": [],
|
||||
"babelSetting": {
|
||||
"ignore": [],
|
||||
"disablePlugins": [],
|
||||
"outputPath": ""
|
||||
},
|
||||
"compileWorklet": false,
|
||||
"uglifyFileName": false,
|
||||
"uploadWithSourceMap": true,
|
||||
"packNpmManually": false,
|
||||
"minifyWXSS": true,
|
||||
"minifyWXML": true,
|
||||
"localPlugins": false,
|
||||
"condition": false,
|
||||
"swc": false,
|
||||
"disableSWC": true,
|
||||
"disableUseStrict": false,
|
||||
"useCompilerPlugins": false
|
||||
},
|
||||
"condition": {},
|
||||
"editorSetting": {
|
||||
"tabIndent": "auto",
|
||||
"tabSize": 2
|
||||
},
|
||||
"appid": "wxc09e9eda805a0729",
|
||||
"simulatorPluginLibVersion": {}
|
||||
}
|
||||
23
xcx/project.private.config.json
Normal file
23
xcx/project.private.config.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"description": "项目私有配置文件。此文件中的内容将覆盖 project.config.json 中的相同字段。项目的改动优先同步到此文件中。详见文档:https://developers.weixin.qq.com/miniprogram/dev/devtools/projectconfig.html",
|
||||
"projectname": "%E4%B8%BB%E7%AE%A1",
|
||||
"setting": {
|
||||
"compileHotReLoad": true,
|
||||
"urlCheck": false,
|
||||
"coverView": true,
|
||||
"lazyloadPlaceholderEnable": false,
|
||||
"skylineRenderEnable": false,
|
||||
"preloadBackgroundData": false,
|
||||
"autoAudits": false,
|
||||
"useApiHook": true,
|
||||
"useApiHostProcess": true,
|
||||
"showShadowRootInWxmlPanel": true,
|
||||
"useStaticServer": false,
|
||||
"useLanDebug": false,
|
||||
"showES6CompileOption": false,
|
||||
"bigPackageSizeSupport": false,
|
||||
"checkInvalidKey": true,
|
||||
"ignoreDevUnusedFiles": true
|
||||
},
|
||||
"libVersion": "3.11.3"
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user