Commit b6febf04 by 张立顺

直播背景图片兼容ios

1 parent be7467bc
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
@click="isSmallBox = false" @click="isSmallBox = false"
v-show="isSmallBox"> v-show="isSmallBox">
<img class="icon-small-live" <img class="icon-small-live"
src="@/assets/images/icon-small-live.png" /> src="@/assets/images/icon-small-live.jpg" />
<div class="flex small-content"> <div class="flex small-content">
<!-- <div v-if="LiveStatus[liveDetail.status] == 'live'" class="live-line"> --> <!-- <div v-if="LiveStatus[liveDetail.status] == 'live'" class="live-line"> -->
<div class="live-line"> <div class="live-line">
...@@ -154,7 +154,7 @@ export default { ...@@ -154,7 +154,7 @@ export default {
this.createPlayerCover() this.createPlayerCover()
this.createPlayer() this.createPlayer()
this.play() this.play()
console.log('2222222222', this.liveDetail); // console.log('2222222222', this.liveDetail);
// const _this = this // const _this = this
// if (!this.IsIOS) { // if (!this.IsIOS) {
// this.changeGifStatus() // this.changeGifStatus()
...@@ -291,6 +291,7 @@ export default { ...@@ -291,6 +291,7 @@ export default {
right: 0; right: 0;
z-index: 2; z-index: 2;
// position: relative; // position: relative;
width: 52px; width: 52px;
height: 21px; height: 21px;
font-size: 12px; font-size: 12px;
...@@ -302,6 +303,7 @@ export default { ...@@ -302,6 +303,7 @@ export default {
left: 0; left: 0;
width: 100%; width: 100%;
height: 100%; height: 100%;
border-radius: 10px 0 0 10px;
// object-fit: cover; // object-fit: cover;
} }
.small-content { .small-content {
...@@ -312,6 +314,8 @@ export default { ...@@ -312,6 +314,8 @@ export default {
// padding-left: 5px; // padding-left: 5px;
// padding: ; // padding: ;
justify-content: center; justify-content: center;
// overflow: hidden;
border-radius: 0 0 10px 10px;
// padding: ; // padding: ;
text-align: right; text-align: right;
.text { .text {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!