feat: mobile联系我们 - 品牌故事页

This commit is contained in:
2025-06-05 15:26:24 +08:00
parent 8451760f1b
commit 33de9b892d
4 changed files with 52 additions and 1 deletions

View File

@@ -63,7 +63,8 @@ class AboutUs extends Common
// 获取品牌故事banner // 获取品牌故事banner
$banners = SysBannerItemModel::hasWhere('banner', [ $banners = SysBannerItemModel::hasWhere('banner', [
'language_id' => $this->lang_id, 'language_id' => $this->lang_id,
'unique_label' => 'BANNER_67ff632a5f7aa' 'unique_label' => 'BANNER_67ff632a5f7aa',
'at_platform' => request()->from,
]) ])
->type('image') ->type('image')
->enabled(true) ->enabled(true)
@@ -126,6 +127,7 @@ class AboutUs extends Common
->where('status', '=', 1) ->where('status', '=', 1)
->order(['sort' => 'asc', 'id' => 'desc']); ->order(['sort' => 'asc', 'id' => 'desc']);
}]) }])
->atPlatform(request()->from)
->uniqueLabel([ ->uniqueLabel([
"BANNER_68075a636e648", "BANNER_68075a636e648",
"BANNER_68075bf4dd0f5", "BANNER_68075bf4dd0f5",
@@ -159,6 +161,7 @@ class AboutUs extends Common
->where('status', '=', 1) ->where('status', '=', 1)
->order(['sort' => 'asc', 'id' => 'desc']); ->order(['sort' => 'asc', 'id' => 'desc']);
}]) }])
->atPlatform(request()->from)
->uniqueLabel([ ->uniqueLabel([
"BANNER_6806f5f19c3d6", "BANNER_6806f5f19c3d6",
"BANNER_6806f609b9fe9", "BANNER_6806f609b9fe9",

View File

@@ -0,0 +1,32 @@
{extend name="public/base" /}
{block name="style"}
<link rel="stylesheet" href="__CSS__/aboutus_story.css" />
{/block}
{block name="main"}
<div class="oricoEGapp">
<!-- 内容-->
<div class="oricoEGapp-brand">
<div class="video-right img-responsive">
<img src="__IMAGES__/brand-banner.webp">
</div>
{notempty name="banners"}
<div class="m_brand">
{volist name="banners" id="ba" offset="0" length="2"}
<div class="brand_title text_left">{$ba.title}</div>
<div class="brand-con text_gray text_left line-height-40 margin-top-40">{$ba.desc|raw}</div>
<div class="img-responsive">
<img src="{$ba.image}">
</div>
{/volist}
{volist name="banners" id="ba" offset="2" length="3"}
<div class="img-responsive text-center margin-4">
<img src="{$ba.image}">
</div>
<div class="vision-title text_center margin-top-50">{$ba.title}</div>
<div class="brand-con text_gray text_center line-height-40 margin-top-40">{$ba.desc|raw}</div>
{/volist}
</div>
{/notempty}
</div>
</div>
{/block}

View File

@@ -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;
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB