refactor: 区分联系我们banner的pc与mobile数据

This commit is contained in:
2025-05-27 14:08:01 +08:00
parent d43892b912
commit ee8f5017a5
3 changed files with 2 additions and 1 deletions

View File

@@ -34,6 +34,7 @@ class ContactUs extends Common
->where('status', '=', 1)
->order(['sort' => 'asc', 'id' => 'desc']);
}])
->atPlatform(request()->from)
->uniqueLabel(['BANNER_6805e3d32dcc2', 'BANNER_6806090c1838f'])
->language($this->lang_id)
->enabled(true)

View File

@@ -1,6 +1,6 @@
{extend name="public/base" /}
{block name="style"}
<link rel="stylesheet" type="text/css" href="__CSS__/contact.css" />
<link rel="stylesheet" type="text/css" href="__CSS__/contactus_index.css" />
{/block}
{block name="main"}
<div class="oricoEGapp">