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"} +
+