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
a5213015
Commit
a5213015
authored
Jul 06, 2018
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
82408e81
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
4 deletions
+5
-4
edit.html
application/index/view/houses/edit.html
+1
-1
shop_edit.js
public/resource/js/shop_edit.js
+2
-2
schoolBusiness_template_tpl.html
public/resource/template/schoolBusiness_template_tpl.html
+2
-1
No files found.
application/index/view/houses/edit.html
View file @
a5213015
...
@@ -355,7 +355,7 @@
...
@@ -355,7 +355,7 @@
<label
for=
""
style=
"width: 100%;"
>
大讲堂(选填)
</label>
<label
for=
""
style=
"width: 100%;"
>
大讲堂(选填)
</label>
<div
class=
"input-group"
style=
"width: 100%;"
id=
"dajiangtang"
>
<div
class=
"input-group"
style=
"width: 100%;"
id=
"dajiangtang"
>
<?php
<?php
create_editor('d
escribe
');
create_editor('d
a_jiang_tang','
');
?>
?>
</div>
</div>
</div>
</div>
...
...
public/resource/js/shop_edit.js
View file @
a5213015
...
@@ -293,7 +293,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -293,7 +293,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
_weilouLinkObj
.
val
(
_data
[
'tiny_brochure_url'
]);
//微楼书
_weilouLinkObj
.
val
(
_data
[
'tiny_brochure_url'
]);
//微楼书
//大讲堂调用共用方法赋值与取值
//大讲堂调用共用方法赋值与取值
setCKeditorValue
(
'd
escribe
'
,
_data
[
'auditorium'
]);
//大讲堂
setCKeditorValue
(
'd
a_jiang_tang
'
,
_data
[
'auditorium'
]);
//大讲堂
//列表页封面图
//列表页封面图
if
(
_data
[
'cover'
]){
if
(
_data
[
'cover'
]){
...
@@ -1028,7 +1028,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
...
@@ -1028,7 +1028,7 @@ define(['doT', 'css!style/shop_edit.css', 'ckfinder', 'ckfinderStart'], function
var
_dujiaPicObj
=
_imgUploadDujia
.
find
(
'li>img'
);
var
_dujiaPicObj
=
_imgUploadDujia
.
find
(
'li>img'
);
//大讲堂验证, 大讲堂调用共用方法赋值与取值
//大讲堂验证, 大讲堂调用共用方法赋值与取值
var
_dajiangtangVal
=
getCKeditorValue
(
'd
escribe
'
);
var
_dajiangtangVal
=
getCKeditorValue
(
'd
a_jiang_tang
'
);
//大讲堂不是必填项
//大讲堂不是必填项
// if(_dajiangtangVal == '' || _dajiangtangVal == '<p><br></p>' || _dajiangtangVal == '<p><br /></p>' || _dajiangtangVal == '<p></p>'){
// if(_dajiangtangVal == '' || _dajiangtangVal == '<p><br></p>' || _dajiangtangVal == '<p><br /></p>' || _dajiangtangVal == '<p></p>'){
// alert('请填写大讲堂内容!');
// alert('请填写大讲堂内容!');
...
...
public/resource/template/schoolBusiness_template_tpl.html
View file @
a5213015
...
@@ -18,7 +18,8 @@
...
@@ -18,7 +18,8 @@
<
td
>
[
%=
it
[
item
][
"comment_number"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"comment_number"
]
%
]
<
/td
>
<
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
=
"_self"
>
<!--<
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
class
=
"btn1 btn-success"
href
=
"new_text.html?id=[%= it[item]['id'] %]"
data
-
id
=
"[%= it[item]['id'] %]"
>
编辑
编辑
<
/a
>
<
/a
>
[
%
if
(
check_auth
(
'index/delNews'
))
{
%
]
[
%
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