my.wxml 13 KB

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