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

迅睿框架 更新 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}

方案

  • 迅睿框架技术-实习 #1 · 2020-12-01 11:46:40
    满意答案
  • 二开/定制/使用解答专家 #2 · 2020-12-01 12:02:22
    • 模块字段主附表互转

      因为cms字段格式创建好了就无法变更主附表类型,本插件支持将内容模块字段附表字段转移为主...

    简单啊,把附表字段转为主标啊
  • 刘洪升 #3 · 2020-12-01 16:18:06
    @迅睿框架技术-实习:xiexie xiexie xiexie

迅睿系统漏洞

站群分站系统
站群分站系统(2026-10-15)
子站域名新增llms.txt访问
GEO系统
GEO系统(2026-10-14)
修复下载zip空白地址问题 修复流量复刻和任务队列错误
GeoSeo收录宝
GeoSeo收录宝(2026-10-14)
新增 站长工具箱 前端首页自动调用meta 数据
滑块验证码 Gocaptcha
滑块验证码 Gocaptcha(2026-10-13)
基于开源项目 go-captcha 的行为验证码插件,滑动拼图、区域...
GeoSeo工具箱
GeoSeo工具箱(2026-10-13)
优化巡检任务
GeoSeo排名助手
GeoSeo排名助手(2026-10-11)
加入大模型自定义
SEO聚合关键字
SEO聚合关键字(2026-10-11)
优化关键字列表页最多支持1万篇文章,过多会导致服务器扛不住;
CMS内容同步复制
CMS内容同步复制(2026-10-10)
增加时间是否更新的开关