CNCEC_APP/pages/index/board/safe/safeHoursCard.vue

32 lines
677 B
Vue
Raw Normal View History

2026-03-25 14:54:15 +08:00
<template>
<ChartCard margin="0 0 30rpx 0" title="安全工时">
<view class="safe-hours">
<text>9024145</text><text></text>
</view>
</ChartCard>
</template>
<script setup>
import ChartCard from '@/components/chartCard.vue'
</script>
<style lang="scss">
.safe-hours {
padding: 0 40rpx 0 120rpx;
width: 100%;
text-align: left;
overflow: hidden;
>text {
font-weight: 700;
font-size: 52rpx;
background: linear-gradient(180deg, #2573cb, #50c2ff);
-webkit-background-clip: text;
/* 兼容Safari浏览器 */
background-clip: text;
color: transparent;
/* 文字透明,显示背景渐变 */
letter-spacing: 10rpx;
}
}
</style>