my.wxml 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209
  1. <wxs src='../../../utils/format.wxs' module="utils"></wxs>
  2. <view>
  3. <image src="/static/images/csr.png"
  4. style="width: 70px;height: 70px;position: fixed;z-index: 9;top: 800rpx;right: 20rpx;"></image>
  5. <contact-button class="csr" type="default-dark"
  6. style="opacity: 0;position: fixed;z-index: 99999;right: 16rpx; width: 100rpx;height: 100rpx;top:826rpx"
  7. session-from="weapp" size="27">
  8. </contact-button>
  9. </view>
  10. <view>
  11. <!-- 用户信息 -->
  12. <view class="user-info">
  13. <image class="user-img" src="{{homeInfo.workerInfo.headPic}}" mode="aspectFill"></image>
  14. <view class="user-right">
  15. <view class="user-name">
  16. <view> {{homeInfo.workerInfo.workerName}} {{homeInfo.workerInfo.gender}}</view>
  17. <view class="job-year">在线时长 {{homeInfo.onPositionYear}}年</view>
  18. </view>
  19. <view class="city-station">
  20. {{homeInfo.workerInfo.cityName}} {{homeInfo.workerInfo.postStation}} {{homeInfo.workerInfo.station}}
  21. </view>
  22. <view class="user-bottom">
  23. <view class="user-tag" >
  24. <block wx:if="{{labelName.length>0}}">
  25. <view wx:for="{{labelName}}" wx:key="index">{{item}}</view>
  26. <!-- <view>师傅</view> -->
  27. </block>
  28. </view>
  29. <view class="health" bindtap="goNucleicList">
  30. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/wx-servant/icon-jkdk.png"></image>
  31. <text>健康打卡</text>
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. <!-- 模块 -->
  37. <view class="module-nav">
  38. <view class="nav-item" bindtap="getPerfect">
  39. <image mode="aspectFit" src="/static/images/upgrade/icon-wsxx.png" class="nav-img"></image>
  40. <view class="nav-text" >完善信息</view>
  41. </view>
  42. <view class="nav-item" bindtap='goBookIndex' data-route='/pages/mall/catalog/catalog' data-index='4' >
  43. <image mode="aspectFit" src="/static/images/upgrade/icon-wlsc.png" class="nav-img"></image>
  44. <view class="nav-text">物料商城</view>
  45. </view>
  46. <view class="nav-item" data-route='/pages/mall/order/order' data-index='1' bindtap='goBookIndex'>
  47. <image mode="aspectFit" src="/static/images/upgrade/icon-wldd.png" class="nav-img"></image>
  48. <view class="nav-text">物料订单</view>
  49. </view>
  50. <view class="nav-item" bindtap='goHouse'>
  51. <image mode="aspectFit" src="/static/images/upgrade/icon-wdzs.png" class="nav-img"></image>
  52. <view class="nav-text">我的住宿</view>
  53. </view>
  54. <view class="nav-item" bindtap='goLeave'>
  55. <image mode="aspectFit" src="/static/images/upgrade/icon-qj.png" class="nav-img"></image>
  56. <view class="nav-text">请
  57. 假</view>
  58. </view>
  59. </view>
  60. <!-- 消息中心 -->
  61. <view class="message-center">
  62. <view class="message-title">
  63. <view class="msg-title-left">
  64. <image src="/static/images/upgrade/icon-message.png"></image>
  65. <text class="title-text">消息中心</text>
  66. <view class="msg-num" wx:if="{{homeInfo.unReadSize>0}}">{{homeInfo.unReadSize}}</view>
  67. </view>
  68. <view class="msg-title-right" bindtap="goMessage">
  69. 查看明细>
  70. </view>
  71. </view>
  72. <view class="box-wrapper" wx:if="{{homeInfo.workerNotice.length>0}}">
  73. <image src="/static/images/upgrade/icon-alert.png" mode="aspectFit"></image>
  74. <view class="msg-box">
  75. <swiper class="swiper-container" vertical="true" autoplay="true" circular="true" interval="3000">
  76. <block wx:for="{{homeInfo.workerNotice}}" wx:key="index">
  77. <!-- 3 <navigator url="/pages/upgrade/messageLIST?title={{item.url}}" open-type="navigate"> --> <swiper-item> <view class="msg-item">
  78. <view class="content-wrapper">
  79. <view class="msg-content">{{item.content}}
  80. </view>
  81. </view>
  82. </view>
  83. </swiper-item>
  84. <!-- 7 </navigator> -->
  85. </block>
  86. </swiper>
  87. <!-- <view class="{{animate?'anim':''}}" >
  88. <view class="msg-item" wx:for="{{homeInfo.workerNotice}}" wx:key="index">
  89. <view class="content-wrapper">
  90. <view class="msg-content">{{item.content}}
  91. </view>
  92. <view> > </view>
  93. </view>
  94. </view>
  95. </view> -->
  96. </view>
  97. </view>
  98. </view>
  99. <!-- 复购看板 -->
  100. <view class="rebuy-board">
  101. <view class="rebuy-title">
  102. <view class="rebuy-title-left">
  103. <image src="/static/images/upgrade/icon-cart.png" mode="aspectFit"></image>
  104. <view>复购看板</view>
  105. </view>
  106. <view class="rebuy-week">
  107. <block>
  108. <image src="/static/images/upgrade/icon-arrow-left.png" mode="aspectFit" bindtap="lastWeek"></image>
  109. <view class="last-week" bindtap="lastWeek">上周</view>
  110. </block>
  111. <view class="current-week">{{currentWeek}}周</view>
  112. <block>
  113. <view class="next-week" bindtap="nextWeek">下周</view>
  114. <image src="/static/images/upgrade/icon-arrow-right.png" mode="aspectFit" bindtap="nextWeek"></image>
  115. </block>
  116. </view>
  117. </view>
  118. <!-- 推荐码 -->
  119. <view class="recommand-line">
  120. <view>推荐码</view>
  121. <view class="code" bindtap="copyNum">{{homeInfo.workerShareCode}}</view>
  122. <image src="/static/images/upgrade/icon-copy.png" mode="aspectFit" bindtap="copyNum" ></image>
  123. </view>
  124. <view class="rebuy-content">
  125. <!-- 复购单量 -->
  126. <view class="rebuy-orders">
  127. <view class="title">复购单量</view>
  128. <view class="single-block">
  129. <view>
  130. <text>{{myRebuyInfo.looseOrderRebuy}}</text>/{{myRebuyInfo.looseOrder}}
  131. </view>
  132. <view class="tag">散单</view>
  133. </view>
  134. <view class="cycle-block">
  135. <view>
  136. <text>{{myRebuyInfo.cycleOrderRebuy}}</text>/{{myRebuyInfo.cycleOrder}}
  137. </view>
  138. <view class="tag">周期复购</view>
  139. </view>
  140. </view>
  141. <!-- 复购指标 -->
  142. <view class=" rebuy-orders rebuy-goals">
  143. <view class="title">复购指标</view>
  144. <view class="single-block">
  145. <view>
  146. <text>{{utils.numRate(myRebuyInfo.looseOrderRebuyRate)}}</text>
  147. </view>
  148. <view class="mark-wrapper">
  149. <view class="tag">散单T+7</view>
  150. <view class="mark" wx:if="{{myRebuyInfo.looseOrderNoWarn!=''}}">距离合格 仅剩{{myRebuyInfo.looseOrderNoWarn}}单</view>
  151. </view>
  152. </view>
  153. <view class="cycle-block">
  154. <view>
  155. <text>{{utils.numRate(myRebuyInfo.cycleOrderRebuyRate)}}</text>
  156. </view>
  157. <view class="mark-wrapper">
  158. <view class="tag">周期T+30</view>
  159. <view class="mark" wx:if="{{myRebuyInfo.cycleOrderNoWarn!=''}}">距离合格 仅剩{{myRebuyInfo.cycleOrderNoWarn}}单</view>
  160. </view>
  161. </view>
  162. </view>
  163. </view>
  164. </view>
  165. <!-- 服务费记账本 -->
  166. <view class="sally-book" data-type="2" bindtap="goSalaryDetail">
  167. <view class="sally-title">
  168. <image src="/static/images/upgrade/icon-jzb.png"></image>
  169. <view class="middle">服务费记账本</view>
  170. <view class="sally-detail" data-type="1" catchtap="goSalaryDetail">查看明细> </view>
  171. </view>
  172. <view class="sally-content" >
  173. <text>本月服务费</text>
  174. <text class="sally-num">{{homeInfo.salary}} 元</text>
  175. </view>
  176. <view class="sally-history" >
  177. <text>历史累计</text>
  178. <text class="history-num">{{homeInfo.total}}元</text>
  179. </view>
  180. </view>
  181. <!-- 我的站长 -->
  182. <view class="my-leader">
  183. <view class="leader-title">
  184. <image src="/static/images/upgrade/icon-zz.png"></image>
  185. <text>我的站长</text>
  186. </view>
  187. <view class="leader-name">
  188. 高级站长 {{homeInfo.stationAdminName}}
  189. </view>
  190. <view class="call-wrapper">
  191. <view data-mobile="{{homeInfo.stationAdminTel}}" bindtap="makeCall">呼叫站长</view>
  192. <view data-mobile="021-61916016" bindtap="makeCall">呼叫客服</view>
  193. </view>
  194. </view>
  195. <!-- 退出登录 -->
  196. <view class="logout" bindtap="exitLogin">退出登录</view>
  197. </view>