Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYWAP
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
王洪广
9 years ago
Commit
8053bf7e01b53779f39797b5527bb23263cd4b21
2 parents
6ca9e98b
7e0880b5
Merge branch 'feature/wechatloading' into release/4.5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
15 deletions
static/img/loading-wechat.png
static/js/me/pay.js
static/sass/me/_pay.css
template/m.yohobuy.com/actions/index/home/pay.phtml
static/img/loading-wechat.png
0 → 100644
View file @
8053bf7
377 Bytes
static/js/me/pay.js
View file @
8053bf7
...
...
@@ -9,7 +9,7 @@ var loading = require('../plugin/loading'),
tip
=
require
(
'../plugin/tip'
),
Hammer
=
require
(
'yoho.hammer'
);
// 点击微信显示加载
var
$loadingToast
=
$
(
".loading
T
oast"
);
var
$loadingToast
=
$
(
".loading
-t
oast"
);
var
theOrderCode
=
document
.
getElementById
(
'ordercode'
).
value
;
var
wxPayEl
=
document
.
getElementById
(
'weixin'
),
...
...
static/sass/me/_pay.css
View file @
8053bf7
...
...
@@ -67,7 +67,7 @@
}
}
/* 加载中 */
.loading
T
oast
{
.loading
-t
oast
{
position
:
fixed
;
z-index
:
3
;
width
:
3.8em
;
...
...
@@ -80,27 +80,27 @@
border-radius
:
5px
;
color
:
#FFFFFF
;
}
.loading
T
oast
:after
{
.loading
-t
oast
:after
{
content
:
''
;
position
:
absolute
;
left
:
50%
;
top
:
50%
;
margin-left
:
-.5rem
;
margin-top
:
-.5rem
;
width
:
1rem
;
height
:
1rem
;
background
:
url("data:image/png;charset=utf-8;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkBAMAAAATLoWrAAAAAG5wVGOkIJ/OAAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAbUExURQAAAP///////////////////////////////+tNPsIAAAAJdFJOUwD+ELHdi00wbfD3fpAAAADbSURBVCjPY2CgDLBnBBtHFCCLsIWGGgNBE5Ka1tBgoIiJcwJcqKI1NF2BqcLExQOuraMDbAybiUsAVKisA6pB1cUVwmBKS4epb3GBSLKnwW1ndXEC0+rlcHuYoBaUFyGckygClilHcjWLIMgwJiUFhBCHYABYCNlnggboQkyCDiBSATkABAUwQglTCKIRBUCMRwGsggHoQhCnooBEQQzTHUXRhZgFhdCFAlGMUgZhQWR97I4gR6G4qlGQKdURRZGyIBggm2QIFgliQFPliubwRkHM1OSImcKU4SwAH1UgWePsA0wAAAAASUVORK5CYII=")
;
background-size
:
1rem
;
-webkit-animation
:
rotate
.7s
infinite
;
-webkit-animation-timing-function
:
linear
;
margin-left
:
-20px
;
margin-top
:
-20px
;
width
:
40px
;
height
:
40px
;
background
:
resolve
(
"loading-wechat.png"
);
background-size
:
40px
;
animation
:
rotate
.7s
infinite
;
animation-timing-function
:
linear
;
}
}
@
-webkit-
keyframes
rotate
{
@keyframes
rotate
{
0
%
{
-webkit-
transform
:
rotate
(
0deg
)
transform
:
rotate
(
0deg
)
}
100
%
{
-webkit-
transform
:
rotate
(
360deg
)
transform
:
rotate
(
360deg
)
}
}
\ No newline at end of file
...
...
template/m.yohobuy.com/actions/index/home/pay.phtml
View file @
8053bf7
...
...
@@ -31,7 +31,7 @@
{
{/if
}
}
{
{/
payAppInfo
}
}
</div>
<div
class=
"loading
T
oast hide"
></div>
<div
class=
"loading
-t
oast hide"
></div>
</div>
<script>_ozprm=
"orderid={{orderCode}}&ordertotal={{orderTotal}}"
;</script>
<script
type=
"text/javascript"
src
=
"//static.yohobuy.com/m/v1/js/AG_Tracking.js"
></script>
...
...
Please
register
or
login
to post a comment