附近的人PC版本与手机版显示切换怎么样把竖排再钱

2017-12-14 20:23

图1
[attach]5445[/attach]

图2
上面1是打开显示 图2是切换后显示


[attach]5446[/attach]

图3
[attach]5447[/attach]
图4


怎么样修改代码才能图2是首页PC打开 图4是首页移动打开


PC版本代码
<div class="oeuserlist_type">
         
        <a href="javascript:;" f="but_ser_showtype" data-val="1" class="a_2<!--{if $s_showtype == '1'}--> current<!--{/if}-->"></a>
     <a href="javascript:;" f="but_ser_showtype" data-val="0" class="a_1<!--{if $s_showtype == '0'}--> current<!--{/if}-->"></a>
      
    </div>

移动版本代码
<ul class="ul_2">
      <li class="li_1 cursor" f="but_sel_showtype"><span><em class="iconfont" id="showtype_0" style="display:none;">&#xe64f;</em><em class="iconfont" id="showtype_1">&#xe7d5;</em></span></li>
      <li class="li_2 cursor" f="but_open_search"><span>筛选<em class="iconfont">&#xe89b;</em></span></li>
    </ul>
    <div class="clear"></div>

求大神帮忙

2464 次浏览 1 条评论 收藏

说说我的看法

登录后可以发表评论 登录
1个评论
Lee 官方认证帐号 2017-12-15 09:00
可以通过设定固定链接 参数 $s_showtype=1为 详情模式 $s_showtype=0 头像模式
<!--{$urlpath}-->index.php?c=user&a=list&s_showtype=1
回复
作者信息

3
贴子
0
粉丝
热门贴子

免费试用


咨询热线


在线咨询