提交 e23e4d18 编写于 作者: D devil

商品页面购买确认修复

上级 7347d29b
......@@ -396,13 +396,12 @@ function GoodsBaseRestore()
* @date 2020-08-16
* @desc description
*/
function SpecPopupShow()
function SpecPopupShow(e)
{
$(document.body).css('position', 'fixed');
$('.theme-popover-mask').show();
$('.theme-popover').slideDown(200);
$('.theme-popover .confirm').attr('data-type', $(this).data('type'));
$('.theme-popover .confirm').attr('data-type', e.data('type') || 'buy');
}
$(function() {
......@@ -492,7 +491,7 @@ $(function() {
// 规格选择显示事件
$('.mini-spec-event').on('click', function()
{
SpecPopupShow();
SpecPopupShow($(this));
});
//弹出规格选择
......@@ -501,7 +500,7 @@ $(function() {
// 是否登录
if(__user_id__ != 0)
{
SpecPopupShow();
SpecPopupShow($(this));
}
} else {
PoptitPcShow();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册