You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
150 lines
6.2 KiB
150 lines
6.2 KiB
<!--pages/user/myInfo/index.wxml-->
|
|
<view class="container">
|
|
<mp-cells ext-class="page_bd" >
|
|
<view class="cellAll">
|
|
<mp-cell
|
|
bindtap="onTapItem" data-type="userIcon"
|
|
title="头像"
|
|
link="true"
|
|
ext-class="cell-item">
|
|
<image slot="footer" class="user_logo" src="{{avatarUrl}}" />
|
|
</mp-cell>
|
|
<mp-cell link="true"
|
|
data-type="userName"
|
|
title="昵称" bindtap="onTapItem"
|
|
ext-class="cell-item">
|
|
<!-- <view slot="footer" class="msg_footer" >{{nikeName}}</view> -->
|
|
<input slot="footer" style="text-align:right;" class="footer_input_phone" maxlength="120" value="{{nickName}}" disabled placeholder="请输入"></input>
|
|
</mp-cell>
|
|
<mp-cell link="true"
|
|
data-type="userPhone"
|
|
title="手机号" bindtap="onTapPhone"
|
|
ext-class="cell-item">
|
|
<!-- <view slot="footer" class="msg_footer" >{{phone}}</view> -->
|
|
<input slot="footer" style="text-align:right;" class="footer_input_phone" maxlength="45" value="{{phone}}" disabled placeholder="请输入"></input>
|
|
</mp-cell>
|
|
<!-- 新加的 所在街道 年龄 性别 -->
|
|
<mp-cell link="true"
|
|
data-type="userStreet"
|
|
title="所在街道"
|
|
ext-class="cell-item">
|
|
<!-- <view slot="footer" class="msg_footer" >{{phone}}</view> -->
|
|
<picker slot="footer" class="footer_input_phone picker-view" range="{{streets}}" bindchange="bindstreetChange">
|
|
<view class="picker-block">
|
|
<block wx:if="{{streetsIndex == 0}}" >
|
|
<view class="picker-if">
|
|
请选择
|
|
</view>
|
|
</block>
|
|
<block wx:else>
|
|
{{streets[streetsIndex]}}
|
|
</block>
|
|
</view>
|
|
</picker>
|
|
</mp-cell>
|
|
<mp-cell link="true"
|
|
bindtap="onTapItem" data-type="userAge"
|
|
title="年龄"
|
|
ext-class="cell-item">
|
|
<!-- <view slot="footer" class="msg_footer" >{{phone}}</view> -->
|
|
<input slot="footer" style="text-align:right;" class="footer_input_phone" maxlength="10" value="{{age}}" disabled placeholder="请输入"></input>
|
|
</mp-cell>
|
|
<!-- 下面是选择框 -->
|
|
<mp-cell link="true"
|
|
data-type="userGender"
|
|
title="性别"
|
|
ext-class="cell-item">
|
|
<picker slot="footer" class="footer_input_phone picker-view" range="{{gender}}" bindchange="bindGenderChange">
|
|
<view class="picker-block">
|
|
<block wx:if="{{genderIndex == 0}}" >
|
|
<view class="picker-if">
|
|
请选择
|
|
</view>
|
|
</block>
|
|
<block wx:else>
|
|
{{gender[genderIndex]}}
|
|
</block>
|
|
</view>
|
|
</picker>
|
|
</mp-cell>
|
|
<mp-cell link="true"
|
|
bindtap="onTapItem" data-type="workUnit"
|
|
title="工作单位"
|
|
ext-class="cell-item">
|
|
<!-- <view slot="footer" class="msg_footer" >{{company}}</view> -->
|
|
<input slot="footer" class="footer_input_phone" style="text-align:right;" maxlength="45" value="{{company}}" disabled placeholder="请输入"></input>
|
|
</mp-cell>
|
|
<mp-cell link="true"
|
|
bindtap="onTapItem" data-type="position"
|
|
title="职务"
|
|
ext-class="cell-item">
|
|
<!-- <view slot="footer" class="msg_footer" >{{position}}</view> -->
|
|
<input slot="footer" class="footer_input_phone"style="text-align:right;" maxlength="45" value="{{position}}" disabled placeholder="请输入"></input>
|
|
</mp-cell>
|
|
<!-- 新加的 学历 职称 人才称号 获得奖项(荣誉) -->
|
|
<!-- 下面是选择框 -->
|
|
<mp-cell link="true"
|
|
data-type="userEducation"
|
|
title="学历"
|
|
ext-class="cell-item">
|
|
<!-- <view slot="footer" class="msg_footer" >{{phone}}</view> -->
|
|
<!-- <input slot="footer" class="footer_input_phone" style="text-align:right;" maxlength="45" bindinput="bindEducationInput" value="{{education}}" disabled placeholder="请选择"></input> -->
|
|
<picker slot="footer" class="footer_input_phone picker-view" style="text-align:right;" range="{{education}}" bindchange="bindEducationChange">
|
|
<view class="picker-block">
|
|
<block wx:if="{{educationIndex == 0}}" >
|
|
<view class="picker-if">
|
|
请选择
|
|
</view>
|
|
</block>
|
|
<block wx:else>
|
|
<!-- {{education[educationIndex]}} -->
|
|
{{education[educationIndex]}}
|
|
</block>
|
|
</view>
|
|
</picker>
|
|
</mp-cell>
|
|
<mp-cell link="true"
|
|
bindtap="onTapItem" data-type="userProfessionalTitle"
|
|
title="职称"
|
|
ext-class="cell-item">
|
|
<!-- <view slot="footer" class="msg_footer" >{{phone}}</view> -->
|
|
<input slot="footer" class="footer_input_phone" maxlength="45" value="{{professionalTitle}}" disabled placeholder="请输入" style="text-align:right;"></input>
|
|
</mp-cell>
|
|
<mp-cell link="true"
|
|
bindtap="onTapItem" data-type="userTalentTitle"
|
|
title="人才称号"
|
|
ext-class="cell-item">
|
|
<!-- <view slot="footer" class="msg_footer" >{{phone}}</view> -->
|
|
<input slot="footer" style="text-align:right;" class="footer_input_phone" maxlength="45" value="{{talentTitle}}" disabled placeholder="请输入"></input>
|
|
</mp-cell>
|
|
<mp-cell link="true"
|
|
bindtap="onTapItem" data-type="userPrize"
|
|
title="获得奖项(荣誉)"
|
|
ext-class="cell-item">
|
|
<!-- <view slot="footer" class="msg_footer" >{{phone}}</view> -->
|
|
<input slot="footer" class="footer_input_phone" style="text-align:right;" maxlength="45" value="{{prize}}" disabled placeholder="请输入"></input>
|
|
</mp-cell>
|
|
</view>
|
|
<view class="btnView" style="z-index:100;">
|
|
<e-ibutton title="保存" bind:onTap="submit"/>
|
|
</view>
|
|
</mp-cells>
|
|
</view>
|
|
|
|
<van-dialog
|
|
use-slot
|
|
title="编辑"
|
|
show="{{ show }}"
|
|
show-cancel-button
|
|
confirm-button-open-type="getUserInfo"
|
|
bind:close="onClose"
|
|
bind:getuserinfo="getUserInfo"
|
|
bind:confirm="vantConfirm"
|
|
>
|
|
<input placeholder="{{defaultValue}}" value="{{value}}" bindinput="tempData" class="diag_input"></input>
|
|
</van-dialog>
|
|
|
|
|
|
|
|
|
|
|
|
|