联系我们

微信扫描上方二维码

迅睿框架 版主:迅睿框架研发组
如何写一次就可以分别循环指定的地区
类型:迅睿CMS 更新时间:2022-11-24 11:55:31


如何写一次就可以分别循环指定的地区?

单独调用 beijing,shanghai,guangzhou,shenzhen


{module module=jzfw catid=49 num=4 diqu=beijing}

<div class="x-store-img flex relative" data-tag="{$title}">

<img src="static/picture/469.jpg" alt="{$title}">

</div>

{/module}


{module module=jzfw catid=49 num=4 diqu=shanghai}

<div class="x-store-img flex relative" data-tag="{$title}">

<img src="static/picture/469.jpg" alt="{$title}">

</div>

{/module}


{module module=jzfw catid=49 num=4 diqu=guangzhou}

<div class="x-store-img flex relative" data-tag="{$title}">

<img src="static/picture/469.jpg" alt="{$title}">

</div>

{/module}


{module module=jzfw catid=49 num=4 diqu=shenzhen}

<div class="x-store-img flex relative" data-tag="{$title}">

<img src="static/picture/469.jpg" alt="{$title}">

</div>

{/module}



{module module=jzfw catid=49 num=4 diqu=beijing}

<div class="x-store-img flex relative" data-tag="{$title}">

<img src="static/picture/469.jpg" alt="{$title}">

</div>

{/module}


{module module=jzfw catid=49 num=4 diqu=shanghai}

<div class="x-store-img flex relative" data-tag="{$title}">

<img src="static/picture/469.jpg" alt="{$title}">

</div>

{/module}


{module module=jzfw catid=49 num=4 diqu=guangzhou}

<div class="x-store-img flex relative" data-tag="{$title}">

<img src="static/picture/469.jpg" alt="{$title}">

</div>

{/module}


{module module=jzfw catid=49 num=4 diqu=shenzhen}

<div class="x-store-img flex relative" data-tag="{$title}">

<img src="static/picture/469.jpg" alt="{$title}">

</div>

{/module}


回帖
  • 小波工作室
    #1楼    小波工作室
    2022-11-24 07:52:19
    Chrome 0
    没有其他办法,就这样
  • zooxen
    #2楼    zooxen
    2022-11-24 11:55:31
    Edge 0
    把地址名写到数组,然后在module外面加一个loop就可以了