Authored by wenjiekong

修改优惠券返回提示的小图标

@@ -18,7 +18,7 @@ var tpl = @@ -18,7 +18,7 @@ var tpl =
18 '{{#if closeIcon}}' + 18 '{{#if closeIcon}}' +
19 '<span class="close {{#if myCloseIcon}}{{myCloseIcon}}{{/if}}">' + 19 '<span class="close {{#if myCloseIcon}}{{myCloseIcon}}{{/if}}">' +
20 '{{#unless myCloseIcon}}' + 20 '{{#unless myCloseIcon}}' +
21 - '<i class="iconfont">&#xe602;</i>' + 21 + '<i class="iconfont">&#xe60d;</i>' +
22 '{{/unless}}' + 22 '{{/unless}}' +
23 '</span>' + 23 '</span>' +
24 '{{/if}}' + 24 '{{/if}}' +
@@ -228,7 +228,6 @@ alertConfig = { @@ -228,7 +228,6 @@ alertConfig = {
228 content: '恭喜您,成功领取优惠券', 228 content: '恭喜您,成功领取优惠券',
229 subContents: ['特殊情况下到账有延时', '请耐心等待'], 229 subContents: ['特殊情况下到账有延时', '请耐心等待'],
230 className: 'subcontent-dialog', 230 className: 'subcontent-dialog',
231 - myCloseIcon: 'close-icon',  
232 refreshOnClose: true, 231 refreshOnClose: true,
233 btns: [ 232 btns: [
234 { 233 {
@@ -253,7 +252,6 @@ alertConfig = { @@ -253,7 +252,6 @@ alertConfig = {
253 content: '您已领取过优惠券', 252 content: '您已领取过优惠券',
254 subContent: '快去选购心仪的潮品吧', 253 subContent: '快去选购心仪的潮品吧',
255 className: 'subcontent-dialog', 254 className: 'subcontent-dialog',
256 - myCloseIcon: 'close-icon',  
257 btns: [ 255 btns: [
258 { 256 {
259 id: 1, 257 id: 1,
@@ -269,7 +267,6 @@ alertConfig = { @@ -269,7 +267,6 @@ alertConfig = {
269 content: '优惠券已过期', 267 content: '优惠券已过期',
270 subContent: '去领最新的优惠券吧', 268 subContent: '去领最新的优惠券吧',
271 className: 'subcontent-dialog', 269 className: 'subcontent-dialog',
272 - myCloseIcon: 'close-icon',  
273 btns: [ 270 btns: [
274 { 271 {
275 id: 1, 272 id: 1,
@@ -282,7 +279,6 @@ alertConfig = { @@ -282,7 +279,6 @@ alertConfig = {
282 content: '领取失败', 279 content: '领取失败',
283 subContents: ['请刷新重试,', '多次无效请联系客服'], 280 subContents: ['请刷新重试,', '多次无效请联系客服'],
284 className: 'subcontent-dialog', 281 className: 'subcontent-dialog',
285 - myCloseIcon: 'close-icon',  
286 btns: [ 282 btns: [
287 { 283 {
288 id: 1, 284 id: 1,
@@ -337,7 +333,6 @@ function requestCoupon(id) { @@ -337,7 +333,6 @@ function requestCoupon(id) {
337 error: function() { 333 error: function() {
338 var opt = { 334 var opt = {
339 className: 'stu-alert', 335 className: 'stu-alert',
340 - myCloseIcon: 'close-icon',  
341 content: '<p>网络异常</p>' 336 content: '<p>网络异常</p>'
342 }; 337 };
343 338
@@ -530,8 +530,7 @@ @@ -530,8 +530,7 @@
530 } 530 }
531 531
532 .stu-alert .close-icon, 532 .stu-alert .close-icon,
533 -.stu-dialog .close-icon,  
534 -.subcontent-dialog .close-icon { 533 +.stu-dialog .close-icon {
535 display: inline-block; 534 display: inline-block;
536 top: -20px; 535 top: -20px;
537 right: -20px; 536 right: -20px;
@@ -540,13 +539,6 @@ @@ -540,13 +539,6 @@
540 background-image: resolve("students/close.png"); 539 background-image: resolve("students/close.png");
541 } 540 }
542 541
543 -.stu-alert .close-icon,  
544 -.subcontent-dialog .close-icon {  
545 - width: 30px;  
546 - height: 30px;  
547 - background-size: 100% 100%;  
548 -}  
549 -  
550 .min-screen { 542 .min-screen {
551 .stu-page { 543 .stu-page {
552 .stu-rights { 544 .stu-rights {