edit-sylive
This commit is contained in:
@@ -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,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user