index.wxml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346
  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. <view wx:if='{{item.positionCategory == 4}}' class="pintuan">拼团</view>
  102. {{item.positionName}}
  103. </view>
  104. <view class='salary'>
  105. <!-- <image src='{{imgServerUrl}}/images/happyjob/dollor.png'></image> -->
  106. {{item.totalSalary?item.totalSalary:item.basicSalary}}
  107. </view>
  108. </view>
  109. <view class='four'>
  110. <view class='commpany'>{{item.hpCompany.companyName}}</view>
  111. </view>
  112. <view class='address'>
  113. <!-- <image src='{{imgServerUrl}}/images/happyjob/address.png'></image> -->
  114. <text class='area-name'>{{item.hpPositionAddressList[0].adname}}</text>
  115. </view>
  116. <view class='two'>
  117. <view class='limit_1'>
  118. <block wx:if="{{item.specialWelfare}}">
  119. <i-tag wx:for="{{globalTools.splitStr1(item.specialWelfare,',')}}" wx:key="*this" wx:for-item="tag" i-class="tag-class">
  120. {{tag}}
  121. </i-tag>
  122. </block>
  123. <block wx:if="{{item.accommodation}}">
  124. <i-tag i-class="tag-class">
  125. {{item.accommodation}}
  126. </i-tag>
  127. </block>
  128. <block wx:if="{{item.socialSecurity}}">
  129. <i-tag i-class="tag-class">
  130. {{item.socialSecurity}}
  131. </i-tag>
  132. </block>
  133. <block wx:if="{{item.workDinner}}">
  134. <i-tag i-class="tag-class">
  135. {{item.workDinner}}
  136. </i-tag>
  137. </block>
  138. <block wx:if="{{item.regularBus}}">
  139. <i-tag i-class="tag-class">
  140. {{item.regularBus}}
  141. </i-tag>
  142. </block>
  143. </view>
  144. <view class="arrow {{item.up?'down':''}}" data-index='{{index}}' catchtap="doArrow" wx:if="{{item.specialWelfare || item.accommodation || item.socialSecurity || item.workDinner || item.regularBus}}">
  145. <image src="/images/happyjob/index_up.png" wx:if='{{!item.up}}'></image>
  146. <image src="/images/happyjob/index_down.png" wx:if='{{item.up}}'></image>
  147. </view>
  148. </view>
  149. <view class='three'>
  150. <view class='fan' wx:if="{{item.reward}}">
  151. <!-- <image src='{{imgServerUrl}}/images/happyjob/reward.png'></image> -->
  152. <text>入职最高奖励 {{item.reward}}元</text>
  153. </view>
  154. <view wx:else>
  155. </view>
  156. <!-- <view class='time'>
  157. <image src='{{imgServerUrl}}/images/happyjob/time.png'></image>
  158. <text>{{globalTools.subStr(item.updateDate)}}</text>
  159. </view> -->
  160. </view>
  161. <view class='five'>
  162. <view class="pt-member">已有
  163. <text class="number">{{item.startGroupNumber}}</text> 位伙伴加入了该拼工
  164. </view>
  165. <view class="endtime">结束时间:{{globalTools.formateDay(item.groupEndTime)}}</view>
  166. </view>
  167. </view>
  168. </block>
  169. <!-- 福利岗位 -->
  170. <block wx:elif="{{item.positionCategory == 5}}">
  171. <view class='box-item-info'>
  172. <view class='one'>
  173. <view class='left'>
  174. {{item.positionName}}
  175. </view>
  176. <view class='salary'>
  177. {{item.salary}}
  178. </view>
  179. </view>
  180. <view class='two'>
  181. <view class='limit'>
  182. <!-- <view>
  183. <image src='{{imgServerUrl}}/images/happyjob/time.png'></image>
  184. </view> -->
  185. <text> {{globalTools.formatDate(item.publishTime)}} 至 {{globalTools.formatDate(item.endTime)}}</text>
  186. </view>
  187. <view class='time'>{{Tools.formatTime(item.updateDate)}}</view>
  188. </view>
  189. <view class="address">
  190. <text>{{item.hpPositionAddressList[0].adname}}</text>
  191. </view>
  192. <view class='two {{item.up?"down":""}}' id="two_{{index}}">
  193. <view class='limit_1'>
  194. <block wx:if="{{item.settlementMethod}}">
  195. <i-tag i-class="tag-class">
  196. {{item.settlementMethod}}
  197. </i-tag>
  198. </block>
  199. <block wx:if="{{item.specialWelfare}}">
  200. <i-tag wx:for="{{globalTools.splitStr1(item.specialWelfare,',')}}" wx:key="*this" wx:for-item="tag" i-class="tag-class">
  201. {{tag}}
  202. </i-tag>
  203. </block>
  204. <block wx:if="{{item.accommodation}}">
  205. <i-tag i-class="tag-class">
  206. {{item.accommodation}}
  207. </i-tag>
  208. </block>
  209. <block wx:if="{{item.socialSecurity}}">
  210. <i-tag i-class="tag-class">
  211. {{item.socialSecurity}}
  212. </i-tag>
  213. </block>
  214. <block wx:if="{{item.workDinner}}">
  215. <i-tag i-class="tag-class">
  216. {{item.workDinner}}
  217. </i-tag>
  218. </block>
  219. <block wx:if="{{item.regularBus}}">
  220. <i-tag i-class="tag-class">
  221. {{item.regularBus}}
  222. </i-tag>
  223. </block>
  224. </view>
  225. <view class="arrow {{item.up?'down':''}}" data-index='{{index}}' catchtap="doArrow" wx:if="{{item.specialWelfare || item.accommodation || item.socialSecurity || item.workDinner || item.regularBus}}">
  226. <image src="/images/happyjob/index_up.png" wx:if='{{!item.up}}'></image>
  227. <image src="/images/happyjob/index_down.png" wx:if='{{item.up}}'></image>
  228. </view>
  229. </view>
  230. <view class='three'>
  231. <!-- <view class='area'>
  232. <image src='{{imgServerUrl}}/images/happyjob/address.png'></image>
  233. <block wx:if="{{item.activityWide}}">
  234. <i-tag wx:for="{{globalTools.splitStr1(item.activityWide,',')}}" wx:key="*this" wx:for-item="tag" i-class="tag-class1" style="margin-left:10rpx;">
  235. {{tag}}
  236. </i-tag>
  237. </block>
  238. </view> -->
  239. <!-- <view class='time'>
  240. <image src='{{imgServerUrl}}/images/happyjob/time.png'></image>
  241. <text>{{globalTools.subStr(item.updateDate)}}</text>
  242. </view> -->
  243. </view>
  244. </view>
  245. </block>
  246. <!-- 全职,入职奖励,高薪急聘 -->
  247. <block wx:else>
  248. <view class='box-item-info'>
  249. <view class='one'>
  250. <view class='left'>
  251. <view wx:if='{{item.positionCategory == 3}}' class="gaoxin">高薪</view>
  252. <view wx:if='{{item.positionCategory == 4}}' class="pintuan">拼团</view>
  253. {{item.positionName}}
  254. </view>
  255. <view class='salary'>
  256. {{item.totalSalary?item.totalSalary:item.basicSalary}}
  257. </view>
  258. </view>
  259. <view class='four'>
  260. <view class='commpany'>{{item.hpCompany.companyName}}</view>
  261. <view class='area'>
  262. <!-- <image src='{{imgServerUrl}}/images/happyjob/address.png'></image> -->
  263. <!-- {{item.hpPositionAddressList[0].adname}} -->
  264. <text class='area-name'><text>{{Tools.formatTime(item.updateDate)}}</text></text>
  265. </view>
  266. </view>
  267. <view class="address">
  268. <text>{{item.hpPositionAddressList[0].adname}}</text>
  269. </view>
  270. <view class='three'>
  271. <block wx:if="{{item.positionCategory == 3}}">
  272. <view class='fan' wx:if="{{item.reward}}">
  273. <!-- <image src='{{imgServerUrl}}/images/happyjob/reward.png'></image> -->
  274. <text>入职最高奖励 {{item.reward}}元,额外奖励{{item.platformAllowance}}元</text>
  275. </view>
  276. <view class='fan' wx:elif="{{item.platformAllowance}}">
  277. <!-- <image src='{{imgServerUrl}}/images/happyjob/reward.png'></image> -->
  278. <text>入职最高奖励 {{item.platformAllowance}}元</text>
  279. </view>
  280. <view wx:else>
  281. </view>
  282. </block>
  283. <block wx:else>
  284. <view class='fan' wx:if="{{item.reward}}">
  285. <!-- <image src='{{imgServerUrl}}/images/happyjob/reward.png'></image> -->
  286. <text>入职最高奖励 {{item.reward}}元</text>
  287. </view>
  288. <view wx:else>
  289. </view>
  290. </block>
  291. <!-- <view class='time'>
  292. <image src='{{imgServerUrl}}/images/happyjob/time.png'></image>
  293. <text>{{globalTools.subStr(item.updateDate)}}</text>
  294. </view> -->
  295. </view>
  296. <view class='two {{item.up?"down":""}}' id="two_{{index}}">
  297. <view class='limit_1'>
  298. <block wx:if="{{item.settlementMethod}}">
  299. <i-tag i-class="tag-class">
  300. {{item.settlementMethod}}
  301. </i-tag>
  302. </block>
  303. <block wx:if="{{item.specialWelfare}}">
  304. <i-tag wx:for="{{globalTools.splitStr1(item.specialWelfare,',')}}" wx:key="*this" wx:for-item="tag" i-class="tag-class">
  305. {{tag}}
  306. </i-tag>
  307. </block>
  308. <block wx:if="{{item.accommodation}}">
  309. <i-tag i-class="tag-class">
  310. {{item.accommodation}}
  311. </i-tag>
  312. </block>
  313. <block wx:if="{{item.socialSecurity}}">
  314. <i-tag i-class="tag-class">
  315. {{item.socialSecurity}}
  316. </i-tag>
  317. </block>
  318. <block wx:if="{{item.workDinner}}">
  319. <i-tag i-class="tag-class">
  320. {{item.workDinner}}
  321. </i-tag>
  322. </block>
  323. <block wx:if="{{item.regularBus}}">
  324. <i-tag i-class="tag-class">
  325. {{item.regularBus}}
  326. </i-tag>
  327. </block>
  328. </view>
  329. <view class="arrow {{item.up?'down':''}}" catchtap="doArrow" data-index='{{index}}' wx:if="{{item.specialWelfare || item.accommodation || item.socialSecurity || item.workDinner || item.regularBus}}">
  330. <image src="/images/happyjob/index_up.png" wx:if='{{!item.up}}'></image>
  331. <image src="/images/happyjob/index_down.png" wx:if='{{item.up}}'></image>
  332. </view>
  333. </view>
  334. </view>
  335. </block>
  336. </view>
  337. </view>
  338. <view class="loading_no" hidden='{{isScroll}}'>{{showNoMore}}</view>
  339. </block>
  340. <block wx:else>
  341. <view class='no_data'>
  342. <image src="{{imgServerUrl}}/images/happyjob/no_data.png" class="white" />
  343. <view class='no_text'>暂无您申请的职位</view>
  344. </view>
  345. </block>