Files
yudao-init/src/views/copilot/efficiency/components/ChipRate.vue
‘937886381’ 38665c38bd 修改
2024-06-03 08:23:40 +08:00

58 lines
1.1 KiB
Vue

<!--
* @Author: zhp
* @Date: 2024-05-10 11:10:54
* @LastEditTime: 2024-05-31 16:19:45
* @LastEditors: zhp
* @Description:
-->
<template>
<div class="chip-rate">
<ChipRateItem :period="period" :than="than" :cities="['邯郸', '瑞昌']" :color="1" />
<!-- <ChipRateItem :period="period" :than="than" :cities="['佳木斯', '凯盛光伏', '蚌埠兴科']" :color="2" /> -->
</div>
</template>
<script>
import ChipRateItemVue from "./sub/chip/ChipRateItem.vue";
export default {
name: "ChipRate",
components: { ChipRateItem: ChipRateItemVue },
props: {
period: {
type: String,
default: "日",
},
than: {
type: String,
default: '同比',
}
},
data() {
return {};
},
computed: {},
methods: {},
};
</script>
<style scoped lang="scss">
.chip-rate {
flex: 1;
display: flex;
gap: 5px;
position: relative;
// &:after {
// content: "";
// position: absolute;
// left: 50%;
// top: 0;
// width: 3px;
// height: 100%;
// transform: translateX(-50%);
// background: linear-gradient(to bottom, transparent, #00f2ff, transparent);
// }
}
</style>