Authored by 陈轩

YH-4853

@@ -38,7 +38,7 @@ function show(con, dur) { @@ -38,7 +38,7 @@ function show(con, dur) {
38 content = con.toString(); 38 content = con.toString();
39 duration = (dur && dur > 0) ? dur : 2000; 39 duration = (dur && dur > 0) ? dur : 2000;
40 40
41 - $tip.text(content).show(); 41 + $tip.html(content).show();
42 42
43 tipItime = setTimeout(function() { 43 tipItime = setTimeout(function() {
44 if ($tip.css('display') === 'block') { 44 if ($tip.css('display') === 'block') {
@@ -306,8 +306,8 @@ seckillObj = { @@ -306,8 +306,8 @@ seckillObj = {
306 startTime: $product.find('[data-start]').data('start'), 306 startTime: $product.find('[data-start]').data('start'),
307 productName: $.trim($product.find('.item-title').text()) 307 productName: $.trim($product.find('.item-title').text())
308 }; 308 };
309 - okTip = '添加成功';  
310 - failTip = '添加失败'; 309 + okTip = '设置提醒成功<br>将在开抢3分钟前提醒';
  310 + failTip = '设置提醒失败';
311 onsuccess = $.noop; 311 onsuccess = $.noop;
312 312
313 313
@@ -315,8 +315,8 @@ seckillObj = { @@ -315,8 +315,8 @@ seckillObj = {
315 if (actionName === 'cancel') { 315 if (actionName === 'cancel') {
316 on_off = false; 316 on_off = false;
317 action = 'go.delSecKill'; 317 action = 'go.delSecKill';
318 - okTip = '取消成功';  
319 - failTip = '取消失败'; 318 + okTip = '取消提醒成功';
  319 + failTip = '取消提醒失败';
320 } 320 }
321 321
322 onsuccess = function() { 322 onsuccess = function() {