终端弹窗
This commit is contained in:
@@ -68,7 +68,7 @@ function handleSelect(index:number){
|
||||
display: grid;
|
||||
align-items: start;
|
||||
.server-item{
|
||||
font-size: 18px;
|
||||
font-size: 16px;
|
||||
span{
|
||||
display: inline-block;
|
||||
width: 50%;
|
||||
|
||||
@@ -77,12 +77,11 @@ function handleSelect(index:number){
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
span:nth-child(1){
|
||||
font-size: 28px;
|
||||
font-size: 22px;
|
||||
font-weight: bold;
|
||||
}
|
||||
span:nth-child(2){
|
||||
padding-top: 6%;
|
||||
font-size: 22px;
|
||||
font-size: 16px;
|
||||
}
|
||||
}
|
||||
.physical-item:nth-child(1),.physical-item:nth-child(2),.physical-item:nth-child(3){
|
||||
|
||||
@@ -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%;
|
||||
|
||||
Reference in New Issue
Block a user