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

71 lines
1.1 KiB

4 months ago
  1. <template>
  2. <view class="projectContent"
  3. @click="$emit('click')">
  4. <image src="/static/image/contract/contract.png" mode="aspectFill" />
  5. <view class="info">
  6. <view class="projectName">
  7. {{ item.title }}
  8. </view>
  9. <view class="text"
  10. v-if="item.updateTime">
  11. 修改时间{{ item.updateTime }}
  12. </view>
  13. <view class="text">
  14. 创建时间{{ item.createTime }}
  15. </view>
  16. </view>
  17. </view>
  18. </template>
  19. <script>
  20. export default {
  21. props : ['item'],
  22. data() {
  23. return {
  24. }
  25. },
  26. methods: {
  27. }
  28. }
  29. </script>
  30. <style scoped lang="scss">
  31. .projectContent {
  32. background-color: #fff;
  33. display: flex;
  34. image {
  35. width: 140rpx;
  36. height: 120rpx;
  37. margin: 20rpx;
  38. }
  39. .info {
  40. margin: 28rpx 10rpx;
  41. flex-direction: column;
  42. display: flex;
  43. gap: 10rpx;
  44. .projectName {
  45. font-size: 32rpx;
  46. }
  47. .text {
  48. font-size: 24rpx;
  49. }
  50. }
  51. .run {
  52. margin: auto;
  53. margin-right: 30rpx;
  54. height: 60rpx;
  55. width: 60rpx;
  56. border-radius: 50%;
  57. border: 1px solid $uni-color;
  58. display: flex;
  59. justify-content: center;
  60. align-items: center;
  61. }
  62. }
  63. </style>