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.
|
|
<template> <view class="li" @click="$goPage('/pages/indexEntry/examines/detail/detail')"> <view class="flex"> <view class="cover"> <image src="@/static/images/logo.png" mode=""></image> </view> <view class="textCon"> <view class="name">江西海正驾校</view> <view class="starBox"> <u-rate active-color="#1989FA" inactive-color="#1989FA" gutter="1" :size="16" :value="4" disabled></u-rate> <view class="num">4.9分</view> </view> <view class="modeCar">准考车型:C1/C2</view> </view> <view class="pozPhone"> <image src="@/static/images/index/telephone.png" mode=""></image> </view> </view> <view class="redBox"> <!-- <view class="icon"> <image src="@/static/images/index/ic_tongzhi.png" mode=""></image> </view> --> <!-- <view class="marqueeW"> --> <u-notice-bar :text="'免费开放日免费开放日免费开放日免费开放日2023/08/08'" bgColor="#FBE8EA" color="#C12727" fontSize="12"></u-notice-bar> <!-- </view> --> </view> </view> </template>
<script> export default { data() { return { text1: '免费开放日:2023/08/08 ' } } } </script>
<style lang="scss" scoped> .flex { position: relative; .cover { width: 204rpx; height: 140rpx; border-radius: 8rpx; overflow: hidden; } .textCon { flex: 1; padding: 0 0 0 36rpx; .name { font-size: 32rpx; font-weight: 600; } .starBox { padding: 10rpx 0 20rpx 0; } .modeCar { font-size: 24rpx; color: #686B73; } } .pozPhone { position: absolute; top: 50%; right: 10rpx; width: 72rpx; height: 72rpx; transform: translateY(-50%); } } .redBox { width: 100%; display: flex; background: #FBE8EA; height: 40rpx; align-items: center; margin-top: 34rpx; overflow: hidden; .icon { width: 40rpx; image { width: 28rpx; height: 28rpx; margin-left: auto; } } .marqueeW { width: 0; flex: 1; } } </style>
|