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
a19f1df4
Commit
a19f1df4
authored
Sep 05, 2018
by
xinyuandu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图片放大
parent
c2f909f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
pictureShow.js
public/resource/js/pictureShow.js
+2
-1
picture_add_template_tpl.html
public/resource/template/picture_add_template_tpl.html
+1
-2
No files found.
public/resource/js/pictureShow.js
View file @
a19f1df4
...
...
@@ -4,7 +4,7 @@
* time : 2018/08/30
* about : 商铺图库
*/
define
([
'doT'
,
'text!temp/picture_add_template_tpl.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
],
function
(
doT
,
template
)
{
define
([
'doT'
,
'text!temp/picture_add_template_tpl.html'
,
'css!style/home.css'
,
'ckfinder'
,
'ckfinderStart'
,
'pagination'
,
'bootstrapJs'
,
'blow-up'
],
function
(
doT
,
template
)
{
picture
=
{
pageNo
:
1
,
/*第几页*/
pageSize
:
10
,
/*每页显示多少条*/
...
...
@@ -153,6 +153,7 @@ define (['doT', 'text!temp/picture_add_template_tpl.html', 'css!style/home.css',
/*分页代码*/
add_page
(
data
.
data
.
total
,
pageNo
,
picture
.
pageSize
,
picture
.
getList
);
$
(
'.J_preview'
).
preview
();
}
});
},
...
...
public/resource/template/picture_add_template_tpl.html
View file @
a19f1df4
...
...
@@ -5,8 +5,7 @@
<
td
>
[
%=
it
[
item
][
'create_time'
]
%
]
<
/td
>
<!--
<
td
>
[
%=
it
[
item
][
'img_file_path'
]
%
]
<
/td>--
>
<
td
>
<
img
height
=
"60px"
width
=
"100px"
src
=
'[%= it[item]['
img_file_path
'] %]'
>
<
img
height
=
"60px"
width
=
"100px"
src
=
'[%= it[item]['
img_file_path
'] %]'
class
=
"diagram-image J_preview"
data
-
bimg
=
'[%= it[item]['
img_file_path
'] %]'
>
<
/td
>
[
%
if
(
it
[
item
][
'img_type'
]
==
2
){
%
]
<
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