edit.wxml 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!--pages/store/edit1.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="username" placeholder="请输入账户" maxlength="50" catchinput="inputedit" value="{{user.username}}" data-name="user.username"/>
  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="realname" placeholder="请输入代理名称" maxlength="50" catchinput="inputedit" value="{{user.realname}}" data-name="user.realname"/>
  14. </view>
  15. </tui-list-cell>
  16. <!-- <tui-list-cell hover="{{false}}">
  17. <view class="tui-line-cell">
  18. <view class="tui-title"><text style="color:red;">*</text>密码:</view>
  19. <input placeholder-class="phcolor" class="tui-input" name="password" placeholder="请输入密码"
  20. maxlength="50" catchinput="inputedit" value="{{user.password}}" data-name="user.password"/>
  21. </view>
  22. </tui-list-cell> -->
  23. <tui-list-cell hover="{{false}}">
  24. <view class="tui-line-cell">
  25. <view class="tui-title"><text style="color:red;">*</text>联系方式:</view>
  26. <input placeholder-class="phcolor" class="tui-input" name="agentPhone" placeholder="请输入联系方式"
  27. maxlength="11" type="number" catchinput="inputedit" value="{{user.agentPhone}}" data-name="user.agentPhone"/>
  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="editStore">提交</button>
  32. <button class="btn-primary margin-bottom-xs btn-gray" hover-class="btn-gray-hover" formType="reset">重置</button>
  33. <button class="btn-primary btn-red" hover-class="btn-hover" formType="delete" type="primary" data-id="" bindtap="delete">删除</button>
  34. </view>
  35. <time-picker pickerShow="{{isPickerShow}}" id="picker" wx:if="{{isPickerRender}}" bind:hidePicker="pickerHide"
  36. bind:setPickerTime="setPickerTime" config="{{pickerConfig}}"></time-picker>
  37. </form>
  38. </view>