• <i id='wxnkjqow'><tr id='8g16a29e'><dt id='tczf3hhm'><q id='4ghk0v7s'><span id='uapnho0z'><b id='u8u902s2'><form id='fgsm5uk2'><ins id='s9dmb0i4'></ins><ul id='dnvhlh76'></ul><sub id='zh0yfypa'></sub></form><legend id='z89tukiv'></legend><bdo id='r6z4u2kq'><pre id='vjpoovji'><center id='neq6esnt'></center></pre></bdo></b><th id='74wzeev5'></th></span></q></dt></tr></i><div id='9ktgjpn6'><tfoot id='sm3yj22v'></tfoot><dl id='sptghgd6'><fieldset id='x7uqj3cx'></fieldset></dl></div>
    • <bdo id='5ipb9z96'></bdo><ul id='4hnjtbyh'></ul>

        <tfoot id='7lksc9zi'></tfoot>

      1. <legend id='yyg9zn2s'><style id='6sw12qqz'><dir id='0gtqc394'><q id='6zwo3dvv'></q></dir></style></legend>

        <small id='gtw1nk9r'></small><noframes id='0so9jwub'>

      2. 精准传达 • 价值共享

        洞悉互联网前沿资讯,探寻网站营销规律

        长沙网站建设织梦首页/列表页文章按权重排序

        作者: 庚午网络 | 2020-10-20 16:54 |点击:

        网站建设

            <bdo id='4zzwyqft'></bdo><ul id='phzkbjhx'></ul>
              <tbody id='dd7ms2c8'></tbody>

                <tfoot id='bmlkl5oq'></tfoot>
              1. <small id='gngaangl'></small><noframes id='xqplsut5'>

                • <legend id='vft7j4si'><style id='rxbmuk6n'><dir id='89uqcv5n'><q id='u8chph5l'></q></dir></style></legend>
                  <i id='m98rt7zo'><tr id='dgvqp0nl'><dt id='stnyw5z4'><q id='xnxftjah'><span id='63k57ie6'><b id='pum98rd3'><form id='y2wgds8v'><ins id='rrqfm4wl'></ins><ul id='ryondu92'></ul><sub id='710xkm7l'></sub></form><legend id='wd3uyuws'></legend><bdo id='de1tumrl'><pre id='dl2xggpl'><center id='xt9ht9kg'></center></pre></bdo></b><th id='xowun2v1'></th></span></q></dt></tr></i><div id='z7librmx'><tfoot id='prxhcw43'></tfoot><dl id='7cs3qbsb'><fieldset id='r6z7vbji'></fieldset></dl></div>
                  摘要:织梦首页/列表页文章按权重排序,dede:arclist 按权重排序输出文章,dede:list 按权重排序输出文章

                  dede:arclist 按权重排序输出文章

                  需要打开 /include/taglib/arclist.lib.php 找到

                  else if($orderby == 'rand') $ordersql = " ORDER BY rand()";

                  在它的下面加入

                  else if($orderby == 'weight') $ordersql = " order by arc.weight $orderWay";

                  dede:arclist 按权重排序的标签写法

                  {dede:arclist typeid='1' row='8' isweight='y' orderby='weight' orderway='asc'}
                  <li>
                  <span>权重:[field:weight /]</span><a href="[field:arcurl /]">[field:title /]</a></li>
                  {/dede:arclist}



                  dede:list 按权重排序输出文章


                  需要打开 /include/arc.listview.class.php 找到

                  else if($orderby=="lastpost") {

                  在它的上面加入

                  else if($orderby == 'weight') { $ordersql = " ORDER BY arc.weight $orderWay"; }



                  继续找到

                  /hot|click|lastpost

                  改成


                  /hot|click|lastpost|weight

                  dede:list 按权重排序的标签写法



                  {dede:list pagesize='10' orderby='weight' orderway='asc'}
                  <li> <a href="[field:arcurl/]" class="title">[field:title/]</a>
                  <p class="intro"> [field:description/]... </p> </li>
                  {/dede:list}

                  提示:权重排序都是以越小值排在越前面


                  二度创作,如有侵权请联系删除。如没特殊注明,文章均为庚午网络原创,转载请注明https://www.hngengwu.com/wangzhanjianshezhishi/232.html
                    <bdo id='61ub8l22'></bdo><ul id='sgab1wbv'></ul>

                    <i id='55asgdln'><tr id='rq0o2zl0'><dt id='wvj30xz0'><q id='8gd7zpvx'><span id='krmon5au'><b id='ufoino8k'><form id='poi8g7vf'><ins id='hvv6hjgb'></ins><ul id='5ct71bcj'></ul><sub id='7330mjwe'></sub></form><legend id='0j5nee8f'></legend><bdo id='sqwbe7mq'><pre id='hhcrkypk'><center id='pnqi4fc1'></center></pre></bdo></b><th id='6d3w4yrh'></th></span></q></dt></tr></i><div id='c4yj7jda'><tfoot id='5lu1uc09'></tfoot><dl id='e5fjaq5t'><fieldset id='n5pavshe'></fieldset></dl></div>

                      <small id='uiqu8neb'></small><noframes id='crnerpki'>

                    1. <tfoot id='c7mhhv6m'></tfoot><legend id='l6fsjupc'><style id='tzm4609t'><dir id='o23lja3k'><q id='414wwv9q'></q></dir></style></legend>
                    2. 多一份策划方案,总有益处。

                      请直接添加技术总监微信联系咨询

                      网站设计 品牌营销

                      多一份参考,总有益处

                      联系庚午网络,获得专属《策划方案》及报价

                      咨询相关问题或预约面谈,可以通过以下方式与我们联系

                      业务热线:18574395938 / 大客户专线:18574395938