Commit 6a6b3892 by 李伟康

提交

1 parent 730979ab
...@@ -518,23 +518,28 @@ ...@@ -518,23 +518,28 @@
.model { .model {
position: fixed; position: fixed;
left: 0;
right: 0;
top: 0; top: 0;
right: 0; right: 0;
background: rgba(0, 0, 0, 0.5); bottom: 0;
width: 100%; left: 0;
height: 100%;
z-index: 999999; z-index: 999999;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
&-bg{
position: absolute;
left: 0;
top: 0;
z-index: -1;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.5);
}
} }
.poster { .poster {
width: 540rpx; width: 540rpx;
height: 860rpx; height: 924rpx;
border-radius: 8rpx;
animation: show-box-inset .5s forwards; animation: show-box-inset .5s forwards;
} }
......
...@@ -209,7 +209,8 @@ ...@@ -209,7 +209,8 @@
</block> </block>
</block> </block>
<block wx:if="{{showPoster && posterUrl}}"> <block wx:if="{{showPoster && posterUrl}}">
<view class="model" catchtouchmove="noScroll" bindtap="hidden"> <view class="model" catchtouchmove="noScroll" >
<view class="model-bg" bindtap="hidden"></view>
<view class="poster" bindlongpress='save'> <view class="poster" bindlongpress='save'>
<image webp src="{{posterUrl}}"></image> <image webp src="{{posterUrl}}"></image>
</view> </view>
......
...@@ -123,7 +123,7 @@ Component({ ...@@ -123,7 +123,7 @@ Component({
else this.setBanner() else this.setBanner()
}, },
async setBanner() { async setBanner() {
const v = await systemApi.getImageVersion() const v = await systemApi.getImageVersion() || Date.now()
const { const {
liveInfo, liveInfo,
liveNoticeInfo, liveNoticeInfo,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!