index.wxml 1.9 KB

1
  1. <view class="container"><view class="page-section page-section-spacing swiper"><swiper class="swiper" indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}"><block wx:for="{{bannerList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item><image style="width:100%;height:100%;" src="{{item}}"></image></swiper-item></block></swiper></view><uni-notice-bar vue-id="8dd740cc-1" moreColor="#000" scrollable="{{true}}" show-get-more="{{true}}" show-icon="{{true}}" text="{{notice}}" more-text="更多>>" data-event-opts="{{[['^getmore',[['getMore']]]]}}" bind:getmore="__e" bind:__l="__l"></uni-notice-bar><uni-section class="mb-10 sectionBox" vue-id="8dd740cc-2" titleFontSize="16px" title="疫情服务" type="line" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="card" border="{{false}}" data-event-opts="{{[['tap',[['illnessBtn',['$0'],[[['list','',index]]]]]]]}}" bindtap="__e"><image style="width:100%;height:90px;" src="{{item.url}}"></image><text class="title">{{item.title}}</text></view></block></uni-section><uni-section class="mb-10 sectionBox" vue-id="8dd740cc-3" titleFontSize="16px" title="办事指南" type="line" bind:__l="__l" vue-slots="{{['default','right']}}"><text data-event-opts="{{[['tap',[['morBtn',['$event']]]]]}}" bindtap="__e" slot="right">更多>></text><block wx:for="{{policyList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><uni-card class="card card2" bind:click="__e" vue-id="{{('8dd740cc-4-'+index)+','+('8dd740cc-3')}}" data-event-opts="{{[['^click',[['policyBtn',['$0'],[[['policyList','',index]]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><image class="cover" src="{{item.url}}"></image><view class="_h2">{{item.title}}</view><text class="cardText">{{item.text}}</text></uni-card></block></uni-section></view>