...
|
...
|
@@ -1959,7 +1959,9 @@ $('.pop-intimacy .pop-close, .classroom-mask').on('click', function() { |
|
|
// overflow: 'visible'
|
|
|
// });
|
|
|
|
|
|
location.reload();
|
|
|
// location.reload();
|
|
|
|
|
|
history.go(0);
|
|
|
});
|
|
|
|
|
|
function setAvatar() {
|
...
|
...
|
@@ -2101,7 +2103,7 @@ $(document).ready(function() { |
|
|
exports.calculateMonthDays = CalendarHandler.calculateMonthDays;
|
|
|
|
|
|
});
|
|
|
define("js/guang/collocation-list", ["jquery","lazyload"], function(require, exports, module){
|
|
|
define("js/guang/collocation-list", ["jquery","lazyload","mlellipsis"], function(require, exports, module){
|
|
|
/**
|
|
|
* 星潮教室-星搭配分页加载
|
|
|
* @author: wsl<shuiling.wang@yoho.cn>
|
...
|
...
|
@@ -2112,13 +2114,18 @@ var $ = require("jquery"), |
|
|
tip = require("js/plugin/tip"),
|
|
|
loading = require("js/plugin/loading"),
|
|
|
lazyLoad = require("lazyload"),
|
|
|
ellipsis = require("mlellipsis"),
|
|
|
stopLoading = false;
|
|
|
|
|
|
var page = 1;
|
|
|
|
|
|
ellipsis.init();
|
|
|
|
|
|
$('body').addClass('star-class-body');
|
|
|
|
|
|
function massageAJAX(page) {
|
|
|
var $this, $title, $cont;
|
|
|
|
|
|
loading.showLoadingMask();
|
|
|
$.ajax({
|
|
|
type: 'GET',
|
...
|
...
|
@@ -2136,6 +2143,17 @@ function massageAJAX(page) { |
|
|
}
|
|
|
|
|
|
$('.collocation-list').append(data);
|
|
|
|
|
|
// 限制标题字数
|
|
|
$('.cont-area').each(function() {
|
|
|
$this = $(this);
|
|
|
$title = $this.find('.title');
|
|
|
$cont = $this.find('.cont-txt');
|
|
|
|
|
|
$title[0].mlellipsis(2);
|
|
|
$cont[0].mlellipsis(2);
|
|
|
});
|
|
|
|
|
|
loading.hideLoadingMask();
|
|
|
lazyLoad($('img.lazy'));
|
|
|
},
|
...
|
...
|
@@ -2222,7 +2240,8 @@ $(document).on('touchstart', '.collection', function(event) { |
|
|
tip.show('网络断开连接了~');
|
|
|
}
|
|
|
});
|
|
|
});
|
|
|
});
|
|
|
|
|
|
});
|
|
|
define("js/home/entry", ["jquery","swiper","lazyload","hammer","index"], function(require, exports, module){
|
|
|
/**
|
...
|
...
|
@@ -11866,11 +11885,15 @@ if (!orderInfo('addressId')) { |
|
|
orderInfo('addressId', $addressWrap.data('id'));
|
|
|
}
|
|
|
|
|
|
$('.dispatch-mode').on('touchend', 'li', function() {
|
|
|
$('.delivery-id').on('touchend', 'li', function() {
|
|
|
orderInfo('deliveryId', $(this).data('id'));
|
|
|
orderCompute();
|
|
|
});
|
|
|
|
|
|
$('.payment-type').on('touchend', 'li', function() {
|
|
|
orderInfo('paymentType', $('.icon-cb-radio', this).data('id'));
|
|
|
});
|
|
|
|
|
|
$('.dispatch-time').on('touchend', 'li', function() {
|
|
|
orderInfo('deliveryTimeId', $(this).data('id'));
|
|
|
});
|
...
|
...
|
|