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
60533860
Commit
60533860
authored
Feb 25, 2019
by
agping
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商铺查看日志 加载图标
parent
d464ab89
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
2 deletions
+20
-2
shopinspectionLogList.html
...tion/index/view/shopinspection/shopinspectionLogList.html
+16
-1
shopInspectionLog.js
public/resource/js/shopInspectionLog.js
+4
-1
No files found.
application/index/view/shopinspection/shopinspectionLogList.html
View file @
60533860
...
@@ -24,6 +24,18 @@
...
@@ -24,6 +24,18 @@
.clear
{
.clear
{
clear
:
both
;
clear
:
both
;
}
}
/*加载图标*/
#main_loading_pic
{
position
:
fixed
;
top
:
50%
;
left
:
50%
;
width
:
100px
;
height
:
100px
;
margin-left
:
50px
;
margin-top
:
-150px
;
;
overflow
:
hidden
;
display
:
none
;
}
</style>
</style>
<div
id=
"page-content-wrapper"
>
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
<div
class=
"container"
>
...
@@ -97,7 +109,10 @@
...
@@ -97,7 +109,10 @@
</div>
</div>
</div>
</div>
</div>
</div>
<!--加载图标-->
<div
id=
"main_loading_pic"
>
<img
src=
"/resource/image/jz2.gif"
>
</div>
...
...
public/resource/js/shopInspectionLog.js
View file @
60533860
...
@@ -60,7 +60,9 @@ define(['doT', 'text!temp/shop_inspectionlog_template_tpl.html', 'css!style/home
...
@@ -60,7 +60,9 @@ define(['doT', 'text!temp/shop_inspectionlog_template_tpl.html', 'css!style/home
data
:
params
,
data
:
params
,
timeout
:
30000
,
timeout
:
30000
,
dataType
:
'json'
,
dataType
:
'json'
,
beforeSend
:
function
()
{},
beforeSend
:
function
()
{
$
(
'#main_loading_pic'
).
show
();
},
success
:
function
(
data
)
{
success
:
function
(
data
)
{
if
(
typeof
data
===
'object'
)
{
if
(
typeof
data
===
'object'
)
{
...
@@ -84,6 +86,7 @@ define(['doT', 'text!temp/shop_inspectionlog_template_tpl.html', 'css!style/home
...
@@ -84,6 +86,7 @@ define(['doT', 'text!temp/shop_inspectionlog_template_tpl.html', 'css!style/home
alert
(
'error'
);
alert
(
'error'
);
},
},
complete
:
function
(
xhr
,
textStatus
)
{
complete
:
function
(
xhr
,
textStatus
)
{
$
(
'#main_loading_pic'
).
hide
();
if
(
textStatus
===
'timeout'
)
{
if
(
textStatus
===
'timeout'
)
{
alert
(
'请求超时'
);
alert
(
'请求超时'
);
};
};
...
...
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