This commit is contained in:
2025-06-27 18:04:03 +08:00
4 changed files with 7 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ return [
// 扩展语言包
'extend_list' => [
'en-us' => [
app()->getAppPath() . '/lang/en-us/' . (request()->isMobile() ? 'mobile' : 'pc') . '.php',
app()->getAppPath() . '/lang/en-us/' . get_platform() . '.php',
app()->getAppPath() . '/lang/en-us/validate.php',
],
],

View File

@@ -231,7 +231,7 @@ class Product extends Common
$attr = $sku_attrs_map[$v['id']]?? [];
if (!empty($attr)) {
foreach ($attr as $at) {
if ($at['attr_name'] == '颜色') {
if (in_array($at['attr_name'], ['颜色', 'Color'])) {
$color_map[$v['product_id']][] = $at;
}
}

View File

@@ -1,6 +1,7 @@
<?php
return [
'首页' => 'Home',
'产品列表' => 'Products',
'店铺' => 'Store',
'搜索记录' => 'Search History',

View File

@@ -23,6 +23,7 @@
<div class="categorySearch">
<form action="{:url('article/index', ['pid' => $Request.param.pid])}" method="get">
<i class="search_icon"></i>
<input type="hidden" name="cid" value="{$Request.param.cid}" />
<input type="text" class="search" id="article-search-in" name="keywords" value="">
</form>
</div>