|
@@ -17,7 +17,7 @@
|
|
<!-- 页眉 -->
|
|
<!-- 页眉 -->
|
|
<div
|
|
<div
|
|
class="NNPE-title-left"
|
|
class="NNPE-title-left"
|
|
- :style="{ fontSize: baseSizePhone + 4 + 'px' }"
|
|
|
|
|
|
+ :style="{ fontSize: baseSizePhone + 4 + 'px', width: titleWidth }"
|
|
>
|
|
>
|
|
<div
|
|
<div
|
|
v-for="(item, index) in cur.detailList"
|
|
v-for="(item, index) in cur.detailList"
|
|
@@ -178,6 +178,11 @@
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+ <i
|
|
|
|
+ class="el-icon-close go-back-person"
|
|
|
|
+ v-if="enterPage === 'mobilePerson'"
|
|
|
|
+ @click="goBackPerson"
|
|
|
|
+ ></i>
|
|
<div class="operater-classTopic">
|
|
<div class="operater-classTopic">
|
|
<div
|
|
<div
|
|
v-if="isShowTitle && isPhone"
|
|
v-if="isShowTitle && isPhone"
|
|
@@ -2635,7 +2640,9 @@ export default {
|
|
themeColorPhoneIndex: localStorage.getItem("themeColorPhoneIndex")
|
|
themeColorPhoneIndex: localStorage.getItem("themeColorPhoneIndex")
|
|
? localStorage.getItem("themeColorPhoneIndex") * 1
|
|
? localStorage.getItem("themeColorPhoneIndex") * 1
|
|
: 2, // 移动端主题色索引
|
|
: 2, // 移动端主题色索引
|
|
- themeColorPhoneFlag: false
|
|
|
|
|
|
+ themeColorPhoneFlag: false,
|
|
|
|
+ titleWidth: window.innerWidth - 60 + "px",
|
|
|
|
+ enterPage: this.$route.query.enterPage
|
|
};
|
|
};
|
|
},
|
|
},
|
|
computed: {
|
|
computed: {
|
|
@@ -3258,6 +3265,10 @@ export default {
|
|
localStorage.setItem("themeColorPhoneIndex", index);
|
|
localStorage.setItem("themeColorPhoneIndex", index);
|
|
localStorage.setItem("themeColorPhone", color);
|
|
localStorage.setItem("themeColorPhone", color);
|
|
this.$emit("changeThemeColorPhone", color);
|
|
this.$emit("changeThemeColorPhone", color);
|
|
|
|
+ },
|
|
|
|
+ // 返回手机端练习题的个人中心
|
|
|
|
+ goBackPerson() {
|
|
|
|
+ location.href = `/GCLS-Mobile/#/pages/tabbar/person/index`;
|
|
}
|
|
}
|
|
} // 如果页面有keep-alive缓存功能,这个函数会触发
|
|
} // 如果页面有keep-alive缓存功能,这个函数会触发
|
|
};
|
|
};
|
|
@@ -3272,7 +3283,7 @@ export default {
|
|
.NNPE-title {
|
|
.NNPE-title {
|
|
background: #e35454;
|
|
background: #e35454;
|
|
border-radius: 0px 0px 16px 16px;
|
|
border-radius: 0px 0px 16px 16px;
|
|
- padding: 7px 24px 7px 30px;
|
|
|
|
|
|
+ padding: 1px 30px;
|
|
position: relative;
|
|
position: relative;
|
|
height: 64px;
|
|
height: 64px;
|
|
display: flex;
|
|
display: flex;
|
|
@@ -3321,9 +3332,11 @@ export default {
|
|
font-size: 18px;
|
|
font-size: 18px;
|
|
line-height: 18px;
|
|
line-height: 18px;
|
|
align-items: center;
|
|
align-items: center;
|
|
|
|
+ overflow: hidden;
|
|
.NNPE-title-item {
|
|
.NNPE-title-item {
|
|
margin-right: 12px;
|
|
margin-right: 12px;
|
|
width: max-content;
|
|
width: max-content;
|
|
|
|
+ white-space: nowrap;
|
|
}
|
|
}
|
|
.content-con {
|
|
.content-con {
|
|
margin: 4px 0;
|
|
margin: 4px 0;
|
|
@@ -3343,14 +3356,14 @@ export default {
|
|
}
|
|
}
|
|
.NNPE-title-item-en {
|
|
.NNPE-title-item-en {
|
|
font-weight: normal;
|
|
font-weight: normal;
|
|
- line-height: 12px;
|
|
|
|
|
|
+ line-height: 1;
|
|
font-family: "robot";
|
|
font-family: "robot";
|
|
font-size: 12px;
|
|
font-size: 12px;
|
|
margin: 0;
|
|
margin: 0;
|
|
}
|
|
}
|
|
.con-box {
|
|
.con-box {
|
|
display: flex;
|
|
display: flex;
|
|
- flex-flow: wrap;
|
|
|
|
|
|
+ // flex-flow: wrap;
|
|
justify-content: center;
|
|
justify-content: center;
|
|
align-items: flex-end;
|
|
align-items: flex-end;
|
|
.con-item {
|
|
.con-item {
|
|
@@ -3412,7 +3425,7 @@ export default {
|
|
width: 780px;
|
|
width: 780px;
|
|
margin: 24px auto 0 auto;
|
|
margin: 24px auto 0 auto;
|
|
text-align: center;
|
|
text-align: center;
|
|
- padding: 8px 24px;
|
|
|
|
|
|
+ padding: 8px 34px;
|
|
span {
|
|
span {
|
|
font-size: 16px;
|
|
font-size: 16px;
|
|
line-height: 150%;
|
|
line-height: 150%;
|
|
@@ -3852,6 +3865,16 @@ export default {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
+.go-back-person {
|
|
|
|
+ position: fixed;
|
|
|
|
+ top: 18px;
|
|
|
|
+ right: 0;
|
|
|
|
+ color: #fff;
|
|
|
|
+ font-weight: bold;
|
|
|
|
+ font-size: 20px;
|
|
|
|
+ z-index: 3;
|
|
|
|
+ padding: 5px;
|
|
|
|
+}
|
|
</style>
|
|
</style>
|
|
<style lang="scss">
|
|
<style lang="scss">
|
|
.NNPE-Book-content-item-checkbox {
|
|
.NNPE-Book-content-item-checkbox {
|