From 6abec24b9e3bbeb34afba2d48f33f3060056bb87 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9B=B9=E8=BE=89?= <814457906@qq.com> Date: Fri, 3 Mar 2023 14:24:09 +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 --- pages/Personal/Personal.scss | 4 ++-- pages/Personal/Personal.vue | 10 ++++++---- pages/modifyAddress/modifyAddress.scss | 2 +- pages/modifyAddress/modifyAddress.vue | 13 +++---------- 4 files changed, 12 insertions(+), 17 deletions(-) diff --git a/pages/Personal/Personal.scss b/pages/Personal/Personal.scss index c2fd712..db03985 100644 --- a/pages/Personal/Personal.scss +++ b/pages/Personal/Personal.scss @@ -155,14 +155,14 @@ } .nickname { position: absolute; - top: 275rpx; + top: 300rpx; left: 35%; font-size: 30rpx; } .phone { position: absolute; - top: 200rpx; + top: 180rpx; left: 35%; } .bjimg{ diff --git a/pages/Personal/Personal.vue b/pages/Personal/Personal.vue index 1a2c504..9bb975e 100644 --- a/pages/Personal/Personal.vue +++ b/pages/Personal/Personal.vue @@ -7,10 +7,12 @@ {{appPersonallist.patientName}} - - {{appPersonallist.age}}岁 - - + + + + {{appPersonallist.age}} + 岁 + {{appPersonallist.sex=='MALE'?'男':''}} {{appPersonallist.sex=='FEMALE'?'女':''}} diff --git a/pages/modifyAddress/modifyAddress.scss b/pages/modifyAddress/modifyAddress.scss index cc6b254..a1a8a66 100644 --- a/pages/modifyAddress/modifyAddress.scss +++ b/pages/modifyAddress/modifyAddress.scss @@ -18,7 +18,7 @@ padding-bottom: 10rpx; .item { - width: 90%; + width: 94%; height: 101rpx; font-size: 36rpx; color: #000000; diff --git a/pages/modifyAddress/modifyAddress.vue b/pages/modifyAddress/modifyAddress.vue index adf2cf2..1629eec 100644 --- a/pages/modifyAddress/modifyAddress.vue +++ b/pages/modifyAddress/modifyAddress.vue @@ -240,7 +240,6 @@ uni.navigateBack({ delta: 2 }) - }, 1500) } } catch (e) {} @@ -253,14 +252,12 @@ if (that.addresslength.length > 2) { addnursingStation(that.infolist).then(res => { if (res.code == 200) { + that.goodsList() that.$refs.uToast.show({ title: '新增成功', type: 'success' }) that.cencel(); - setTimeout(e => { - that.goodsList() - }, 1000) } else { that.$refs.uToast.show({ title: res.msg, @@ -296,14 +293,12 @@ var that = this updatenursingStation(that.infolist).then(res => { if (res.code == 200) { + that.goodsList() that.$refs.uToast.show({ title: '修改成功', type: 'success' }) that.cencel(); - setTimeout(e => { - that.goodsList() - }, 1000) } else { that.$refs.uToast.show({ title: res.msg, @@ -374,13 +369,11 @@ }) } else { delnursingStation(item.id).then(res => { + that.goodsList() that.$refs.uToast.show({ title: '删除成功', type: 'success' }) - setTimeout(e => { - that.goodsList() - }, 1000) that.delshow = false; }) }