diff --git a/h5/pages.json b/h5/pages.json
index c1d0438..07f9c3e 100644
--- a/h5/pages.json
+++ b/h5/pages.json
@@ -1,5 +1,6 @@
{
- "pages": [{
+ "pages": [
+ {
"path": "pages/main/index/index",
"style": {
"navigationBarTitleText": "海南现代妇女儿童医院",
@@ -51,6 +52,20 @@
"style": {
"navigationBarTitleText": ""
}
+ },
+ {
+ "path": "pages/main/packageDetails/packageDetails",
+ "style": {
+ "navigationBarTitleText": "套餐详情"
+ }
+ },
+ {
+ "path": "pages/main/optionalProject/optionalProject",
+ "style": {
+ "navigationBarTitleText": "体检套餐加项",
+ "navigationBarBackgroundColor": "#D8EDF2",
+ "navigationBarTextStyle": "black"
+ }
}
],
"globalStyle": {
diff --git a/h5/pages/main/index/index.vue b/h5/pages/main/index/index.vue
index 43ac990..e057b10 100644
--- a/h5/pages/main/index/index.vue
+++ b/h5/pages/main/index/index.vue
@@ -21,9 +21,9 @@
const $store = useStore()
const getUserInfo = async () => {
- const response = await $api('UserInfo')
- $response(response, () => {
- $store.user = response.data.info
+ const response = await $api('UserInfo')
+ $response(response, () => {
+ $store.user = response.data.info
})
}
const switch_arr = [
diff --git a/h5/pages/main/optionalProject/optionalProject.vue b/h5/pages/main/optionalProject/optionalProject.vue
new file mode 100644
index 0000000..e57e7c7
--- /dev/null
+++ b/h5/pages/main/optionalProject/optionalProject.vue
@@ -0,0 +1,121 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.title }}
+
+
+
+ {
+ selectList.push(item.id);
+ }
+ "
+ >
+ {{ item.title }}
+
+ ¥ {{ item.price }}
+
+
+
+
+
+
+
+
+
diff --git a/h5/pages/main/packageDetails/packageDetails.vue b/h5/pages/main/packageDetails/packageDetails.vue
new file mode 100644
index 0000000..7adca7a
--- /dev/null
+++ b/h5/pages/main/packageDetails/packageDetails.vue
@@ -0,0 +1,49 @@
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/h5/static/assets/select.png b/h5/static/assets/select.png
new file mode 100644
index 0000000..92905dc
Binary files /dev/null and b/h5/static/assets/select.png differ