联系官方销售客服

1835022288

028-61286886

开发框架 版主:迅睿框架研发组
module 模型 在list页面怎么调用内容字段呢?
类型:迅睿CMS 更新时间:2020-12-01 16:18:06

模板标签里面

   {module  module=jobs order=updatetime num=7 more=1}
                <div class="layui-colla-item">
                    <div class="layui-colla-title">
                       <ul>
                           <li>{dr_strcut($t.title, 20)}</li>
                           <li>{dr_strcut($t.zhiwuleibie, 20)}</li>
                           <li>{if $t.gzdd == '1'}
         本地
         {else}
         外地
          {/if}
         </li>
                           <li>{$t.zprs}</li>
                       </ul>
                    </div>
                    <div class="layui-colla-content ">
                        <h3 class="fb">任职要求:</h3>
                        <div class="job-list-des">
                         {$t.content}
                        </div>
                        <div class="job-list-sub">
                            <h3 class="fb">我要应聘:</h3>
                            <form action="index.php?s=form&c=jobs&m=post" enctype="application/x-www-form-urlencoded" method="post">
                                       {dr_form_hidden()}                              
         <p>
                                    <label for="name">姓名:</label>
                                    <input type="text" name="data[title]" class="text">
                           
                                </p>
                                <p>
                                    <label for="tel">电话:</label>
                                    <input type="number" name="data[tel]" maxlength="11" class="phone">
                                </p>
                                <p>
                                    <label for="job">应聘职位:</label>
                                    <input type="text" name=""data[gangwei]" value="{dr_strcut($t.title, 20)}" class="text">
                                </p>
                                <button type="submit"  class="submit">提交</button>
                            </form>

                        </div>
                    </div>
                </div>
                <div class="clear"></div>
    {/module }
    {$debug}

module  模型 在liest页面怎么调用内容字段呢?

{xunruicms_img_title}

回帖