buddhism/pages/pieChart/pieChart.vue

44 lines
685 B
Vue
Raw Normal View History

2025-08-30 17:15:04 +08:00
<template>
<view class="page">
<circle-progress
:canvas-size="120"
:progress="80"
content="学习进度"
progress-color="#42b983"
></circle-progress>
2025-08-30 17:15:04 +08:00
</view>
</template>
<script>
import CommonEnum from "../../enum/common";
2025-08-30 17:15:04 +08:00
export default {
data() {
return {
CommonEnum,
2025-08-30 17:15:04 +08:00
};
},
onLoad() {
// 页面加载时获取数据
2025-08-30 17:15:04 +08:00
},
methods: {
// 加载页面数据
2025-08-30 17:15:04 +08:00
},
};
</script>
<style lang="scss" scoped>
2025-08-30 17:15:04 +08:00
.page {
background: #ffffff;
2025-08-30 17:15:04 +08:00
}
.header {
width: 100%;
//min-height: 100vh;//可能导致页面留白
display: flex;
align-items: flex-start;
flex-direction: column;
padding: 0 15rpx 40rpx;
2025-08-30 17:15:04 +08:00
}
</style>