Showing
1 changed file
with
3 additions
and
0 deletions
| ... | @@ -14,6 +14,7 @@ | ... | @@ -14,6 +14,7 @@ |
| 14 | <van-rate | 14 | <van-rate |
| 15 | v-model="rate_value" | 15 | v-model="rate_value" |
| 16 | :count="item.component_props.count" | 16 | :count="item.component_props.count" |
| 17 | + :color="styleColor.baseColor" | ||
| 17 | @change="onChange" | 18 | @change="onChange" |
| 18 | style="padding: 1rem" | 19 | style="padding: 1rem" |
| 19 | /> | 20 | /> |
| ... | @@ -29,6 +30,8 @@ | ... | @@ -29,6 +30,8 @@ |
| 29 | </template> | 30 | </template> |
| 30 | 31 | ||
| 31 | <script setup> | 32 | <script setup> |
| 33 | +import { styleColor } from "@/constant.js"; | ||
| 34 | + | ||
| 32 | const props = defineProps({ | 35 | const props = defineProps({ |
| 33 | item: Object, | 36 | item: Object, |
| 34 | }); | 37 | }); | ... | ... |
-
Please register or login to post a comment