联系官方销售客服
1835022288
028-61286886
列表页面怎么调用详情页面信息(list自定义调用)
<div class="upper-section"> <div class="row clearfix"> {list action=sql module=zhaopin sql='SELECT * FROM dr_1_zhaopin JOIN dr_1_zhaopin_data_0 ON dr_1_zhaopin.id = dr_1_zhaopin_data_0.id WHERE dr_1_zhaopin.catid=31 order by displayorder asc' return=t} <!--Detail Column--> <div class="detail-column col-lg-4 col-md-12 col-sm-12"> <div class="inner-column"> <h2>{$t.title}</h2> <ul class="detail-list"> <li>工作地点: <span>{dr_linkage('工作地点', $t.gzdd, 0, 'name')}</span></li> <li>学历要求: <span> {php $field = dr_field_options($ci->module['field']['xueliyaoqiu']['id']);}{$field[$xueliyaoqiu]} </span></li> <li>薪资待遇: <span>{php $field = dr_field_options('xinzidaiyu');}{$field[xinzidaiyu]}</span></li> <li>工作经验: <span>{php $field = dr_field_options('gzjy');}{$field[gzjy]}</span></li> <li>招聘人数: <span>{$t.zprs}</span></li> </ul> </div> </div> <!--Image Column--> <div class="image-column col-lg-8 col-md-12 col-sm-12"> <div class="cooperative-s2-body"> <div class="row clearfix"> <div class="cooperative-block m-block col-lg-6 col-md-6 col-sm-12"> <div class="inner-box"> <h5>岗位职责:</h5> <div class="text">{htmlspecialchars_decode($t.content)}</div> </div> </div> <div class="cooperative-block m-block col-lg-6 col-md-6 col-sm-12"> <div class="inner-box"> <h5>任职要求:</h5> <div class="text">{htmlspecialchars_decode($t.renzhiyaoqiu)}</div> </div> </div> </div> </div> </div> {/list} </div> </div>
模板标签生成器
自动生成栏目菜单循环,指定栏目,列表页循环,内容循环基本上涵盖了普通企业建站的所有模板位...
模板标签生成器
自动生成栏目菜单循环,指定栏目,列表页循环,内容循环基本上涵盖了普通企业建站的所有模板位...
还是这个好用