家政小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.wxml 4.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. <import src="/wxParse/wxParse.wxml" />
  2. <view class="page">
  3. <view class="page-hd">
  4. <image class="hero" src="{{banner}}"></image>
  5. </view>
  6. <view class="page-bd">
  7. <view class="mod">
  8. <view class="mod-hd">
  9. <text class="dot">●</text>服务介绍</view>
  10. <view class="mod-bd">
  11. <template is="wxParse" data="{{wxParseData:article.nodes}}" />
  12. </view>
  13. </view>
  14. <view class="service">
  15. <view class="service-bd">
  16. <view class="s-item" wx:for="{{fields}}">
  17. <view class="s-item-hd">{{item.name_cn}}</view>
  18. <view class="s-item-bd">
  19. <checkbox-group bindchange="inputChange" data-index="{{index}}" wx:if="{{item.type === 'checkbox'}}">
  20. <label class="checkbox" wx:for="{{item.input_group}}" wx:for-index="idx" wx:for-item="checkbox">
  21. <view class="checkbox-inner">
  22. <checkbox value="{{checkbox.value}}" /><text class="input-item-text">{{checkbox.value}}</text>
  23. </view>
  24. </label>
  25. </checkbox-group>
  26. <radio-group class="radio-group" data-index="{{index}}" wx:else bindchange="inputChange">
  27. <label class="radio" wx:for="{{item.input_group}}" wx:for-index="idx" wx:for-item="radio">
  28. <view class="radio-inner">
  29. <radio value="{{radio.value}}" checked="{{idx === 0}}" /><text class="input-item-text">{{radio.value}}</text>
  30. </view>
  31. </label>
  32. </radio-group>
  33. </view>
  34. </view>
  35. </view>
  36. </view>
  37. </view>
  38. <view class="page-ft">
  39. <view class="booking">
  40. <view class="input-item">
  41. <view class="label">预产期</view>
  42. <view class="input-content">
  43. <input type="text" class="input-text" bindinput="_handleInput" data-name="expectedDate" placeholder="请填写预产期" />
  44. </view>
  45. </view>
  46. <view class="input-item">
  47. <view class="label">服务时间</view>
  48. <view class="input-content">
  49. <input type="text" class="input-text" bindinput="_handleInput" data-name="serviceDate" placeholder="请填写服务时间" />
  50. </view>
  51. </view>
  52. <view class="input-item ">
  53. <view class="label ">特殊需求</view>
  54. <view class="input-content">
  55. <input type="text" class="input-text" bindinput="_handleInput" data-name="notes" placeholder="您的特殊需求" />
  56. </view>
  57. </view>
  58. <view class="input-item">
  59. <view class="label">姓名</view>
  60. <view class="input-content">
  61. <input type="text" class="input-text" bindinput="_handleInput" data-name="name" placeholder="您的称呼" />
  62. </view>
  63. </view>
  64. <view class="input-item">
  65. <view class="label">电话</view>
  66. <view class="input-content">
  67. <input type="number" class="input-text" bindinput="_handleInput" data-name="phone" placeholder="您的手机号码" />
  68. </view>
  69. </view>
  70. <view class="input-item ">
  71. <view class="label ">地址</view>
  72. <view class="input-content">
  73. <input type="text" class="input-text" bindinput="_handleInput" data-name="address" placeholder="服务地址" />
  74. </view>
  75. </view>
  76. </view>
  77. <view class="btn-book" bindtap="bookServer">立即预约</view>
  78. </view>
  79. </view>
  80. <button class="btn-join" type="default" open-type="contact" session-from="homeApp"><image class="icon-service" src="/img/icon-service.png"></image>咨询</button>