index.wxml 1.2 KB

1234567891011121314151617181920212223
  1. <scroll-view scroll-y class="scrollPage">
  2. <swiper class="screen-swiper square-dot" indicator-dots="true" circular="true" autoplay="true" interval="5000" duration="500">
  3. <swiper-item wx:for="{{bannerList}}" wx:key>
  4. <image src="{{item.attinfos[0].url}}" mode="aspectFill" />
  5. </swiper-item>
  6. </swiper>
  7. <view class="grld">
  8. <block wx:for="{{entrance}}" wx:key="index">
  9. <view class="group" wx:if="{{item.list.length}}">
  10. <view class="label"><text class="work {{item.icon}}" />{{item.label}}</view>
  11. <view class="main">
  12. <navigator version='trial' class="item" wx:for="{{item.list}}" wx:for-item="it" wx:for-index="i" target='{{item.appid!=appid?"miniProgram":"self"}}' app-id='{{item.appid}}' path="{{it.path+'?auth='+auth+'&userMsg='+userMsg+'&site='+site}}" url="{{it.PageCur ? '#' :it.path}}" open-type="{{it.openType||'navigate'}}" wx:key="name" data-it="{{it}}" data-item="{{item}}" bindtap="openRecord">
  13. <view class="icon-box" style="background-color: {{it.bColor}};">
  14. <text class="work {{it.icon}}" style="color: {{it.color}};" />
  15. </view>
  16. <view class="name">{{it.name}}</view>
  17. </navigator>
  18. </view>
  19. </view>
  20. </block>
  21. </view>
  22. <view style="height: 160rpx;" />
  23. </scroll-view>