业务经理

微信扫描以上二维码

028-61286886

技术咨询

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

迅睿系统漏洞

GEO系统
GEO系统(2026-09-15)
运营客户端,防止误触阴影处关闭对话框
独立站群系统
独立站群系统(2026-09-14)
子站独立部署时修复同步附件失败问题
在线客服
在线客服(2026-09-13)
修复删除会话报错问题 删除会话时联动删除聊天图片
在线考试竞赛系统
在线考试竞赛系统(2026-09-12)
增加投票功能 考试功能拓展 注意:更新后需要执行系统更新,更新数...
网上信箱
网上信箱(2026-09-12)
修复新版本兼容问题
GeoSeo收录宝
GeoSeo收录宝(2026-09-12)
1 优化Update.php文件,解决版本在线升级不完整问题 2 ...
GeoSeo工具箱
GeoSeo工具箱(2026-09-11)
修正历史记录推送
微信系统
微信系统(2026-09-11)
增加数据统计总览界面 账号管理增加服务和公众号的区别 菜单管理支持更...
答题系统
答题系统(2026-09-11)
一站式在线答题系统,支持真题考试、题库练习和错题本,适合培训、考证、...
阿里云滑动验证码
阿里云滑动验证码(2026-09-10)
采用阿里云验证码替换迅睿系统自带的图片验证码和滑动验证码。后台设置方...