|
@@ -1,22 +1,11 @@
|
|
<wxs src="../../utils/filter.wxs" module="filters" />
|
|
<wxs src="../../utils/filter.wxs" module="filters" />
|
|
<view class="editBox">
|
|
<view class="editBox">
|
|
- <!-- #if MP -->
|
|
|
|
- <button class="resetBtn editRow" open-type="chooseAvatar" bind:chooseavatar="changeAvatar">
|
|
|
|
- <view class="name">头像</view>
|
|
|
|
- <view class="right">
|
|
|
|
- <image class='avatar' src='{{ userInfo.avatar}}'></image>
|
|
|
|
- <image class='black' src='/static/black.png'></image>
|
|
|
|
- </view>
|
|
|
|
- </button>
|
|
|
|
- <!-- #elif ANDROID -->
|
|
|
|
<button class="resetBtn editRow">
|
|
<button class="resetBtn editRow">
|
|
<view class="name">头像</view>
|
|
<view class="name">头像</view>
|
|
<view class="right">
|
|
<view class="right">
|
|
<image class='avatar' src='{{ userInfo.avatar}}'></image>
|
|
<image class='avatar' src='{{ userInfo.avatar}}'></image>
|
|
- <image class='black' src='/static/black.png'></image>
|
|
|
|
</view>
|
|
</view>
|
|
</button>
|
|
</button>
|
|
- <!-- #endif -->
|
|
|
|
<view class="editRow">
|
|
<view class="editRow">
|
|
<view class="name">昵称</view>
|
|
<view class="name">昵称</view>
|
|
<view class="right">
|
|
<view class="right">
|
|
@@ -25,12 +14,14 @@
|
|
<image class='black' src='/static/black.png'></image>
|
|
<image class='black' src='/static/black.png'></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="editRow" bindtap="selectGender">
|
|
|
|
|
|
+ <view class="editRow">
|
|
<view class="name">性别</view>
|
|
<view class="name">性别</view>
|
|
<view class="right">
|
|
<view class="right">
|
|
- <view class="name">
|
|
|
|
- {{userInfo.gender===0?'女':'男'}}
|
|
|
|
- </view>
|
|
|
|
|
|
+ <picker value="{{userInfo.gender}}" range="{{genderList}}" range-key="key" bindchange="selectGender">
|
|
|
|
+ <view class="name">
|
|
|
|
+ {{userInfo.gender===0?'女':'男'}}
|
|
|
|
+ </view>
|
|
|
|
+ </picker>
|
|
<image class='black' src='/static/black.png'></image>
|
|
<image class='black' src='/static/black.png'></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -44,15 +35,6 @@
|
|
<image class='black' src='/static/black.png'></image>
|
|
<image class='black' src='/static/black.png'></image>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="editRow mt40" bindtap="selectProfession">
|
|
|
|
- <view class="name">身份</view>
|
|
|
|
- <view class="right">
|
|
|
|
- <view class="name">
|
|
|
|
- {{userInfo.profession}}
|
|
|
|
- </view>
|
|
|
|
- <image class='black' src='/static/black.png'></image>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
<view class="editRow">
|
|
<view class="editRow">
|
|
<view class="name">年级</view>
|
|
<view class="name">年级</view>
|
|
<view class="right">
|
|
<view class="right">
|