学员端小程序
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.

99 lines
2.0 KiB

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="@/static/images/logo.png" mode=""></image>
  6. </view>
  7. <view class="textCon">
  8. <view class="name">江西海正驾校</view>
  9. <view class="starBox">
  10. <u-rate active-color="#1989FA" inactive-color="#1989FA" gutter="1" :size="16" :value="4" disabled></u-rate>
  11. <view class="num">4.9</view>
  12. </view>
  13. <view class="modeCar">准考车型C1/C2</view>
  14. </view>
  15. <view class="pozPhone">
  16. <image src="@/static/images/index/telephone.png" mode=""></image>
  17. </view>
  18. </view>
  19. <view class="redBox">
  20. <!-- <view class="icon">
  21. <image src="@/static/images/index/ic_tongzhi.png" mode=""></image>
  22. </view> -->
  23. <!-- <view class="marqueeW"> -->
  24. <u-notice-bar :text="'免费开放日免费开放日免费开放日免费开放日2023/08/08'" bgColor="#FBE8EA" color="#C12727" fontSize="12"></u-notice-bar>
  25. <!-- </view> -->
  26. </view>
  27. </view>
  28. </template>
  29. <script>
  30. import marquee from './marquee'
  31. export default {
  32. components: { marquee },
  33. data() {
  34. return {
  35. text1: '免费开放日:2023/08/08 '
  36. }
  37. }
  38. }
  39. </script>
  40. <style lang="scss" scoped>
  41. .flex {
  42. position: relative;
  43. .cover {
  44. width: 204rpx;
  45. height: 140rpx;
  46. border-radius: 8rpx;
  47. overflow: hidden;
  48. }
  49. .textCon {
  50. flex: 1;
  51. padding: 0 0 0 36rpx;
  52. .name {
  53. font-size: 32rpx;
  54. font-weight: 600;
  55. }
  56. .starBox {
  57. padding: 10rpx 0 20rpx 0;
  58. }
  59. .modeCar {
  60. font-size: 24rpx;
  61. color: #686B73;
  62. }
  63. }
  64. .pozPhone {
  65. position: absolute;
  66. top: 50%;
  67. right: 40rpx;
  68. width: 72rpx;
  69. height: 72rpx;
  70. transform: translateY(-50%);
  71. }
  72. }
  73. .redBox {
  74. width: 100%;
  75. display: flex;
  76. background: #FBE8EA;
  77. height: 40rpx;
  78. align-items: center;
  79. margin-top: 34rpx;
  80. overflow: hidden;
  81. .icon {
  82. width: 40rpx;
  83. image {
  84. width: 28rpx;
  85. height: 28rpx;
  86. margin-left: auto;
  87. }
  88. }
  89. .marqueeW {
  90. width: 0;
  91. flex: 1;
  92. }
  93. }
  94. </style>