提交聊天

This commit is contained in:
zoujiandong
2023-12-14 14:46:31 +08:00
parent d6421a78a1
commit 26e760342b
8 changed files with 43 additions and 12 deletions
+14
View File
@@ -291,6 +291,20 @@ for (let i = 0; i < list2.length; i++) {
})
},
handleIpt(e){
let key = e.target.dataset.id;
let obj="personInfo."+key;
if(key=='height' || key=="weight"){
this.setData({
[obj]:e.detail.value
})
}else{
this.setData({
[obj]: e.detail.value
})
}
},
openMaritalPicker() {
this.setData({
showMarital: true
+4 -4
View File
@@ -3,7 +3,7 @@
<te-nav-bar navbar-data='{{navbarData}}' ></te-nav-bar>
<view class="container">
<view class="questionbox">
<view class="cellbox">
<view class="cellbox" wx:if="{{list1.length>0}}">
<view class="basictitle">基本信息</view>
<view class="cell" wx:if="{{filter.formatwenzhenList(list1,'height').ISHAS}}">
<view class="cellrow">
@@ -11,7 +11,7 @@
{{filter.formatwenzhenList(list1,'height').NUMBER}}、身高(CM)
</view>
<view class="iptbox">
<input type="text" value="{{user_info.name}}" bindinput="handleIpt" data-id="name" placeholder="请输入身高" placeholder-class="placeholder" class="ipt" disabled="{{!showBtn}}" />
<input type="text" value="{{personInfo.height}}" bindinput="handleIpt" data-id="height" placeholder="请输入身高" placeholder-class="placeholder" class="ipt" disabled="{{!showBtn}}" />
</view>
</view>
@@ -22,7 +22,7 @@
{{filter.formatwenzhenList(list1,'weight').NUMBER}}、体重(KG)
</view>
<view class="iptbox">
<input type="text" value="{{user_info.name}}" bindinput="handleIpt" data-id="name" placeholder="请请输入体重" placeholder-class="placeholder" class="ipt" disabled="{{!showBtn}}" />
<input type="text" value="{{personInfo.weight}}" bindinput="handleIpt" data-id="weight" placeholder="请请输入体重" placeholder-class="placeholder" class="ipt" disabled="{{!showBtn}}" />
</view>
</view>
@@ -63,7 +63,7 @@
</view>
</view>
<view class="cellbox">
<view class="cellbox" wx:if="{{list2.length>0}}">
<view class="basictitle">个人情况</view>
<view class="sickHis">
<view class="list">
+5
View File
@@ -143,4 +143,9 @@ margin-bottom: 20rpx;
} */
.van-radio{
margin-bottom: 10rpx!important;
}
.van-radio__icon--disabled.van-radio__icon--checked{
color:#3cc7c0!important;
background-color: #fff;
border-color:#3cc7c0 ;
}