Commit a726c4df by wangyui2025

Merge branch 'wangrui' into '20210819'

add

See merge request vue-project/liangXing/frontEnd!23
parents 8e646652 00d16317
...@@ -67,9 +67,12 @@ ...@@ -67,9 +67,12 @@
<popup-frame <popup-frame
:visible.sync="showVisible" :visible.sync="showVisible"
@beforeClose="beforeCloses" @beforeClose="beforeCloses"
class="topic-frame"
> >
<div class="img"> <div class="img">
<img src="../../../static/images/index/supply-demand2.jpg" alt=""> <img src="../../../static/images/index/supply-demand1.jpg" alt="" v-show="topicShow">
<img src="../../../static/images/index/supply-demand2.jpg" alt="" v-show="!topicShow">
<div class="button" @click="topicChange"></div>
</div> </div>
</popup-frame> </popup-frame>
<div class="right-bottom"> <div class="right-bottom">
...@@ -287,6 +290,7 @@ export default { ...@@ -287,6 +290,7 @@ export default {
} }
], ],
topicShow: true,
// 活动开展 // 活动开展
activeConfig: {}, activeConfig: {},
activeList: [ activeList: [
...@@ -683,7 +687,11 @@ export default { ...@@ -683,7 +687,11 @@ export default {
beforeCloses (flag) { beforeCloses (flag) {
this.showVisible = flag this.showVisible = flag
this.activeShow = flag this.activeShow = flag
},
topicChange () {
this.topicShow = !this.topicShow
} }
} }
} }
</script> </script>
...@@ -995,5 +1003,21 @@ export default { ...@@ -995,5 +1003,21 @@ export default {
} }
} }
} }
.topic-frame{
width: 100%;
height: 100%;
.img{
position: relative;
width: 100%;
height: 100%;
.button{
width: 50px;
height: 100px;
position: absolute;
top: 40%;
right: 10px;
}
}
}
} }
</style> </style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment