diff --git a/src/views/newMap/displayNew/LeftSlider.vue b/src/views/newMap/displayNew/LeftSlider.vue
index 0a089e8d6..6343b6f7a 100644
--- a/src/views/newMap/displayNew/LeftSlider.vue
+++ b/src/views/newMap/displayNew/LeftSlider.vue
@@ -10,7 +10,7 @@
{{ $t('display.lesson.fold') }}
-
+
{
+ // document.querySelector('.left-slider').style.height = document.querySelector('.left-slider').offsetHeight - this.offsetBottom + 'px';
+ // });
},
methods: {
initLoadPage() {
@@ -70,10 +79,10 @@ export default {
this.$emit('overallTranslation', flag);
const slider = document.getElementById('leftSlider');
if (flag) {
- slider.setAttribute('style', 'transform: translateX(0)');
+ slider.style.transform = 'translateX(0)';
this.show = false;
} else {
- slider.setAttribute('style', '');
+ slider.style.transform = '';
this.show = true;
}
},
@@ -83,9 +92,9 @@ export default {
this.disabled = true;
trainingNotifyNew({ trainingId: obj.id }).then(resp => {
const query = {
- group: resp.data, trainingId: obj.id, lessonId: this.$route.query.lessonId, mapId: this.$route.query.mapId
+ group: resp.data, trainingId: obj.id, lessonId: this.$route.query.lessonId, mapId: this.$route.query.mapId, lineCode:this.$route.query.lineCode
};
- this.$router.push({ path: `${UrlConfig.displayNew}/teach`, query: query });
+ this.$router.replace({ path: `${UrlConfig.displayNew}/teach`, query: query });
launchFullscreen();
}).catch(error => {
this.$messageBox(`${this.$t('tip.createSimulationFaild')} : ${error.message}`);
@@ -123,7 +132,11 @@ export default {
position: absolute;
left: 400px;
top: 50%;
- color: #fff;
+ background: #fff;
+ color: #000;
+ border-radius: 3px;
+ box-shadow: 3px 1px 5px #000;
+ padding: 3px;
}
.tip-title {
width: 100%;
diff --git a/src/views/newMap/displayNew/index.vue b/src/views/newMap/displayNew/index.vue
index 5811e421e..c22161d1e 100644
--- a/src/views/newMap/displayNew/index.vue
+++ b/src/views/newMap/displayNew/index.vue
@@ -67,7 +67,7 @@
-
+
@@ -584,12 +584,12 @@ export default {
});
},
overallTranslation(flag) {
- const panel = document.getElementById('panel');
+ const panel = document.getElementById('leftSlider');
this.$refs.lessonMenu.handelGroupButtonTranslate(flag);
if (flag) {
- panel.setAttribute('style', 'transform: translateX(400px)');
+ panel.style.transform = 'translateX(400px)';
} else {
- panel.setAttribute('style', '');
+ panel.style.transform = '';
}
},
switchStationMode(val) {
diff --git a/src/views/newMap/displayNew/menuLesson.vue b/src/views/newMap/displayNew/menuLesson.vue
index df4991610..e64f1de7f 100644
--- a/src/views/newMap/displayNew/menuLesson.vue
+++ b/src/views/newMap/displayNew/menuLesson.vue
@@ -16,7 +16,7 @@