From 273074cea6427e67964cfae09b68e93d01613444 Mon Sep 17 00:00:00 2001 From: gongfuxiang Date: Fri, 31 Jan 2025 23:51:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=92=E8=81=94=E7=BD=91=E5=8C=BB=E9=99=A2?= =?UTF-8?q?=E9=97=AE=E8=AF=8A=E5=BC=80=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 3 + components/goods-buy/goods-buy.vue | 1 - pages.json | 14 ++ .../hospital/patient-list/patient-list.vue | 210 ++++++++++++++++++ pages/plugins/hospital/patient/patient.css | 0 pages/plugins/hospital/patient/patient.vue | 175 +++++++++++++++ .../hospital/prescription/prescription.css | 7 + .../hospital/prescription/prescription.vue | 199 +++++++++++++++-- pages/user-address-save/user-address-save.vue | 4 - pages/user-address/user-address.vue | 3 +- static/icon/iconfont.css | 4 +- 11 files changed, 591 insertions(+), 29 deletions(-) create mode 100644 pages/plugins/hospital/patient-list/patient-list.vue create mode 100644 pages/plugins/hospital/patient/patient.css create mode 100644 pages/plugins/hospital/patient/patient.vue create mode 100644 pages/plugins/hospital/prescription/prescription.css diff --git a/App.vue b/App.vue index 4b214d53..ef4c47e1 100644 --- a/App.vue +++ b/App.vue @@ -221,6 +221,9 @@ // 门店选择详情缓存 cache_realstore_detail_choice_key: 'cache_realstore_detail_choice_key', + // 互联网医院就诊人选择数据 + cache_hospital_patient_choice_value_key: 'cache_hospital_patient_choice_value_key', + // 默认用户头像 default_user_head_src: '/static/images/common/user.png', diff --git a/components/goods-buy/goods-buy.vue b/components/goods-buy/goods-buy.vue index 8254c4f7..45dbd788 100644 --- a/components/goods-buy/goods-buy.vue +++ b/components/goods-buy/goods-buy.vue @@ -748,7 +748,6 @@ var type = (e == null) ? this.buy_event_type : (e.currentTarget.dataset.type || this.buy_event_type); var value = (e == null) ? null : (e.currentTarget.dataset.value || null); var business = (e == null) ? null : (e.currentTarget.dataset.business || null); - console.log(business) switch (type) { // 展示型、商品页面规格选择展示型 拨打电话操作 case 'show': diff --git a/pages.json b/pages.json index 9f7735a5..a1711b72 100644 --- a/pages.json +++ b/pages.json @@ -1720,6 +1720,20 @@ "enablePullDownRefresh": true, "navigationBarTitleText": "" } + }, + { + "path": "patient/patient", + "style": { + "enablePullDownRefresh": true, + "navigationBarTitleText": "" + } + }, + { + "path": "patient-list/patient-list", + "style": { + "enablePullDownRefresh": true, + "navigationBarTitleText": "" + } } ] } diff --git a/pages/plugins/hospital/patient-list/patient-list.vue b/pages/plugins/hospital/patient-list/patient-list.vue new file mode 100644 index 00000000..d4def6a2 --- /dev/null +++ b/pages/plugins/hospital/patient-list/patient-list.vue @@ -0,0 +1,210 @@ + + + \ No newline at end of file diff --git a/pages/plugins/hospital/patient/patient.css b/pages/plugins/hospital/patient/patient.css new file mode 100644 index 00000000..e69de29b diff --git a/pages/plugins/hospital/patient/patient.vue b/pages/plugins/hospital/patient/patient.vue new file mode 100644 index 00000000..a45b489d --- /dev/null +++ b/pages/plugins/hospital/patient/patient.vue @@ -0,0 +1,175 @@ + + + \ No newline at end of file diff --git a/pages/plugins/hospital/prescription/prescription.css b/pages/plugins/hospital/prescription/prescription.css new file mode 100644 index 00000000..58f58795 --- /dev/null +++ b/pages/plugins/hospital/prescription/prescription.css @@ -0,0 +1,7 @@ +.buy-goods-list .goods-images { + width: 60rpx; + height: 60rpx; +} +.buy-goods-list .goods-title { + width: calc(100% - 300rpx); +} \ No newline at end of file diff --git a/pages/plugins/hospital/prescription/prescription.vue b/pages/plugins/hospital/prescription/prescription.vue index f87431d2..5cab4c81 100644 --- a/pages/plugins/hospital/prescription/prescription.vue +++ b/pages/plugins/hospital/prescription/prescription.vue @@ -1,6 +1,75 @@