refactor: 区分联系我们banner的pc与mobile数据
This commit is contained in:
@@ -34,6 +34,7 @@ class ContactUs extends Common
|
|||||||
->where('status', '=', 1)
|
->where('status', '=', 1)
|
||||||
->order(['sort' => 'asc', 'id' => 'desc']);
|
->order(['sort' => 'asc', 'id' => 'desc']);
|
||||||
}])
|
}])
|
||||||
|
->atPlatform(request()->from)
|
||||||
->uniqueLabel(['BANNER_6805e3d32dcc2', 'BANNER_6806090c1838f'])
|
->uniqueLabel(['BANNER_6805e3d32dcc2', 'BANNER_6806090c1838f'])
|
||||||
->language($this->lang_id)
|
->language($this->lang_id)
|
||||||
->enabled(true)
|
->enabled(true)
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{extend name="public/base" /}
|
{extend name="public/base" /}
|
||||||
{block name="style"}
|
{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}
|
||||||
{block name="main"}
|
{block name="main"}
|
||||||
<div class="oricoEGapp">
|
<div class="oricoEGapp">
|
||||||
|
|||||||
Reference in New Issue
Block a user