<meta charset="UTF-8">
<script SRC="https://bbs.csdn.net/topics/js/vue.js" & gt; </script>
<script SRC="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js" & gt; </script>
<link rel="stylesheet" href="https://bbs.csdn.net/topics/css/aos.css"/& gt;
<script SRC="https://bbs.csdn.net/topics/js/aos.js" & gt; </script>
<script>
Window. The onl oad=function () {
Let the vm=new Vue ({
El: '# itany',
Data: {
Flag: true,
Flag1: false,
Flag2: false,
Flag3: false
},
Methods: {
Change () {
. This flag=false;
Enclosing flag1=true;
Enclosing flag2=false;
Enclosing flag3=false;
},
Change1 () {
. This flag=true;
Enclosing flag1=false;
Enclosing flag2=false;
Enclosing flag3=false;
},
Change2 () {
. This flag=false;
Enclosing flag1=false;
Enclosing flag2=true;
Enclosing flag3=false;
},
Change3 () {
. This flag=false;
Enclosing flag1=false;
Enclosing flag2=false;
Enclosing flag3=true;
}
}
});
}
</script>
<body>