search-result.wxml 14 KB

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