index.wxml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. <!--pages/search-result/search-result.wxml-->
  2. <wxs src="../tools.wxs" module="globalTools" />
  3. <wxs src="../index/index.wxs" module="Tools" />
  4. <block wx:if="{{list.length != 0}}">
  5. <view class='box-body'>
  6. <view class='box-item' wx:for="{{list}}" wx:key="hpPositionId" bindtap='toDetail' data-id="{{item.id}}" data-cate="{{item.positionCategory}}" hover-class="none">
  7. <!-- 兼职岗位 -->
  8. <block wx:if="{{item.positionCategory == 1 || item.positionCategory == 9}}">
  9. <view class='box-item-info'>
  10. <view class='one'>
  11. <view class='left'>
  12. {{item.positionName}}
  13. </view>
  14. <view class='salary'>
  15. {{item.salary}}
  16. </view>
  17. </view>
  18. <view class='two' id="two_{{index}}">
  19. <view class='limit'>
  20. <!-- <view>
  21. <image src='{{imgServerUrl}}/images/happyjob/time.png'></image>
  22. </view> -->
  23. <view>
  24. <block wx:if="{{item.workDay}}">
  25. <block wx:for="{{globalTools.splitStr1(item.workDay,',')}}" wx:key="*this" wx:for-item="tag">
  26. <block wx:if="{{index == 0}}">
  27. {{globalTools.formatDate(tag)}} 至
  28. </block>
  29. <block wx:if="{{index == (globalTools.splitStr1(item.workDay,',').length-1)}}">
  30. {{globalTools.formatDate(tag)}}
  31. </block>
  32. </block>
  33. <text> (共计{{globalTools.splitStr1(item.workDay,',').length}}天)</text>
  34. </block>
  35. </view>
  36. </view>
  37. <view class='time'>
  38. <text>{{Tools.formatTime(item.updateDate)}}</text>
  39. </view>
  40. </view>
  41. <view class="address">
  42. <text>{{item.hpPositionAddressList[0].adname}}</text>
  43. </view>
  44. <view class='two {{item.up?"down":""}}'>
  45. <view class='limit_1'>
  46. <block wx:if="{{item.settlementMethod}}">
  47. <i-tag i-class="tag-class">
  48. {{item.settlementMethod}}
  49. </i-tag>
  50. </block>
  51. <block wx:if="{{item.specialWelfare}}">
  52. <i-tag wx:for="{{globalTools.splitStr1(item.specialWelfare,',')}}" wx:key="*this" wx:for-item="tag" i-class="tag-class">
  53. {{tag}}
  54. </i-tag>
  55. </block>
  56. <block wx:if="{{item.accommodation}}">
  57. <i-tag i-class="tag-class">
  58. {{item.accommodation}}
  59. </i-tag>
  60. </block>
  61. <block wx:if="{{item.socialSecurity}}">
  62. <i-tag i-class="tag-class">
  63. {{item.socialSecurity}}
  64. </i-tag>
  65. </block>
  66. <block wx:if="{{item.workDinner}}">
  67. <i-tag i-class="tag-class">
  68. {{item.workDinner}}
  69. </i-tag>
  70. </block>
  71. <block wx:if="{{item.regularBus}}">
  72. <i-tag i-class="tag-class">
  73. {{item.regularBus}}
  74. </i-tag>
  75. </block>
  76. </view>
  77. <!-- <view class="arrow" catchtap="doArrow" data-index='{{index}}' wx:if="{{item.specialWelfare || item.accommodation || item.socialSecurity || item.workDinner || item.regularBus}}">
  78. <image src="/images/happyjob/index_up.png" wx:if='{{!item.up}}'></image>
  79. <image src="/images/happyjob/index_down.png" wx:if='{{item.up}}'></image>
  80. </view> -->
  81. </view>
  82. <!-- <view class='three'>
  83. <view class='area' wx:if="{{item.hpPositionAddressList}}">
  84. <image src='{{imgServerUrl}}/images/happyjob/address.png'></image>
  85. <text class='area-name'>{{item.hpPositionAddressList[0].adname}}</text>
  86. </view>
  87. <view wx:else>
  88. </view>
  89. <view class='time'>
  90. <image src='{{imgServerUrl}}/images/happyjob/time.png'></image>
  91. <text>{{Tools.formatTime(item.updateDate)}}</text>
  92. </view>
  93. </view> -->
  94. </view>
  95. </block>
  96. <!-- 拼团 -->
  97. <block wx:elif="{{item.positionCategory == 4}}">
  98. <view class='box-item-info'>
  99. <view class='one'>
  100. <view class='left'>
  101. {{item.positionName}}
  102. </view>
  103. <view class='salary'>
  104. <!-- <image src='{{imgServerUrl}}/images/happyjob/dollor.png'></image> -->
  105. {{item.totalSalary?item.totalSalary:item.basicSalary}}
  106. </view>
  107. </view>
  108. <view class='four'>
  109. <view class='commpany'>{{item.hpCompany.companyName}}</view>
  110. </view>
  111. <view class='address'>
  112. <!-- <image src='{{imgServerUrl}}/images/happyjob/address.png'></image> -->
  113. <text class='area-name'>{{item.hpPositionAddressList[0].adname}}</text>
  114. </view>
  115. <view class='two'>
  116. <view class='limit_1'>
  117. <block wx:if="{{item.specialWelfare}}">
  118. <i-tag wx:for="{{globalTools.splitStr1(item.specialWelfare,',')}}" wx:key="*this" wx:for-item="tag" i-class="tag-class">
  119. {{tag}}
  120. </i-tag>
  121. </block>
  122. <block wx:if="{{item.accommodation}}">
  123. <i-tag i-class="tag-class">
  124. {{item.accommodation}}
  125. </i-tag>
  126. </block>
  127. <block wx:if="{{item.socialSecurity}}">
  128. <i-tag i-class="tag-class">
  129. {{item.socialSecurity}}
  130. </i-tag>
  131. </block>
  132. <block wx:if="{{item.workDinner}}">
  133. <i-tag i-class="tag-class">
  134. {{item.workDinner}}
  135. </i-tag>
  136. </block>
  137. <block wx:if="{{item.regularBus}}">
  138. <i-tag i-class="tag-class">
  139. {{item.regularBus}}
  140. </i-tag>
  141. </block>
  142. </view>
  143. <view class="arrow {{item.up?'down':''}}" data-index='{{index}}' catchtap="doArrow" wx:if="{{item.specialWelfare || item.accommodation || item.socialSecurity || item.workDinner || item.regularBus}}">
  144. <image src="/images/happyjob/index_up.png" wx:if='{{!item.up}}'></image>
  145. <image src="/images/happyjob/index_down.png" wx:if='{{item.up}}'></image>
  146. </view>
  147. </view>
  148. <view class='three'>
  149. <view class='fan' wx:if="{{item.reward}}">
  150. <!-- <image src='{{imgServerUrl}}/images/happyjob/reward.png'></image> -->
  151. <text>入职最高奖励 {{item.reward}}元</text>
  152. </view>
  153. <view wx:else>
  154. </view>
  155. <!-- <view class='time'>
  156. <image src='{{imgServerUrl}}/images/happyjob/time.png'></image>
  157. <text>{{globalTools.subStr(item.updateDate)}}</text>
  158. </view> -->
  159. </view>
  160. <view class='five'>
  161. <view class="pt-member">已有
  162. <text class="number">{{item.startGroupNumber}}</text> 位伙伴加入了该拼工
  163. </view>
  164. <view class="endtime">结束时间:{{globalTools.formateDay(item.groupEndTime)}}</view>
  165. </view>
  166. </view>
  167. </block>
  168. <!-- 福利岗位 -->
  169. <block wx:elif="{{item.positionCategory == 5}}">
  170. <view class='box-item-info'>
  171. <view class='one'>
  172. <view class='left'>
  173. {{item.positionName}}
  174. </view>
  175. <view class='salary'>
  176. {{item.salary}}
  177. </view>
  178. </view>
  179. <view class='two'>
  180. <view class='limit'>
  181. <!-- <view>
  182. <image src='{{imgServerUrl}}/images/happyjob/time.png'></image>
  183. </view> -->
  184. <text> {{globalTools.formatDate(item.publishTime)}} 至 {{globalTools.formatDate(item.endTime)}}</text>
  185. </view>
  186. <view class='time'>{{Tools.formatTime(item.updateDate)}}</view>
  187. </view>
  188. <view class="address">
  189. <text>{{item.hpPositionAddressList[0].adname}}</text>
  190. </view>
  191. <view class='two {{item.up?"down":""}}' id="two_{{index}}">
  192. <view class='limit_1'>
  193. <block wx:if="{{item.settlementMethod}}">
  194. <i-tag i-class="tag-class">
  195. {{item.settlementMethod}}
  196. </i-tag>
  197. </block>
  198. <block wx:if="{{item.specialWelfare}}">
  199. <i-tag wx:for="{{globalTools.splitStr1(item.specialWelfare,',')}}" wx:key="*this" wx:for-item="tag" i-class="tag-class">
  200. {{tag}}
  201. </i-tag>
  202. </block>
  203. <block wx:if="{{item.accommodation}}">
  204. <i-tag i-class="tag-class">
  205. {{item.accommodation}}
  206. </i-tag>
  207. </block>
  208. <block wx:if="{{item.socialSecurity}}">
  209. <i-tag i-class="tag-class">
  210. {{item.socialSecurity}}
  211. </i-tag>
  212. </block>
  213. <block wx:if="{{item.workDinner}}">
  214. <i-tag i-class="tag-class">
  215. {{item.workDinner}}
  216. </i-tag>
  217. </block>
  218. <block wx:if="{{item.regularBus}}">
  219. <i-tag i-class="tag-class">
  220. {{item.regularBus}}
  221. </i-tag>
  222. </block>
  223. </view>
  224. <view class="arrow {{item.up?'down':''}}" data-index='{{index}}' catchtap="doArrow" wx:if="{{item.specialWelfare || item.accommodation || item.socialSecurity || item.workDinner || item.regularBus}}">
  225. <image src="/images/happyjob/index_up.png" wx:if='{{!item.up}}'></image>
  226. <image src="/images/happyjob/index_down.png" wx:if='{{item.up}}'></image>
  227. </view>
  228. </view>
  229. <view class='three'>
  230. <!-- <view class='area'>
  231. <image src='{{imgServerUrl}}/images/happyjob/address.png'></image>
  232. <block wx:if="{{item.activityWide}}">
  233. <i-tag wx:for="{{globalTools.splitStr1(item.activityWide,',')}}" wx:key="*this" wx:for-item="tag" i-class="tag-class1" style="margin-left:10rpx;">
  234. {{tag}}
  235. </i-tag>
  236. </block>
  237. </view> -->
  238. <!-- <view class='time'>
  239. <image src='{{imgServerUrl}}/images/happyjob/time.png'></image>
  240. <text>{{globalTools.subStr(item.updateDate)}}</text>
  241. </view> -->
  242. </view>
  243. </view>
  244. </block>
  245. <!-- 全职,入职奖励,高薪急聘 -->
  246. <block wx:else>
  247. <view class='box-item-info'>
  248. <view class='one'>
  249. <view class='left'>
  250. <view wx:if='{{item.positionCategory == 3}}' class="gaoxin">高薪</view>
  251. <view wx:if='{{item.positionCategory == 4}}' class="pintuan">拼团</view>
  252. {{item.positionName}}
  253. </view>
  254. <view class='salary'>
  255. {{item.totalSalary?item.totalSalary:item.basicSalary}}
  256. </view>
  257. </view>
  258. <view class='four'>
  259. <view class='commpany'>{{item.hpCompany.companyName}}</view>
  260. <view class='area'>
  261. <!-- <image src='{{imgServerUrl}}/images/happyjob/address.png'></image> -->
  262. <!-- {{item.hpPositionAddressList[0].adname}} -->
  263. <text class='area-name'><text>{{Tools.formatTime(item.updateDate)}}</text></text>
  264. </view>
  265. </view>
  266. <view class="address">
  267. <text>{{item.hpPositionAddressList[0].adname}}</text>
  268. </view>
  269. <view class='three'>
  270. <block wx:if="{{item.positionCategory == 3}}">
  271. <view class='fan' wx:if="{{item.reward}}">
  272. <!-- <image src='{{imgServerUrl}}/images/happyjob/reward.png'></image> -->
  273. <text>入职最高奖励 {{item.reward}}元,额外奖励{{item.platformAllowance}}元</text>
  274. </view>
  275. <view class='fan' wx:elif="{{item.platformAllowance}}">
  276. <!-- <image src='{{imgServerUrl}}/images/happyjob/reward.png'></image> -->
  277. <text>入职最高奖励 {{item.platformAllowance}}元</text>
  278. </view>
  279. <view wx:else>
  280. </view>
  281. </block>
  282. <block wx:else>
  283. <view class='fan' wx:if="{{item.reward}}">
  284. <!-- <image src='{{imgServerUrl}}/images/happyjob/reward.png'></image> -->
  285. <text>入职最高奖励 {{item.reward}}元</text>
  286. </view>
  287. <view wx:else>
  288. </view>
  289. </block>
  290. <!-- <view class='time'>
  291. <image src='{{imgServerUrl}}/images/happyjob/time.png'></image>
  292. <text>{{globalTools.subStr(item.updateDate)}}</text>
  293. </view> -->
  294. </view>
  295. <view class='two {{item.up?"down":""}}' id="two_{{index}}">
  296. <view class='limit_1'>
  297. <block wx:if="{{item.settlementMethod}}">
  298. <i-tag i-class="tag-class">
  299. {{item.settlementMethod}}
  300. </i-tag>
  301. </block>
  302. <block wx:if="{{item.specialWelfare}}">
  303. <i-tag wx:for="{{globalTools.splitStr1(item.specialWelfare,',')}}" wx:key="*this" wx:for-item="tag" i-class="tag-class">
  304. {{tag}}
  305. </i-tag>
  306. </block>
  307. <block wx:if="{{item.accommodation}}">
  308. <i-tag i-class="tag-class">
  309. {{item.accommodation}}
  310. </i-tag>
  311. </block>
  312. <block wx:if="{{item.socialSecurity}}">
  313. <i-tag i-class="tag-class">
  314. {{item.socialSecurity}}
  315. </i-tag>
  316. </block>
  317. <block wx:if="{{item.workDinner}}">
  318. <i-tag i-class="tag-class">
  319. {{item.workDinner}}
  320. </i-tag>
  321. </block>
  322. <block wx:if="{{item.regularBus}}">
  323. <i-tag i-class="tag-class">
  324. {{item.regularBus}}
  325. </i-tag>
  326. </block>
  327. </view>
  328. <view class="arrow {{item.up?'down':''}}" catchtap="doArrow" data-index='{{index}}' wx:if="{{item.specialWelfare || item.accommodation || item.socialSecurity || item.workDinner || item.regularBus}}">
  329. <image src="/images/happyjob/index_up.png" wx:if='{{!item.up}}'></image>
  330. <image src="/images/happyjob/index_down.png" wx:if='{{item.up}}'></image>
  331. </view>
  332. </view>
  333. </view>
  334. </block>
  335. </view>
  336. </view>
  337. <view class="loading_no" hidden='{{isScroll}}'>{{showNoMore}}</view>
  338. </block>
  339. <block wx:else>
  340. <view class='no_data'>
  341. <image src="{{imgServerUrl}}/images/happyjob/no_data.png" class="white" />
  342. <view class='no_text'>暂无您收藏的职位</view>
  343. </view>
  344. </block>