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
451e7685
Commit
451e7685
authored
Apr 11, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传视频
parent
2d613dc5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
5 deletions
+7
-5
News.php
application/index/controller/News.php
+3
-2
baidu_text.html
application/index/view/news/baidu_text.html
+0
-0
route.php
application/route.php
+1
-1
opensquareList.js
public/resource/js/opensquareList.js
+2
-2
ueditor.config.js
public/resource/lib/ueditor/ueditor.config.js
+1
-0
No files found.
application/index/controller/News.php
View file @
451e7685
...
...
@@ -315,8 +315,8 @@ class News extends Basic
return
view
(
'plNews'
);
}
public
function
tes
t
(){
return
view
(
'
tes
t'
);
public
function
baiduTex
t
(){
return
view
(
'
baidu_tex
t'
);
}
}
\ No newline at end of file
application/index/view/news/
tes
t.html
→
application/index/view/news/
baidu_tex
t.html
View file @
451e7685
File moved
application/route.php
View file @
451e7685
...
...
@@ -327,7 +327,7 @@ Route::group('index', [
'delNewsFile'
=>
[
'index/news/delNewsFile'
,
[
'method'
=>
'POST'
]
],
//删除商学院附件
'plNews'
=>
[
'index/news/plNews'
,
[
'method'
=>
'GET'
]],
//商学院评论
'
test'
=>
[
'index/news/tes
t'
,
[
'method'
=>
'GET'
]],
'
baiduText'
=>
[
'index/news/baiduTex
t'
,
[
'method'
=>
'GET'
]],
'agentEvaluateNumAndFraction'
=>
[
'index/broker/agentEvaluateNumAndFraction'
,
[
'method'
=>
'POST|GET'
]
],
//经纪人列表计算-评价次数和分数 朱伟 2018-07-03
'uploadImg'
=>
[
'index/UploadImg/uploadImg'
,
[
'method'
=>
'POST'
]
],
//全局图片上传
...
...
public/resource/js/opensquareList.js
View file @
451e7685
...
...
@@ -61,7 +61,7 @@ define (['doT', 'text!temp/opensquareList_template_tpl.html','ckfinder','ckfinde
$
(
'.is-add'
).
html
(
'发布开盘'
)
var
iFrame2
=
document
.
getElementById
(
'ifram-kaipan'
);
iFrame2
.
contentWindow
.
postMessage
(
'2'
,
'*'
);
$
(
'#ifram-kaipan'
).
attr
(
'src'
,
ServerHostImageLiu
+
'/index/
tes
t'
);
$
(
'#ifram-kaipan'
).
attr
(
'src'
,
ServerHostImageLiu
+
'/index/
baiduTex
t'
);
user
.
getDistrict
();
user
.
switchUrl
=
'/index/addSquare'
;
});
...
...
@@ -193,7 +193,7 @@ define (['doT', 'text!temp/opensquareList_template_tpl.html','ckfinder','ckfinde
user
.
announcementdel_id
=
$
(
this
).
attr
(
"data-id"
);
user
.
is_add
=
0
;
// $('#ifram-kaipan').attr('src',ServerHostImageLiu + '/index/test');
$
(
'#ifram-kaipan'
).
attr
(
'src'
,
ServerHostImageLiu
+
'/index/
tes
t'
);
$
(
'#ifram-kaipan'
).
attr
(
'src'
,
ServerHostImageLiu
+
'/index/
baiduTex
t'
);
user
.
text_details
();
});
...
...
public/resource/lib/ueditor/ueditor.config.js
View file @
451e7685
...
...
@@ -363,6 +363,7 @@
,
outputXssFilter
:
true
// xss过滤白名单 名单来源: https://raw.githubusercontent.com/leizongmin/js-xss/master/lib/default.js
,
whitList
:
{
iframe
:
[
'frameborder'
,
'border'
,
'marginwidth'
,
'marginheight'
,
'width'
,
'height'
,
'src'
,
'id'
],
a
:
[
'target'
,
'href'
,
'title'
,
'class'
,
'style'
],
abbr
:
[
'title'
,
'class'
,
'style'
],
address
:
[
'class'
,
'style'
],
...
...
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