瑶都万能墙
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

219 lines
4.6 KiB

7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
7 months ago
  1. <template>
  2. <view class="page">
  3. <navbar title="工作详情" leftClick @leftClick="$utils.navigateBack" />
  4. <view class="box">
  5. <view class="title">
  6. {{ detail.title }}
  7. </view>
  8. <view class="price">
  9. {{ detail.minPrice }}-{{ detail.maxPrice }}
  10. </view>
  11. <view class="line">
  12. <!-- <view>
  13. <image src="../static/work/address.png" mode=""></image>
  14. {{ detail.workAge }}
  15. </view> -->
  16. <view>
  17. <!-- <image src="../static/work/g.png" mode=""></image> -->
  18. {{ detail.workYear }}
  19. </view>
  20. <view>
  21. <!-- <image src="../static/work/x.png" mode=""></image> -->
  22. {{ detail.school }}
  23. </view>
  24. </view>
  25. <view class="line">
  26. 该职位位于{{ $dayjs(detail.createTime).format('YYYY-MM-DD') }}
  27. </view>
  28. <!-- <view class="userHead">
  29. <userHead :headImage="detail.headImage"
  30. :name="detail.name" :phoneCall="detail.phone"/>
  31. </view> -->
  32. <view class="address">
  33. <view class="title2">
  34. 工作地址
  35. </view>
  36. <!--
  37. 深圳罗湖区深圳市百货广场大厦罗湖区百货广场大厦东深圳罗湖区深圳市百货广场大厦罗湖区百货广场大厦东
  38. -->
  39. <view class="line"
  40. style="justify-content: space-between;">
  41. {{ detail.address }}
  42. <uv-icon
  43. size="30rpx"
  44. color="666"
  45. name="arrow-right"
  46. ></uv-icon>
  47. </view>
  48. <view class="tag-list">
  49. <view>
  50. 距您14.6千米
  51. </view>
  52. </view>
  53. </view>
  54. <view class="info">
  55. <view class="title2">
  56. <text>职位详情</text>
  57. <view>
  58. <uv-icon
  59. size="30rpx"
  60. color="666"
  61. name="star"
  62. ></uv-icon>
  63. 收藏
  64. </view>
  65. </view>
  66. <view class="tag-list">
  67. <view v-for="(t, i) in detail.iconText && detail.iconText.split('、')">
  68. {{ t }}
  69. </view>
  70. </view>
  71. <view
  72. class="text"
  73. v-html="detail.jobDetails">
  74. </view>
  75. <!-- <view
  76. class="text">
  77. <uv-parse :content="detail.workDetail"></uv-parse>
  78. </view> -->
  79. </view>
  80. </view>
  81. </view>
  82. </template>
  83. <script>
  84. let text = `岗位要求
  85. 1全日制大专以上学历艺术设计类相关专业;
  86. 2两年以上平面品牌视觉设计等相关工作经验能独立完成项目的设计工作 3C数码/个护健 类产品服务经验优先有乙方工作经验佳;
  87. 3具备一定的设计提案能力能完整的呈现设计思路与创意能清晰的表达设计逻辑与思考;
  88. 4热爱设计平面基本功扎实拥有优良的审美与创意想法对版式色彩把控能力强;对工作富有责任心具备团队沟通与协作能力;
  89. 5精通 PSAICDR 等平面设计软件能独立完成日常平面设计工作内容熟练使用 PPT/Keynote能完成提案内容的材料美化工作
  90. `
  91. export default {
  92. components : {
  93. },
  94. data() {
  95. return {
  96. text : '',
  97. id : 0,
  98. detail : {},
  99. collectionFlag : false,
  100. }
  101. },
  102. onLoad({id}) {
  103. this.id = id
  104. },
  105. onShow() {
  106. this.text = this.$utils.stringFormatHtml(text)
  107. this.getData()
  108. },
  109. methods: {
  110. getData(){
  111. let data = {
  112. id : this.id
  113. }
  114. if(uni.getStorageSync('token')){
  115. data.token = uni.getStorageSync('token')
  116. }
  117. this.$api('getJobDetail', data, res => {
  118. if(res.code == 200){
  119. this.detail = res.result
  120. this.detail.jobDetails = this.$utils.stringFormatHtml(res.result.jobDetails)
  121. this.collectionFlag = res.result.collectionFlag
  122. }
  123. })
  124. },
  125. }
  126. }
  127. </script>
  128. <style scoped lang="scss">
  129. .page{
  130. background-color: #fff;
  131. min-height: 100vh;
  132. .box{
  133. padding: 30rpx;
  134. .title{
  135. font-size: 34rpx;
  136. font-weight: 900;
  137. padding-bottom: 20rpx;
  138. }
  139. .title2{
  140. font-size: 28rpx;
  141. font-weight: 900;
  142. display: flex;
  143. justify-content: space-between;
  144. align-items: center;
  145. view{
  146. display: flex;
  147. align-items: center;
  148. justify-content: center;
  149. }
  150. }
  151. .price{
  152. font-size: 30rpx;
  153. font-weight: 900;
  154. color: $uni-color;
  155. }
  156. .line{
  157. display: flex;
  158. font-size: 24rpx;
  159. color: #666666;
  160. margin-top: 30rpx;
  161. image{
  162. width: 30rpx;
  163. height: 30rpx;
  164. }
  165. &>view{
  166. margin-right: 50rpx;
  167. display: flex;
  168. justify-content: center;
  169. align-items: center;
  170. }
  171. }
  172. .userHead{
  173. padding: 50rpx 0;
  174. border-bottom: 1px solid #00000011;
  175. }
  176. .address{
  177. padding: 30rpx 0;
  178. .line{
  179. margin-top: 20rpx;
  180. }
  181. }
  182. .info{
  183. .text{
  184. font-size: 24rpx;
  185. color: #666666;
  186. line-height: 44rpx;
  187. }
  188. }
  189. }
  190. }
  191. .tag-list{
  192. display: flex;
  193. flex-wrap: wrap;
  194. }
  195. .tag-list > view{
  196. margin: 10rpx;
  197. padding: 10rpx;
  198. background-color: #EFF2F1;
  199. font-size: 24rpx;
  200. border-radius: 10rpx;
  201. }
  202. </style>