+ Add cover for screen.

This commit is contained in:
zhujinyong
2022-12-26 08:40:47 +08:00
parent 469702357b
commit f6c4838800
8 changed files with 4 additions and 3 deletions
+2 -2
View File
@@ -14,9 +14,9 @@
<div class='col-md-3' data-id='<?php echo $screenID;?>'>
<a href='<?php echo $viewLink?>' target="_blank" />
<div class='screen'>
<?php if(!empty($file)):?>
<?php if(!empty($screen->cover)):?>
<div class='top img'>
<img src='<?php echo $file->webPath;?>' controls='controls' width='100%'/>
<img src='<?php echo $screen->cover;?>' controls='controls' width='100%'/>
</div>
<?php else:?>
<div class='top img bg<?php echo $i?>'>