特易招,招聘小程序
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.1 KiB

4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
  1. <template>
  2. <view class="page">
  3. <image src="/static/image/home/banner.png" mode="aspectFill"
  4. class="bgImage"></image>
  5. <view class="box">
  6. <view class="boss-box">
  7. <image :src="hanHaiMember.headImage"
  8. class="headImage"
  9. mode="aspectFill"></image>
  10. <view class="info">
  11. <view class="title">
  12. {{personInfo.name}}<text></text>
  13. </view>
  14. <view class="desc">
  15. {{companyInfo.companyName}}
  16. <view class="vip">
  17. vip
  18. </view>
  19. </view>
  20. </view>
  21. </view>
  22. <view class="firm">
  23. <view class="title">
  24. 任职企业
  25. </view>
  26. <view class="firm-info">
  27. <image :src="companyInfo.logo"
  28. class="image"
  29. mode="aspectFill"></image>
  30. <view class="info">
  31. <view class="name">
  32. {{companyInfo.companyName}}
  33. </view>
  34. <view class="desc">
  35. {{companyInfo.financing}}*{{companyInfo.industry}}*{{companyInfo.number}}
  36. </view>
  37. </view>
  38. </view>
  39. <view class="album">
  40. <uv-album :urls="urls"></uv-album>
  41. </view>
  42. </view>
  43. <view class="list-work">
  44. <view class="text">
  45. 发布职位<text>19</text>
  46. </view>
  47. <view style="margin: 20rpx;"
  48. @click="$utils.navigateTo('/pages_order/work/userDetail?id=' + item.id)"
  49. :key="index"
  50. v-for="(item, index) in list">
  51. <workItem :item="item"/>
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. </template>
  57. <script>
  58. import userHead from '../components/user/userHead.vue'
  59. import mixinList from '@/mixins/list.js'
  60. import workItem from '@/components/list/workList/workItem.vue'
  61. export default {
  62. mixins : [mixinList],
  63. components : {
  64. userHead,
  65. workItem,
  66. },
  67. data() {
  68. return {
  69. id : 0,
  70. detail : {},
  71. personInfo:{},
  72. companyInfo:{},
  73. hanHaiMember:{},
  74. collectionFlag : false,
  75. mixinsListApi : 'employeeQueryJobList',
  76. urls: ['https://via.placeholder.com/400x200.png/3c9cff/fff'],
  77. }
  78. },
  79. onLoad({id}) {
  80. this.id = id
  81. },
  82. onShow() {
  83. this.getDetail()
  84. },
  85. methods: {
  86. getDetail(){
  87. let data = {
  88. jobId : this.id
  89. }
  90. if(uni.getStorageSync('token')){
  91. data.token = uni.getStorageSync('token')
  92. }
  93. this.$api('employeeQueryJobById', data, res => {
  94. if(res.code == 200){
  95. this.detail = res.result.jobInfo
  96. this.collectionFlag = res.result.collectionFlag
  97. this.personInfo = res.result.personInfo
  98. this.companyInfo = res.result.companyInfo
  99. this.hanHaiMember = res.result.hanHaiMember
  100. }
  101. })
  102. },
  103. }
  104. }
  105. </script>
  106. <style scoped lang="scss">
  107. .page{
  108. min-height: 100vh;
  109. .bgImage{
  110. width: 100%;
  111. height: 500rpx;
  112. }
  113. .box{
  114. margin-top: -100rpx;
  115. .boss-box{
  116. background-color: #fff;
  117. margin: 20rpx;
  118. border-radius: 20rpx;
  119. padding: 20rpx;
  120. position: relative;
  121. box-shadow: 0 0 10rpx 10rpx #00000009;
  122. padding-top: 140rpx;
  123. .headImage{
  124. border-radius: 50%;
  125. width: 150rpx;
  126. height: 150rpx;
  127. position: absolute;
  128. top: -50rpx;
  129. left: 30rpx;
  130. }
  131. .info{
  132. padding: 0 20rpx;
  133. line-height: 46rpx;
  134. .title{
  135. font-weight: 900;
  136. font-size: 32rpx;
  137. }
  138. .desc{
  139. display: flex;
  140. align-items: center;
  141. font-size: 24rpx;
  142. .vip{
  143. padding: 4rpx 20rpx;
  144. border-radius: 20rpx;
  145. border: 1rpx solid #EF7834;
  146. color: #EF7834;
  147. margin-left: 30rpx;
  148. }
  149. }
  150. }
  151. }
  152. .firm{
  153. background-color: #fff;
  154. margin: 20rpx;
  155. border-radius: 20rpx;
  156. padding: 20rpx;
  157. position: relative;
  158. box-shadow: 0 0 10rpx 10rpx #00000009;
  159. .title{
  160. font-size: 32rpx;
  161. font-weight: 900;
  162. padding: 20rpx;
  163. }
  164. .firm-info{
  165. display: flex;
  166. .image{
  167. width: 140rpx;
  168. height: 140rpx;
  169. border-radius: 20rpx;
  170. }
  171. .info{
  172. display: flex;
  173. flex-direction: column;
  174. justify-content: space-around;
  175. margin-left: 30rpx;
  176. font-size: 26rpx;
  177. .name{
  178. font-weight: 900;
  179. }
  180. .desc{
  181. }
  182. }
  183. }
  184. .album{
  185. padding: 20rpx 0;
  186. }
  187. }
  188. .list-work{
  189. .text{
  190. background-color: #fff;
  191. padding: 26rpx;
  192. font-weight: 900;
  193. text{
  194. font-weight: 500;
  195. color: #666666;
  196. font-size: 26rpx;
  197. margin-left: 20rpx;
  198. }
  199. }
  200. }
  201. }
  202. }
  203. </style>