From a7669df84d432813215b65247a49b48dd3d8a8ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Wed, 28 Dec 2022 12:08:50 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 4 +- pages/AppointmentRecord/AppointmentRecord.vue | 45 +++++-- .../Bodysatelliteintegration.vue | 16 ++- pages/CommodityDetails/CommodityDetails.vue | 19 ++- pages/Doctordetails/Doctordetails.vue | 16 ++- pages/Geriatricdisease/Geriatricdisease.vue | 16 ++- pages/Personal/Personal.vue | 14 ++ pages/ProductList/ProductList.vue | 16 ++- pages/ProjectDetails/ProjectDetails.vue | 16 ++- pages/appointmenttime/appointmenttime.vue | 2 +- pages/detail/detail.vue | 16 ++- pages/diagnosis/diagnosis.vue | 16 ++- pages/diseasemanagement/diseasemanagement.vue | 16 ++- pages/doctorslist/doctorslist.vue | 16 ++- pages/forgotPassword/forgotPassword.scss | 73 ----------- pages/forgotPassword/forgotPassword.vue | 123 ------------------ pages/homepage/homepage.vue | 14 ++ pages/login/login.vue | 14 ++ pages/medicine/medicine.vue | 14 ++ pages/modify/modify.vue | 6 +- pages/nursestation/nursestation.vue | 14 ++ pages/order/order.vue | 16 ++- pages/shopping/shopping.vue | 14 ++ pages/site/site.vue | 14 ++ pages/startup/startup.vue | 14 ++ share.js | 50 ------- 26 files changed, 318 insertions(+), 276 deletions(-) delete mode 100644 pages/forgotPassword/forgotPassword.scss delete mode 100644 pages/forgotPassword/forgotPassword.vue delete mode 100644 share.js diff --git a/main.js b/main.js index ba33955..24ceff6 100644 --- a/main.js +++ b/main.js @@ -4,8 +4,8 @@ import App from './App' import Vue from 'vue' import uView from "uview-ui"; Vue.use(uView); -import share from './share.js' -Vue.mixin(share) +// import share from './share.js' +// Vue.mixin(share) Vue.config.productionTip = false App.mpType = 'app' diff --git a/pages/AppointmentRecord/AppointmentRecord.vue b/pages/AppointmentRecord/AppointmentRecord.vue index 113c787..556577f 100644 --- a/pages/AppointmentRecord/AppointmentRecord.vue +++ b/pages/AppointmentRecord/AppointmentRecord.vue @@ -13,7 +13,7 @@ 内科门诊-主任医师 - + @@ -39,7 +39,7 @@ 内科门诊-主任医师 - + @@ -47,7 +47,6 @@ 实付款: ¥28.0 - 查看结果 @@ -64,7 +63,19 @@ } }, methods: { - + onShareAppMessage(res) { + return { + title: this.share.title, + path: this.share.path, + } + }, + //2.分享到朋友圈 + onShareTimeline(res) { + return { + title: this.share.title, + path: this.share.path, + } + }, } } @@ -109,7 +120,7 @@ height: 230rpx; // background-color: red; margin: 0 auto; - display:flex; + display: flex; .img { width: 169rpx; @@ -120,21 +131,23 @@ } .texts { - - margin-top: 7%; + + margin-top: 7%; // width: 169rpx; height: 171rpx; margin-left: 6%; + // background: #BFBFBF; - .name{ + .name { height: 70rpx; font-size: 38rpx; - + color: #000000; line-height: 70rpx; } - .doctor{ + + .doctor { height: 60rpx; font-size: 35rpx; color: #969394; @@ -142,12 +155,14 @@ } } } - .Apayment{ + + .Apayment { width: 90%; margin: 0 auto; // background-color: red; display: flex; - .money{ + + .money { height: 29rpx; font-size: 30rpx; @@ -155,7 +170,8 @@ line-height: 29rpx; // margin-top: -40px; } - .price{ + + .price { font-family: Adobe Heiti Std; font-weight: normal; line-height: 29rpx; @@ -164,7 +180,8 @@ color: #000000; line-height: 77rpx; } - .result{ + + .result { width: 217rpx; height: 68rpx; line-height: 68rpx; diff --git a/pages/Bodysatelliteintegration/Bodysatelliteintegration.vue b/pages/Bodysatelliteintegration/Bodysatelliteintegration.vue index 5fc337b..1affb3b 100644 --- a/pages/Bodysatelliteintegration/Bodysatelliteintegration.vue +++ b/pages/Bodysatelliteintegration/Bodysatelliteintegration.vue @@ -21,7 +21,21 @@ return { }; - } + }, + //1.分享给朋友 + onShareAppMessage(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, + //2.分享到朋友圈 + onShareTimeline(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, } diff --git a/pages/CommodityDetails/CommodityDetails.vue b/pages/CommodityDetails/CommodityDetails.vue index affaab7..dc9ca5f 100644 --- a/pages/CommodityDetails/CommodityDetails.vue +++ b/pages/CommodityDetails/CommodityDetails.vue @@ -63,9 +63,12 @@ - + {{goodsDetailslist.goodsName}} + + 暂无 + ¥{{updata.goodsPrice}} @@ -383,6 +386,20 @@ this.usershow = false this.goodsDetailsinfo(this.goodsInfoId) }, + //1.分享给朋友 + onShareAppMessage(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, + //2.分享到朋友圈 + onShareTimeline(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, } diff --git a/pages/Doctordetails/Doctordetails.vue b/pages/Doctordetails/Doctordetails.vue index 2fde3b1..3673e5d 100644 --- a/pages/Doctordetails/Doctordetails.vue +++ b/pages/Doctordetails/Doctordetails.vue @@ -26,7 +26,21 @@ return { }; - } + }, + //1.分享给朋友 + onShareAppMessage(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, + //2.分享到朋友圈 + onShareTimeline(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, } diff --git a/pages/Geriatricdisease/Geriatricdisease.vue b/pages/Geriatricdisease/Geriatricdisease.vue index d3624ef..42501f2 100644 --- a/pages/Geriatricdisease/Geriatricdisease.vue +++ b/pages/Geriatricdisease/Geriatricdisease.vue @@ -27,7 +27,21 @@ return { }; - } + }, + //1.分享给朋友 + onShareAppMessage(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, + //2.分享到朋友圈 + onShareTimeline(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, } diff --git a/pages/Personal/Personal.vue b/pages/Personal/Personal.vue index 88ae0a0..71e6745 100644 --- a/pages/Personal/Personal.vue +++ b/pages/Personal/Personal.vue @@ -128,6 +128,20 @@ }) }, }, + //1.分享给朋友 + onShareAppMessage(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, + //2.分享到朋友圈 + onShareTimeline(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, } diff --git a/pages/ProductList/ProductList.vue b/pages/ProductList/ProductList.vue index 2a7f6ad..84a8a41 100644 --- a/pages/ProductList/ProductList.vue +++ b/pages/ProductList/ProductList.vue @@ -123,7 +123,21 @@ setTimeout(function() { uni.stopPullDownRefresh(); }, 1000); - } + }, + //1.分享给朋友 + onShareAppMessage(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, + //2.分享到朋友圈 + onShareTimeline(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, } diff --git a/pages/ProjectDetails/ProjectDetails.vue b/pages/ProjectDetails/ProjectDetails.vue index 7cddb58..2dc0225 100644 --- a/pages/ProjectDetails/ProjectDetails.vue +++ b/pages/ProjectDetails/ProjectDetails.vue @@ -147,7 +147,21 @@ this.list = res.data }) }, - } + }, + //1.分享给朋友 + onShareAppMessage(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, + //2.分享到朋友圈 + onShareTimeline(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, } diff --git a/pages/appointmenttime/appointmenttime.vue b/pages/appointmenttime/appointmenttime.vue index 3f5c935..aaf9650 100644 --- a/pages/appointmenttime/appointmenttime.vue +++ b/pages/appointmenttime/appointmenttime.vue @@ -141,7 +141,7 @@ personInfo: {}, //用户信息 patientId: null, useritem: null, //optionsuser信息 - consumableTotalPrice: null, //耗材包总价格 + consumableTotalPrice: 0, //耗材包总价格 orderlist: { orderCount: 1, patientId: '', diff --git a/pages/detail/detail.vue b/pages/detail/detail.vue index 6078c8b..bf0a438 100644 --- a/pages/detail/detail.vue +++ b/pages/detail/detail.vue @@ -28,7 +28,21 @@ data() { return {} }, - methods: {} + methods: {}, + //1.分享给朋友 + onShareAppMessage(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, + //2.分享到朋友圈 + onShareTimeline(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, } diff --git a/pages/diagnosis/diagnosis.vue b/pages/diagnosis/diagnosis.vue index 44f5bc8..8f034a8 100644 --- a/pages/diagnosis/diagnosis.vue +++ b/pages/diagnosis/diagnosis.vue @@ -47,7 +47,21 @@ }, methods: { - } + }, + //1.分享给朋友 + onShareAppMessage(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, + //2.分享到朋友圈 + onShareTimeline(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, } diff --git a/pages/diseasemanagement/diseasemanagement.vue b/pages/diseasemanagement/diseasemanagement.vue index 4998e22..d5ac5d2 100644 --- a/pages/diseasemanagement/diseasemanagement.vue +++ b/pages/diseasemanagement/diseasemanagement.vue @@ -21,7 +21,21 @@ return { }; - } + }, + //1.分享给朋友 + onShareAppMessage(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, + //2.分享到朋友圈 + onShareTimeline(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, } diff --git a/pages/doctorslist/doctorslist.vue b/pages/doctorslist/doctorslist.vue index 6aa4050..91d9194 100644 --- a/pages/doctorslist/doctorslist.vue +++ b/pages/doctorslist/doctorslist.vue @@ -43,7 +43,21 @@ }, ], }; - } + }, + //1.分享给朋友 + onShareAppMessage(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, + //2.分享到朋友圈 + onShareTimeline(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, } diff --git a/pages/forgotPassword/forgotPassword.scss b/pages/forgotPassword/forgotPassword.scss deleted file mode 100644 index 03c3bbe..0000000 --- a/pages/forgotPassword/forgotPassword.scss +++ /dev/null @@ -1,73 +0,0 @@ - .app { - padding: 20rpx 0; - - .item { - font-size: 34rpx; - margin: 0 auto 20rpx; - width: 94%; - height: 100rpx; - line-height: 100rpx; - background-color: #fff; - box-shadow: 0px 9rpx 31rpx 9rpx rgba(0, 0, 0, 0.03); - border-radius: 20rpx; - position: relative; - - .lefttext { - position: absolute; - top: 50%; - transform: translateY(-50%); - left: 3%; - } - - .righttext { - position: absolute; - top: 50%; - transform: translateY(-50%); - left: 18%; - height: 100rpx; - } - - .lefttext, - .righttext { - ::v-deep .uni-input-input { - font-size: 34rpx; - } - - ::v-deep .uni-input-wrapper { - height: 100rpx; - line-height: 100rpx; - } - - ::v-deep .uni-input-placeholder { - line-height: 100rpx; - font-size: 34rpx; - font-weight: 400; - color: #C3C1C1; - } - } - - .obtaincode { - text-align: center; - font-size: 36rpx; - color: #4C7BC9; - line-height: 100rpx; - position: absolute; - right: 5%; - top: 0%; - } - } - - .loginbtn { - width: 80%; - height: 100rpx; - text-align: center; - line-height: 100rpx; - background: #4C7BC9; - border-radius: 51rpx; - font-size: 41rpx; - color: #FFFFFF; - position: absolute; - top: 40%; - left: 10%; - } - } \ No newline at end of file diff --git a/pages/forgotPassword/forgotPassword.vue b/pages/forgotPassword/forgotPassword.vue deleted file mode 100644 index 5e0d0d4..0000000 --- a/pages/forgotPassword/forgotPassword.vue +++ /dev/null @@ -1,123 +0,0 @@ - - - - diff --git a/pages/homepage/homepage.vue b/pages/homepage/homepage.vue index 7052de1..c50a69d 100644 --- a/pages/homepage/homepage.vue +++ b/pages/homepage/homepage.vue @@ -47,6 +47,20 @@ data() { return {}; }, + //1.分享给朋友 + onShareAppMessage(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, + //2.分享到朋友圈 + onShareTimeline(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, methods: { //专病管理 godiseasemanagement() { diff --git a/pages/login/login.vue b/pages/login/login.vue index 86bff5b..f6d33d5 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -32,6 +32,20 @@ uni.removeStorageSync('token'); uni.removeStorageSync('phone'); }, + //1.分享给朋友 + onShareAppMessage(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, + //2.分享到朋友圈 + onShareTimeline(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, methods: { getPhoneNumberp(val) { let that = this; diff --git a/pages/medicine/medicine.vue b/pages/medicine/medicine.vue index 479ac41..498666a 100644 --- a/pages/medicine/medicine.vue +++ b/pages/medicine/medicine.vue @@ -47,6 +47,20 @@ // }) }, }, + //1.分享给朋友 + onShareAppMessage(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, + //2.分享到朋友圈 + onShareTimeline(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, } diff --git a/pages/modify/modify.vue b/pages/modify/modify.vue index 50eb662..9714f90 100644 --- a/pages/modify/modify.vue +++ b/pages/modify/modify.vue @@ -32,9 +32,12 @@ 所在位置: - + {{appPersonallist.locationName}} + + 疾病类型: @@ -302,7 +305,6 @@ const chooseLocation = requirePlugin('chooseLocation'); const location = chooseLocation.getLocation(); // 如果点击确认选点按钮,则返回选点结果对象,否则返回null if (location) { - console.log(location) that.appPersonallist.locationName = location.address that.appPersonallist.homeLongitude = location.longitude; that.appPersonallist.homeLatitude = location.latitude; diff --git a/pages/nursestation/nursestation.vue b/pages/nursestation/nursestation.vue index 2dfafa8..79d819a 100644 --- a/pages/nursestation/nursestation.vue +++ b/pages/nursestation/nursestation.vue @@ -325,6 +325,20 @@ uni.stopPullDownRefresh(); }, 1000); }, + //1.分享给朋友 + onShareAppMessage(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, + //2.分享到朋友圈 + onShareTimeline(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, } diff --git a/pages/order/order.vue b/pages/order/order.vue index 78f72df..15a16b3 100644 --- a/pages/order/order.vue +++ b/pages/order/order.vue @@ -76,7 +76,21 @@ url: `/pages/CommodityOrder/CommodityOrder?orderStatus=${item}` }) }, - } + }, + //1.分享给朋友 + onShareAppMessage(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, + //2.分享到朋友圈 + onShareTimeline(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, } diff --git a/pages/shopping/shopping.vue b/pages/shopping/shopping.vue index a76689f..d375d05 100644 --- a/pages/shopping/shopping.vue +++ b/pages/shopping/shopping.vue @@ -44,6 +44,20 @@ ], //颜色随动 }; }, + //1.分享给朋友 + onShareAppMessage(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, + //2.分享到朋友圈 + onShareTimeline(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, //初始化加载 onLoad(options) {}, onShow() { diff --git a/pages/site/site.vue b/pages/site/site.vue index 5947f35..c049aac 100644 --- a/pages/site/site.vue +++ b/pages/site/site.vue @@ -232,6 +232,20 @@ } catch (e) {} }, onLoad() {}, + //1.分享给朋友 + onShareAppMessage(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, + //2.分享到朋友圈 + onShareTimeline(res) { + return { + title: '泉医到家', + path: '/pages/startup/startup', + } + }, }