|
@@ -2,10 +2,66 @@
|
|
|
<view class="createfile-content">
|
|
|
<view class="main-content">
|
|
|
<view class="form create-form">
|
|
|
- <view class="form-item avatar">
|
|
|
+ <view class="form-item avatar ittflex-jcb">
|
|
|
<view class="label ittflex-jcs">头像:</view>
|
|
|
- <view class="actiosn"></view>
|
|
|
+ <view class="actiosn chsoe-img ittflex" bindtap="handleChoseAvatar">
|
|
|
+ <view class="default-img ittflex" wx:if="{{!choseAvatar}}">
|
|
|
+ <van-icon name="contact" color="#fff" />
|
|
|
+ </view>
|
|
|
+ <view class="chsoe-img-item ittflex" wx:if="{{choseAvatar}}">
|
|
|
+ <image class="avat-item" src="{{choseAvaSrc}}"></image>
|
|
|
+ </view>
|
|
|
+ <view class="arrow-right ittflex">
|
|
|
+ <van-icon name="arrow" color="#999999"/>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="form-item username ittflex-jcb">
|
|
|
+ <view class="label ittflex-jcs">姓名:</view>
|
|
|
+ <view class="actions file-input">
|
|
|
+ <input class="weui-input" placeholder="请输入" placeholder-style="text-align: right;font-size:26rpx;color:#999;"/>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="form-item sex ittflex-jcs">
|
|
|
+ <view class="label ittflex-jcs">性别:</view>
|
|
|
+ <view class="actions radio-sex ittflex-jcs">
|
|
|
+ <view class="radio radio-man ittflex" data-index="0" bindtap="handleSex">
|
|
|
+ <view class="readio-item b-cricle ittflex {{ sexIndex == '0' ? 'readio-item-active' : ''}}">
|
|
|
+ <view class="in-cricle"></view>
|
|
|
+ </view>
|
|
|
+ <view class="radio-text">男</view>
|
|
|
+ </view>
|
|
|
+ <view class="radio radio-woman ittflex" data-index="1" bindtap="handleSex">
|
|
|
+ <view class="readio-item b-cricle ittflex {{ sexIndex == '1' ? 'readio-item-active' : ''}}">
|
|
|
+ <view class="in-cricle"></view>
|
|
|
+ </view>
|
|
|
+ <view class="radio-text">女</view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="form-item bothday ittflex-jcb">
|
|
|
+ <view class="label ittflex-jcs">生日:</view>
|
|
|
+ <view class="actions actions-bothday ittflex">
|
|
|
+ <picker class="my-picker" mode="date" bindchange="bindPickerChange" value="{{index}}">
|
|
|
+ <view class="picker-item ittflex">
|
|
|
+ <text class="picker-text">{{pickerText}}</text>
|
|
|
+ <van-icon name="calendar-o" size="34rpx"/>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
+ </view>
|
|
|
+ <view class="form-item relative ittflex-jcb">
|
|
|
+ <view class="label ittflex-jcs">关系:</view>
|
|
|
+ <view class="actions actions-bothday ittflex">
|
|
|
+ <picker class="my-picker" mode="selector" range="{{relativeRange}}" bindchange="bindReaPickerChange">
|
|
|
+ <view class="picker-item ittflex">
|
|
|
+ <text class="picker-text">{{relativeText}}</text>
|
|
|
+ <van-icon name="arrow-down" color="#999"/>
|
|
|
+ </view>
|
|
|
+ </picker>
|
|
|
+ </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
+ <view class="itt-btn submit-btn" bindtap="handleSave">保存</view>
|
|
|
</view>
|
|
|
</view>
|