优化对信照片展示,使得界面更简洁

优化对信照片展示,使得界面更简洁

文件路径:

网站目录/template/pc/qingchun/home/index-list-data.html

删除一下代码:

(预计在198行开始)

{if $t.caijizhanshi != '1'}
        {if $listwenzi['is_listtupian'] == 1}
        <a data-id="{$t.id}" {if dr_is_mobile()} href="{dr_son_url($t)}" {else} {if $quanliulan == 1} href="{dr_son_url($t)}" {else} data-toggle="modal" data-target="#myModalssss" class="tantie"{/if}{/if}> 
        <!--div id="d-tupian-{$t.id}"></div-->
            {if !$t.thumb}
                {if $quantupianlist == 0}
                    {if $quangetu == '1'}
                        {template "index-tupian-list-san.html"}
                        
                    {else}
                        {template "index-tupian-list.html"}
                    {/if}
                {elseif $quantupianlist == 2 || $quantupianlist == 3 || $quantupianlist == 4}
                    {if $quangetu == '1'}
                        {template "index-tupian-url-yun-list-san.html"}
                    {else}
                        {template "index-tupian-url-yun-list.html"}
                    {/if}
                {/if}
            {else}
                {if $quantupianlist == 0}
                    {if $quangetu == '1'}
                        {template "index-tupian-list-san.html"}
                    {else}
                        {template "index-tupian-list.html"}
                    {/if}
                {elseif $quantupianlist == 2 || $quantupianlist == 3 || $quantupianlist == 4}
                    {if $quangetu == '1'}
                        {template "index-tupian-url-yun-list-san.html"}
                    {else}
                        {template "index-tupian-url-yun-list.html"}
                    {/if}
                
                {/if}
            {/if}
        </a>
        <!--script>
        var viewer = new Viewer(document.getElementById('d-tupian-{$t.id}'), {
            //url: 'data-kujue',
            toolbar: false,//关闭工具栏
            title: false,//关闭标题栏
            backdrop: true, //点击遮罩层不关闭
            rotatable: false, //图片是否可旋转
            scalable: false, //图片是否可翻转
            tooltip: false, //显示缩放百分比
          });
        </script-->
        {else}
        <a data-id="{$t.id}" {if dr_is_mobile()} href="{dr_son_url($t)}" {else} {if $quanliulan == 1} href="{dr_son_url($t)}" {else} data-toggle="modal" data-target="#myModalssss" class="tantie"{/if}{/if}> 
            {if !$t.thumb}
                {if $quantupianlist == 0}
                    {if $quangetu == '1'}
                        {template "index-tupian-list-san.html"}
                    {else}
                        {template "index-tupian-list.html"}
                    {/if}
                {elseif $quantupianlist == 2 || $quantupianlist == 3 || $quantupianlist == 4}
                    {if $quangetu == '1'}
                        {template "index-tupian-url-yun-list-san.html"}
                    {else}
                        {template "index-tupian-url-yun-list.html"}
                    {/if}
                
                {/if}
            {else}
                {if $quantupianlist == 0}
                    {if $quangetu == '1'}
                        {template "index-tupian-list-san.html"}
                    {else}
                        {template "index-tupian-list.html"}
                    {/if}
                {elseif $quantupianlist == 2 || $quantupianlist == 3 || $quantupianlist == 4}
                    {if $quangetu == '1'}
                        {template "index-tupian-url-yun-list-san.html"}
                    {else}
                        {template "index-tupian-url-yun-list.html"}
                    {/if}
                
                {/if}
            {/if}
        </a>
        {/if}
    {else}
        
    {/if}
© 版权声明
THE END
喜欢就支持一下吧
点赞9赞赏 分享
评论 抢沙发

请登录后发表评论

    请登录后查看评论内容