调整样式

This commit is contained in:
zyy 2020-08-03 09:53:34 +08:00
parent f8c542354c
commit b1fb2a12dc
7 changed files with 18 additions and 33 deletions

View File

@ -184,12 +184,12 @@ const training = {
state.initTime += 1000;
}, 1000);
},
stopCountTime: (state) => {
if (state.timeInterval) {
clearInterval(state.timeInterval);
state.timeInterval = null;
}
},
// stopCountTime: (state) => {
// if (state.timeInterval) {
// clearInterval(state.timeInterval);
// state.timeInterval = null;
// }
// },
setOperate: (state, operate) => {
state.operate = operate;
},
@ -357,9 +357,9 @@ const training = {
/**
* 停止计时
*/
setStopCountTime: ({ commit }) => {
// commit('stopCountTime');
},
// setStopCountTime: ({ commit }) => {
// commit('stopCountTime');
// },
/**
* 主动判断是否结束
@ -402,8 +402,8 @@ const training = {
// commit('countUsedTime');
}
},
// 开始计时
countUsedTime({ commit }) {
// 开始计时
commit('countUsedTime');
},

View File

@ -350,7 +350,7 @@ export default {
align-items: center;
text-align: center;
justify-content: center;
padding: 5px 3px;
padding: 7px 4px;
.el-icon-more{
font-size: 20px;
margin-top: 9px;

View File

@ -596,7 +596,7 @@ export default {
align-items: center;
text-align: center;
justify-content: center;
padding: 5px 3px;
padding: 7px 4px;
.el-icon-more{
font-size: 20px;
margin-top: 9px;

View File

@ -169,6 +169,7 @@ export default {
startTrainingNew(this.trainingObj, this.group).then(response => {
this.$store.dispatch('map/clearJlmapTrainView').then(() => {
this.$store.dispatch('training/teachModeStart');
this.$store.dispatch('training/countUsedTime'); //
this.$store.dispatch('training/setMapDefaultState').then(() => {
this.$store.dispatch('training/emitTipFresh');
this.tipInfo({ color: 'green', message: this.$t('global.pleaseOpearte') });

View File

@ -145,29 +145,20 @@ export default {
}
}
.menuTrainListBtn{
width: 20px;
height: 40px;
background: #fff;
text-align: center;
border-radius: 6px 0px 0px 6px;
position: absolute;
top: 45%;
z-index: 2;
transform: translateX(-20px);
transform: translateX(-23px);
cursor: pointer;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
justify-content: center;
padding: 5px 3px;
.el-icon-more{
font-size: 20px;
margin-top: 9px;
transform-origin: 50% 50%;
transform: rotate(90deg);
margin-left:0px;
}
padding: 7px 4px;
}
.menuTrainList_box{
height: 100%;

View File

@ -700,7 +700,7 @@ export default {
align-items: center;
text-align: center;
justify-content: center;
padding: 5px 3px;
padding: 7px 4px;
.el-icon-more{
font-size: 20px;
margin-top: 9px;

View File

@ -140,21 +140,14 @@ export default {
position: absolute;
top: 45%;
z-index: 2;
transform: translateX(-20px);
transform: translateX(-23px);
cursor: pointer;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
justify-content: center;
padding: 5px 3px;
.el-icon-more{
font-size: 20px;
margin-top: 9px;
transform-origin: 50% 50%;
transform: rotate(90deg);
margin-left:0px;
}
padding: 7px 4px;
}
.menuTrainList_box{
height: 100%;