弹出窗口的逻辑处理

This commit is contained in:
daihh
2022-10-21 11:32:41 +08:00
parent d9f63f3fff
commit 29da8d6b54
3 changed files with 126 additions and 56 deletions

View File

@@ -3,6 +3,7 @@
:close-on-click-modal="false"
:visible.sync="guideCollection"
:append-to-body="true"
@closed="closeDlg"
top="90px"
:width="clientWidth">
<div class="gui-box">
@@ -36,10 +37,10 @@
import { swiper, swiperSlide } from 'vue-awesome-swiper';
export default {
props:{
show:{
type:Boolean,
default:false
}
// show:{
// type:Boolean,
// default:false
// }
},
data(){
return {
@@ -96,15 +97,18 @@
// }
// });
//只是在显示时才调用
this.getlist();
},
mounted() {
this.getlist();
},
methods:{
show(){
this.guideCollection=true;
},
closeDlg(){
this.$emit('close');
},
goHome() {
this.$router.push('/index')
},