Commit b61dc627 authored by agping's avatar agping

图片显示相关

parent 78f3f19e
{layout name="global/frame_two_tpl" /}
<input type="hidden" class="page-load" id="opensquareList" />
<style>
.modal-body{
padding: 0px!important;
}
.detail-content img{
max-width: 200px;
}
......@@ -143,8 +146,8 @@
.img-pre-ul>li {
list-style: no;
float: left;
width: 210px;
height: 170px;
width: 200px;
height: 130px;
overflow: hidden;
margin-right: 10px;
margin-top: 10px;
......@@ -156,8 +159,8 @@
.img-pre-ul>li>img {
float: left;
width: 210px;
height: 140px;
width: 200px;
height: 130px;
object-fit: contain;
cursor: pointer;
}
......@@ -385,8 +388,8 @@
<!-- /.modal -->
</div>
<!--新增开盘 编辑开盘-->
<div class="modal fade" id="add_modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" >
<div class="modal-dialog button-center-bargain" style="width: 900px;">
<div class="modal fade" id="add_modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog button-center-bargain" style="width: 980px;">
<div class="modal-content" >
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">
......@@ -452,7 +455,7 @@
<div class="col-sm-9">
<div>
<!-- 加载编辑器的容器 -->
<script type="text/plain" id="myEditor" style="width:620px;height:240px;">
<script type="text/plain" id="myEditor" style="width:716px;height:300px;">
</script>
<!-- 实例化编辑器 -->
<script type="text/javascript">
......@@ -470,9 +473,9 @@
</table>
</div>
</div>
<div class="modal-footer text-center">
<!--<div class="modal-footer text-center">
<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
</div>
</div>-->
</div>
<!-- /.modal-content -->
</div>
......
/*可以在这里添加你自己的css*/
img {
/*max-width: 60%; /*图片自适应宽度*/*/
}
......@@ -35,16 +35,16 @@
//工具栏上的所有的功能按钮和下拉框,可以在new编辑器的实例时选择自己需要的重新定义
, toolbars: [[
'fullscreen', 'source', '|', 'undo', 'redo', '|',
'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|',
// 'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'superscript', 'subscript', 'removeformat', 'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|', 'forecolor', 'backcolor', 'insertorderedlist', 'insertunorderedlist', 'selectall', 'cleardoc', '|',
'rowspacingtop', 'rowspacingbottom', 'lineheight', '|',
'customstyle', 'paragraph', 'fontfamily', 'fontsize', '|',
'directionalityltr', 'directionalityrtl', 'indent', '|',
// 'directionalityltr', 'directionalityrtl', 'indent', '|',
'justifyleft', 'justifycenter', 'justifyright', 'justifyjustify', '|', 'touppercase', 'tolowercase', '|',
'link', 'unlink', 'anchor', '|', 'imagenone', 'imageleft', 'imageright', 'imagecenter', '|',
'simpleupload', 'insertimage', 'emotion', 'scrawl', 'insertvideo', 'music', 'attachment', 'map', 'gmap', 'insertframe', 'insertcode', 'webapp', 'pagebreak', 'template', 'background', '|',
'horizontal', 'date', 'time', 'spechars', 'snapscreen', 'wordimage', '|',
'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', 'charts', '|',
'print', 'preview', 'searchreplace', 'drafts', 'help'
// 'horizontal', 'date', 'time', 'spechars', 'snapscreen', 'wordimage', '|',
// 'inserttable', 'deletetable', 'insertparagraphbeforetable', 'insertrow', 'deleterow', 'insertcol', 'deletecol', 'mergecells', 'mergeright', 'mergedown', 'splittocells', 'splittorows', 'splittocols', 'charts', '|',
// 'print', 'preview', 'searchreplace', 'drafts', 'help'
]]
//当鼠标放在工具栏上时显示的tooltip提示,留空支持自动多语言配置,否则以配置值为准
//,labelMap:{
......@@ -61,7 +61,7 @@
//,theme:'default'
//,themePath:URL +"themes/"
//,zIndex : 900 //编辑器层级的基数,默认是900
,zIndex : 1666 //编辑器层级的基数,默认是900
//针对getAllHtml方法,会在对应的head标签中增加该编码设置。
//,charset:"utf-8"
......@@ -78,7 +78,7 @@
//,autoClearinitialContent:true //是否自动清除编辑器初始内容,注意:如果focus属性设置为true,这个也为真,那么编辑器一上来就会触发导致初始化的内容看不到了
//,focus:false //初始化时,是否让编辑器获得焦点true或false
,focus:true //初始化时,是否让编辑器获得焦点true或false
//如果自定义,最好给p标签如下的行高,要不输入中文时,会有跳动感
//,initialStyle:'p{line-height:1em}'//编辑器层级的基数,可以用来改变字体等
......@@ -247,10 +247,10 @@
//elementPathEnabled
//是否启用元素路径,默认是显示
//,elementPathEnabled : true
,elementPathEnabled : false
//wordCount
//,wordCount:true //是否开启字数统计
,wordCount:false //是否开启字数统计
//,maximumWords:10000 //允许的最大字符数
//字数统计提示,{#count}代表当前字数,{#leave}代表还可以输入多少字符数,留空支持多语言自动切换,否则按此配置显示
//,wordCountMsg:'' //当前已输入 {#count} 个字符,您还可以输入{#leave} 个字符
......@@ -277,7 +277,7 @@
//autoHeightEnabled
// 是否自动长高,默认true
//,autoHeightEnabled:true
,autoHeightEnabled:false
//scaleEnabled
//是否可以拉伸长高,默认true(当开启时,自动长高失效)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment