圈子黄页风格制作说明
圈子黄页风格比较特殊,所以给他定义一个单独的目录
\template\qun_style
它与前台\后台\会员中心的目录并列

新建一个风格的话,就在 \template\qun_style\ 目录下面新建一个目录,比如
\template\qun_style\goods
同时还需一个配置文件
\template\qun_style\goods\info.php

info.php里边的内容大致如下
<?phpreturn ['name'=>'商品黄页风格', //风格名称,可随意'sort'=>'商城专用', //分类名称,可随意'money'=>0, //收费金额];
需要做哪个页面的模板,就从默认风格那里复制过去,否则就使用默认的.
\template\index_style\default\qun\
其中商铺主页风格是
\template\index_style\default\qun\content\show.htm
你做的风格用到的CSS与图片文件,全部统一放在
\public\static\qun_style\ 这个目录下,需要跟模板一样,新建一个一致的目录名,比如
\public\static\qun_style\goods\
每个风格必须有两个风格缩略展示图
\public\static\qun_style\goods\demo.jpg 大小是640X960
\public\static\qun_style\goods\demo_min.jpg 大小是80X120
圈子黄页里边不推荐使用标签 {qb:tag }{/qb:tag} 请把 qb:tag 统一换成商铺专用的 qb:hy 比如
{qb:hy type="link" name="qun_wapshow_education_link001"}<!-- <a href="{:urls('shop/index',['id'=>input('id')])}" class="more">更多</a> --><a href="{$url}" class="more {$logo}">{$title}</a>{/qb:hy}
在圈子里的标签必须要定义好type要调用的数据类型, 上面 type="link" 是新增加的链接类型,可以选择图标
注释符代表演示数据
分页更多数据,由之前的 {qb:url name="xxx" /} 也要相应的换成 {qb:hy_url name="xxx" /}
使用方法跟qb:tag是一模一样的.仅只是换了一下名称变成 qb:hy 而已
各个频道关联圈子的数据 请加上参数 where="ext_id=$id"
