Commit 2193b327 by dhn

首页链接

parent cd35381b
...@@ -45,7 +45,7 @@ $isMobile = $mobileDetect->isMobile(); ...@@ -45,7 +45,7 @@ $isMobile = $mobileDetect->isMobile();
<?php foreach ($collection->getItems() as $item):?> <?php foreach ($collection->getItems() as $item):?>
<li> <li>
<a href="<?$item->getData('url')?>"> <a href="<?= $item->getData('url')?>">
<?php if ($isMobile) :?> <?php if ($isMobile) :?>
<img class="mobile" src="<?= $mediaUrl . $item->getData('phone_img_patch')?>" alt="" /> <img class="mobile" src="<?= $mediaUrl . $item->getData('phone_img_patch')?>" alt="" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment