editOperation.wxml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <!--pages/role/editOperation.wxml-->
  2. <view class="container">
  3. <form bindsubmit="formSubmit" bindreset="formReset">
  4. <tui-list-cell hover="{{false}}">
  5. <view class="tui-line-cell">
  6. <view class="tui-title"><text style="color:red;">*</text>姓名:</view>
  7. <input placeholder-class="phcolor" class="tui-input" name="realname" placeholder="请输入运维姓名" maxlength="50" catchinput="inputedit" data-name="userInfo.realname" value="{{userInfo.realname}}"/>
  8. </view>
  9. </tui-list-cell>
  10. <tui-list-cell hover="{{false}}">
  11. <view class="tui-line-cell">
  12. <view class="tui-title"><text style="color:red;">*</text>账号:</view>
  13. <input placeholder-class="phcolor" class="tui-input" name="username" placeholder="请输入登录账号"
  14. maxlength="50" catchinput="inputedit" data-name="userInfo.username" value="{{userInfo.username}}"/>
  15. </view>
  16. </tui-list-cell>
  17. <tui-list-cell hover="{{false}}">
  18. <view class="tui-line-cell">
  19. <view class="tui-title"><text style="color:red;">*</text>电话:</view>
  20. <input placeholder-class="phcolor" class="tui-input" name="telephone" placeholder="请输入电话号码"
  21. maxlength="11" type="number" catchinput="inputedit" data-name="userInfo.telephone" value="{{userInfo.telephone}}"/>
  22. </view>
  23. </tui-list-cell>
  24. <tui-list-cell hover="{{false}}">
  25. <view class="tui-line-cell">
  26. <view class="tui-title">运维密码:</view>
  27. <input placeholder-class="phcolor" class="tui-input" name="password" placeholder="请输入运维密码" password="true" maxlength="50" catchinput="inputedit" data-name="userInfo.password" value="{{userInfo.password}}"/>
  28. </view>
  29. </tui-list-cell>
  30. <view class="tui-btn-box">
  31. <button class="btn-primary margin-bottom-xs" hover-class="btn-hover" formType="submit" type="primary" bindtap="editOperation">提交</button>
  32. <button class="btn-primary btn-gray" hover-class="btn-gray-hover" formType="reset">重置</button>
  33. </view>
  34. </form>
  35. </view>