Commit f5414046 authored by Mac's avatar Mac

1

parent c5f7afd7
......@@ -269,6 +269,7 @@ $.fn.dataStatistics = function(options) {
$('.img_btn').click(function() {
window.location.href = `./Rushbuy.html?redemptionPrice=${options.price}&couponId=${options.couponId}&platform=${options.platform}`;
if ($('.img_btn p').css('color') == 'rgb(224, 50, 52)') { //判断按钮是否可以点击
if (options.login == true) {
......@@ -317,4 +318,4 @@ $.fn.dataStatistics = function(options) {
}
})
};
\ No newline at end of file
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment