ppypp伦理天堂,91手机在线视频,免费在线观看黄色毛片,夜夜穞天天穞狠狠穞AV美女按摩

聯(lián)系官方銷售客服

1835022288

028-61286886

投訴 解決中 / 官方已回 自字義欄目字段前端不能調(diào)用顯示,請(qǐng)大俠指點(diǎn)為謝! 5 0

自定義欄目字段前端無(wú)法調(diào)用顯示:

(1)字段定義如下:


1699858780114


1699858834643


1699858874349

(2)前端代碼如下:


1699857797618

(3)顯示位置(顯示默認(rèn)圖片,沒(méi)有顯示出后臺(tái)定義的欄目圖片)


1699858532478

解決方案
  • 首先,這個(gè)地址并不是迅睿自帶的地址


    1699858532478

    可能是被二次開(kāi)發(fā)過(guò),所以這種情況就無(wú)法準(zhǔn)確的找出他為什么掉不出來(lái)的原因

    -------------------如果是系統(tǒng)本身的內(nèi)容頁(yè)或者欄目頁(yè),那么直接用這個(gè)標(biāo)簽調(diào)用

    類別選擇:image(在自定義字段管理里面看),名稱填寫(xiě):thumb(也在自定義字段管理里面),前綴:cat,字段標(biāo)簽生成工具:http://www.zbshanke.com/doc/code/field.html


  • 1699859774542

    這個(gè)是自定義的模塊

  • show_list頁(yè)面也很簡(jiǎn)單,主要代碼如下:

    <body class="random-bg">
        <div class="label1">
            <div class="label2">
    
                <img src="/titi.png" alt="" width="100%">
                <!-- <div class="label3">
                    <img src="{dr_get_file(dr_block('wangzhanlogo'))}" class="pic1" />
                    <div class="label4">大理健康教育資料庫(kù)</div>
                </div> -->
                <div class="label5">
    
                    <div class="label6" style="background-color:#fff ; padding:10px">
                        <!-- <h2 class="title">大理健康教育公眾資料庫(kù)</h2> -->
                        <div class="title2">
                            {loop $hrefs $v} {if $v.type == 'href'}
                            <a href="{$v.url}">{$v.name}</a>>> {else}
                            {$v.name}</span>{/if} {/loop}
                           
                           
                        </div>
                        <table class="table-hover table-thead-hidden">
                            <thead>
                                <tr>
                                    <th width="12%"></th>
                                    <th width="80%"></th>
                                    <th width="8%"></th>
                                </tr>
                            </thead>
                            <tbody>
                               {loop $data $v}
                        
                                <tr>
                                    <td class="text-center">
                                         
                                       {if $v.type == 'category'}
                                           <img src="{dr_thumb($v.thumb,50,50)}">{dr_count($cat['thumb'])}
                                         {elseif $v.type == 'video'} 
                                        <img src="{dr_get_file(dr_block('shipin'))}" alt="" width="24"> {elseif $v.type == 'audio'}
                                        <img src="{dr_get_file(dr_block('yinpin'))}" alt="" width="24"> {elseif $v.type == 'pdf'}
                                        <img src="{dr_get_file(dr_block('pdf'))}" alt="" width="24"> {else}
                                        <img src="{dr_get_file(dr_block('tupian'))}" alt="" width="24"> {/if}
                                    </td>
                                    <td><a href="{$v.type == 'category' ? dr_url('/publicbase/home/show_list').'&pid='.$v['id']:dr_url('/publicbase/home/show_info').'&id='.$v['id']}">{$v.name}</a><br><span class="item-meta-info" style="display:{$v.type == 'category'?'none' : 'inline-block'};">{$v.time}</span></td>
                                    <td>
                                        {if $v.type != 'category'}
                                        <img class="dropdown" src="{dr_get_file(dr_block('caidan'))}" data-href="{$v.url}" onclick="show_download(this);"> {/if}
                                    </td>
                                </tr>
                               
                               {/loop}
                               
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
        <div class="shadow" style="display: none;">
            <div class="mobile-operation-menu-bg-layer" onclick="hide_download();"></div>
            <div class="mobile-operation-menu">
                <a tabindex="0" href="" class="mobile-menu-item dropdown-item" download="">下載</a>
            </div>
        </div>
    </body>