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
5d61d407
Commit
5d61d407
authored
Jul 06, 2018
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商学院 页面不调转 修改
parent
6639119f
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
7 deletions
+3
-7
index.html
application/index/view/news/index.html
+1
-1
schoolBusiness.js
public/resource/js/schoolBusiness.js
+1
-5
schoolBusiness_template_tpl.html
public/resource/template/schoolBusiness_template_tpl.html
+1
-1
No files found.
application/index/view/news/index.html
View file @
5d61d407
...
...
@@ -248,7 +248,7 @@
<div
class=
"pull-right"
>
<ul
class=
"bread_btn"
>
<li>
<a
href=
"new_text.html"
class=
"btn btn-default add_alert"
target=
"_
blank
"
><i
class=
"icon-plus"
></i>
新增文章
<a
href=
"new_text.html"
class=
"btn btn-default add_alert"
target=
"_
self
"
><i
class=
"icon-plus"
></i>
新增文章
</a>
</li>
</ul>
...
...
public/resource/js/schoolBusiness.js
View file @
5d61d407
...
...
@@ -345,7 +345,7 @@ define (['doT', 'text!temp/schoolBusiness_template_tpl.html','ckfinder','ckfinde
});
},
//点击编辑 调用的接口
announcement_details
:
function
()
{
//提交
announcement_details
:
function
()
{
var
news_id
=
getUrlParam
(
'id'
);
//地址栏获取的商铺或者街铺id
var
_imgUploadLunbo
=
$
(
'#xiangqing_pic_ul'
);
//详情页轮播图ul
var
_imgUploadLiebiao
=
$
(
'#liebiao_pic_ul'
);
//列表页封面图ul
...
...
@@ -360,18 +360,14 @@ define (['doT', 'text!temp/schoolBusiness_template_tpl.html','ckfinder','ckfinde
dataType
:
"json"
,
success
:
function
(
data
)
{
if
(
data
.
code
==
200
)
{
//获取标签 id
$
(
"#announcement_title"
).
val
(
data
.
data
.
title
);
$
(
"#district_id2"
).
val
(
data
.
data
.
s_label_id
*
1
);
//商学院标签id
// 获取封面图
var
_data
=
data
[
'data'
];
// 封面图一张
if
(
_data
[
'cover_plan'
]){
_imgUploadLiebiao
.
html
(
'<li><img title="点击查看大图" src="{0}" /><a href="javascript:;" class="delet-pic-btn">删除</a></li>'
.
stringFormatObj
({
'0'
:
_data
[
'cover_plan'
]
}));
};
// 封面图一张
_dajiangtangObj
.
find
(
'iframe'
).
contents
().
find
(
'body'
).
html
(
_data
[
'content'
]);
//大讲堂
}
else
{
}
...
...
public/resource/template/schoolBusiness_template_tpl.html
View file @
5d61d407
...
...
@@ -18,7 +18,7 @@
<
td
>
[
%=
it
[
item
][
"comment_number"
]
%
]
<
/td
>
<
td
>
<
a
class
=
"btn1 btn-success"
href
=
"new_text.html?id=[%= it[item]["
id
"] %]"
data
-
createTime
=
'[%= it[item]["create_time"] %]'
data
-
title
=
'[%= it[item]["title"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
data
-
content
=
'[%= it[item]["content"] %]'
target
=
"_blank
"
>
<
a
class
=
"btn1 btn-success"
href
=
"new_text.html?id=[%= it[item]["
id
"] %]"
data
-
createTime
=
'[%= it[item]["create_time"] %]'
data
-
title
=
'[%= it[item]["title"] %]'
data
-
id
=
'[%= it[item]["id"] %]'
data
-
content
=
'[%= it[item]["content"] %]'
target
=
"_self
"
>
编辑
<
/a
>
[
%
if
(
check_auth
(
'index/delNews'
))
{
%
]
...
...
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