Commit 45bc21fe by 李嘉林

优化

parent 0be144bb
...@@ -178,10 +178,13 @@ export default { ...@@ -178,10 +178,13 @@ export default {
height: 100px; height: 100px;
margin-left: 16px; margin-left: 16px;
color: #fff; color: #fff;
font-size: 18px; font-size: 16px;
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: space-between; justify-content: space-between;
.name{
text-align: left;
}
.price{ .price{
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
...@@ -189,7 +192,6 @@ export default { ...@@ -189,7 +192,6 @@ export default {
font-size: 18px; font-size: 18px;
span{ span{
color: #FF0000; color: #FF0000;
text-align: left;
} }
.icon{ .icon{
font-size: 22px; font-size: 22px;
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<img :src="liveNoticeInfo.coverUrl" alt=""> <img :src="liveNoticeInfo.coverUrl" alt="">
</div> </div>
<!-- 直播展示层 --> <!-- 直播展示层 -->
<div class="liveModel"> <div class="liveModel" v-if="liveNoticeInfo.liveBroadcastState>-1">
<!-- 自定义返回按钮 --> <!-- 自定义返回按钮 -->
<div class="customBack flex"> <div class="customBack flex">
<div class="backIcon"> <div class="backIcon">
...@@ -81,6 +81,10 @@ export default { ...@@ -81,6 +81,10 @@ export default {
this.shopLogo=DFSImg(params.shopLogo,40,40); this.shopLogo=DFSImg(params.shopLogo,40,40);
this.init(); this.init();
}, },
onUnload(){
this.liveNoticeInfo.liveBroadcastState=-1;
this.liveNoticeInfo={};
},
mounted() { mounted() {
}, },
......
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