addIntroducer.wxml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!--pages/role/addIntroducer.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="telephone" placeholder="请输入电话号码"
  14. maxlength="11" type="number" catchinput="inputedit" data-name="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"/> -->
  22. <picker mode="region" name="area" bindchange="bindRegionChange" value="{{region}}">
  23. <text class="tui-input" wx:if="{{region==''}}">请选择所在地区</text>
  24. <text class="tui-input" wx:if="{{region!=''}}">{{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="000000" maxlength="50" catchinput="inputedit" data-name="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="addIntroducer">提交</button>
  36. <button class="btn-primary btn-gray" hover-class="btn-gray-hover" formType="reset">重置</button>
  37. </view>
  38. </form>
  39. </view>