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
070078a6
Commit
070078a6
authored
Feb 18, 2019
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
a3239023
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
banner.js
public/resource/js/banner.js
+1
-1
banner_template_tpl.html
public/resource/template/banner_template_tpl.html
+2
-2
No files found.
public/resource/js/banner.js
View file @
070078a6
...
@@ -244,7 +244,7 @@ define (['doT', 'text!temp/banner_template_tpl.html', 'ckfinder', 'ckfinderStart
...
@@ -244,7 +244,7 @@ define (['doT', 'text!temp/banner_template_tpl.html', 'ckfinder', 'ckfinderStart
var
_url
=
_data
.
data
.
internet_img_name
;
var
_url
=
_data
.
data
.
internet_img_name
;
var
tag
=
''
;
var
tag
=
''
;
tag
+=
'<div class="col-xs-3 pictures" id='
+
_data
.
data
.
img_path
+
'>'
;
tag
+=
'<div class="col-xs-3 pictures" id='
+
_data
.
data
.
img_path
+
'>'
;
tag
+=
' <img src="https://images.tonglianjituan.com/'
+
_url
+
'" class="" id="" width="90%">'
;
tag
+=
' <img src="https://images.tonglianjituan.com/
resource/lib/Attachments/images/
'
+
_url
+
'" class="" id="" width="90%">'
;
tag
+=
' <div style="text-align:center" id="'
+
_data
.
data
.
img_path
+
'"><a href="javascript:;" class="delet-pic-btn">删除</a></div>'
;
tag
+=
' <div style="text-align:center" id="'
+
_data
.
data
.
img_path
+
'"><a href="javascript:;" class="delet-pic-btn">删除</a></div>'
;
tag
+=
'</div>'
;
tag
+=
'</div>'
;
$
(
'.img_area'
).
append
(
tag
)
;
$
(
'.img_area'
).
append
(
tag
)
;
...
...
public/resource/template/banner_template_tpl.html
View file @
070078a6
...
@@ -5,8 +5,8 @@
...
@@ -5,8 +5,8 @@
<
td
>
[
%=
it
[
item
][
"title"
]
%
]
<
/td
>
<
td
>
[
%=
it
[
item
][
"title"
]
%
]
<
/td
>
<
td
>
<
td
>
<
input
type
=
"hidden"
value
=
'[%= it[item]["pic_path"] %]'
>
<
input
type
=
"hidden"
value
=
'[%= it[item]["pic_path"] %]'
>
<
img
src
=
'http://images.tonglianjituan.com/resource/lib/Attachments/[%= it[item]["pic_path"] %]'
class
=
"diagram-image J_preview"
<
img
src
=
'http://images.tonglianjituan.com/resource/lib/Attachments/
images/
[%= it[item]["pic_path"] %]'
class
=
"diagram-image J_preview"
data
-
bimg
=
'http://images.tonglianjituan.com/resource/lib/Attachments/[%= it[item]["pic_path"] %]'
>
data
-
bimg
=
'http://images.tonglianjituan.com/resource/lib/Attachments/
images/
[%= it[item]["pic_path"] %]'
>
<
/td
>
<
/td
>
<
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