2 Commits

Author SHA1 Message Date
cc497b2ebc fix: 获取文件系统磁盘未判断“//”情况 2025-07-31 09:03:49 +08:00
2b450a2e9c fix: 首页“场景介绍”无法点击 2025-07-31 09:03:48 +08:00
2 changed files with 2 additions and 2 deletions

View File

@@ -155,7 +155,7 @@ if (!function_exists('get_filesystem_url')) {
*/ */
function get_filesystem_url(string $url, string $disk): string function get_filesystem_url(string $url, string $disk): string
{ {
if (\think\helper\Str::startsWith($url, ['http://', 'https://'])) { if (\think\helper\Str::startsWith($url, ['http://', 'https://', '//'])) {
return $url; return $url;
} }
if (empty($disk)) { if (empty($disk)) {

View File

@@ -117,8 +117,8 @@
<p class="subtitle" {notempty name="scene.desc_txt_color" }style="color:{$scene.desc_txt_color};" {/notempty}> <p class="subtitle" {notempty name="scene.desc_txt_color" }style="color:{$scene.desc_txt_color};" {/notempty}>
{$scene.desc|raw}</p> {$scene.desc|raw}</p>
<a class="sceneMore" href="{$scene.link}">{:lang_i18n('了解更多')} ></a> --> <a class="sceneMore" href="{$scene.link}">{:lang_i18n('了解更多')} ></a> -->
<div style="background-image: url('{$scene.image}');" class="sceneimg"></div>
</a> </a>
<div style="background-image: url('{$scene.image}');" class="sceneimg"></div>
</div> </div>
{/volist} {/volist}
</div> </div>