update:更新适老化

This commit is contained in:
2021-10-14 16:22:21 +08:00
parent 30892a757e
commit bee04f2c04
14 changed files with 652 additions and 153 deletions

View File

@@ -20,6 +20,8 @@
<script>
import { mgop } from "@aligov/jssdk-mgop";
import { projectSelectChangeStyle } from "@/olderMode/1.js";
import $ from "jquery";
export default {
components: {},
data() {
@@ -32,9 +34,16 @@ export default {
};
},
created() {
if (sessionStorage.getItem("mode") == "older") {
projectSelectChangeStyle();
}
this.onInit();
},
mounted() {},
mounted() {
if (sessionStorage.getItem("mode") == "older") {
$(".container").addClass("old_container");
}
},
methods: {
onInit() {
if (this.$route.params.id) {
@@ -151,4 +160,9 @@ export default {
position: absolute;
bottom: 0px;
}
.old_container {
.el-button {
font-size: 18px;
}
}
</style>