addOperation.wxml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <!--pages/role/addOperation.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"/>
  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"/>
  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"/>
  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="000000" maxlength="50" value="000000" catchinput="inputedit" data-name="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="addOperation">提交</button>
  32. <button class="btn-primary btn-gray" hover-class="btn-gray-hover" formType="reset">重置</button>
  33. </view>
  34. </form>
  35. </view>