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
c37a7d66
Commit
c37a7d66
authored
Jan 17, 2019
by
xishifeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充
parent
af731588
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
public.js
public/resource/js/public.js
+5
-1
agent_template_tpl.html
public/resource/template/agent_template_tpl.html
+1
-1
No files found.
public/resource/js/public.js
View file @
c37a7d66
...
...
@@ -148,7 +148,11 @@ define(['doT', 'jquery', 'text!temp/menu_template_tpl.html', 'layer'], function
_doc
.
on
(
'click'
,
'.J_preview'
,
function
(
e
){
e
.
preventDefault
();
e
.
stopPropagation
();
$
.
openPhotoGallery
(
this
);
if
(
$
(
this
).
hasClass
(
'no-scroll-page-img'
)){
}
else
{
$
.
openPhotoGallery
(
this
);
};
});
});
var
ServerHost
=
location
.
origin
;
...
...
public/resource/template/agent_template_tpl.html
View file @
c37a7d66
...
...
@@ -6,7 +6,7 @@
<
td
class
=
"text-center"
>
[
%=
it
[
item
][
"id"
]
%
]
<
/td
>
<
td
class
=
"text-center"
>
<
input
type
=
"hidden"
value
=
'[%= it[item]["agent_img"] %]'
>
<
img
src
=
'[%= it[item]["agent_img"] %]'
class
=
"diagram-image J_preview"
<
img
src
=
'[%= it[item]["agent_img"] %]'
class
=
"diagram-image J_preview
no-scroll-page-img
"
data
-
bimg
=
'[%= it[item]["agent_img"] %]'
>
<
/td
>
<!--<
td
>
[
%=
it
[
item
][
"level"
]
%
]
<
/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