联系官方销售客服

1835022288

028-61286886

开发框架 版主:迅睿框架研发组
通过可以新建类似文字块的模块但是这种模块是不支持字体换行或者
类型:迅睿CMS 更新时间:2021-01-07 11:51:38 模块 后台

通过dayrui\My\View\site_info.html可以新建类似文字块的模块,但是这种模块是不支持字体换行或者文字大小加粗等,

咱们后台可以实现新建小型编辑器的功能吗?放一些类型与截图处红色框内的文字:

{xunruicms_img_title}

回帖
  • 迅睿框架技术-景攸
    #1楼    迅睿框架技术-景攸
    2021-01-07 09:42:32
    Chrome 0
    dayrui\My\View\site_info.html这里面加一个编辑器就行了,编辑器代码可以在开发者插件里面复制
  • 前端
    #2楼    前端
    2021-01-07 10:09:02
    Chrome 0
    迅睿框架技术-景攸 编辑器开发者插件在哪个文件里呢?
  • 迅睿框架技术-景攸
    #3楼    迅睿框架技术-景攸
    2021-01-07 10:17:35
    Chrome 0


    生成的代码,变量名改一下就可以正常存储了
  • 前端
    #4楼    前端
    2021-01-07 10:37:40
    Chrome 0
    迅睿框架技术-景攸 我的后台应用里怎么没有你说的“字段控件代码”呀:

  • 阿赖耶识
    #5楼    阿赖耶识
    2021-01-07 10:39:47
    Chrome 0
    安装插件刷新界面就出来了,左侧有一个开发者工具
  • 前端
    #6楼    前端
    2021-01-07 10:43:36
    Chrome 0
    阿赖耶识 清楚浏览器后 好啦
  • 前端
    #7楼    前端
    2021-01-07 11:08:18
    Chrome 0
    迅睿框架技术-景攸 大佬,生成的代码放进来报错了,如图,我应该是放错了、代码格式不对,再帮忙看下:




  • 迅睿框架技术-景攸
    #8楼    迅睿框架技术-景攸
    2021-01-07 11:21:31
    Chrome 0
    代码需要改下,复制出来给我
  • 前端
    #9楼    前端
    2021-01-07 11:23:31
    Chrome 0
    迅睿框架技术-景攸 <div class="form-group"> <label class="col-md-2 control-label">订购咨询第三方链接</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[order]" value="{$data['order']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">联系电话</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[tel]" value="{$data['tel']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">地址1</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[add1]" value="{$data['add1']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">地址2</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[add2]" value="{$data['add2']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">电子邮箱</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[email]" value="{$data['email']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">推特</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[tuite]" value="{$data['tuite']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">脸书</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[lianshu]" value="{$data['lianshu']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">instagram</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[ins]" value="{$data['ins']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">vk</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[vk]" value="{$data['vk']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">youtube</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[youtube]" value="{$data['youtube']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">领英</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[link]" value="{$data['link']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">首页产品类别下文字</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[desc1]" value="{$data['desc1']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">首页内部介绍下文字</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[desc2]" value="{$data['desc2']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">首页合作伙伴下文字</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[desc3]" value="{$data['desc3']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">底部关于我们下文字</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[desc4]" value="{$data['desc4']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">详情页挖掘机用途</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[wjj]" value="{$data['wjj']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">详情页装载机用途</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[zzj]" value="{$data['zzj']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">详情页搅拌车用途</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[jbc]" value="{$data['jbc']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">详情页越野叉车用途</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[yycc]" value="{$data['yycc']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">移动端首页交通运输文字</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[pmjt]" value="{$data['pmjt']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">移动端首页了解公司文字</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[pmlj]" value="{$data['pmlj']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">顶部语言选择英语</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[en]" value="{$data['en']}"></label> </div></div><div class="form-group"> <label class="col-md-2 control-label">顶部语言选择汉语</label> <div class="col-md-10"> <label><input class="form-control input-large" type="text" name="data[cn]" value="{$data['cn']}"></label> </div></div><div class="form-group"> <?php echo dr_fieldform('{"name":"编辑器","fieldname":"bianjiqi","ismain":"1","fieldtype":"Ueditor","setting":{"option":{"down_img":"0","watermark":"0","show_bottom_boot":"0","autofloat":"0","remove_style":"0","div2p":"1","autoheight":"0","page":"0","mode":"2","tool":"'bold', 'italic', 'underline'","mode2":"2","tool2":"'bold', 'italic', 'underline'","mode3":"2","tool3":"'bold', 'italic', 'underline'","attachment":"0","image_reduce":"","value":"","width":"100%","height":"300","css":""},"validate":{"required":"0","pattern":"","errortips":"","check":"","filter":"","formattr":"","tips":""}}}', $bianjiqi);?></div>
  • 迅睿框架技术-景攸
    #10楼    迅睿框架技术-景攸
    2021-01-07 11:24:46
    Chrome 0
    <?php echo dr_fieldform('{"name":"编辑器","fieldname":"bianjiqi","ismain":"1","fieldtype":"Ueditor","setting":{"option":{"down_img":"0","watermark":"0","show_bottom_boot":"0","autofloat":"0","remove_style":"0","div2p":"0","autoheight":"0","page":"0","mode":"1","tool":"\'bold\', \'italic\', \'underline\'","mode2":"1","tool2":"\'bold\', \'italic\', \'underline\'","mode3":"1","tool3":"\'bold\', \'italic\', \'underline\'","attachment":"0","image_reduce":"","value":"","width":"100%","height":"300","css":""},"validate":{"required":"0","pattern":"","errortips":"","check":"","filter":"","formattr":"","tips":""}},"ismember":"1"}', $data.bianjiqi);?>
    满意答案
  • 前端
    #11楼    前端
    2021-01-07 11:51:38
    Chrome 0
    @迅睿框架技术-景攸:感谢帮助