change.wxml 1.6 KB

12345678910111213141516171819202122232425262728
  1. <My_GeneralTemplate>
  2. <view style="padding: 0 30rpx 20rpx;">
  3. <My_GreyRectangleForm title="账号名称" required>
  4. <van-field autosize type="textarea" model:value="{{ fname }}" data-name="fname" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.fname}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
  5. </My_GreyRectangleForm>
  6. <My_GreyRectangleForm title="身份/职位" required>
  7. <van-field autosize type="textarea" model:value="{{ frole }}" data-name="frole" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.frole}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
  8. </My_GreyRectangleForm>
  9. <My_GreyRectangleForm title="手机号码" required>
  10. <van-field autosize type="textarea" model:value="{{ fphonenumber }}" data-name="fphonenumber" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.fphonenumber}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
  11. </My_GreyRectangleForm>
  12. <My_GreyRectangleForm title="权限设置">
  13. </My_GreyRectangleForm>
  14. <My_GreyRectangleForm title="是否启用">
  15. <van-switch style="position: absolute; margin-left: -110rpx; margin-top: 10rpx;" checked="{{ checked }}" bind:change="onChange" />
  16. </My_GreyRectangleForm>
  17. </view>
  18. </My_GeneralTemplate>
  19. <!-- 提交按钮 -->
  20. <view class="submit_but">
  21. <van-button bindtap="submit" custom-class="custom-class" round color="linear-gradient(180deg, #82E0E9 0%, #4BBECF 100%);">保存</van-button>
  22. </view>