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

102 lines
2.1 KiB

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