|
|
@@ -4,19 +4,7 @@
|
|
|
<link rel="stylesheet" href="__TMPL__/static/css/dianzan.css">
|
|
|
<!-- nav -->
|
|
|
<include file="block/nav" />
|
|
|
-<style>
|
|
|
- .phlist{
|
|
|
- background: red; display: block;
|
|
|
- float: left;
|
|
|
- width: 14px;
|
|
|
- height: 14px;
|
|
|
- line-height: 14px;
|
|
|
- text-align: center;
|
|
|
- font-size: 12px;
|
|
|
- color: #fff;
|
|
|
- margin: 3px 12px 0 0;
|
|
|
- }
|
|
|
-</style>
|
|
|
+
|
|
|
<!-- content start -->
|
|
|
<!-- 面包屑 -->
|
|
|
<div class="container crumbs">当前位置:
|
|
|
@@ -165,10 +153,10 @@
|
|
|
</ul>
|
|
|
</div> -->
|
|
|
</div>
|
|
|
- <div class="fr right-sidebar " id="mobile_tion" >
|
|
|
+ <div class="fr right-sidebar mob_none">
|
|
|
<div class="side-box">
|
|
|
- <h2>最新入驻品牌排行榜</h2>
|
|
|
- <ul class="rqb-list mj_new">
|
|
|
+ <h2>最新入驻品牌</h2>
|
|
|
+ <ul class="rqb-list">
|
|
|
<foreach name="brand_jx" id="v">
|
|
|
<li>
|
|
|
<i></i>
|
|
|
@@ -179,11 +167,10 @@
|
|
|
</ul>
|
|
|
</div>
|
|
|
<div class="side-box">
|
|
|
- <h2>品牌推荐排行榜</h2>
|
|
|
- <ul class="brand-recome mj_sentiment">
|
|
|
+ <h2>品牌推荐</h2>
|
|
|
+ <ul class="brand-recome">
|
|
|
<foreach name="jx_jm" id="v">
|
|
|
<li>
|
|
|
- <i class="phlist">{$key+1}</i>
|
|
|
<a href="/b{$v.id}/" target="_blank" {$v.title}>
|
|
|
<img class="fl" src="{:cmf_get_image_preview_url($v.logo)}" width="93.31" height="70" alt="{$v.title}">
|
|
|
<h3 class="nowrap">{$v.title}</h3>
|
|
|
@@ -196,7 +183,7 @@
|
|
|
</div>
|
|
|
<div class="side-box">
|
|
|
<h2>加盟资讯</h2>
|
|
|
- <ul class="join-information hot-article">
|
|
|
+ <ul class="join-information">
|
|
|
<foreach name="jm_news" id="v">
|
|
|
<li><a href="/news{$v.id}/" target="" title="{$v.title}">{$v.title}</a></li>
|
|
|
</foreach>
|
|
|
@@ -204,50 +191,7 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div class="clearfix"></div>
|
|
|
- <script type="text/javascript">
|
|
|
-
|
|
|
- $(window).bind("load resize",function() {
|
|
|
- var result = window.matchMedia('(max-width: 768px)');
|
|
|
- if (result.matches) {
|
|
|
-
|
|
|
- $(".hot-article li").each(function(i){
|
|
|
-
|
|
|
- if(i>4){
|
|
|
-
|
|
|
- $(this).hide();
|
|
|
- }
|
|
|
- });
|
|
|
- //rqb-list
|
|
|
- $(".mj_new li").each(function(i){
|
|
|
-
|
|
|
- if(i>4){
|
|
|
-
|
|
|
- $(this).hide();
|
|
|
- }
|
|
|
- });
|
|
|
- $(".mj_sentiment li").each(function(i){
|
|
|
|
|
|
- if(i>4){
|
|
|
- $(this).hide();
|
|
|
- }
|
|
|
- });
|
|
|
- $("#mobile_tion").removeClass("right-sidebar");
|
|
|
- $("#mobile_tion").removeClass("fr");
|
|
|
- //side-box
|
|
|
-
|
|
|
- } else {
|
|
|
-
|
|
|
-
|
|
|
- $(".hot-article li").show();
|
|
|
- //rqb-list
|
|
|
- $(".mj_new li").show();
|
|
|
- $(".mj_sentiment li").show();
|
|
|
- $("#mobile_tion").addClass("right-sidebar");
|
|
|
- $("#mobile_tion").addClass("fr");
|
|
|
-
|
|
|
- }
|
|
|
- });
|
|
|
- </script>
|
|
|
<script>
|
|
|
/*
|
|
|
* 动态点赞
|