diff --git a/pages/index/index.js b/pages/index/index.js
index debbcd8..2a01889 100644
--- a/pages/index/index.js
+++ b/pages/index/index.js
@@ -23,6 +23,7 @@ Page({
},
onLoad() {
+ themeMod.applyThemeToPage(this)
this.refresh()
},
diff --git a/pages/index/index.wxml b/pages/index/index.wxml
index 7c36254..806330a 100644
--- a/pages/index/index.wxml
+++ b/pages/index/index.wxml
@@ -76,39 +76,39 @@
💡
保持身体成一条直线,核心收紧,均匀呼吸
-
-
-
-
-
- ⏱ 选择训练时长
-
-
- {{item}}
- 秒
+
+
+
+
+ ⏱ 选择训练时长
+
+
+ {{item}}
+ 秒
+
+
+ 自定义:
+
+ 秒
+
+
+ 取消
-
- 自定义:
-
- 秒
-
-
- 取消
diff --git a/pages/records/records.js b/pages/records/records.js
index 36a2a8c..51916ac 100644
--- a/pages/records/records.js
+++ b/pages/records/records.js
@@ -20,6 +20,7 @@ Page({
},
onLoad() {
+ themeMod.applyThemeToPage(this)
this.refresh()
},
diff --git a/pages/timer/timer.js b/pages/timer/timer.js
index a66669a..ea89fb7 100644
--- a/pages/timer/timer.js
+++ b/pages/timer/timer.js
@@ -21,6 +21,14 @@ Page({
onLoad(options) {
themeMod.applyThemeToPage(this)
+ this._init(options)
+ },
+
+ onShow() {
+ themeMod.applyThemeToPage(this)
+ },
+
+ _init(options) {
let target
let planDay = 1