fix:解决直播图片跨域问题

pull/8/head
kele 2023-04-06 13:52:25 +08:00
parent e7c6c55786
commit 0fc832990c
2 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,6 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="referrer" content="never" />
<meta <meta
name="viewport" name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"

View File

@ -6,7 +6,7 @@
<image class="icon" :src="state.liveStatus[data.status].img"></image> <image class="icon" :src="state.liveStatus[data.status].img"></image>
<view class="title ss-m-l-16">{{ state.liveStatus[data.status].title }}</view> <view class="title ss-m-l-16">{{ state.liveStatus[data.status].title }}</view>
</view> </view>
<image class="md-img-box" :src="sheep.$url.cdn(data.feeds_img)" mode="aspectFill"></image> <img class="md-img-box" :src="sheep.$url.cdn(data.feeds_img)" referrerpolicy="no-referrer">
<view class="md-goods-content"> <view class="md-goods-content">
<view class="md-goods-title ss-line-1" :style="[{ color: titleColor }]"> <view class="md-goods-title ss-line-1" :style="[{ color: titleColor }]">
{{ data.name }} {{ data.name }}
@ -22,7 +22,7 @@
<image class="icon" :src="state.liveStatus[data.status].img"></image> <image class="icon" :src="state.liveStatus[data.status].img"></image>
<view class="title ss-m-l-16">{{ state.liveStatus[data.status].title }}</view> <view class="title ss-m-l-16">{{ state.liveStatus[data.status].title }}</view>
</view> </view>
<image class="sl-img-box" :src="sheep.$url.cdn(data.feeds_img)" mode="aspectFill"></image> <img class="sl-img-box" :src="sheep.$url.cdn(data.feeds_img)" referrerpolicy="no-referrer">
<view class="sl-goods-content"> <view class="sl-goods-content">
<view class="sl-goods-title ss-line-1" :style="[{ color: titleColor }]"> <view class="sl-goods-title ss-line-1" :style="[{ color: titleColor }]">
{{ data.name }} {{ data.name }}
@ -164,6 +164,7 @@
.md-img-box { .md-img-box {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover;
} }
.md-goods-title { .md-goods-title {
@ -216,6 +217,7 @@
.sl-img-box { .sl-img-box {
width: 100%; width: 100%;
height: 100%; height: 100%;
object-fit: cover;
} }
.sl-goods-title { .sl-goods-title {