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

159 lines
2.8 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
2 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="boss-item">
  3. <view class="head">
  4. <view class="headImage">
  5. <image :src="headImage" mode=""></image>
  6. </view>
  7. <view class="info">
  8. <view class="name">
  9. <!-- 李老板 -->
  10. {{ item.name }}
  11. <view>
  12. <!-- 装配电工 -->
  13. {{ item.typeId_dictText }}
  14. </view>
  15. <view>
  16. <!-- 装配电工 -->
  17. {{ item.natureId_dictText }}
  18. </view>
  19. </view>
  20. <view class="tips">
  21. <!-- · 汉族 · 本科 · 应届生 -->
  22. {{ item.sex }} · {{ item.nation }} · {{ item.qualification }} · 应届生
  23. </view>
  24. </view>
  25. <view class="right">
  26. <view class="price"
  27. v-if="item.salaryLow >= 1000">
  28. <text>
  29. {{ (item.salaryLow / 1000).toFixed(0) }}
  30. </text>
  31. <text
  32. v-if="item.salaryUp">
  33. -{{ (item.salaryUp / 1000).toFixed(0) }}
  34. </text>
  35. K
  36. </view>
  37. <view class="price" v-else>
  38. <text>{{ item.salaryLow }}</text>
  39. <text
  40. v-if="item.salaryUp">-{{ item.salaryUp }}</text>
  41. </view>
  42. </view>
  43. </view>
  44. <view class="bottom">
  45. <view class="time">
  46. <!-- 09月23日 1620 -->
  47. {{ $dayjs(item.createTime).format('YYYY-MM-DD') }}
  48. </view>
  49. <view class="phone">
  50. <image src="/static/image/home/phone.png" mode=""></image>
  51. 联系他
  52. </view>
  53. </view>
  54. </view>
  55. </template>
  56. <script>
  57. export default {
  58. props : {
  59. item : {
  60. default : {}
  61. }
  62. },
  63. data() {
  64. return {
  65. }
  66. },
  67. computed : {
  68. headImage(){
  69. return this.item.headImage || '/static/image/center/headImage.png'
  70. }
  71. },
  72. methods: {
  73. }
  74. }
  75. </script>
  76. <style scoped lang="scss">
  77. .boss-item{
  78. background-color: #fff;
  79. border-radius: 20rpx;
  80. .head {
  81. display: flex;
  82. align-items: center;
  83. position: relative;
  84. padding: 20rpx;
  85. image {
  86. width: 100%;
  87. height: 100%;
  88. }
  89. .headImage {
  90. width: 80rpx;
  91. height: 80rpx;
  92. background-size: 100% 100%;
  93. overflow: hidden;
  94. border-radius: 50%;
  95. margin-right: 40rpx;
  96. }
  97. .info {
  98. font-size: 28rpx;
  99. .name {
  100. font-size: 32rpx;
  101. display: flex;
  102. padding-bottom: 10rpx;
  103. view {
  104. display: flex;
  105. font-size: 24rpx;
  106. align-items: center;
  107. margin-left: 20rpx;
  108. background: rgba($uni-color, 0.2);
  109. color: $uni-color;
  110. padding: 10rpx;
  111. border-radius: 10rpx;
  112. }
  113. }
  114. .tips {
  115. font-size: 24rpx;
  116. }
  117. }
  118. .right{
  119. margin-left: auto;
  120. font-size: 24rpx;
  121. .price{
  122. color: $uni-color;
  123. }
  124. }
  125. }
  126. .bottom{
  127. display: flex;
  128. justify-content: space-between;
  129. align-items: flex-end;
  130. font-size: 24rpx;
  131. padding: 20rpx;
  132. padding-top: 0;
  133. .time{
  134. color: #999999;
  135. }
  136. .phone{
  137. background-color: rgba($uni-color, 0.2);
  138. color: $uni-color;
  139. padding: 8rpx 16rpx;
  140. border-radius: 10rpx;
  141. image{
  142. width: 20rpx;
  143. height: 20rpx;
  144. }
  145. }
  146. }
  147. }
  148. </style>