sdsd
This commit is contained in:
parent
6f348e7c19
commit
2e57e793f3
@ -158,17 +158,17 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.image-text_1 {
|
.image-text_1 {
|
||||||
display: flex;
|
// display: flex;
|
||||||
padding-right: 134rpx;
|
padding-right: 134rpx;
|
||||||
}
|
}
|
||||||
.section_4 {
|
// .section_4 {
|
||||||
border-radius: 16rpx;
|
// border-radius: 16rpx;
|
||||||
background-image: url(https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/4438d491898944508b7d13f8ad91d0ef_mergeImage.png);
|
// background-image: url(https://lanhu-dds-backend.oss-cn-beijing.aliyuncs.com/merge_image/imgs/4438d491898944508b7d13f8ad91d0ef_mergeImage.png);
|
||||||
width: 100rpx;
|
// width: 100rpx;
|
||||||
height: 100rpx;
|
// height: 100rpx;
|
||||||
border: 1px solid rgba(0,91,162,0.1);
|
// border: 1px solid rgba(0,91,162,0.1);
|
||||||
flex: none;
|
// flex: none;
|
||||||
}
|
// }
|
||||||
.text-group_1 {
|
.text-group_1 {
|
||||||
flex: auto;
|
flex: auto;
|
||||||
// display: flex;
|
// display: flex;
|
||||||
|
|||||||
@ -316,18 +316,18 @@
|
|||||||
}
|
}
|
||||||
.image-text_5 {
|
.image-text_5 {
|
||||||
padding-right: 145rpx;
|
padding-right: 145rpx;
|
||||||
display: flex;
|
// 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;
|
|
||||||
}
|
}
|
||||||
|
// .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 {
|
.text-group_5 {
|
||||||
flex: auto;
|
flex: auto;
|
||||||
margin: 12rpx 0 12rpx 0;
|
margin: 12rpx 0 12rpx 0;
|
||||||
|
|||||||
@ -42,7 +42,7 @@
|
|||||||
</view>
|
</view>
|
||||||
<view class="box_9" wx:for="{{item.detail}}" wx:for-item="item2">
|
<view class="box_9" wx:for="{{item.detail}}" wx:for-item="item2">
|
||||||
<view class="image-text_5">
|
<view class="image-text_5">
|
||||||
<view class="box_10"></view>
|
<!-- <view class="box_10"></view> -->
|
||||||
<view class="text-group_5">
|
<view class="text-group_5">
|
||||||
<view lines="1" class="text_21">{{item2.name}}</view>
|
<view lines="1" class="text_21">{{item2.name}}</view>
|
||||||
<view lines="1" class="text_22">{{item2.frequency}}片,{{item2.time}}服用</view>
|
<view lines="1" class="text_22">{{item2.frequency}}片,{{item2.time}}服用</view>
|
||||||
|
|||||||
@ -144,7 +144,8 @@ Page({
|
|||||||
birth_number: info.birth_number,
|
birth_number: info.birth_number,
|
||||||
parity_number: info.parity_number,
|
parity_number: info.parity_number,
|
||||||
birth_weight: info.birth_weight,
|
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() {
|
async onSaveInfo() {
|
||||||
let obj = this.data.personInfo;
|
let obj = this.data.personInfo;
|
||||||
let errorStatus = {};
|
let errorStatus = {};
|
||||||
|
|||||||
@ -65,4 +65,17 @@ page {
|
|||||||
margin-top: -20rpx;
|
margin-top: -20rpx;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
|
}
|
||||||
|
|
||||||
|
.user-avatar{
|
||||||
|
border: 0;
|
||||||
|
background-color: transparent;
|
||||||
|
width: 80rpx;
|
||||||
|
height: 80rpx;
|
||||||
|
border-radius: 80rpx;
|
||||||
|
overflow: hidden;
|
||||||
|
image{
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@ -1,4 +1,11 @@
|
|||||||
<view class="info-edit">
|
<view class="info-edit">
|
||||||
|
<view class="info-item">
|
||||||
|
<t-cell class="info-edit__cell" title="头像" bordered="{{false}}">
|
||||||
|
<button class="user-avatar" open-type="getUserInfo" bindgetuserinfo="userInfoHandler">
|
||||||
|
<image src="{{personInfo.avatar}}"></image>
|
||||||
|
</button>
|
||||||
|
</t-cell>
|
||||||
|
</view>
|
||||||
<view class="info-item">
|
<view class="info-item">
|
||||||
<t-cell class="info-edit__cell" required title="姓名" bordered="{{false}}">
|
<t-cell class="info-edit__cell" required title="姓名" bordered="{{false}}">
|
||||||
<t-input bind:change="onNameChange" align="right" borderless placeholder="请输入患者姓名" slot="note" value="{{personInfo.username}}"/>
|
<t-input bind:change="onNameChange" align="right" borderless placeholder="请输入患者姓名" slot="note" value="{{personInfo.username}}"/>
|
||||||
|
|||||||
@ -55,18 +55,18 @@ pages{
|
|||||||
background-color: var(--td-bg-color);
|
background-color: var(--td-bg-color);
|
||||||
padding: 24rpx;
|
padding: 24rpx;
|
||||||
border-radius: 20rpx;
|
border-radius: 20rpx;
|
||||||
display: flex;
|
// display: flex;
|
||||||
position: relative;
|
position: relative;
|
||||||
// justify-content: space-between;
|
// justify-content: space-between;
|
||||||
.image-box{
|
// .image-box{
|
||||||
width: 100rpx;
|
// width: 100rpx;
|
||||||
height: 100rpx;
|
// height: 100rpx;
|
||||||
background: #EDF3F8;
|
// background: #EDF3F8;
|
||||||
border-radius: 16rpx;
|
// border-radius: 16rpx;
|
||||||
border: 2rpx solid rgba(0,91,162,0.1);
|
// border: 2rpx solid rgba(0,91,162,0.1);
|
||||||
margin-right: 20rpx;
|
// margin-right: 20rpx;
|
||||||
|
|
||||||
}
|
// }
|
||||||
.details{
|
.details{
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -9,7 +9,7 @@
|
|||||||
<text class="tab-text {{item.status == '进行中' ? 'primary' : 'default'}}">{{item.status}}</text>
|
<text class="tab-text {{item.status == '进行中' ? 'primary' : 'default'}}">{{item.status}}</text>
|
||||||
<view class="item-box" wx:for="{{item.detail}}" wx:for-item="detail" wx:key="index">
|
<view class="item-box" wx:for="{{item.detail}}" wx:for-item="detail" wx:key="index">
|
||||||
|
|
||||||
<view class="image-box"></view>
|
<!-- <view class="image-box"></view> -->
|
||||||
<view class="details">
|
<view class="details">
|
||||||
<view class="name">{{detail.name}}</view>
|
<view class="name">{{detail.name}}</view>
|
||||||
<view class="text">每日{{detail.frequency}}次,{{detail.time}}</view>
|
<view class="text">每日{{detail.frequency}}次,{{detail.time}}</view>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user