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
Email Patches
Plain Diff
Browse Files
Authored by
uedxwg
9 years ago
Commit
04bd1016d79f36ef5abe0c4bf10d5bfde70e74f7
1 parent
aa6e8140
有货币使用详情
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
28 additions
and
3 deletions
static/js/me/currency.js
static/js/me/entry.js
static/sass/me/_yoho-coin-detail.scss
template/m.yohobuy.com/partials/layout/use.phtml
yohobuy/m.yohobuy.com/application/controllers/Home.php
static/js/me/currency.js
0 → 100644
View file @
04bd101
var
$
=
require
(
'jquery'
);
var
page
=
0
;
$
(
window
).
scroll
(
function
()
{
if
(
$
(
window
).
scrollTop
()
+
$
(
window
).
height
()
>
$
(
'body'
).
height
()
-
1
)
{
page
++
;
$
.
ajax
({
type
:
'POST'
,
url
:
'/home/currencyDetail'
,
dataType
:
'html'
,
data
:
{
page
:
page
},
success
:
function
(
data
)
{
console
.
log
(
data
);
}
});
return
;
}
});
\ No newline at end of file
...
...
static/js/me/entry.js
View file @
04bd101
...
...
@@ -15,3 +15,4 @@ require('./address');
require
(
'./suggest'
);
require
(
'./browse-record'
);
require
(
'./address-act'
);
require
(
'./currency'
);
...
...
static/sass/me/_yoho-coin-detail.scss
View file @
04bd101
...
...
@@ -7,8 +7,8 @@
background
:
#fff
;
margin-bottom
:
pxToRem
(
20px
);
line-height
:
pxToRem
(
70px
);
font-size
:
pxToRem
(
25px
);
text-indent
:
2em
font-size
:
pxToRem
(
30px
);
text-indent
:
1em
;
span
{
color
:
#f00
;
font-weight
:
bold
;
...
...
template/m.yohobuy.com/partials/layout/use.phtml
View file @
04bd101
...
...
@@ -286,3 +286,8 @@
seajs.use('js/me/logistic');
</script>
{{/if}}
{{#if currency}}
<script>
seajs.use('js/me/currency');
</script>
{{/if}}
...
...
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
04bd101
...
...
@@ -835,7 +835,6 @@ class HomeController extends AbstractAction
'currency'
=>
$data
[
'list'
],
'money'
=>
$data
[
'money'
],
'pageFooter'
=>
true
,
'money'
=>
100
,
'currencyDetailPage'
=>
true
));
}
...
...
Please
register
or
login
to post a comment