diff --git a/app/index/controller/AboutUs.php b/app/index/controller/AboutUs.php index 0a567d7d..69adbb48 100644 --- a/app/index/controller/AboutUs.php +++ b/app/index/controller/AboutUs.php @@ -63,7 +63,8 @@ class AboutUs extends Common // 获取品牌故事banner $banners = SysBannerItemModel::hasWhere('banner', [ 'language_id' => $this->lang_id, - 'unique_label' => 'BANNER_67ff632a5f7aa' + 'unique_label' => 'BANNER_67ff632a5f7aa', + 'at_platform' => request()->from, ]) ->type('image') ->enabled(true) @@ -126,6 +127,7 @@ class AboutUs extends Common ->where('status', '=', 1) ->order(['sort' => 'asc', 'id' => 'desc']); }]) + ->atPlatform(request()->from) ->uniqueLabel([ "BANNER_68075a636e648", "BANNER_68075bf4dd0f5", @@ -159,6 +161,7 @@ class AboutUs extends Common ->where('status', '=', 1) ->order(['sort' => 'asc', 'id' => 'desc']); }]) + ->atPlatform(request()->from) ->uniqueLabel([ "BANNER_6806f5f19c3d6", "BANNER_6806f609b9fe9", diff --git a/app/index/view/mobile/about_us/story.html b/app/index/view/mobile/about_us/story.html new file mode 100644 index 00000000..506c801f --- /dev/null +++ b/app/index/view/mobile/about_us/story.html @@ -0,0 +1,32 @@ +{extend name="public/base" /} +{block name="style"} + +{/block} +{block name="main"} +
+ +
+
+ +
+ {notempty name="banners"} +
+ {volist name="banners" id="ba" offset="0" length="2"} +
{$ba.title}
+
{$ba.desc|raw}
+
+ +
+ {/volist} + {volist name="banners" id="ba" offset="2" length="3"} +
+ +
+
{$ba.title}
+
{$ba.desc|raw}
+ {/volist} +
+ {/notempty} +
+
+{/block} \ No newline at end of file diff --git a/public/static/index/mobile/css/aboutus_story.css b/public/static/index/mobile/css/aboutus_story.css new file mode 100644 index 00000000..aed6a043 --- /dev/null +++ b/public/static/index/mobile/css/aboutus_story.css @@ -0,0 +1,16 @@ +.oricoEGapp { + background: #fff; +} + +.oricoEGapp .oricoEGapp-brand { + background: #fff; + position: relative; +} + +.oricoEGapp .oricoEGapp-brand .video-right img { + margin-top: 3.3rem; +} + +.oricoEGapp .oricoEGapp-brand .text-center img { + margin: 0 auto; +} \ No newline at end of file diff --git a/public/static/index/mobile/images/brand-banner.webp b/public/static/index/mobile/images/brand-banner.webp new file mode 100644 index 00000000..20af36b7 Binary files /dev/null and b/public/static/index/mobile/images/brand-banner.webp differ