Authored by 郭成尧

'gulpge'

... ... @@ -1673,55 +1673,55 @@ exports.loadMore = loadMore;
});
define("js/plugin/tip", ["jquery"], function(require, exports, module){
/**
* 弹框提示
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/10
*/
var $ = require("jquery");
var $tip, tipItime;
/**
* 初始化提示框
*/
(function() {
var tipHtml = '<div id="yoho-tip" class="yoho-tip"></div>';
//插入提示HTML
$('.yoho-page').append(tipHtml);
$tip = $('#yoho-tip');
$tip.on('touchend', function() {
$tip.hide();
//清除Timeout
clearTimeout(tipItime);
});
}());
/**
* 显示提示
*/
function show(con, dur) {
var content, duration;
if (typeof con === 'undefined') {
return;
}
content = con.toString();
duration = (dur && dur > 0) ? dur : 2000;
$tip.text(content).show();
tipItime = setTimeout(function() {
if ($tip.css('display') === 'block') {
$tip.hide();
}
}, duration);
}
/**
* 弹框提示
* @author: xuqi<qi.xu@yoho.cn>
* @date: 2015/10/10
*/
var $ = require("jquery");
var $tip, tipItime;
/**
* 初始化提示框
*/
(function() {
var tipHtml = '<div id="yoho-tip" class="yoho-tip"></div>';
//插入提示HTML
$('.yoho-page').append(tipHtml);
$tip = $('#yoho-tip');
$tip.on('touchend', function() {
$tip.hide();
//清除Timeout
clearTimeout(tipItime);
});
}());
/**
* 显示提示
*/
function show(con, dur) {
var content, duration;
if (typeof con === 'undefined') {
return;
}
content = con.toString();
duration = (dur && dur > 0) ? dur : 2000;
$tip.text(content).show();
tipItime = setTimeout(function() {
if ($tip.css('display') === 'block') {
$tip.hide();
}
}, duration);
}
exports.show = show;
});
define("js/plugin/wx-share", ["jquery"], function(require, exports, module){
... ... @@ -14636,21 +14636,19 @@ function submitOrder() {
/* tar add 161116 */
if (window._yas && window._yas.sendCustomInfo) {
window._yas.sendCustomInfo({
op: 'YB_SC_TOPAY_CLICK',
param: JSON.stringify({
op: 'YB_SC_TOPAY_CLICK',
param: JSON.stringify({
C_ID: window._ChannelVary[cookie('_Channel')],
ORDER_CODE: res.data.order_code,
PRD_NUM: $('#goods-num').val(),
ORDER_AMOUNT: res.data.order_amount,
UNIONCOOKIE: res.data.unionCookie,
})
C_ID: window._ChannelVary[cookie('_Channel')],
ORDER_CODE: res.data.order_code,
PRD_NUM: $('#goods-num').val(),
ORDER_AMOUNT: res.data.order_amount,
UNIONCOOKIE: res.data.unionCookie || '',
})
}, true);
}
window.setCookie('order-info', '');
window.location.href = url;
// window.location.href = url;
} else if (res.message) {
tip.show(res.message);
}
... ...
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.