终端弹窗

This commit is contained in:
zhaotiantian
2023-11-27 18:10:59 +08:00
parent 35b6d2f9d2
commit 773f9067f3
14 changed files with 319 additions and 44 deletions
+11 -4
View File
@@ -2,11 +2,11 @@
<div>
<public-title title="主诉分类"/>
<div class="inner">
<div class="">
<div class="title">
<div class="type-time">
<span :class="selectIndex===index?'select':'unSelect'" v-for="(item,index) in typeTime" :key="index" @click="handleSelect(index)">{{item.name}}</span>
</div>
<div>全部数据</div>
<div class="type-all">全部数据</div>
</div>
<div class="line-chart" ref="chiefChart"></div>
</div>
@@ -47,14 +47,14 @@ function initChart(xData,ydata){
data: xData,
axisLabel: {
color: '#FFFFFF',
fontSize:16,
fontSize:14,
},
},
yAxis: {
type: 'value',
axisLabel: {
color: '#FFFFFF',
fontSize:16,
fontSize:14,
},
splitLine: {
show: true,
@@ -90,6 +90,13 @@ function initChart(xData,ydata){
<style scoped lang="less">
.inner {
height: calc(100% - 40px);
.title{
display: flex;
justify-content: right;
.type-all{
color: #ffffff;
}
}
.line-chart{
margin: 0 auto;
width: 96%;