index.wxml 2.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. <view class="banner">
  15. <view class="banner_oval" />
  16. <My_card custom-class='banner_content' hover>
  17. </My_card>
  18. </view>
  19. <view style="height: 130rpx;" />
  20. <!-- 滚动通知 -->
  21. <view class="scroll-area">
  22. <van-notice-bar custom-class='notice-bar' background="none" color='#666' text="滚动区域滚动区域滚动区域滚动区域滚动区域滚动区域滚动区域滚动区域滚动区域滚动区域">
  23. <text slot="left-icon" class="iconfont icon-a-shouyexiaoxigundongquxiaoxi" />
  24. </van-notice-bar>
  25. </view>
  26. <!-- 宫格区域 -->
  27. <My_card custom-class='grld'>
  28. <navigator url="#" class="item" wx:for="{{gridList}}" wx:key="{{index}}" data-item="{{item}}" catchtap="applications">
  29. <view class="iconfont {{item.icon}}" />
  30. <text>{{item.name}}</text>
  31. </navigator>
  32. </My_card>
  33. <!-- 数据概况标题 -->
  34. <view class="general-situation">
  35. <view class="title">
  36. <text class="iconfont icon-a-shouyeshujugaikuangzhanshishuju"></text>
  37. 数据概况
  38. </view>
  39. <view class="time">更新于:2022-02-12</view>
  40. </view>
  41. <!-- 数据概况展示 -->
  42. <My_card custom-class='data-display' hover>
  43. <view class="item" wx:for="{{6}}">
  44. <view class="label">销售额(¥)</view>
  45. <view class="nubmer">9999.99</view>
  46. </view>
  47. </My_card>
  48. <!-- 通告 -->
  49. <My_card wx:if="{{annunciateList.length>0 && showAnnunciate}}" title='最新通告' class="annunciate">
  50. <view class="unread" slot='title-r' bindtap="toAnnunciate">
  51. 12条未读
  52. <view class="circle" />
  53. <van-icon class="icon" name="arrow" />
  54. </view>
  55. <block wx:for="{{annunciateList}}">
  56. <navigator url="#" class="item-box" data-item="{{item}}" bindtap="toAnnunciateDetails">
  57. <Item item='{{item}}' />
  58. </navigator>
  59. <view wx:if="{{index!=annunciateList.length-1}}" style="width: 100%; border: 1rpx solid #EEEEEE; margin-left: 30rpx;" />
  60. </block>
  61. </My_card>
  62. <view style="height: 140rpx;" />