This commit is contained in:
DESKTOP-FUDKNA8\znjsz
2024-04-30 16:22:15 +08:00
parent ea63cb5730
commit fdf71145e8
5 changed files with 291 additions and 50 deletions

View File

@@ -7,8 +7,16 @@
<template>
<div class="chip-rate">
<ChipRateItem :cities="['成都', '邯郸', '株洲', '瑞昌']" :color="1" />
<ChipRateItem :cities="['佳木斯', '凯盛光伏', '蚌埠兴科']" :color="2" />
<ChipRateItem
:period="period"
:cities="['成都', '邯郸', '株洲', '瑞昌']"
:color="1"
/>
<ChipRateItem
:period="period"
:cities="['佳木斯', '凯盛光伏', '蚌埠兴科']"
:color="2"
/>
</div>
</template>
@@ -17,7 +25,12 @@ import ChipRateItemVue from "./sub/chip/ChipRateItem.vue";
export default {
name: "ChipRate",
components: { ChipRateItem: ChipRateItemVue },
props: {},
props: {
period: {
type: String,
default: "日",
},
},
data() {
return {};
},