Personnel_edit.wxml 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. <!--parents/pages/information/information.wxml-->
  2. <import src="../../../templates/loading/loading.wxml" />
  3. <view class='container'>
  4. <template is='loading' wx:if='{{!isLoaded}}'></template>
  5. <view class='wrapper' wx:else>
  6. <view class='list'>
  7. <view class='li' >
  8. <view class="uploadImg" bindtap='uploadImgCtl'>
  9. <image class='{{vip.imgUrl ? "li-imageTip" : "li-image"}}' src='{{vip.imgUrl ? baseImgUrl + vip.imgUrl : "../../../assets/cameare.png"}}'></image>
  10. <view class="upload-text" wx:if='{{!vip.imgUrl}}'>上传头像</view>
  11. <view class="upload-Model" wx:if='{{vip.imgUrl}}'>
  12. <view class="upload-refrehtext">更换头像</view>
  13. </view>
  14. </view>
  15. <view class='list-items-del' data-index='{{index}}' bindtap='sureDelete'>
  16. <view class='list-items-del-text'>删除该管理员</view>
  17. </view>
  18. </view>
  19. <view class='li'>
  20. <view class='li-label'>微信昵称</view>
  21. <input class='li-input' type='text' placeholder='请填写姓名' disabled="true" placeholder-class='input-placeholder' value='{{vip.wxName}}' bindinput='inputCtl'></input>
  22. </view>
  23. <view class='li'>
  24. <view class='li-label'>姓名</view>
  25. <input class='li-input' type='text' placeholder='请填写姓名' placeholder-class='input-placeholder' value='{{vip.name}}' bindinput='inputCtl' data-type='name'></input>
  26. </view>
  27. <view class='li'>
  28. <view class='li-label'>性别</view>
  29. <picker bindchange='pickerSexCtl' value='{{sexIndex}}' range='{{sexArray}}'>
  30. <view class='li-picker'>{{vip.sex == 1 ? '男' : vip.sex == 2 ? '女' : '请选择性别'}}</view>
  31. </picker>
  32. </view>
  33. <view class='li'>
  34. <view class='li-label'>馆内职务</view>
  35. <picker bindchange='pickerpositionCtl' value='{{positionIndex}}' range='{{positionArray}}'>
  36. <view class='li-picker'>{{vip.jobs == 1 ? '馆长助理' : vip.jobs == 2 ? '馆长' : vip.jobs||'请选择馆内职务'}}</view>
  37. </picker>
  38. </view>
  39. </view>
  40. <view class='footer-box'>
  41. <view class='footer-box-item' wx:for='{{footerArray}}' wx:key='index' data-type='{{item.type}}' bindtap='submitCtl'>{{item.text}}</view>
  42. </view>
  43. <!-- 删除弹幕 -->
  44. <view class='showModel' bindtap='allShowModel' catchtouchmove="allShowModel" wx:if='{{deleteModel}}'></view>
  45. <view class='model-show' wx:if='{{deleteModel}}'>
  46. <view class='model-list'>
  47. <view class='model-list-title'>一但删除数据将无法返回,您确定要删除该管理员吗?</view>
  48. </view>
  49. <view class='model-list-footer'>
  50. <view class='model-list-footer-cancel' bindtap='allShowModel'>取消</view>
  51. <view class='model-list-footer-sure' bindtap='delMembersVipIdCtl'>确定删除</view>
  52. </view>
  53. </view>
  54. </view>
  55. </view>