家政小程序
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 3.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  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. <radio-group class="radio-group" data-index="{{index}}" bindchange="radioChange">
  20. <label class="radio" wx:for="{{item.input_group}}" wx:for-index="idx" wx:for-item="radio">
  21. <radio value="{{radio.value}}" checked="{{idx === 0}}" />{{radio.value}}
  22. </label>
  23. </radio-group>
  24. </view>
  25. </view>
  26. </view>
  27. </view>
  28. </view>
  29. <view class="page-ft">
  30. <view class="booking">
  31. <view class="input-item">
  32. <view class="label">预产期</view>
  33. <view class="input-content">
  34. <input type="text" class="input-text" bindinput="_handleInput" data-name="expectedDate" placeholder="请填写预产期" />
  35. </view>
  36. </view>
  37. <view class="input-item">
  38. <view class="label">服务时间</view>
  39. <view class="input-content">
  40. <input type="text" class="input-text" bindinput="_handleInput" data-name="serviceDate" placeholder="请填写服务时间" />
  41. </view>
  42. </view>
  43. <view class="input-item ">
  44. <view class="label ">特殊需求</view>
  45. <view class="input-content">
  46. <input type="text" class="input-text" bindinput="_handleInput" data-name="notes" placeholder="您的特殊需求" />
  47. </view>
  48. </view>
  49. <view class="input-item">
  50. <view class="label">姓名</view>
  51. <view class="input-content">
  52. <input type="text" class="input-text" bindinput="_handleInput" data-name="name" placeholder="您的称呼" />
  53. </view>
  54. </view>
  55. <view class="input-item">
  56. <view class="label">电话</view>
  57. <view class="input-content">
  58. <input type="number" class="input-text" bindinput="_handleInput" data-name="phone" placeholder="您的手机号码" />
  59. </view>
  60. </view>
  61. <view class="input-item ">
  62. <view class="label ">地址</view>
  63. <view class="input-content">
  64. <input type="text" class="input-text" bindinput="_handleInput" data-name="address" placeholder="服务地址" />
  65. </view>
  66. </view>
  67. </view>
  68. <view class="btn-book" bindtap="bookServer">立即预约</view>
  69. </view>
  70. </view>
  71. <button class="btn-join" type="default" open-type="contact" session-from="homeApp"><image class="icon-service" src="/img/icon-service.png"></image>咨询</button>