From 63654503462991e9fdb4445edba2ee8bf3c1b694 Mon Sep 17 00:00:00 2001 From: kuaileWu <1432334894@qq.com> Date: Mon, 17 Feb 2025 18:23:31 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E4=B8=AD=E5=8C=BB=E9=92=88=E7=81=B8?= =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E6=82=A3=E8=80=85=E7=AB=AF=E9=A6=96=E9=A1=B5?= =?UTF-8?q?=E5=8C=BB=E9=99=A2=E5=88=97=E8=A1=A8=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 75 ++++++++++++++++++++++++++++++++++++++------------- 1 file changed, 56 insertions(+), 19 deletions(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index f9f1c56..bb92d32 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -33,26 +33,40 @@ - {{item.hospital_name}} {{item.depart_name}} + {{item.hospital_name}} + - + - - 出诊:{{ item.workdate_desc }} + + + {{item.address}} + + - - + + + + + + 复制地址 + + + 出诊:{{ item.workdate_desc }} + + 预约看诊 @@ -197,6 +211,14 @@ } }); }, + copyAddress(address){ + uni.setClipboardData({ + data: address, + success: () => { + uni.showToast({ title: "地址已复制", icon: "none" }); + } + }); + }, setLoginUserInfo(info) { var uinfo = new Object(); this.$setuinfo.setUinfo(JSON.stringify(info)) @@ -409,7 +431,7 @@ width: 100%; margin-bottom: 36rpx; .top{ - min-height: 102rpx; + // min-height: 102rpx; .left{ flex-grow: 1; .title{ @@ -422,33 +444,48 @@ .date{ line-height: 40rpx; font-size: 28rpx; - color: #666666; + color: #949699; margin-top: 14rpx; } } .right{ - width: 200rpx; + // width: 200rpx; + width: 99rpx; height: 100%; color: #666666; img{ width: 52rpx; height: 52rpx; - background: #F4F4F4; - border-radius: 6rpx; - margin-right: 7rpx; + // background: #F4F4F4; + // border-radius: 6rpx; + // margin-right: 7rpx; } - text{ - width: 60rpx; - height: 54rpx; + .copy_btn{ display: block; - font-size: 26rpx; - color: #666666; - line-height: 37rpx; + line-height: normal; text-align: center; - margin-top: 5rpx; + margin-top: 4rpx; + font-size: 24rpx; + color: #30C563; } } } + .center{ + justify-content: center; + align-items: center; + width: 100%; + box-sizing: border-box; + min-height: 59rpx; + padding: 10rpx; + display: flex; + z-index: 1; + background: #F8F6F9; + font-size: 28rpx; + line-height: 39rpx; + color: #666666; + margin-top: 22rpx; + word-break: break-all; + } .bot{ margin-top: 16rpx; } From ca420e10a1fb8f9b3e4f32c5acffea37e4029f14 Mon Sep 17 00:00:00 2001 From: kuaileWu <1432334894@qq.com> Date: Mon, 17 Feb 2025 18:24:06 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E5=9B=BE=E7=89=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/images/frontend/copy_green.svg | 1 + 1 file changed, 1 insertion(+) create mode 100644 static/images/frontend/copy_green.svg diff --git a/static/images/frontend/copy_green.svg b/static/images/frontend/copy_green.svg new file mode 100644 index 0000000..c81d8e8 --- /dev/null +++ b/static/images/frontend/copy_green.svg @@ -0,0 +1 @@ + \ No newline at end of file From 94af8242a5769e90387e71acadc96cab59892682 Mon Sep 17 00:00:00 2001 From: kuaileWu <1432334894@qq.com> Date: Mon, 17 Feb 2025 18:50:08 +0800 Subject: [PATCH 3/4] =?UTF-8?q?=E5=B0=B1=E8=AF=8A=E4=BA=BA=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2=E6=94=B9=E9=80=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/inputBox.vue | 2 +- manifest.json | 3 ++- pages/modify_visitor/modify_visitor.vue | 18 +++++++++++++++--- 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/components/inputBox.vue b/components/inputBox.vue index 2dec23d..3223fe7 100644 --- a/components/inputBox.vue +++ b/components/inputBox.vue @@ -2,7 +2,7 @@ - + {{label}}: diff --git a/manifest.json b/manifest.json index e27b0f0..d557148 100644 --- a/manifest.json +++ b/manifest.json @@ -69,7 +69,8 @@ "uniStatistics" : { "enable" : false }, - "vueVersion" : "2", + "vueVersion" : "2", + /* "target" : "http://jasonyizherenxin.checkcopy.com",*/ "h5" : { "router" : { "mode" : "history", diff --git a/pages/modify_visitor/modify_visitor.vue b/pages/modify_visitor/modify_visitor.vue index 6c4b5c3..cbf4a07 100644 --- a/pages/modify_visitor/modify_visitor.vue +++ b/pages/modify_visitor/modify_visitor.vue @@ -8,8 +8,11 @@ - - 确认就诊人 + + 确认添加 + + + 确认修改 @@ -45,7 +48,16 @@ }, onLoad(option) { if(option.type) this.type = option.type - if(option.vid) this.vid = option.vid + if(option.vid) { + this.vid = option.vid + uni.setNavigationBarTitle({ + title: '修改就诊人' + }); + }else{ + uni.setNavigationBarTitle({ + title: '添加就诊人' + }); + } }, onShow() { if(this.vid) this.getVisitorInfo() From fc646c1b84ae59ef19cc1bcdf1abe1468b3e923c Mon Sep 17 00:00:00 2001 From: kuaileWu <1432334894@qq.com> Date: Mon, 17 Feb 2025 19:07:48 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E6=96=87=E6=A1=88=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages/index/index.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/index/index.vue b/pages/index/index.vue index bb92d32..42ef0b8 100644 --- a/pages/index/index.vue +++ b/pages/index/index.vue @@ -471,7 +471,7 @@ } } .center{ - justify-content: center; + justify-content: flex-start; align-items: center; width: 100%; box-sizing: border-box;