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] =?UTF-8?q?=E4=B8=AD=E5=8C=BB=E9=92=88=E7=81=B8=E7=B3=BB?= =?UTF-8?q?=E7=BB=9F=E6=82=A3=E8=80=85=E7=AB=AF=E9=A6=96=E9=A1=B5=E5=8C=BB?= =?UTF-8?q?=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; }