mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2024-12-04 13:00:05 +08:00
25 lines
614 B
JavaScript
Executable File
25 lines
614 B
JavaScript
Executable File
$(function()
|
|
{
|
|
// 弹出地址选择
|
|
$('.address-submit-save').on('click', function(e)
|
|
{
|
|
ModalLoad($(this).data('url'), $(this).data('popup-title'), 'popup-modal-address', 'common-address-modal');
|
|
|
|
// 阻止事件冒泡
|
|
e.stopPropagation();
|
|
});
|
|
|
|
// 阻止事件冒泡
|
|
$('.address-submit-delete').on('click', function(e)
|
|
{
|
|
ConfirmDataDelete($(this));
|
|
e.stopPropagation();
|
|
});
|
|
|
|
// 设为默认地址
|
|
$('.address-default-submit').on('click', function(e)
|
|
{
|
|
ConfirmNetworkAjax($(this));
|
|
e.stopPropagation();
|
|
});
|
|
}); |