From 2e57e793f39bc26d3ca9d6efdc2d395b2b584ad7 Mon Sep 17 00:00:00 2001 From: "@zuopngfei" Date: Thu, 17 Jul 2025 17:45:51 +0800 Subject: [PATCH] sdsd --- pages/clockIn/index.less | 18 +++++++++--------- pages/home/index.less | 22 +++++++++++----------- pages/home/index.wxml | 2 +- pages/my/info-edit/index.js | 7 ++++++- pages/my/info-edit/index.less | 13 +++++++++++++ pages/my/info-edit/index.wxml | 7 +++++++ pages/therapeuticRegimen/index.less | 18 +++++++++--------- pages/therapeuticRegimen/index.wxml | 2 +- 8 files changed, 57 insertions(+), 32 deletions(-) diff --git a/pages/clockIn/index.less b/pages/clockIn/index.less index 230d381..71db38d 100644 --- a/pages/clockIn/index.less +++ b/pages/clockIn/index.less @@ -158,17 +158,17 @@ position: relative; } .image-text_1 { - display: flex; + // display: flex; padding-right: 134rpx; } -.section_4 { - border-radius: 16rpx; - background-image: url(https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/4438d491898944508b7d13f8ad91d0ef_mergeImage.png); - width: 100rpx; - height: 100rpx; - border: 1px solid rgba(0,91,162,0.1); - flex: none; -} +// .section_4 { +// border-radius: 16rpx; +// background-image: url(https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/4438d491898944508b7d13f8ad91d0ef_mergeImage.png); +// width: 100rpx; +// height: 100rpx; +// border: 1px solid rgba(0,91,162,0.1); +// flex: none; +// } .text-group_1 { flex: auto; // display: flex; diff --git a/pages/home/index.less b/pages/home/index.less index 5192820..84f8334 100644 --- a/pages/home/index.less +++ b/pages/home/index.less @@ -316,18 +316,18 @@ } .image-text_5 { padding-right: 145rpx; - display: flex; -} -.box_10 { - border-radius: 16rpx; - background-image: url(https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/c46fcd8a7c644cbbb347a75b175350c6_mergeImage.png); - width: 100rpx; - height: 100rpx; - border: 1px solid rgba(0,91,162,0.1); - box-sizing: border-box; - margin-right:16rpx ; - flex: none; + // display: flex; } +// .box_10 { +// border-radius: 16rpx; +// background-image: url(https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/c46fcd8a7c644cbbb347a75b175350c6_mergeImage.png); +// width: 100rpx; +// height: 100rpx; +// border: 1px solid rgba(0,91,162,0.1); +// box-sizing: border-box; +// margin-right:16rpx ; +// flex: none; +// } .text-group_5 { flex: auto; margin: 12rpx 0 12rpx 0; diff --git a/pages/home/index.wxml b/pages/home/index.wxml index cb86dea..b0fde59 100644 --- a/pages/home/index.wxml +++ b/pages/home/index.wxml @@ -42,7 +42,7 @@ - + {{item2.name}} {{item2.frequency}}片,{{item2.time}}服用 diff --git a/pages/my/info-edit/index.js b/pages/my/info-edit/index.js index 7a0a290..c95674b 100644 --- a/pages/my/info-edit/index.js +++ b/pages/my/info-edit/index.js @@ -144,7 +144,8 @@ Page({ birth_number: info.birth_number, parity_number: info.parity_number, birth_weight: info.birth_weight, - prenatal_check_remark: info.prenatal_check_remark + prenatal_check_remark: info.prenatal_check_remark, + avatar: info.avatar ? info.avatar : 'https://image-fudan.oss-cn-beijing.aliyuncs.com/mini_images/my/baby.png', } }) }, @@ -338,6 +339,10 @@ Page({ // }); }, + userInfoHandler(e){ + console.log(e.detail) + }, + async onSaveInfo() { let obj = this.data.personInfo; let errorStatus = {}; diff --git a/pages/my/info-edit/index.less b/pages/my/info-edit/index.less index 3d6d10e..9b550ff 100644 --- a/pages/my/info-edit/index.less +++ b/pages/my/info-edit/index.less @@ -65,4 +65,17 @@ page { margin-top: -20rpx; position: relative; z-index: 999; +} + +.user-avatar{ + border: 0; + background-color: transparent; + width: 80rpx; + height: 80rpx; + border-radius: 80rpx; + overflow: hidden; + image{ + width: 100%; + height: 100%; + } } \ No newline at end of file diff --git a/pages/my/info-edit/index.wxml b/pages/my/info-edit/index.wxml index b9e54b7..c385cbe 100644 --- a/pages/my/info-edit/index.wxml +++ b/pages/my/info-edit/index.wxml @@ -1,4 +1,11 @@ + + + + + diff --git a/pages/therapeuticRegimen/index.less b/pages/therapeuticRegimen/index.less index f6e1b12..f858728 100644 --- a/pages/therapeuticRegimen/index.less +++ b/pages/therapeuticRegimen/index.less @@ -55,18 +55,18 @@ pages{ background-color: var(--td-bg-color); padding: 24rpx; border-radius: 20rpx; - display: flex; + // display: flex; position: relative; // justify-content: space-between; - .image-box{ - width: 100rpx; - height: 100rpx; - background: #EDF3F8; - border-radius: 16rpx; - border: 2rpx solid rgba(0,91,162,0.1); - margin-right: 20rpx; + // .image-box{ + // width: 100rpx; + // height: 100rpx; + // background: #EDF3F8; + // border-radius: 16rpx; + // border: 2rpx solid rgba(0,91,162,0.1); + // margin-right: 20rpx; - } + // } .details{ diff --git a/pages/therapeuticRegimen/index.wxml b/pages/therapeuticRegimen/index.wxml index 2070203..dd15a93 100644 --- a/pages/therapeuticRegimen/index.wxml +++ b/pages/therapeuticRegimen/index.wxml @@ -9,7 +9,7 @@ {{item.status}} - + {{detail.name}} 每日{{detail.frequency}}次,{{detail.time}}