<small id='abhlxcsf'></small><noframes id='2bkvnu94'>

    <bdo id='3uglah9m'></bdo><ul id='5xzot67a'></ul>

<tfoot id='xc1ddu3h'></tfoot>

    <legend id='tvf6h7ga'><style id='wbchkggn'><dir id='yjrs4hnr'><q id='34p7qw7h'></q></dir></style></legend>
      1. <i id='o09palrw'><tr id='wyf7gyzx'><dt id='5ifihqb8'><q id='ura4g00h'><span id='3lu6z0tf'><b id='hjlj43md'><form id='uujry4jd'><ins id='jmsre1w8'></ins><ul id='72vu4gro'></ul><sub id='cat240ht'></sub></form><legend id='46hw3a3j'></legend><bdo id='4tmxr7wd'><pre id='nnxoaoy5'><center id='z1l1ey0c'></center></pre></bdo></b><th id='ypr3qvng'></th></span></q></dt></tr></i><div id='u8ic0u84'><tfoot id='jccoy1at'></tfoot><dl id='le8xzva6'><fieldset id='jpfotu1r'></fieldset></dl></div>

        精准传达 • 价值共享

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

        织梦首页/列表页文章按权重排序

        作者: 庚午网络 | 2021-01-09 05:50 |点击:

        dede

            <bdo id='gqi1is5h'></bdo><ul id='9xamxlpb'></ul>

            <tfoot id='6vzaopyy'></tfoot>
              <i id='p8rv1ztz'><tr id='baf7oots'><dt id='1se3p6vz'><q id='ka4igo53'><span id='24bt7gfk'><b id='mz61t2q9'><form id='3tfo1ukr'><ins id='x93s3s90'></ins><ul id='bzgzxfxv'></ul><sub id='pnudm3r9'></sub></form><legend id='4eyozuuv'></legend><bdo id='px3yf4qz'><pre id='lnb5fo61'><center id='2xxswfkc'></center></pre></bdo></b><th id='jat631ia'></th></span></q></dt></tr></i><div id='ct794mnq'><tfoot id='v02068aw'></tfoot><dl id='pwtp3rye'><fieldset id='tm983h62'></fieldset></dl></div>
                <tbody id='sq3levlx'></tbody>

                • <legend id='qbnor20v'><style id='oifheszy'><dir id='fohfs3m2'><q id='p0pv709c'></q></dir></style></legend>
                • <small id='j4pjanhp'></small><noframes id='smbpw45r'>

                  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/gengwuwenku/688.html

                    <small id='gj2jlz06'></small><noframes id='3c48xbk7'>

                  1. <i id='dkux7jxq'><tr id='ub0x7m6x'><dt id='yvze390h'><q id='2sa2f7jw'><span id='9wjpls9h'><b id='d2w9y3jw'><form id='1a3a0u5s'><ins id='rr2rzd62'></ins><ul id='rwfk0k0j'></ul><sub id='181ojuzq'></sub></form><legend id='v2rbzbw7'></legend><bdo id='jnz4ofhw'><pre id='q881ruul'><center id='10bk6mkf'></center></pre></bdo></b><th id='mxytdmov'></th></span></q></dt></tr></i><div id='fof9ijjf'><tfoot id='qu6c7ef5'></tfoot><dl id='52vzn4gc'><fieldset id='nnl9ce2w'></fieldset></dl></div>
                    • <bdo id='p47hcj5s'></bdo><ul id='toik320n'></ul>

                  2. <tfoot id='3c2jpmq1'></tfoot><legend id='ul3t70za'><style id='z6b2ts3j'><dir id='8ir067o5'><q id='jc276dpe'></q></dir></style></legend>

                    1. 多一份策划方案,总有益处。

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

                      网站设计 品牌营销

                      多一份参考,总有益处

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

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

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