|
@@ -268,7 +268,7 @@ JS
|
|
|
if ($show->model()->en_detail && $show->model()->en_detail != '[]') {
|
|
|
$show->field('en_detail')->as(function ($images) {
|
|
|
$images = json_decode($images);
|
|
|
- $html = '<div style="text-align: center">';
|
|
|
+ $html = '<div style="text-align: left">';
|
|
|
foreach ($images as $key => $image) {
|
|
|
$url = CommonHelper::albumUrl($image);
|
|
|
$html .= '<img src="' . $url . '" style="width:300px;margin-bottom:10px">';
|
|
@@ -278,18 +278,18 @@ JS
|
|
|
})->unescape();
|
|
|
}
|
|
|
|
|
|
- if ($show->model()->cn_detail && $show->model()->cn_detail != '[]') {
|
|
|
- $show->field('cn_detail')->as(function ($images) {
|
|
|
- $images = json_decode($images);
|
|
|
- $html = '<div style="text-align: center">';
|
|
|
- foreach ($images as $key => $image) {
|
|
|
- $url = CommonHelper::albumUrl($image);
|
|
|
- $html .= '<img src="' . $url . '" style="width:300px;margin-bottom:10px">';
|
|
|
- }
|
|
|
- $html .= '</div>';
|
|
|
- return $html;
|
|
|
- })->unescape();
|
|
|
- }
|
|
|
+// if ($show->model()->cn_detail && $show->model()->cn_detail != '[]') {
|
|
|
+// $show->field('cn_detail')->as(function ($images) {
|
|
|
+// $images = json_decode($images);
|
|
|
+// $html = '<div style="text-align: left">';
|
|
|
+// foreach ($images as $key => $image) {
|
|
|
+// $url = CommonHelper::albumUrl($image);
|
|
|
+// $html .= '<img src="' . $url . '" style="width:300px;margin-bottom:10px">';
|
|
|
+// }
|
|
|
+// $html .= '</div>';
|
|
|
+// return $html;
|
|
|
+// })->unescape();
|
|
|
+// }
|
|
|
|
|
|
if ($show->model()->video && $show->model()->video != '[]') {
|
|
|
$show->field('video')->as(function ($items) {
|