huhaobangding.wxml 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. <view class="container">
  2. <view class="form-group">
  3. <view class="form-item">
  4. <text class="label">户号</text>
  5. <input type="text" placeholder="请绑定缴费户号" placeholder-class="placeholder" />
  6. <view class="check-auth-btn" bindtap="showDrawer">
  7. 查看获取方式
  8. </view>
  9. </view>
  10. <view class="form-item">
  11. <text class="label">手机号</text>
  12. <input type="number" placeholder="请输入手机号" placeholder-class="placeholder" />
  13. </view>
  14. </view>
  15. <view class="group-select">
  16. <text class="section-title">设置分组(可选)</text>
  17. <view class="tag-group">
  18. <view class="tag {{selectedTag === '家' ? 'active' : ''}}" bindtap="selectTag" data-tag="家">家</view>
  19. <view class="tag {{selectedTag === '父母' ? 'active' : ''}}" bindtap="selectTag" data-tag="父母">父母</view>
  20. <view class="tag {{selectedTag === '公司' ? 'active' : ''}}" bindtap="selectTag" data-tag="公司">公司</view>
  21. <view class="tag {{selectedTag === '出租' ? 'active' : ''}}" bindtap="selectTag" data-tag="出租">出租</view>
  22. <view class="tag {{selectedTag === '朋友' ? 'active' : ''}}" bindtap="selectTag" data-tag="朋友">朋友</view>
  23. <view class="tag {{selectedTag === '自定义' ? 'active' : ''}}" bindtap="selectTag" data-tag="自定义">自定义</view>
  24. </view>
  25. <block wx:if="{{showCustomInput}}">
  26. <view class="custom-group">
  27. <view class="custom-input">
  28. <input type="text" placeholder="请输入标签名称" placeholder-class="placeholdersecond" bindinput="onCustomInput" />
  29. <text class="count">{{customTagLength}}/4字</text>
  30. </view>
  31. </view>
  32. </block>
  33. </view>
  34. <view class="submit-btn">
  35. <button type="primary">确认绑定</button>
  36. </view>
  37. <view class="tips">
  38. <text>1、请确认上述信息是您定期水表。</text>
  39. <text>2、如果您的水表为合收费表,我们将绑定的是您对应的主表信息。</text>
  40. </view>
  41. </view>
  42. <view class="drawer-mask" wx:if="{{showDrawer}}" bindtap="hideDrawer"></view>
  43. <view class="drawer-container {{showDrawer ? 'show' : ''}}">
  44. <view class="drawer-close"></view>
  45. <view class="drawer-title">获取户号方式</view>
  46. <view class="auth-method">
  47. <image class="auth-method-icon" src="/static_file/tzd.png" mode="aspectFit"></image>
  48. <view class="auth-method-content">
  49. <view class="auth-method-title">检查水费催缴通知单</view>
  50. <view class="auth-method-desc">从纸质版水费催缴通知单上查看用水户号。</view>
  51. </view>
  52. <view class="preview" bindtap="previewImage">
  53. <image class="preview-icon" src="/static_file/yl.png"></image>
  54. <text class="preview-text">预览图</text>
  55. </view>
  56. </view>
  57. <view class="auth-method">
  58. <image class="auth-method-icon" src="/static_file/phone.png" mode="aspectFit"></image>
  59. <view class="auth-method-content">
  60. <view class="auth-method-title">电话查询</view>
  61. <view class="auth-method-desc">提供户号地址拨打服热线电话,客服在线时间为早9:00至晚20:00。</view>
  62. </view>
  63. <view class="auth-method-action" bindtap="makePhoneCall">拨打电话</view>
  64. </view>
  65. </view>
  66. <!-- 修改预览模态框部分 -->
  67. <view class="preview-modal {{showPreview ? 'show' : ''}}" bindtap="closePreview">
  68. <view class="preview-content" catchtap="preventBubble">
  69. <image class="preview-image" src="/static_file/jcsfcjtzd.jpg" mode="widthFix"></image>
  70. <view class="close-preview-btn" bindtap="closePreview">关闭</view>
  71. </view>
  72. </view>