12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- <view class='container'>
- <view class='setting-info'>
- <form bindsubmit="formSubmit">
- <view class='nickname-box'>
- <text class='setting-title'>昵称</text>
- <view class='user-action'>
- <input class='nickname' type='text' placeholder='喔喔' placeholder-class='placeholderStyle'>
- </input>
- </view>
- <view class='edit-img'>
- <image src='../../../static/image/edit.png' class='icon'></image>
- </view>
- </view>
- <view class='sex-box'>
- <text class='setting-title'>性别</text>
- <view class='radio-box' wx:for='{{ zradio }}' wx:key='{{ index }}' data-index='{{ index }}' bindtap='radioChange'>
- <view>{{ item.sex }}</view>
- <view class='radio'>
- <view class='circle' wx:if='{{ item.bool === !item.checked }}'></view>
- </view>
- </view>
- </view>
- <view class='birthday-box'>
- <text class='setting-title'>生日</text>
- <view class='date'>2001年12月12日</view>
- </view>
- <view class='occupation-box'>
- <text class='setting-title'>职业</text>
- <view class='radio-box' wx:for='{{ occupations }}' wx:key='{{ index }}' data-index='{{ index }}' bindtap='radioSetting'>
- <view>{{ item.occupation }}</view>
- <view class='radio'>
- <view class='circle' wx:if='{{ item.status === index && item.checked }}'></view>
- </view>
- </view>
- </view>
- <view class='school-box'>
- <text class='setting-title'>学校</text>
- <picker mode="region" bindchange="bindRegionChange" value="{{region}}" custom-item="{{customItem}}">
- <view class="picker">
- {{region[0]}}{{region[1]}}{{region[2]}}
- </view>
- </picker>
- <view class='edit-image'>
- <image src='../../../static/image/edit.png' class='icon'></image>
- </view>
- </view>
- <view class="submit-btn">
- <button class='btn' formType="submit">确定</button>
- </view>
- </form>
- </view>
- </view>
|