hookehuyr

评分组件主题设置

......@@ -14,6 +14,7 @@
<van-rate
v-model="rate_value"
:count="item.component_props.count"
:color="styleColor.baseColor"
@change="onChange"
style="padding: 1rem"
/>
......@@ -29,6 +30,8 @@
</template>
<script setup>
import { styleColor } from "@/constant.js";
const props = defineProps({
item: Object,
});
......