视频优化

This commit is contained in:
devil_gong 2018-10-19 15:24:37 +08:00
parent 3395a31d1a
commit 8fa194ed06
2 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@
<notempty name="goods.video">
<i class="am-icon-play-circle-o goods-video-submit-start"></i>
<i class="goods-video-submit-close none">&times;</i>
<video class="goods-video-container none" src="{{$goods.video}}" controls>
<video class="goods-video-container none" src="{{$goods.video}}" poster="{{$goods['photo'][0]}}" controls="controls" preload="auto">
your browser does not support the video tag
</video>
</notempty>
@ -65,7 +65,7 @@
<notempty name="goods.video">
<i class="am-icon-play-circle-o goods-video-submit-start"></i>
<i class="goods-video-submit-close none">&times;</i>
<video class="goods-video-container none" src="{{$goods.video}}" controls>
<video class="goods-video-container none" src="{{$goods.video}}" poster="{{$goods['photo'][0]}}" controls="controls" preload="auto">
your browser does not support the video tag
</video>
</notempty>

View File

@ -171,7 +171,7 @@ color: #F5F5F2;font-size: 14px;cursor:pointer;border-radius:0px 0px ;}
.goods-category-s, .goods-category-title { z-index: 100; }
.nav-table{max-width:1000px;margin: 0px auto;height: 45px;position: relative;overflow: hidden;}
.all-goods{font-size: 16px;}
.goods-category-title{background:#d2364c;color:#fff ;height: 40px;line-height: 40px;display:block;position: absolute;width:150px ;text-align: center;font-size:16px ;top:3px;z-index: 6;cursor: pointer;}
.goods-category-title{background:#d2364c;color:#fff ;height: 40px;line-height: 44px;display:block;position: absolute;width:150px ;text-align: center;font-size:16px ;top:3px;z-index: 6;cursor: pointer;}
.nav-cont{position: absolute;padding-left:150px;display:block;width:100% ;top:20px}
.nav-cont li{float: left;height: 40px;line-height: 40px;}
.nav-cont li::before{content: '\20';display: inline-block;height: 16px;border-right: 1px solid #d9d9d9;width: 0;vertical-align: middle;margin-left: -1px;}