|
@@ -121,13 +121,7 @@
|
|
|
<div class="zhBlockCon2">
|
|
|
<div>
|
|
|
<span v-for="(i,index) in subject" :key="index">{{ i }}</span>
|
|
|
-
|
|
|
</div>
|
|
|
- <!-- <span>语文</span>
|
|
|
- <span>数学</span>
|
|
|
- <span>英语</span>
|
|
|
- <span>化学</span>
|
|
|
- <span>美术</span> -->
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -1129,7 +1123,10 @@ export default {
|
|
|
},
|
|
|
xAxis: {
|
|
|
type: "category",
|
|
|
- data: this.stageList.map(item => item)
|
|
|
+ data: this.stageList.map(item => item),
|
|
|
+ axisTick: {
|
|
|
+ alignWithLabel: true // 使刻度线和标签对齐
|
|
|
+ }
|
|
|
},
|
|
|
yAxis: {
|
|
|
type: "value",
|
|
@@ -1166,7 +1163,10 @@ export default {
|
|
|
},
|
|
|
xAxis: {
|
|
|
type: "category",
|
|
|
- data: this.stageList.map(item => item)
|
|
|
+ data: this.stageList.map(item => item),
|
|
|
+ axisTick: {
|
|
|
+ alignWithLabel: true // 使刻度线和标签对齐
|
|
|
+ }
|
|
|
},
|
|
|
yAxis: {
|
|
|
type: "value",
|
|
@@ -1245,7 +1245,10 @@ export default {
|
|
|
},
|
|
|
xAxis: {
|
|
|
type: "category",
|
|
|
- data: this.stageList.map(item => item)
|
|
|
+ data: this.stageList.map(item => item),
|
|
|
+ axisTick: {
|
|
|
+ alignWithLabel: true // 使刻度线和标签对齐
|
|
|
+ }
|
|
|
},
|
|
|
yAxis: {
|
|
|
type: "value",
|
|
@@ -1282,7 +1285,10 @@ export default {
|
|
|
},
|
|
|
xAxis: {
|
|
|
type: "category",
|
|
|
- data: this.stageList.map(item => item)
|
|
|
+ data: this.stageList.map(item => item),
|
|
|
+ axisTick: {
|
|
|
+ alignWithLabel: true // 使刻度线和标签对齐
|
|
|
+ }
|
|
|
},
|
|
|
yAxis: {
|
|
|
type: "value",
|
|
@@ -1319,7 +1325,10 @@ export default {
|
|
|
},
|
|
|
xAxis: {
|
|
|
type: "category",
|
|
|
- data: this.stageList.map(item => item)
|
|
|
+ data: this.stageList.map(item => item),
|
|
|
+ axisTick: {
|
|
|
+ alignWithLabel: true // 使刻度线和标签对齐
|
|
|
+ }
|
|
|
},
|
|
|
yAxis: {
|
|
|
type: "value",
|
|
@@ -1537,18 +1546,11 @@ export default {
|
|
|
flex-direction: column;
|
|
|
justify-content: space-between;
|
|
|
/* flex-wrap: wrap; */
|
|
|
+ flex: 1;
|
|
|
overflow: hidden;
|
|
|
}
|
|
|
.zhBlockCon2 > div {
|
|
|
- /* font-size: 8px;
|
|
|
- font-weight: 400;
|
|
|
- color: rgba(0, 0, 0, 0.9);
|
|
|
- background-color: rgba(243, 247, 253, 1);
|
|
|
- border-radius: 2px;
|
|
|
- padding: 1px 4px;
|
|
|
- box-sizing: border-box;
|
|
|
- margin-right: 4px;
|
|
|
- margin-bottom: 2px; */
|
|
|
+
|
|
|
display: flex;
|
|
|
flex-wrap: wrap;
|
|
|
|
|
@@ -1560,7 +1562,9 @@ export default {
|
|
|
color: rgba(0, 0, 0, 0.9);
|
|
|
background-color: rgba(243, 247, 253, 1);
|
|
|
border-radius: 2px;
|
|
|
- padding: 1px 4px;
|
|
|
+ padding: 0px 4px;
|
|
|
+ height: 15px;
|
|
|
+ line-height: 15px;
|
|
|
box-sizing: border-box;
|
|
|
margin-right: 4px;
|
|
|
margin-bottom: 2px;
|
|
@@ -1568,6 +1572,7 @@ export default {
|
|
|
.zxt {
|
|
|
height: 300px;
|
|
|
width: 100%;
|
|
|
+ border: 1px solid #ccc;
|
|
|
margin: 10px 0;
|
|
|
background-color: rgba(255, 255, 255, 1);
|
|
|
padding: 10px 0;
|