add.wxml 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <view class="container">
  2. <form bindsubmit="formSubmit" bindreset="formReset">
  3. <tui-list-cell hover="{{false}}">
  4. <view class="tui-line-cell">
  5. <view class="tui-title"><text style="color:red;">*</text>账户:</view>
  6. <input placeholder-class="phcolor" class="tui-input" name="username" placeholder="请输入账户" maxlength="50" catchinput="inputedit" data-name="user.username"/>
  7. </view>
  8. </tui-list-cell>
  9. <tui-list-cell hover="{{false}}">
  10. <view class="tui-line-cell">
  11. <view class="tui-title"><text style="color:red;">*</text>代理名称:</view>
  12. <input placeholder-class="phcolor" class="tui-input" name="realname" placeholder="请输入代理名称" maxlength="50" catchinput="inputedit" data-name="user.realname"/>
  13. </view>
  14. </tui-list-cell>
  15. <tui-list-cell hover="{{false}}">
  16. <view class="tui-line-cell">
  17. <view class="tui-title"><text style="color:red;">*</text>密码:</view>
  18. <input placeholder-class="phcolor" class="tui-input" name="password" placeholder="请输入密码"
  19. maxlength="50" catchinput="inputedit" data-name="user.password"/>
  20. </view>
  21. </tui-list-cell>
  22. <tui-list-cell hover="{{false}}">
  23. <view class="tui-line-cell">
  24. <view class="tui-title"><text style="color:red;">*</text>联系方式:</view>
  25. <input placeholder-class="phcolor" class="tui-input" name="agentPhone" placeholder="请输入联系方式"
  26. maxlength="11" type="number" catchinput="inputedit" data-name="user.agentPhone"/>
  27. </view>
  28. </tui-list-cell>
  29. <view class="tui-btn-box">
  30. <button class="btn-primary margin-bottom-xs" hover-class="btn-hover" formType="submit" type="primary" bindtap="addStore">提交</button>
  31. <button class="btn-primary btn-gray" hover-class="btn-gray-hover" formType="reset">重置</button>
  32. </view>
  33. <time-picker pickerShow="{{isPickerShow}}" id="picker" wx:if="{{isPickerRender}}" bind:hidePicker="pickerHide"
  34. bind:setPickerTime="setPickerTime" config="{{pickerConfig}}"></time-picker>
  35. </form>
  36. </view>