|
@@ -14,7 +14,7 @@
|
|
|
</div>
|
|
|
<div class="studyWrap">
|
|
|
<div class="border">
|
|
|
- <img :src="imgList.boxtitle1" width="100%" alt style="" />
|
|
|
+ <img :src="imgList.boxtitle1" width="100%" alt style />
|
|
|
<div class="borderContainer">
|
|
|
<img :src="imgList.logo" class="logo1" alt style="z-index:11;" />
|
|
|
<div class="theoryBox">
|
|
@@ -100,7 +100,7 @@
|
|
|
</div>
|
|
|
<div class="cell">
|
|
|
<img :src="subjectJson['1'].icon" class="icons" alt />
|
|
|
- <p> {{ subjectJson['1'][item.one] }}</p>
|
|
|
+ <p>{{ subjectJson['1'][item.one] }}</p>
|
|
|
</div>
|
|
|
<div style="width:100%">
|
|
|
<p class="title">
|
|
@@ -110,8 +110,7 @@
|
|
|
</div>
|
|
|
<div class="cell">
|
|
|
<img :src="subjectJson['2'].icon" class="icons" alt />
|
|
|
- <p> {{ subjectJson['2'][item.two] }}</p>
|
|
|
-
|
|
|
+ <p>{{ subjectJson['2'][item.two] }}</p>
|
|
|
</div>
|
|
|
<div style="width:100%">
|
|
|
<p class="title">
|
|
@@ -121,8 +120,7 @@
|
|
|
</div>
|
|
|
<div class="cell">
|
|
|
<img :src="subjectJson['3'].icon" class="icons" alt />
|
|
|
- <p> {{ subjectJson['3'][item.three] }}</p>
|
|
|
-
|
|
|
+ <p>{{ subjectJson['3'][item.three] }}</p>
|
|
|
</div>
|
|
|
<div style="width:100%">
|
|
|
<p class="title">
|
|
@@ -133,20 +131,17 @@
|
|
|
<div class="cell">
|
|
|
<img :src="subjectJson['4'].icon" class="icons" alt />
|
|
|
<p>{{ subjectJson['4'][item.four] }}</p>
|
|
|
-
|
|
|
</div>
|
|
|
|
|
|
<div style="width:100%" v-if="subjectJson['5']">
|
|
|
<p class="title">
|
|
|
<img :src="imgList.squrt" class="squrt" alt />
|
|
|
-
|
|
|
{{ subjectJson['5'].title}}
|
|
|
</p>
|
|
|
</div>
|
|
|
<div class="cell" v-if="subjectJson['5']">
|
|
|
<img :src="subjectJson['5'].icon" class="icons" alt />
|
|
|
<p>{{ subjectJson['5'][item.five] }}</p>
|
|
|
-
|
|
|
</div>
|
|
|
|
|
|
<div style="width:100%" v-if="item.six">
|
|
@@ -158,7 +153,6 @@
|
|
|
<div class="cell" v-if="item.six">
|
|
|
<img :src="subjectJson['6'].icon" class="icons" alt />
|
|
|
<p>{{ subjectJson['6'][item.six] }}</p>
|
|
|
-
|
|
|
</div>
|
|
|
|
|
|
<div style="width:100%" v-if="item.seven">
|
|
@@ -169,8 +163,7 @@
|
|
|
</div>
|
|
|
<div class="cell" v-if="item.seven">
|
|
|
<img :src="subjectJson['7'].icon" class="icons" alt />
|
|
|
- <p> {{ subjectJson['7'][item.seven] }}</p>
|
|
|
-
|
|
|
+ <p>{{ subjectJson['7'][item.seven] }}</p>
|
|
|
</div>
|
|
|
|
|
|
<div style="width:100%" v-if="item.eight">
|
|
@@ -182,7 +175,6 @@
|
|
|
<div class="cell" v-if="item.eight">
|
|
|
<img :src="subjectJson['8'].icon" class="icons" alt />
|
|
|
<p>{{ subjectJson['8'][item.eight] }}</p>
|
|
|
-
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -315,7 +307,6 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
setIcon(object, str, index) {
|
|
|
-
|
|
|
let some = {
|
|
|
one: 1,
|
|
|
two: 2,
|
|
@@ -326,30 +317,29 @@ export default {
|
|
|
seven: 7,
|
|
|
eight: 8
|
|
|
};
|
|
|
- if(object[some[index]]){
|
|
|
+ if (object[some[index]]) {
|
|
|
switch (str) {
|
|
|
- case 1: {
|
|
|
- object[some[index]].icon = this.imgList.excellent;
|
|
|
- break;
|
|
|
- }
|
|
|
- case 2: {
|
|
|
- // console.log( object[some[index]].icon)
|
|
|
- object[some[index]].icon = this.imgList.good;
|
|
|
- break;
|
|
|
+ case 1: {
|
|
|
+ object[some[index]].icon = this.imgList.excellent;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 2: {
|
|
|
+ // console.log( object[some[index]].icon)
|
|
|
+ object[some[index]].icon = this.imgList.good;
|
|
|
+ break;
|
|
|
+ }
|
|
|
+ case 3: {
|
|
|
+ // console.log( object[some[index]].icon)
|
|
|
+ object[some[index]].icon = this.imgList.normal;
|
|
|
+ break;
|
|
|
+ }
|
|
|
}
|
|
|
- case 3: {
|
|
|
- // console.log( object[some[index]].icon)
|
|
|
- object[some[index]].icon = this.imgList.normal;
|
|
|
- break;
|
|
|
+ if (index == "seven" || index == "six") {
|
|
|
+ object[some[index]].icon == this.imgList.good
|
|
|
+ ? (object[some[index]].icon = this.imgList.normal)
|
|
|
+ : object[some[index]].icon;
|
|
|
}
|
|
|
}
|
|
|
- if (index == "seven" || index == "six") {
|
|
|
- object[some[index]].icon == this.imgList.good
|
|
|
- ? (object[some[index]].icon = this.imgList.normal)
|
|
|
- : object[some[index]].icon;
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
}
|
|
|
}
|
|
|
};
|
|
@@ -453,7 +443,6 @@ div {
|
|
|
height: 0.17rem;
|
|
|
position: relative;
|
|
|
top: -0.02rem;
|
|
|
-
|
|
|
}
|
|
|
.muiscIcon {
|
|
|
width: 0.17rem;
|
|
@@ -640,7 +629,9 @@ div {
|
|
|
font-size: 0.12rem;
|
|
|
|
|
|
border: 1px solid transparent;
|
|
|
- p {width: 1.98rem;}
|
|
|
+ p {
|
|
|
+ width: 1.98rem;
|
|
|
+ }
|
|
|
.icons {
|
|
|
width: 0.22rem;
|
|
|
height: 0.22rem;
|
|
@@ -758,5 +749,16 @@ div {
|
|
|
);
|
|
|
border-radius: 0.25rem;
|
|
|
}
|
|
|
+ /deep/.van-cell {
|
|
|
+ &:not {
|
|
|
+ &:last-child {
|
|
|
+ &::after {
|
|
|
+ border: none !important;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+ //
|
|
|
}
|
|
|
-</style>
|
|
|
+</style>
|
|
|
+
|