my.wxml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316
  1. <wxs src='../../../utils/formatFuc.wxs' module="utils"></wxs>
  2. <view>
  3. <image src="/static/images/csr.png"
  4. style="width: 70px;height: 70px;position: fixed;z-index: 1;top: 700rpx;right: 20rpx;"></image>
  5. <contact-button class="csr" type="default-dark"
  6. style="opacity: 0;position: fixed;z-index: 99;right: 16rpx; width: 100rpx;height: 100rpx;top:726rpx"
  7. session-from="weapp" size="27">
  8. </contact-button>
  9. </view>
  10. <view class="user-top-bj">
  11. <view class="study-center" bindtap="goLearnCenter">
  12. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/wx-servant/icon-college.png"></image>
  13. <view>学习中心</view>
  14. </view>
  15. </view>
  16. <!-- 用户信息 -->
  17. <view class="container">
  18. <view class="user-wrapper">
  19. <view class="user-info">
  20. <image class="user-img" src="{{homeInfo.workerInfo.headPic}}" mode="aspectFill"></image>
  21. <view class="user-right">
  22. <view class="user-name">
  23. <view> <text>{{isUat?'测试帐号':homeInfo.workerInfo.workerName}}</text> {{homeInfo.workerInfo.gender}}</view>
  24. <view class="job-year">在线时长 {{homeInfo.onPositionYear}}年</view>
  25. </view>
  26. <view class="city-station">
  27. {{homeInfo.workerInfo.cityName}} {{homeInfo.workerInfo.postStation}} {{homeInfo.workerInfo.station}}
  28. </view>
  29. </view>
  30. </view>
  31. <view class="user-bottom">
  32. <view class="user-tag">
  33. <block wx:if="{{labelName.length>0}}">
  34. <view wx:for="{{labelName}}" wx:key="index">{{item}}</view>
  35. <!-- <view>师傅</view> -->
  36. </block>
  37. </view>
  38. <view class="health" bindtap="goNucleicList">
  39. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/wx-servant/icon-jkdk.png"></image>
  40. <text>健康打卡</text>
  41. </view>
  42. </view>
  43. </view>
  44. <!-- 模块 -->
  45. <view class="module-nav">
  46. <view class="nav-item" bindtap="getPerfect">
  47. <image mode="aspectFit" src="/static/images/upgrade/icon-wsxx.png" class="nav-img"></image>
  48. <view class="nav-text">完善信息</view>
  49. </view>
  50. <view class="nav-item" bindtap='goBookIndex' data-route='/pages/mall/catalog/catalog' data-index='4'>
  51. <image mode="aspectFit" src="/static/images/upgrade/icon-wlsc.png" class="nav-img"></image>
  52. <view class="nav-text">物料商城</view>
  53. </view>
  54. <view class="nav-item" data-route='/pages/mall/order/order' data-index='1' bindtap='goBookIndex'>
  55. <image mode="aspectFit" src="/static/images/upgrade/icon-wldd.png" class="nav-img"></image>
  56. <view class="nav-text">物料订单</view>
  57. </view>
  58. <view class="nav-item" bindtap='goMaster'>
  59. <image mode="aspectFit" src="/static/images/upgrade/icon-zzy.png" class="nav-img" style="width:40rpx;height:40rpx;"></image>
  60. <view class="nav-text">招招盈</view>
  61. </view>
  62. <!-- <view class="nav-item" bindtap='goHouse'>
  63. <image mode="aspectFit" src="/static/images/upgrade/icon-wdzs.png" class="nav-img"></image>
  64. <view class="nav-text">我的住宿</view>
  65. </view> -->
  66. <view class="nav-item" bindtap='goLeave'>
  67. <image mode="aspectFit" src="/static/images/upgrade/icon-qj.png" class="nav-img"></image>
  68. <view class="nav-text">请
  69. 假</view>
  70. </view>
  71. </view>
  72. <!-- 消息中心 -->
  73. <view class="message-center">
  74. <view class="message-title">
  75. <view class="msg-title-left">
  76. <image src="/static/images/upgrade/icon-message.png"></image>
  77. <text class="title-text">消息中心</text>
  78. <view class="msg-num" wx:if="{{unReadSize>0}}">{{unReadSize}}</view>
  79. </view>
  80. <view class="msg-title-right" bindtap="goMessage">
  81. 查看明细>
  82. </view>
  83. </view>
  84. <view class="box-wrapper" wx:if="{{workerNotice.length>0}}">
  85. <image src="/static/images/upgrade/icon-alert.png" mode="aspectFit"></image>
  86. <view class="msg-box">
  87. <swiper class="swiper-container" vertical="true" autoplay="true" circular="true" interval="3000">
  88. <block wx:for="{{workerNotice}}" wx:key="index">
  89. <!-- 3 <navigator url="/pages/upgrade/messageList?title={{item.url}}" open-type="navigate"> -->
  90. <swiper-item>
  91. <view class="msg-item">
  92. <view class="content-wrapper">
  93. <view class="msg-content">{{item.content}}
  94. </view>
  95. </view>
  96. </view>
  97. </swiper-item>
  98. <!-- 7 </navigator> -->
  99. </block>
  100. </swiper>
  101. <!-- <view class="{{animate?'anim':''}}" >
  102. <view class="msg-item" wx:for="{{homeInfo.workerNotice}}" wx:key="index">
  103. <view class="content-wrapper">
  104. <view class="msg-content">{{item.content}}
  105. </view>
  106. <view> > </view>
  107. </view>
  108. </view>
  109. </view> -->
  110. </view>
  111. </view>
  112. </view>
  113. <!-- 面试邀请 -->
  114. <view class="interview" wx:if="{{interviewShow}}" wx:for="{{interviewInfo}}" wx:key="index">
  115. <view class="interview-title">
  116. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/wx-servant/icon-interview.png"></image>
  117. <view>面试邀请</view>
  118. </view>
  119. <view class="interview-date">
  120. 面试时间:{{item.interviewTime}}
  121. </view>
  122. <view class="interview-location">
  123. 面试地点:{{item.address}}
  124. </view>
  125. <view class="interview-location">
  126. 面试内容:{{item.interviewContent}}
  127. </view>
  128. <view class="interview-operate">
  129. <view wx:if="{{item.status!=1&&item.subStatusVal!=''}}">{{item.subStatusVal}}</view>
  130. <view wx:if="{{item.status!=1&&item.subStatusVal==''}}">{{item.statusVal}}</view>
  131. <view class="interview-refuse" wx:if="{{item.status==1}}" bindtap="operateInterview" data-type="4" data-id="{{item.id}}">
  132. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/wx-servant/icon-refuse.png"></image>
  133. <view> 狠心拒绝</view>
  134. </view>
  135. <view class="interview-accept" wx:if="{{item.status==1}}" bindtap="operateInterview" data-type="1" data-id="{{item.id}}">
  136. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/wx-servant/icon-accept.png"></image>
  137. <view> 接受邀请</view>
  138. </view>
  139. </view>
  140. </view>
  141. <!-- 复购看板 -->
  142. <block wx:if="{{!interviewShow}}">
  143. <view class="rebuy-board">
  144. <view class="rebuy-title">
  145. <view class="rebuy-title-left">
  146. <image src="/static/images/upgrade/icon-cart.png" mode="aspectFit"></image>
  147. <view>复购看板</view>
  148. </view>
  149. <view class="rebuy-week">
  150. <block>
  151. <image src="/static/images/upgrade/icon-arrow-left.png" mode="aspectFit" bindtap="lastWeek"></image>
  152. <view class="last-week" bindtap="lastWeek">上周</view>
  153. </block>
  154. <view class="current-week">{{currentWeek}}周</view>
  155. <block>
  156. <view class="next-week" bindtap="nextWeek">下周</view>
  157. <image src="/static/images/upgrade/icon-arrow-right.png" mode="aspectFit" bindtap="nextWeek"></image>
  158. </block>
  159. </view>
  160. </view>
  161. <!-- 推荐码 -->
  162. <view class="recommand-line">
  163. <view>推荐码</view>
  164. <view class="code" bindtap="copyNum">{{homeInfo.workerShareCode}}</view>
  165. <image src="/static/images/upgrade/icon-copy.png" mode="aspectFit" bindtap="copyNum"></image>
  166. </view>
  167. <view class="rebuy-content">
  168. <!-- 复购单量 -->
  169. <view class="rebuy-orders">
  170. <view class="title">复购单量</view>
  171. <view class="single-block">
  172. <view>
  173. <text>{{myRebuyInfo.looseOrderRebuy}}</text>/{{myRebuyInfo.looseOrder}}
  174. </view>
  175. <view class="tag">散单</view>
  176. </view>
  177. <view class="cycle-block">
  178. <view>
  179. <text>{{myRebuyInfo.cycleOrderRebuy}}</text>/{{myRebuyInfo.cycleOrder}}
  180. </view>
  181. <view class="tag">周期复购</view>
  182. </view>
  183. </view>
  184. <!-- 复购指标 -->
  185. <view class=" rebuy-orders rebuy-goals">
  186. <view class="title">复购指标</view>
  187. <view class="single-block">
  188. <view>
  189. <text>{{utils.numRate(myRebuyInfo.looseOrderRebuyRate)}}</text>
  190. </view>
  191. <view class="mark-wrapper">
  192. <view class="tag">散单T+7</view>
  193. <view class="mark" wx:if="{{myRebuyInfo.looseOrderNoWarn!=''}}">距离合格 仅剩{{myRebuyInfo.looseOrderNoWarn}}单
  194. </view>
  195. </view>
  196. </view>
  197. <view class="cycle-block">
  198. <view>
  199. <text>{{utils.numRate(myRebuyInfo.cycleOrderRebuyRate)}}</text>
  200. </view>
  201. <view class="mark-wrapper">
  202. <view class="tag">周期T+30</view>
  203. <view class="mark" wx:if="{{myRebuyInfo.cycleOrderNoWarn!=''}}">距离合格 仅剩{{myRebuyInfo.cycleOrderNoWarn}}单
  204. </view>
  205. </view>
  206. </view>
  207. </view>
  208. </view>
  209. </view>
  210. <!-- 服务费记账本 -->
  211. <view class="sally-book" data-type="2" bindtap="goSalaryDetail">
  212. <view class="sally-title">
  213. <image src="/static/images/upgrade/icon-jzb.png"></image>
  214. <view class="middle">服务费记账本</view>
  215. <view class="sally-detail" data-type="1" catchtap="goSalaryDetail">查看明细> </view>
  216. </view>
  217. <view class="sally-content">
  218. <text>本月服务费</text>
  219. <text class="sally-num">{{homeInfo.salary}} 元</text>
  220. </view>
  221. <view class="sally-history">
  222. <text>历史累计</text>
  223. <text class="history-num">{{homeInfo.total}}元</text>
  224. </view>
  225. </view>
  226. <!-- 我的站长 -->
  227. <view class="my-leader">
  228. <view class="leader-title">
  229. <image src="/static/images/upgrade/icon-zz.png"></image>
  230. <text>我的站长</text>
  231. </view>
  232. <view class="leader-name">
  233. 高级站长 {{homeInfo.stationAdminName}}
  234. </view>
  235. <view class="call-wrapper">
  236. <view data-mobile="{{homeInfo.stationAdminTel}}" bindtap="makeCall">呼叫站长</view>
  237. <view data-mobile="021-61916016" bindtap="makeCall">呼叫客服</view>
  238. <!-- <view bindtap="goJoinCp">邀请加企微</view> -->
  239. </view>
  240. </view>
  241. </block>
  242. <!-- 退出登录 -->
  243. <view class="logout" bindtap="exitLogin">退出登录</view>
  244. </view>
  245. <!-- 消息提醒 -->
  246. <van-overlay show="{{modalShow}}" custom-style="background: rgba(194,191,191,0.61);">
  247. <view class="overlay-wrapper">
  248. <view class="modal-list">
  249. <view class="modal-block-bottom modal-block" wx:if="{{workerNoticeAlert.length>1}}">
  250. </view>
  251. <view class="modal-block-top modal-block {{workerNoticeAlert.length==1?'one-modal':''}}">
  252. <view class="content">
  253. <view class="title">
  254. <view class="left">
  255. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/wx-servant/icon-alert.png" class="alert">
  256. </image>
  257. <view>{{alertNoticeInfo.title}}</view>
  258. </view>
  259. <view class="right" style="overflow:hidden;white-space:nowrap;">
  260. {{utils.formatDate(alertNoticeInfo.sendTime)}}
  261. </view>
  262. </view>
  263. <view class="line tiket-num">
  264. 关联单据:<text>{{alertNoticeInfo.rno}}</text>
  265. </view>
  266. <view class="line">
  267. 问题类型:{{alertNoticeInfo.noticeType}}
  268. </view>
  269. <view class="line-two">
  270. 提醒内容:{{alertNoticeInfo.content}}
  271. </view>
  272. </view>
  273. <view class="operate" bindtap="goFeedback">
  274. <view wx:if="{{alertNoticeInfo.isFeedback==1}}">填写反馈</view>
  275. <view wx:else>立即处理</view>
  276. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/wx-servant/icon-right.png"></image>
  277. </view>
  278. </view>
  279. <image mode="aspectFit" src="https://jzmall.lifejingzhi.com/file/wx-servant/msg-close.png" class="close"
  280. bindtap="closeModal"></image>
  281. </view>
  282. </view>
  283. </van-overlay>