Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
b61dc627
Commit
b61dc627
authored
Apr 04, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片显示相关
parent
78f3f19e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
25 additions
and
20 deletions
+25
-20
opensquareLogList.html
application/index/view/opensquare/opensquareLogList.html
+12
-9
iframe.css
public/resource/lib/ueditor/themes/iframe.css
+3
-1
ueditor.config.js
public/resource/lib/ueditor/ueditor.config.js
+10
-10
No files found.
application/index/view/opensquare/opensquareLogList.html
View file @
b61dc627
{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
:
2
1
0px
;
height
:
1
7
0px
;
width
:
2
0
0px
;
height
:
1
3
0px
;
overflow
:
hidden
;
margin-right
:
10px
;
margin-top
:
10px
;
...
...
@@ -156,8 +159,8 @@
.img-pre-ul
>
li
>
img
{
float
:
left
;
width
:
2
1
0px
;
height
:
1
4
0px
;
width
:
2
0
0px
;
height
:
1
3
0px
;
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: 9
0
0px;"
>
<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: 9
8
0px;"
>
<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:24
0px;"
>
<script
type=
"text/plain"
id=
"myEditor"
style=
"width:
716px;height:30
0px;"
>
</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>
...
...
public/resource/lib/ueditor/themes/iframe.css
View file @
b61dc627
/*可以在这里添加你自己的css*/
img
{
/*max-width: 60%; /*图片自适应宽度*/
*/
}
public/resource/lib/ueditor/ueditor.config.js
View file @
b61dc627
...
...
@@ -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:fals
e //初始化时,是否让编辑器获得焦点true或false
,
focus
:
tru
e
//初始化时,是否让编辑器获得焦点true或false
//如果自定义,最好给p标签如下的行高,要不输入中文时,会有跳动感
//,initialStyle:'p{line-height:1em}'//编辑器层级的基数,可以用来改变字体等
...
...
@@ -247,10 +247,10 @@
//elementPathEnabled
//是否启用元素路径,默认是显示
//,elementPathEnabled : tru
e
,
elementPathEnabled
:
fals
e
//wordCount
//,wordCount:tru
e //是否开启字数统计
,
wordCount
:
fals
e
//是否开启字数统计
//,maximumWords:10000 //允许的最大字符数
//字数统计提示,{#count}代表当前字数,{#leave}代表还可以输入多少字符数,留空支持多语言自动切换,否则按此配置显示
//,wordCountMsg:'' //当前已输入 {#count} 个字符,您还可以输入{#leave} 个字符
...
...
@@ -277,7 +277,7 @@
//autoHeightEnabled
// 是否自动长高,默认true
//,autoHeightEnabled:tru
e
,
autoHeightEnabled
:
fals
e
//scaleEnabled
//是否可以拉伸长高,默认true(当开启时,自动长高失效)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment