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
a420e504
Commit
a420e504
authored
Apr 11, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
代码优化
parent
451e7685
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
Basic.php
application/index/extend/Basic.php
+1
-0
baidu_text.html
application/index/view/news/baidu_text.html
+0
-1
opensquareList.js
public/resource/js/opensquareList.js
+2
-2
No files found.
application/index/extend/Basic.php
View file @
a420e504
...
...
@@ -86,6 +86,7 @@ class Basic extends Controller
'index/checkReferrer'
,
'index/getActivityCoupon'
,
'index/ceshi'
,
'index/baiduText'
,
);
/**
...
...
application/index/view/news/baidu_text.html
View file @
a420e504
...
...
@@ -38,7 +38,6 @@
//新增 置空内容
window
.
addEventListener
(
'message'
,
function
(
e
)
{
if
(
e
.
data
*
1
==
2
){
console
.
log
(
555
)
ue
.
ready
(
function
()
{
ue
.
setContent
(
''
);
});
...
...
public/resource/js/opensquareList.js
View file @
a420e504
...
...
@@ -223,7 +223,7 @@ define (['doT', 'text!temp/opensquareList_template_tpl.html','ckfinder','ckfinde
iFrame
.
onload
=
function
(){
//iframe加载完立即发送一条消息
iFrame
.
contentWindow
.
postMessage
(
data
.
data
.
content
,
'*'
);
console
.
log
(
data
.
data
.
content
);
//
console.log(data.data.content);
}
var
_data
=
data
[
'data'
];
...
...
@@ -249,7 +249,7 @@ define (['doT', 'text!temp/opensquareList_template_tpl.html','ckfinder','ckfinde
dataType
:
"json"
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
console
.
log
(
555
)
//
console.log(555)
$
(
".detail-title"
).
html
(
data
.
data
.
title
);
$
(
".detail-time"
).
html
(
data
.
data
.
create_time
);
$
(
".detail-content"
).
html
(
data
.
data
.
content
);
...
...
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