edit-sylive

This commit is contained in:
lccsw
2022-10-10 18:33:26 +08:00
parent 4aa3951f54
commit 3589efbd37
2 changed files with 10 additions and 5 deletions
+8 -3
View File
@@ -197,11 +197,16 @@ class Act extends Wx {
$share_url = http_host_com('home') . "/h5/market/sylive/act?skey=" . $this->myencryption->base64url_encode($share_skey);
$qr_code = '/h5/market/sylive/myqrcode/get?url=' . $share_url;
foreach ($shareImg as $item) {
$img_url = build_qiniu_image_url($item);
$img_info = file_get_contents($img_url.'?imageInfo');
if($img_info){
$img_info = json_decode($img_info,true);
}
$lists[] = [
"img" => build_qiniu_image_url($item),
"img" => $img_url,
"code" => $qr_code,
'width' => 750,
'height' => 1130,
'width' => $img_info['width'] ? $img_info['width'] : 750,
'height' => $img_info['height'] ? $img_info['height'] : 1130,
];
}
}
+2 -2
View File
@@ -18,8 +18,8 @@
<a class="block absolute top-0 bottom-0 left-0 right-0 z-index-4" :href="info.live_url"></a>
<div id="player" class="relative z-index-0 player pt30 pb30"></div>
</div>
-->
<div class="mt10 ml25 pl30 pr30 font-22 line-height-17 color-666" v-html="info.content"></div>
-->
</div>
<div class="fixed left-0 bottom-0 right-0 inner30 bg-fff z-index-4" >
<template v-if="info.live_status<2">
@@ -281,4 +281,4 @@
});
</script>
</body>
</body>