index.wxml 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. <view style="width: 1rpx;height: {{capsule.top-6+'px'}};" />
  2. <view class="header" />
  3. <!-- 自定义nav -->
  4. <view style="position: fixed;top: 0; z-index: 999999999;">
  5. <view style="width: 100vw;height: {{capsule.top-6+'px'}};background-color:#085CDF;" />
  6. <view class="header">
  7. <navigator url="/pages/login/selectSite" open-type="reLaunch" class="header_title">
  8. {{user.sitename}}
  9. <van-icon name="arrow-down" />
  10. </navigator>
  11. </view>
  12. </view>
  13. <!-- 滚动通知 -->
  14. <van-notice-bar custom-class='notice-bar' mode="link" background="none" data-item="{{notice}}" background='#FCF6EF' color='#666' text="{{notice.message}}">
  15. <text slot="left-icon" data-item="{{notice}}" class="iconfont icon-xiaoxigundong" />
  16. </van-notice-bar>
  17. <!-- 轮播区域 -->
  18. <swiper class='banner' autoplay circular>
  19. <swiper-item wx:for="{{bannerList}}" wx:key="index">
  20. <image src="{{item.attinfos[0].url}}" mode="aspectFill" data-item="{{item}}" catchtap="bannerClick" />
  21. </swiper-item>
  22. </swiper>
  23. <!-- 宫格区域 -->
  24. <view class="grld">
  25. <view class="grld-title">
  26. <text class="iconfont icon-E-dingdanxitong" /> <text class="content">E-订单</text>
  27. </view>
  28. <Yl_ListBox id='ListBox' pullDown='{{false}}'>
  29. <view class="main">
  30. <navigator url="{{item.path}}" class="item" wx:for="{{gridList}}" wx:key="name">
  31. <view class="icon-box" style="background-color: {{item.bColor}};">
  32. <text class="iconfont {{item.icon}}" style="color: {{item.color}};" />
  33. </view>
  34. <view class="name line-1">
  35. {{item.name}}
  36. </view>
  37. </navigator>
  38. </view>
  39. <view style="height: 140rpx;" />
  40. </Yl_ListBox>
  41. </view>