Commit d672f928 authored by 蔡亮华(贵阳日报)'s avatar 蔡亮华(贵阳日报)
parents f9998e60 e4688dd8
<template> <template>
<div class="rating"> <view class="rating">
<div v-for="index in maxStars" :key="index" class="star" :style="{ fontSize: size }"> <view v-for="index in maxStars" :key="index" class="star" :style="{ fontSize: size }">
<div <view
class="filled" class="filled"
:style="{ :style="{
width: getStarWidth(index) + '%', width: getStarWidth(index) + '%',
...@@ -9,10 +9,10 @@ ...@@ -9,10 +9,10 @@
}" }"
> >
</div> </view>
</div> </view>
</div> </view>
</template> </template>
<script> <script>
......
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