123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263 |
- <view class="bory">
- <view class="gapleft">
- <view class="borbot row crosscenter item">
- <text>姓名 </text>
- <view class="subtxt flexible">{{user.actualName ||user.nickname}}</view>
- <view class="cuIcon-right wrpy wrprlg" bindtap="clickInfo" data-key="actualName"></view>
- </view>
- <view class="borbot row crosscenter item">
- <text>性别 </text>
- <view class="subtxt flexible">{{['','男','女'][user.sex]}}</view>
- <text class="cuIcon-right wrpy wrprlg" bindtap="clickInfo" data-key="sex"></text>
- </view>
- <view class="wrpy wrprlg borbot row crosscenter item">
- <text>出生年月 </text>
- <picker mode="date" class="flexible" start='1940-01-01' end='{{endDate}}' value="{{user.birthday}}" bindchange="changeBirthday">
- <view class="row crosscenter full">
- <view class="flexible subtxt">{{user.birthday||'-'}}</view>
- <text class="cuIcon-right"></text>
- </view>
- </picker>
- </view>
- <view class="borbot row crosscenter item">
- <text>联系方式 </text>
- <view class="subtxt flexible">{{user.phone||'-'}}</view>
- <text class="wrpy wrprlg cuIcon-right" bindtap="clickInfo" data-key="phone"></text>
- </view>
- <view class="borbot row crosscenter item">
- <text>自我介绍 </text>
- <view class="subtxt flexible">{{user.introduction||'介绍一下,让更多朋友认识你'}}</view>
- <text class="wrpy wrprlg cuIcon-right" bindtap="clickInfo" data-key="introduction"></text>
- </view>
- </view>
- </view>
- <view class="cu-modal {{modalKey&&'show'}}">
- <view class="cu-dialog">
- <view class="cu-bar bg-white justify-end">
- <view class="content">{{modalKeys[modalKey]}}</view>
- <view class="action" bindtap="hideModal">
- <text class="cuIcon-close text-red"></text>
- </view>
- </view>
- <view class="padding-xl">
- <view class="radioGroup row maincenter" wx:if="{{modalKey=='sex'}}">
- <view class="radio row crosscenter" bindtap="clickRadio" data-v="{{1}}">
- <image src="../../../../imgs/radio{{inputInfo==1?'-checked':''}}.png" mode="aspectFit"></image>
- <text>男</text>
- </view>
- <view class="radio row crosscenter" bindtap="clickRadio" data-v="{{2}}">
- <image src="../../../../imgs/radio{{inputInfo==2?'-checked':''}}.png" mode="aspectFit"></image>
- <text>女</text>
- </view>
- </view>
- <input placeholder="{{placeholder[modalKey]}}" class="borbot" bindinput="inputInfo" value="{{inputText}}" wx:if="{{modalKey!='sex'}}" maxlength="{{modalKey=='phone'?11:100}}"></input>
- </view>
- <view class="cu-bar bg-white justify-end">
- <view class="action">
- <button class="cu-btn line-green text-green" bindtap="hideModal">取消</button>
- <button class="cu-btn bg-green margin-left" bindtap="clickConfirm">确定</button>
- </view>
- </view>
- </view>
- </view>
|