congzc 1 ano atrás
pai
commit
338609225e
4 arquivos alterados com 48 adições e 46 exclusões
  1. +0
    -3
      public/index.html
  2. +5
    -0
      src/mixins/leaveDialog.js
  3. +42
    -42
      src/views/model/editModel.vue
  4. +1
    -1
      src/views/model/videoCreate.vue

+ 0
- 3
public/index.html Ver arquivo

@@ -8,13 +8,10 @@
<meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate"> -->

<meta http-equiv="pragram" content="no-cache">

<meta http-equiv="cache-control" content="no-cache, no-store, must-revalidate">

<meta http-equiv="expires" content="0">



<!-- <meta name="viewport" content="width=device-width,initial-scale=1.0"> -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">



+ 5
- 0
src/mixins/leaveDialog.js Ver arquivo

@@ -29,6 +29,11 @@ export default {
},
beforeRouteLeave(to, from, next) {
console.log(to.path);
if (to.path=='/videoCreate') {
next()
return
}
let that=this
setTimeout(() => {
Dialog.confirm({


+ 42
- 42
src/views/model/editModel.vue Ver arquivo

@@ -1371,7 +1371,7 @@ export default {
// scrollbar-width: none;
// -ms-overflow-style: none;
display: flex;
justify-content: start;
justify-content: flex-start;
align-items: flex-start;
flex-wrap: wrap;
margin-top: 10px;
@@ -1437,47 +1437,47 @@ export default {
height: 16px;
}
}
.list {
font-size: 10px;
width: 100%;
height: 210px;
overflow-y: scroll;
// scrollbar-width: none;
// -ms-overflow-style: none;
display: flex;
justify-content: start;
align-items: flex-start;
flex-wrap: wrap;
margin-top: 10px;
.listItem {
display: flex;
justify-content: space-between;
padding: 12px;
margin-bottom: 10px;
margin-left: 10px;
// width: 170px;
width: 45%;
height: 50px;
overflow: hidden;
background: rgba(186, 186, 189, 0.5);
border-radius: 24px;
color: #fff;
img {
width: 32px;
}
> div {
flex: 1;
margin-left: 12px;
}
}
.active {
background: #7264f5;
}
}
// .list {
// font-size: 10px;
// width: 100%;
// height: 210px;
// overflow-y: scroll;
// // scrollbar-width: none;
// // -ms-overflow-style: none;
// display: flex;
// justify-content: start;
// align-items: flex-start;
// flex-wrap: wrap;
// margin-top: 10px;
// .listItem {
// display: flex;
// justify-content: space-between;
// padding: 12px;
// margin-bottom: 10px;
// margin-left: 10px;
// // width: 170px;
// width: 45%;
// height: 50px;
// overflow: hidden;
// background: rgba(186, 186, 189, 0.5);
// border-radius: 24px;
// color: #fff;
// img {
// width: 32px;
// }
// > div {
// flex: 1;
// margin-left: 12px;
// }
// }
// .active {
// background: #7264f5;
// }
// }
.list::-webkit-scrollbar {
width: 0;
display: none;


+ 1
- 1
src/views/model/videoCreate.vue Ver arquivo

@@ -37,7 +37,7 @@ export default {
data() {
return {
inPage: false,
countdown: 10000,
countdown: 10,
timer: null
};
},


Carregando…
Cancelar
Salvar