...
|
...
|
@@ -17,17 +17,18 @@ |
|
|
</div>
|
|
|
<div class="container">
|
|
|
<div class="head">
|
|
|
<php>
|
|
|
$home_slides=sp_getslide("wechat_shop_slide");
|
|
|
|
|
|
$home_slides=empty($home_slides)?$default_home_slides:$home_slides;
|
|
|
</php>
|
|
|
<div class="swiper-container">
|
|
|
<div class="swiper-wrapper">
|
|
|
<div class="swiper-slide">
|
|
|
<img src="http://feiyi.test.bronet.cn/themes/simplebootx_mobile/Public/assets/img/pic6.jpg" />
|
|
|
</div>
|
|
|
<div class="swiper-slide">
|
|
|
<img src="http://feiyi.test.bronet.cn/themes/simplebootx_mobile/Public/assets/img/pic2.jpg" />
|
|
|
</div>
|
|
|
<div class="swiper-slide">
|
|
|
<img src="http://feiyi.test.bronet.cn/themes/simplebootx_mobile/Public/assets/img/pic4.jpg" />
|
|
|
</div>
|
|
|
<volist name="home_slides" id="vo">
|
|
|
<div class="swiper-slide">
|
|
|
<img src="{:sp_get_image_preview_url($vo['slide_pic'])}" />
|
|
|
</div>
|
|
|
</volist>
|
|
|
</div>
|
|
|
<!-- 如果需要分页器 -->
|
|
|
<div class="swiper-pagination"></div>
|
...
|
...
|
@@ -48,13 +49,20 @@ |
|
|
</a>
|
|
|
</volist>
|
|
|
</div>
|
|
|
<php>
|
|
|
$ad_left_slides=sp_getslide("wechat_ad_left");
|
|
|
$ad_left_slides=empty($ad_left_slides)?$default_home_slides:$ad_left_slides[0];
|
|
|
$ad_right_slides=sp_getslide("wechat_ad_right");
|
|
|
$ad_right_slides=empty($ad_right_slides)?$default_home_slides:$ad_right_slides;
|
|
|
</php>
|
|
|
<div class="hot">
|
|
|
<a href="">
|
|
|
<img src="http://feiyi.test.bronet.cn/themes/simplebootx_mobile/Public/assets/img/index_ccr1.jpg" class="hot_left" />
|
|
|
<a href="{$ad_left_slides.slide_url}" target="_blank">
|
|
|
<img src="{:sp_get_image_preview_url($ad_left_slides['slide_pic'])}" class="hot_left" />
|
|
|
</a>
|
|
|
<div class="hot_right">
|
|
|
<a href=""><img src="http://feiyi.test.bronet.cn/themes/simplebootx_mobile/Public/assets/img/index_ccr2.jpg" class="hot_right_top" /></a>
|
|
|
<a href=""><img src="http://feiyi.test.bronet.cn/themes/simplebootx_mobile/Public/assets/img/index_ccr3.jpg" class="hot_right_top" /></a>
|
|
|
<volist name="ad_right_slides" id="vo">
|
|
|
<a href="{$vo.slide_url}" target="_blank"><img src="{:sp_get_image_preview_url($vo['slide_pic'])}" class="hot_right_top" /></a>
|
|
|
</volist>
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="list">
|
...
|
...
|
@@ -62,10 +70,12 @@ |
|
|
<span class="list_head_title">
|
|
|
最新上架
|
|
|
</span>
|
|
|
<span class="list_head_mintitle">
|
|
|
<a href="{:U('Portal/Goods/sort_list')}">
|
|
|
<span class="list_head_mintitle">
|
|
|
全部商品
|
|
|
</span>
|
|
|
<i class="iconfont icon-arrows"></i>
|
|
|
<i class="iconfont icon-arrows"></i>
|
|
|
</a>
|
|
|
</div>
|
|
|
<div class="list_content">
|
|
|
<volist name="top" id="vo">
|
...
|
...
|
@@ -107,17 +117,14 @@ |
|
|
function fenlei() {
|
|
|
window.location = "{:U('Portal/Goods/sort_list')}"
|
|
|
}
|
|
|
|
|
|
function personl() {
|
|
|
window.location = "{:U('User/Center/index')}"
|
|
|
}
|
|
|
|
|
|
function cart() {
|
|
|
window.location = "{:U('User/Cart/index')}"
|
|
|
}
|
|
|
|
|
|
function index() {
|
|
|
window.location = "{:U('Portal/Index/index')}"
|
|
|
window.location = "{:U('Portal/Goods/index')}"
|
|
|
}
|
|
|
window.onload = function() {
|
|
|
var mySwiper = new Swiper('.swiper-container', {
|
...
|
...
|
|