editIntroducer.wxml 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <!--pages/role/editIntroducer.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="telephone" placeholder="请输入电话号码(该号码为登录账号)"
  14. maxlength="11" type="number" catchinput="inputedit" data-name="userInfo.telephone" value="{{userInfo.telephone}}"/>
  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="area" placeholder="请选择所在地区"
  21. maxlength="50" catchinput="inputedit" data-name="userInfo.area" value="{{userInfo.area}}"/> -->
  22. <picker mode="region" name="area" bindchange="bindRegionChange" value="{{region}}" placeholder="请选择所在地区">
  23. <!-- <text class="tui-input" wx:if="{{region==''}}">请选择所在地区</text> -->
  24. <text class="tui-input">{{region[0]}}{{region[1]}}{{region[2]}}</text>
  25. </picker>
  26. </view>
  27. </tui-list-cell>
  28. <tui-list-cell hover="{{false}}">
  29. <view class="tui-line-cell">
  30. <view class="tui-title">介绍人密码:</view>
  31. <input placeholder-class="phcolor" class="tui-input" name="password" placeholder="请输入介绍人密码" maxlength="50" password="true" catchinput="inputedit" data-name="userInfo.password" value="{{userInfo.password}}"/>
  32. </view>
  33. </tui-list-cell>
  34. <view class="tui-btn-box">
  35. <button class="btn-primary margin-bottom-xs" hover-class="btn-hover" formType="submit" type="primary" bindtap="editIntroducer">提交</button>
  36. <button class="btn-primary btn-gray" hover-class="btn-gray-hover" formType="reset">重置</button>
  37. </view>
  38. </form>
  39. </view>