Authored by 阿达

提交的错误代码

... ... @@ -8,7 +8,7 @@ var $ = require('yoho-jquery'),
Handlebars = require('yoho-handlebars'),
lazyLoad = require('yoho-jquery-lazyload');
(function($) {
(function() {
var LogoBrand = function(element, options) {
this.$element = $(element);
this.options = $.extend({}, $.fn.logoBrand.defaults, options);
... ... @@ -153,4 +153,4 @@ var $ = require('yoho-jquery'),
showNum: 16,
url: '/boys/getBrand'
};
})($);
}());
... ...
... ... @@ -112,7 +112,7 @@ module.exports = function(data) {
delete data.count;
delete data.rows;
loadAjax = function(url, data, count) {
loadAjax = function() {
var options = {
type: 'POST',
... ... @@ -154,14 +154,14 @@ module.exports = function(data) {
};
load.on('after', function(p) {
load.on('after', function() {
data.pageCount = count * rows[1];
loadAjax(url, data);
});
load.on('before', function(p) {
load.on('before', function() {
load.tpl = '{{#each this}}';
... ...
... ... @@ -94,6 +94,7 @@
background-size: 100% 100%;
width: 35px;
height: 15px;
line-height: 15px;
color: #fff;
font-style: italic;
margin-right: 10px;
... ...
... ... @@ -468,6 +468,20 @@
font-weight: bold;
}
.vip-span {
background-repeat: no-repeat;
background-size: 100% 100%;
width: 35px;
height: 15px;
color: #fff;
font-style: italic;
margin-right: 10px;
margin-left: 10px;
padding-right: 5px;
padding-left: 5px;
font-weight: bold;
}
}
}
}
... ...