diff --git a/app/common.php b/app/common.php index 1a057ac..efa1bbd 100644 --- a/app/common.php +++ b/app/common.php @@ -1301,6 +1301,10 @@ if (!function_exists('deal_image_url')) { $tmpUrl = substr($tmpUrl, $pos); } } + // 严格判断开头是不是 '/' + if (strpos($tmpUrl, '/') !== 0) { + $tmpUrl = '/' . $tmpUrl; + } return $tmpUrl; } } diff --git a/public/themes/website/1/zh/demo/product.html b/public/themes/website/1/zh/demo/product.html index 7c7cb09..5470113 100644 --- a/public/themes/website/1/zh/demo/product.html +++ b/public/themes/website/1/zh/demo/product.html @@ -158,7 +158,7 @@ 查看选型表
- RA3系列伺服驱动器 + RA3系列伺服驱动器
@@ -171,7 +171,7 @@
{volist name="pic_many_one" id="vo" key="key"}
- RA3产品图 + RA3产品图
{/volist} @@ -213,7 +213,7 @@ aria-selected="true" > - + {$vo.description} @@ -272,7 +272,7 @@
- RA3资料示意 + RA3资料示意

资料下载