personalData.wxml 4.6 KB

1
  1. <view class="wrap data-v-44ded03a"><view class="info-wrap data-v-44ded03a"><view class="avatar-container data-v-44ded03a"><block wx:if="{{avatar}}"><image class="avatar data-v-44ded03a" src="{{avatar}}" mode="widthFix" data-event-opts="{{[['error',[['ImageError',['$event']]]]]}}" binderror="__e"></image></block><block wx:else><image class="avatar data-v-44ded03a" src="{{defaultAvatar}}" mode="widthFix"></image></block><view data-event-opts="{{[['tap',[['editAvart',['$event']]]]]}}" class="edit data-v-44ded03a" bindtap="__e">编辑</view></view><block wx:if="{{userType===1}}"><uni-list vue-id="56fbb80c-1" class="data-v-44ded03a" bind:__l="__l" vue-slots="{{['default']}}"><uni-list-item vue-id="{{('56fbb80c-2')+','+('56fbb80c-1')}}" title="姓名" rightText="{{form.name}}" clickable="{{true}}" showArrow="{{true}}" data-event-opts="{{[['^click',[['handle',['name']]]]]}}" bind:click="__e" class="data-v-44ded03a" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('56fbb80c-3')+','+('56fbb80c-1')}}" title="性别" rightText="{{form.gender}}" clickable="{{true}}" showArrow="{{true}}" data-event-opts="{{[['^click',[['handle',['gender']]]]]}}" bind:click="__e" class="data-v-44ded03a" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('56fbb80c-4')+','+('56fbb80c-1')}}" title="年龄" rightText="{{form.age}}" clickable="{{true}}" showArrow="{{true}}" data-event-opts="{{[['^click',[['handle',['age']]]]]}}" bind:click="__e" class="data-v-44ded03a" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('56fbb80c-5')+','+('56fbb80c-1')}}" title="邮箱" rightText="{{form.email}}" clickable="{{true}}" showArrow="{{true}}" data-event-opts="{{[['^click',[['handle',['email']]]]]}}" bind:click="__e" class="data-v-44ded03a" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('56fbb80c-6')+','+('56fbb80c-1')}}" title="手机号码" rightText="{{form.phone}}" data-event-opts="{{[['^click',[['handle',['phone']]]]]}}" bind:click="__e" class="data-v-44ded03a" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('56fbb80c-7')+','+('56fbb80c-1')}}" title="住址" rightText="{{form.address}}" data-event-opts="{{[['^click',[['handle',['address']]]]]}}" bind:click="__e" class="data-v-44ded03a" bind:__l="__l"></uni-list-item></uni-list></block><block wx:else><uni-list vue-id="56fbb80c-8" class="data-v-44ded03a" bind:__l="__l" vue-slots="{{['default']}}"><uni-list-item vue-id="{{('56fbb80c-9')+','+('56fbb80c-8')}}" title="学校" rightText="{{form.school}}" clickable="{{true}}" showArrow="{{true}}" data-event-opts="{{[['^click',[['handle',['school']]]]]}}" bind:click="__e" class="data-v-44ded03a" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('56fbb80c-10')+','+('56fbb80c-8')}}" title="学院" rightText="{{form.college}}" clickable="{{true}}" showArrow="{{true}}" data-event-opts="{{[['^click',[['handle',['college']]]]]}}" bind:click="__e" class="data-v-44ded03a" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('56fbb80c-11')+','+('56fbb80c-8')}}" title="专业" rightText="{{form.major}}" clickable="{{true}}" showArrow="{{true}}" data-event-opts="{{[['^click',[['handle',['major']]]]]}}" bind:click="__e" class="data-v-44ded03a" bind:__l="__l"></uni-list-item><uni-list-item vue-id="{{('56fbb80c-12')+','+('56fbb80c-8')}}" title="学号" rightText="{{form.studentId}}" clickable="{{true}}" showArrow="{{true}}" data-event-opts="{{[['^click',[['handle',['studentId']]]]]}}" bind:click="__e" class="data-v-44ded03a" bind:__l="__l"></uni-list-item></uni-list></block><view data-event-opts="{{[['tap',[['submit',['$event']]]]]}}" class="submit-BT _div data-v-44ded03a" bindtap="__e">保存</view></view><uni-popup style=";" vue-id="56fbb80c-13" type="dialog" data-ref="popup" class="data-v-44ded03a vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view class="uni-popup-modal _div data-v-44ded03a"><view class="uni-popup-title data-v-44ded03a">请输入修改内容</view><view class="uni-popup-content _div data-v-44ded03a"><uni-easyinput vue-id="{{('56fbb80c-14')+','+('56fbb80c-13')}}" type="text" trim="{{true}}" placeholder="请输入内容" value="{{updateValue}}" data-event-opts="{{[['^confirm',[['confirm',['$0'],['updateValue']]]],['^input',[['__set_model',['','updateValue','$event',[]]]]]]}}" bind:confirm="__e" bind:input="__e" class="data-v-44ded03a" bind:__l="__l"></uni-easyinput></view><view class="handle-wrap _div data-v-44ded03a"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="cancel bt _div data-v-44ded03a" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['confirm',['$0'],['updateValue']]]]]}}" class="confirm bt _div data-v-44ded03a" bindtap="__e">确认</view></view></view></uni-popup></view>