index.wxml 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <wxs module="time" src="../../utils/time.wxs"></wxs>
  2. <view class="home">
  3. <view class="top">
  4. <swiper indicator-dots="{{indicatorDots}}" autoplay="{{autoplay}}" interval="{{interval}}" duration="{{duration}}">
  5. <block wx:key="pic" wx:for="{{backgrounds}}" wx:for-item="item">
  6. <swiper-item>
  7. <image src="{{item.pic}}"></image>
  8. </swiper-item>
  9. </block>
  10. </swiper>
  11. </view>
  12. <view class="flex-box" bindtap="goTongzhi">
  13. <image src="/images/tongzhi.png" style="width: 80rpx; height: 31rpx;"></image>
  14. <swiper class="swiper_container" vertical="true" autoplay="true" circular="true" interval="3000">
  15. <block wx:key="title" wx:for="{{msgList}}">
  16. <swiper-item>
  17. <view class="swiper_item">{{item.title}}</view>
  18. </swiper-item>
  19. </block>
  20. </swiper>
  21. </view>
  22. <view class="shu-top2">
  23. <view class="shu"></view>
  24. <view class="top2">{{number.dept}}统计</view>
  25. </view>
  26. <view class="top3">
  27. <view class="top3-box">
  28. <image src="/images/indexicon1.png" style="width: 77rpx; height: 70rpx; margin-top: 20rpx;"></image>
  29. <view class="top3-num">{{number.infoTotal}}</view>
  30. <view class="top3-title">老人数量</view>
  31. </view>
  32. <view class="top3-box">
  33. <image src="/images/indexicon2.png" style="width: 77rpx; height: 70rpx; margin-top: 20rpx;"></image>
  34. <view class="top3-num">{{number.userTotal}}</view>
  35. <view class="top3-title">巡访员数量</view>
  36. </view>
  37. <view class="top3-box">
  38. <image src="/images/indexicon3.png" style="width: 77rpx; height: 70rpx; margin-top: 20rpx;"></image>
  39. <view class="top3-num">{{number.visitCount}}</view>
  40. <view class="top3-title">累计巡访量</view>
  41. </view>
  42. </view>
  43. <view class="shu-top2">
  44. <view class="shu"></view>
  45. <view class="top2">快速通道</view>
  46. </view>
  47. <view class="top4">
  48. <view class="top4-box" bindtap="goCollect">
  49. <image src="/images/indexicon4.png" style="width: 120rpx;height: 120rpx;margin-top: 10rpx;"></image>
  50. <view class="top4-box1">
  51. <view class="top4-title">用户手册</view>
  52. <view class="top4-smalltitle">使用教程</view>
  53. </view>
  54. </view>
  55. <view class="top4-box" bindtap="goChildren">
  56. <image src="/images/indexicon5.png" style="width: 120rpx;height: 120rpx;margin-top: 10rpx;"></image>
  57. <view class="top4-box1">
  58. <view class="top4-title">子女查询</view>
  59. <view class="top4-smalltitle">一键绑定</view>
  60. </view>
  61. </view>
  62. </view>
  63. <view class="top4">
  64. <view class="top4-box" bindtap="goPaiming">
  65. <image src="/images/indexicon6.png" style="width: 120rpx;height: 120rpx;margin-top: 10rpx;"></image>
  66. <view class="top4-box1">
  67. <view class="top4-title">我的排名</view>
  68. <view class="top4-smalltitle">积分排名</view>
  69. </view>
  70. </view>
  71. <view class="top4-box" bindtap="goSaoMa">
  72. <image src="/images/indexicon7.png" style="width: 120rpx;height: 120rpx;margin-top: 10rpx;"></image>
  73. <view class="top4-box1">
  74. <view class="top4-title">扫一扫</view>
  75. <view class="top4-smalltitle">巡访老人</view>
  76. </view>
  77. </view>
  78. </view>
  79. <van-dialog id="van-dialog" />
  80. <!-- <van-panel title="标题" desc="描述信息" status="状态" wx:if="{{isNovisit}}" class="isNovisit">
  81. <view style="margin-left:2%;margin-top:2%">
  82. <p>未巡访老人列表</p>
  83. <van-divider />
  84. <view style="margin-left: 20%;">未巡访老人列表</view>
  85. <van-divider />
  86. <view style="margin-left: 20%;">未巡访老人列表</view>
  87. <van-divider />
  88. <view style="margin-left: 20%;">未巡访老人列表</view>
  89. <van-divider />
  90. <view style="margin-left: 20%;">未巡访老人列表</view>
  91. </view>
  92. <view slot="footer">
  93. <van-button size="small" type="danger" bindtap="isNoVisits" custom-style="width:60%;margin-left: 20%;margin-top:4%;margin-bottom:4%">关闭</van-button>
  94. </view>
  95. </van-panel> -->
  96. <view wx:if="{{isNovisit}}">
  97. <view class='mask_layer' bindtap='modal_click_Hidden' />
  98. <view class='modal_box'>
  99. <view class="title">以下是未按要求巡访列表,请及时巡访</view>
  100. <view class="scroll scorll-div">
  101. <view class="flex-shu scroll " wx:for="{{isNoVisitList}}" wx:key="index">
  102. <view>
  103. <view>{{item.name}}</view>
  104. <view class="tabs-time">{{time.formatDate(item.time)}}</view>
  105. </view>
  106. <view class="addfive">
  107. <text>{{item.visitCount}}</text>
  108. </view>
  109. </view>
  110. </view>
  111. <view class='btn1'>
  112. <view bindtap='modal_click_Hidden' class='Sure'>确定</view>
  113. </view>
  114. </view>
  115. </view>
  116. </view>