index.wxml 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!--nova-werun/pages/my/my-profile/index.wxml-->
  2. <nav type="back" title="{{title}}" background-color="{{'#4F9AF7'}}" front-color="{{'#ffffff'}}"></nav>
  3. <view class="popup">
  4. <van-cell-group>
  5. <van-field model:value="{{ name }}" required clearable label="姓名" placeholder="请输入姓名" />
  6. <van-field model:value="{{ idcard }}" type="number" required clearable label="身份证号" placeholder="请输入身份证号"/>
  7. </van-cell-group>
  8. <view class="registerStartDate">
  9. <view class="title">
  10. <text>*</text>
  11. 姓别
  12. </view>
  13. <view class="date">
  14. <van-radio-group direction='horizontal' model:value="{{ sex }}" bind:change="onChangeSex">
  15. <van-radio icon-size="35rpx" name="男">男</van-radio>
  16. <van-radio icon-size="35rpx" name="女">女</van-radio>
  17. </van-radio-group>
  18. </view>
  19. </view>
  20. <van-cell-group>
  21. <van-field model:value="{{ mobile }}" type="number" required clearable label="电话" placeholder="请输入电话" />
  22. <van-field model:value="{{ fittingCosts }}" type="number" required clearable label="身高" placeholder="请输入身高(例如:170)" />
  23. </van-cell-group>
  24. <view class="registerStartDate" bindtap="openStore">
  25. <view class="title">
  26. <text>*</text>
  27. 部门
  28. </view>
  29. <view class="date">{{shop.name||'选择部门'}}</view>
  30. </view>
  31. </view>
  32. <van-popup show="{{ showStorePopup }}" bind:click-overlay='closeStore' round position="bottom" bind:close="closeStore">
  33. <view style="height: 70vh;">
  34. <view style="padding: 20rpx;border-bottom: 1rpx solid rgb(206, 206, 206);text-align: center;font-weight: bold;">选择部门</view>
  35. <van-empty wx:if="{{!shopList.length}}" description="暂无可选地址" />
  36. <scroll-view style="height:calc(70vh - 200rpx) ;" scroll-y="{{true}}">
  37. <view class="company">
  38. <block wx:for="{{shopList}}" wx:key="index">
  39. <view data-index="{{index}}" bindtap="chooseShop" class="name" style="color: {{shop.objectId==item.objectId?'#4F9AF7':'gray'}};">{{item.name}}
  40. <van-icon wx:if="{{shop.objectId==item.objectId}}" name="success" />
  41. </view>
  42. </block>
  43. </view>
  44. </scroll-view>
  45. </view>
  46. </van-popup>
  47. <view class="submitbox">
  48. <view class="submit" bindtap="enlists">提交</view>
  49. </view>