diff --git a/components/aikefu.vue b/components/aikefu.vue
index 47c337a..d44b675 100644
--- a/components/aikefu.vue
+++ b/components/aikefu.vue
@@ -3,9 +3,9 @@
-
-
-
+
+
+
-
+ }
+
+
\ No newline at end of file
diff --git a/pages.json b/pages.json
index cf91a8a..d137194 100644
--- a/pages.json
+++ b/pages.json
@@ -3,7 +3,9 @@
{
"path": "pages/index/index",
"style": {
- "navigationBarTitleText": "首页"
+ "navigationBar":"custom",
+ "navigationBarTitleText":"",
+ "navigationBarBackgroundImage":"/static/style/bg.png"
}
},
{
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 8e13292..dfdeac7 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -71,7 +71,7 @@
isSurgery.value = e.detail.value
}
const single = ref('')
- function maskClick(e){
+ function maskClick(e){
}
const hValue = ref('') // 医院
const hValueId = ref('') // 医院id
@@ -181,59 +181,73 @@
+
+
+
+
-
+
-
+
+
-
+
+
已完成事项
-
+
+
待完成事项
-
+
-
+
-
+
+
+ 术前注意事项
+
-
- 术中注意事项
-
+
+ 术中注意事项
+
-
- 术后注意事项
-
+
+ 术后注意事项
+
+
+ 视力自测小助手
+
+
完善手术信息
@@ -282,6 +296,37 @@
+ image{will-change: transform}
+
diff --git a/pages/index/note_list.vue b/pages/index/note_list.vue
index 503fd2c..5af80ce 100644
--- a/pages/index/note_list.vue
+++ b/pages/index/note_list.vue
@@ -99,7 +99,10 @@
uni.showLoading({
mask:true
})
- let operation_info = JSON.parse(uni.getStorageSync('operation_info'))
+ let operation_info = null
+ if(uni.getStorageSync('operation_info')) {
+ operation_info = JSON.parse(uni.getStorageSync('operation_info'))
+ }
if(operation_info && operation_info.hospitalId) {
const res = await api.getHospitalInfo2({
hospitalId:operation_info.hospitalId,
diff --git a/pages/index/visionTest.vue b/pages/index/visionTest.vue
index 3c9bc30..37fd495 100644
--- a/pages/index/visionTest.vue
+++ b/pages/index/visionTest.vue
@@ -149,7 +149,7 @@
const params = {
leftEyeVision:vision_info.value.left+'',
rightEyeVision:vision_info.value.right+'',
- userId:userInfo.value.userId
+ userId:userInfo.value?.userId || 0
}
const res = await api.saveVision(params)
uni.hideLoading()
diff --git a/static/style/0111熊猫眼小程序-13.png b/static/style/0111熊猫眼小程序-13.png
new file mode 100644
index 0000000..85330ee
Binary files /dev/null and b/static/style/0111熊猫眼小程序-13.png differ
diff --git a/static/style/0111熊猫眼小程序-14.png b/static/style/0111熊猫眼小程序-14.png
new file mode 100644
index 0000000..49a4a9f
Binary files /dev/null and b/static/style/0111熊猫眼小程序-14.png differ
diff --git a/static/style/0111熊猫眼小程序-15.png b/static/style/0111熊猫眼小程序-15.png
new file mode 100644
index 0000000..a3e4f09
Binary files /dev/null and b/static/style/0111熊猫眼小程序-15.png differ
diff --git a/static/style/0111熊猫眼小程序-16.png b/static/style/0111熊猫眼小程序-16.png
new file mode 100644
index 0000000..db61a36
Binary files /dev/null and b/static/style/0111熊猫眼小程序-16.png differ
diff --git a/static/style/0111熊猫眼小程序-17.png b/static/style/0111熊猫眼小程序-17.png
new file mode 100644
index 0000000..2d172dd
Binary files /dev/null and b/static/style/0111熊猫眼小程序-17.png differ
diff --git a/static/style/0111熊猫眼小程序-18.png b/static/style/0111熊猫眼小程序-18.png
new file mode 100644
index 0000000..947b037
Binary files /dev/null and b/static/style/0111熊猫眼小程序-18.png differ
diff --git a/static/style/bg.png b/static/style/bg.png
new file mode 100644
index 0000000..f928ff1
Binary files /dev/null and b/static/style/bg.png differ
diff --git a/static/style/done.png b/static/style/done.png
new file mode 100644
index 0000000..abdacc1
Binary files /dev/null and b/static/style/done.png differ
diff --git a/static/style/note1.png b/static/style/note1.png
new file mode 100644
index 0000000..d3bc778
Binary files /dev/null and b/static/style/note1.png differ
diff --git a/static/style/note2.png b/static/style/note2.png
new file mode 100644
index 0000000..5d5aa86
Binary files /dev/null and b/static/style/note2.png differ
diff --git a/static/style/note3.png b/static/style/note3.png
new file mode 100644
index 0000000..e643009
Binary files /dev/null and b/static/style/note3.png differ
diff --git a/static/style/test.png b/static/style/test.png
new file mode 100644
index 0000000..5f30876
Binary files /dev/null and b/static/style/test.png differ
diff --git a/static/style/undone.png b/static/style/undone.png
new file mode 100644
index 0000000..e01909c
Binary files /dev/null and b/static/style/undone.png differ