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

97 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. export default {
  31. data() {
  32. return {
  33. text1: '免费开放日:2023/08/08 '
  34. }
  35. }
  36. }
  37. </script>
  38. <style lang="scss" scoped>
  39. .flex {
  40. position: relative;
  41. .cover {
  42. width: 204rpx;
  43. height: 140rpx;
  44. border-radius: 8rpx;
  45. overflow: hidden;
  46. }
  47. .textCon {
  48. flex: 1;
  49. padding: 0 0 0 36rpx;
  50. .name {
  51. font-size: 32rpx;
  52. font-weight: 600;
  53. }
  54. .starBox {
  55. padding: 10rpx 0 20rpx 0;
  56. }
  57. .modeCar {
  58. font-size: 24rpx;
  59. color: #686B73;
  60. }
  61. }
  62. .pozPhone {
  63. position: absolute;
  64. top: 50%;
  65. right: 10rpx;
  66. width: 72rpx;
  67. height: 72rpx;
  68. transform: translateY(-50%);
  69. }
  70. }
  71. .redBox {
  72. width: 100%;
  73. display: flex;
  74. background: #FBE8EA;
  75. height: 40rpx;
  76. align-items: center;
  77. margin-top: 34rpx;
  78. overflow: hidden;
  79. .icon {
  80. width: 40rpx;
  81. image {
  82. width: 28rpx;
  83. height: 28rpx;
  84. margin-left: auto;
  85. }
  86. }
  87. .marqueeW {
  88. width: 0;
  89. flex: 1;
  90. }
  91. }
  92. </style>