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

182 lines
3.3 KiB

8 months ago
5 months ago
8 months ago
8 months ago
5 months ago
8 months ago
8 months ago
8 months ago
8 months ago
5 months ago
8 months ago
8 months ago
5 months ago
8 months ago
8 months ago
8 months ago
5 months ago
8 months ago
5 months ago
8 months ago
8 months ago
5 months ago
8 months ago
8 months ago
8 months ago
5 months ago
5 months ago
8 months ago
8 months ago
5 months ago
8 months ago
  1. <template>
  2. <view class="boss-item">
  3. <view class="head">
  4. <view class="headImage">
  5. <image :src="item.hanHaiMember.headImage" mode=""></image>
  6. </view>
  7. <view class="info">
  8. <view class="name">
  9. <!-- 李老板 -->
  10. {{ item.employAuthenticationPerson.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. {{ sex || 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(createTime || item.createTime).format('YYYY-MM-DD') }}
  48. </view>
  49. <view class="phone"
  50. @click.stop="callPhone">
  51. <image src="/static/image/home/phone.png" mode=""></image>
  52. 联系他
  53. </view>
  54. </view>
  55. </view>
  56. </template>
  57. <script>
  58. export default {
  59. props : {
  60. item : {
  61. default : {}
  62. },
  63. createTime : {
  64. default : '',
  65. },
  66. image : {
  67. default : ''
  68. },
  69. sex : {
  70. default : ''
  71. },
  72. },
  73. data() {
  74. return {
  75. }
  76. },
  77. computed : {
  78. headImage(){
  79. return this.image || this.item.headImage || '/static/image/center/headImage.png'
  80. },
  81. phone(){
  82. return this.item.hanHaiMember && this.item.hanHaiMember.phone
  83. },
  84. },
  85. methods: {
  86. callPhone(){
  87. uni.makePhoneCall({
  88. phoneNumber: this.phone,
  89. success() {
  90. console.log('安卓拨打成功');
  91. },
  92. fail() {
  93. console.log('安卓拨打失败');
  94. }
  95. })
  96. },
  97. }
  98. }
  99. </script>
  100. <style scoped lang="scss">
  101. .boss-item{
  102. background-color: #fff;
  103. border-radius: 20rpx;
  104. .head {
  105. display: flex;
  106. align-items: center;
  107. position: relative;
  108. padding: 20rpx;
  109. image {
  110. width: 100%;
  111. height: 100%;
  112. }
  113. .headImage {
  114. width: 80rpx;
  115. height: 80rpx;
  116. background-size: 100% 100%;
  117. overflow: hidden;
  118. border-radius: 50%;
  119. margin-right: 40rpx;
  120. }
  121. .info {
  122. font-size: 28rpx;
  123. .name {
  124. font-size: 32rpx;
  125. display: flex;
  126. padding-bottom: 10rpx;
  127. view {
  128. display: flex;
  129. font-size: 24rpx;
  130. align-items: center;
  131. margin-left: 20rpx;
  132. background: rgba($uni-color, 0.2);
  133. color: $uni-color;
  134. padding: 10rpx;
  135. border-radius: 10rpx;
  136. }
  137. }
  138. .tips {
  139. font-size: 24rpx;
  140. }
  141. }
  142. .right{
  143. margin-left: auto;
  144. font-size: 24rpx;
  145. .price{
  146. color: $uni-color;
  147. }
  148. }
  149. }
  150. .bottom{
  151. display: flex;
  152. justify-content: space-between;
  153. align-items: flex-end;
  154. font-size: 24rpx;
  155. padding: 20rpx;
  156. padding-top: 0;
  157. .time{
  158. color: #999999;
  159. }
  160. .phone{
  161. background-color: rgba($uni-color, 0.2);
  162. color: $uni-color;
  163. padding: 8rpx 16rpx;
  164. border-radius: 10rpx;
  165. image{
  166. width: 20rpx;
  167. height: 20rpx;
  168. }
  169. }
  170. }
  171. }
  172. </style>