|
|
@@ -1,22 +1,122 @@ |
|
|
|
<template> |
|
|
|
<view> |
|
|
|
122 |
|
|
|
</view> |
|
|
|
</template> |
|
|
|
|
|
|
|
<script> |
|
|
|
export default { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|
|
|
|
|
<style> |
|
|
|
|
|
|
|
<template>
|
|
|
|
<view class="dailyDetail">
|
|
|
|
<view class="title">
|
|
|
|
<view class="text">
|
|
|
|
<text class="h1">01月27日接待指标概览数据报告</text>
|
|
|
|
<text class="h4">生成时间:2022-01-27 01:22</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<view class="donutChart"> |
|
|
|
<qiun-data-charts |
|
|
|
:key="000" |
|
|
|
type="ring" |
|
|
|
:chartData="chartData" |
|
|
|
:canvas2d="true" |
|
|
|
:canvasId='wangxiaohuahahahahaha000' |
|
|
|
:opts='opts' |
|
|
|
background="#FFFFFF"/>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
chartData: {
|
|
|
|
series: [{
|
|
|
|
data: [{
|
|
|
|
"name": "明显下跌",
|
|
|
|
"value": 9
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "明显上涨",
|
|
|
|
"value": 8
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "稳定",
|
|
|
|
"value": 8
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
],
|
|
|
|
}, |
|
|
|
opts:{ |
|
|
|
"legend":{ |
|
|
|
"show": false, |
|
|
|
}, |
|
|
|
"title": { |
|
|
|
"name": "总共", |
|
|
|
"fontSize": 18, |
|
|
|
"color": "#666666" |
|
|
|
}, |
|
|
|
"subtitle":{ |
|
|
|
"name": "9个", |
|
|
|
"fontSize": 14, |
|
|
|
}, |
|
|
|
"extra": { |
|
|
|
"title": { |
|
|
|
"name": "总共", |
|
|
|
}, |
|
|
|
"ring": { |
|
|
|
"ringWidth":50, |
|
|
|
"centerColor": "#FFFFFF", |
|
|
|
"activeOpacity": 0.5, |
|
|
|
"activeRadius": 10, |
|
|
|
"offsetAngle": 0, |
|
|
|
"customRadius": 0, |
|
|
|
"labelWidth": 12, |
|
|
|
"border": false, |
|
|
|
"borderWidth": 3, |
|
|
|
"borderColor": "#FFFFFF", |
|
|
|
"linearType": "none", |
|
|
|
}, |
|
|
|
} |
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
.dailyDetail {
|
|
|
|
background: #F3F3F3;
|
|
|
|
// position: relative;
|
|
|
|
|
|
|
|
.title {
|
|
|
|
// position: fixed;
|
|
|
|
top: 0; |
|
|
|
padding: 26rpx 0 0;
|
|
|
|
width: 100%;
|
|
|
|
height: 300rpx;
|
|
|
|
background-color: #008EF2;
|
|
|
|
|
|
|
|
text {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
color: #FFFFFF;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h1 {
|
|
|
|
font-size: 40rpx;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.h4 {
|
|
|
|
font-size: 30rpx;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.donutChart {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style> |