update:更新适老化
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user