selectBusiness.wxml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <!--pages/indexPages/selectBusiness/selectBusiness.wxml-->
  2. <view class="search-container">
  3. <view class="search-box">
  4. <view class="search-icon">
  5. <image src="../../../images/index/search.png" mode="widthFix" />
  6. </view>
  7. <view class="search-input">
  8. <input type="text" placeholder="请输入办理事项关键词查询" />
  9. </view>
  10. <view class="search-icon">
  11. <image src="../../../images/selectBusiness/voice.png" mode="widthFix" />
  12. </view>
  13. </view>
  14. </view>
  15. <view class="containers">
  16. <scroll-view class="left-container" scroll-y enhanced show-scrollbar="{{false}}">
  17. <view class="left-business-title {{index == businessTitlesIndex?'left-business-title-active':''}}" wx:for="{{businessTitles}}" wx:key="index" data-index="{{index}}" data-item="{{item}}" bind:tap="selectBusinessTitle">
  18. <view class="left-business-title-icon">
  19. <image src="{{item.ywxtb.length > 5?item.ywxtb:'../../../images/selectBusiness/test.png'}}" mode="widthFix" />
  20. </view>
  21. <view class="left-business-title-name {{index == businessTitlesIndex?'left-business-title-name-active':''}}">{{item.ywmc}}</view>
  22. </view>
  23. </scroll-view>
  24. <scroll-view class="right-container" scroll-y enhanced show-scrollbar="{{false}}" scroll-with-animation enable-passive>
  25. <view class="right-business-content">
  26. <view class="content-list content-list-one">
  27. <view class="list-name list-name-title">{{businessTitles[businessTitlesIndex].ywmc}}</view>
  28. <view class="list-icon">
  29. </view>
  30. </view>
  31. <view class="content-list" hover-class="active" wx:for="{{businessTitles[businessTitlesIndex].zlist}}" wx:key="index1" data-ywdx="{{businessTitles[businessTitlesIndex]}}" data-ywxx="{{item}}" bind:tap="next">
  32. <view class="list-name">{{item.ywmc}}</view>
  33. <view class="list-icon">
  34. <image src="../../../images/selectBusiness/enter.png" mode="widthFix" />
  35. </view>
  36. </view>
  37. </view>
  38. </scroll-view>
  39. </view>