江西小程序管理端
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.

100 lines
2.0 KiB

1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
10 months ago
1 year ago
  1. <template>
  2. <view class="li" @click="$goPage('/pages/indexEntry/examines/detail/detail')">
  3. <view class="flex">
  4. <view class="cover">
  5. <image :src="item.background" mode=""></image>
  6. </view>
  7. <view class="textCon">
  8. <view class="name oneRowText">{{ item.name }}</view>
  9. <!-- <view class="starBox">
  10. <u-rate active-color="#1989FA" inactive-color="#1989FA" gutter="1" :size="16" :value="item.star" readonly></u-rate>
  11. <view class="num">没有返回字段</view>
  12. </view> -->
  13. <view class="modeCar">准考车型{{item.carType}}</view>
  14. </view>
  15. <callPhone :servicePhone="[item.phone]">
  16. <view class="pozPhone">
  17. <image src="@/static/images/index/telephone.png" mode=""></image>
  18. </view>
  19. </callPhone>
  20. </view>
  21. <view class="redBox"v-if="item.notification&&item.notification.length">
  22. <u-notice-bar :text="item.notification" bgColor="#FBE8EA" color="#C12727" fontSize="12"></u-notice-bar>
  23. </view>
  24. </view>
  25. </template>
  26. <script>
  27. export default {
  28. props: ['item'],
  29. data() {
  30. return {
  31. text1: '免费开放日:2023/08/08 '
  32. }
  33. }
  34. }
  35. </script>
  36. <style lang="scss" scoped>
  37. /deep/.redBox .u-notice__content__text{
  38. line-height: 24rpx !important;
  39. }
  40. .flex {
  41. position: relative;
  42. .cover {
  43. width: 204rpx;
  44. height: 140rpx;
  45. border-radius: 8rpx;
  46. overflow: hidden;
  47. }
  48. .textCon {
  49. flex: 1;
  50. padding: 0 0 0 36rpx;
  51. width: 0;
  52. .name {
  53. font-size: 32rpx;
  54. font-weight: 600;
  55. margin-bottom: 32rpx;
  56. }
  57. .starBox {
  58. padding: 10rpx 0 20rpx 0;
  59. }
  60. .modeCar {
  61. font-size: 24rpx;
  62. color: #686B73;
  63. }
  64. }
  65. .pozPhone {
  66. position: absolute;
  67. bottom: 0rpx;
  68. right: 0rpx;
  69. width: 72rpx;
  70. height: 72rpx;
  71. // transform: translateY(-50%);
  72. }
  73. }
  74. .redBox {
  75. width: 100%;
  76. display: flex;
  77. background: #FBE8EA;
  78. height: 40rpx;
  79. align-items: center;
  80. margin-top: 34rpx;
  81. overflow: hidden;
  82. .icon {
  83. width: 40rpx;
  84. image {
  85. width: 28rpx;
  86. height: 28rpx;
  87. margin-left: auto;
  88. }
  89. }
  90. .marqueeW {
  91. width: 0;
  92. flex: 1;
  93. }
  94. }
  95. </style>