index.wxml 1.3 KB

12345678910111213141516171819202122232425
  1. <view class="head" />
  2. <Yl_ListBox id='ListBox' pullDown='{{false}}'>
  3. <swiper class="screen-swiper square-dot" indicator-dots="true" circular="true" autoplay="true" interval="5000" duration="500">
  4. <swiper-item wx:for="{{bannerList}}" wx:key>
  5. <image src="{{item.attinfos[0].url}}" mode="aspectFill" />
  6. </swiper-item>
  7. </swiper>
  8. <view class="grld">
  9. <block wx:for="{{entrance}}" wx:key="index">
  10. <view class="group" wx:if="{{item.list.length}}">
  11. <view class="label"><text class="work {{item.icon}}" />{{item.label}}</view>
  12. <view class="main">
  13. <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">
  14. <view class="icon-box" style="background-color: {{it.bColor}};">
  15. <text class="work {{it.icon}}" style="color: {{it.color}};" />
  16. </view>
  17. <view class="name">{{it.name}}</view>
  18. </navigator>
  19. </view>
  20. </view>
  21. </block>
  22. </view>
  23. <MsgList list="{{msgList}}" />
  24. <view style="height: 200rpx;" />
  25. </Yl_ListBox>