Authored by uedxwg

有货币使用详情

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
... ...
... ... @@ -15,3 +15,4 @@ require('./address');
require('./suggest');
require('./browse-record');
require('./address-act');
require('./currency');
... ...
... ... @@ -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;
... ...
... ... @@ -286,3 +286,8 @@
seajs.use('js/me/logistic');
</script>
{{/if}}
{{#if currency}}
<script>
seajs.use('js/me/currency');
</script>
{{/if}}
... ...
... ... @@ -835,7 +835,6 @@ class HomeController extends AbstractAction
'currency' => $data['list'],
'money' => $data['money'],
'pageFooter' => true,
'money' => 100,
'currencyDetailPage' => true
));
}
... ...