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
83f858e8
Commit
83f858e8
authored
Mar 21, 2019
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
images
parent
abae6107
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Banner.php
application/api/controller/Banner.php
+1
-1
banner_template_tpl.html
public/resource/template/banner_template_tpl.html
+2
-2
No files found.
application/api/controller/Banner.php
View file @
83f858e8
...
...
@@ -46,7 +46,7 @@ class Banner extends Basic
$where_
[
"type"
]
=
array
(
"in"
,[
2
,
3
]);
}
$field
=
"id,title,CONCAT('"
.
CK_IMG_URL
.
"' , pic_path) as pic_path, url, type,sort,is_show,create_time,update_time"
;
$field
=
"id,title,CONCAT('"
.
CK_IMG_URL
.
'images/'
.
"' , pic_path) as pic_path, url, type,sort,is_show,create_time,update_time"
;
$where_
[
'is_show'
]
=
array
(
"eq"
,
0
);
...
...
public/resource/template/banner_template_tpl.html
View file @
83f858e8
...
...
@@ -5,8 +5,8 @@
<
td
>
[
%=
it
[
item
][
"title"
]
%
]
<
/td
>
<
td
>
<
input
type
=
"hidden"
value
=
'[%= it[item]["pic_path"] %]'
>
<
img
src
=
'https://images.tonglianjituan.com/resource/lib/Attachments/[%= it[item]["pic_path"] %]'
class
=
"diagram-image J_preview"
data
-
bimg
=
'https://images.tonglianjituan.com/resource/lib/Attachments/[%= it[item]["pic_path"] %]'
>
<
img
src
=
'https://images.tonglianjituan.com/resource/lib/Attachments/
images/
[%= it[item]["pic_path"] %]'
class
=
"diagram-image J_preview"
data
-
bimg
=
'https://images.tonglianjituan.com/resource/lib/Attachments/
images/
[%= it[item]["pic_path"] %]'
>
<
/td
>
<
td
>
...
...
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