1

parent f5b79bb6
<template>
<div class="rating">
<div v-for="index in maxStars" :key="index" class="star" :style="{ fontSize: fontSize }">
<div v-for="index in maxStars" :key="index" class="star" :style="{ fontSize: size }">
<div
class="filled"
:style="{
......@@ -29,9 +29,9 @@ export default {
},
color: {
type: String,
default: '#D44118',
default: '#FA5151',
},
fontSize: {
size: {
type: String,
default: '30rpx',
},
......
......@@ -45,15 +45,7 @@
<text class="tj">推荐</text>
</view>
<view class="score-icon">
<!-- <wd-rate
color="#fff"
readonly
v-model="shopInfo.grade"
size="22rpx"
space="8rpx"
:active-color="['#FA5151']"
/> -->
<myRate :score="grade" />
<myRate :score="shopInfo.grade" />
</view>
</view>
<view class="shop-business-hours">
......@@ -180,14 +172,7 @@
<text>{{ item.nickName }}</text>
<view class="u-pf">
<text>{{ item.descriptionMatches }}</text>
<wd-rate
color="#fff"
readonly
v-model="item.descriptionMatches"
size="18rpx"
space="8rpx"
:active-color="['#FA5151']"
/>
<myRate color="#FA5151" :score="item.descriptionMatches" />
</view>
</view>
</view>
......@@ -316,7 +301,6 @@ import {
} from '@/utils/common';
import myRate from '@/Components/Rating/Rating.vue';
const imgUrl = import.meta.env.VITE_APP_IMG_URL;
const grade = ref(1.8);
const current = ref(0);
const old = reactive({ scrollTop: 0 });
const activeId = ref(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment