Commit 8c17b208 by Jaxon

chore: 迁移全局样式从SASS到SCSS并更新应用配置

- 将全局样式从app.sass迁移至app.scss并删除旧文件
- 格式化app.json缩进,新增两个分包页面
1 parent 3d5de6da
...@@ -9,10 +9,7 @@ ...@@ -9,10 +9,7 @@
"pages/tab/learningCenter/learningCenter", "pages/tab/learningCenter/learningCenter",
"pages/tab/mine/mine" "pages/tab/mine/mine"
], ],
"requiredPrivateInfos": [ "requiredPrivateInfos": ["getLocation", "chooseLocation"],
"getLocation",
"chooseLocation"
],
"lazyCodeLoading": "requiredComponents", "lazyCodeLoading": "requiredComponents",
"window": { "window": {
"backgroundTextStyle": "light", "backgroundTextStyle": "light",
...@@ -62,7 +59,9 @@ ...@@ -62,7 +59,9 @@
"pages/submitRecordingReview/submitRecordingReview", "pages/submitRecordingReview/submitRecordingReview",
"pages/weeklyReview/weeklyReview", "pages/weeklyReview/weeklyReview",
"pages/monthlyPlan/monthlyPlan", "pages/monthlyPlan/monthlyPlan",
"pages/specialTask/specialTask" "pages/specialTask/specialTask",
"pages/stationStaffPerformance/stationStaffPerformance",
"pages/storePerformance/storePerformance"
] ]
}, },
{ {
...@@ -79,9 +78,7 @@ ...@@ -79,9 +78,7 @@
{ {
"root": "packageLearningCenter", "root": "packageLearningCenter",
"name": "packageLearningCenter", "name": "packageLearningCenter",
"pages": [ "pages": ["pages/coursePush/coursePush"]
"pages/coursePush/coursePush"
]
} }
], ],
"preloadRule": {}, "preloadRule": {},
......
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
} }
page { page {
--primary-color: #2c66f7;
--text-color: #333;
/* 兼容 IOS<11.2 先constant再env */ /* 兼容 IOS<11.2 先constant再env */
--constantSafeAreaInsetBottom: constant(safe-area-inset-bottom); --constantSafeAreaInsetBottom: constant(safe-area-inset-bottom);
/* 兼容 IOS>11.2 */ /* 兼容 IOS>11.2 */
...@@ -61,7 +63,6 @@ page { ...@@ -61,7 +63,6 @@ page {
justify-content: center; justify-content: center;
} }
.two-text { .two-text {
display: inline-block; display: inline-block;
overflow: hidden; overflow: hidden;
...@@ -101,7 +102,7 @@ page { ...@@ -101,7 +102,7 @@ page {
background-color: #fff; background-color: #fff;
} }
} }
.flex{ .flex {
display: flex; display: flex;
align-items: center; align-items: center;
} }
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!