Authored by 刘传洋

Merge branch 'feature/shoppingCart' of http://git.yoho.cn/fe/yohobuy-node into feature/shoppingCart

@@ -101,7 +101,7 @@ Cart = { @@ -101,7 +101,7 @@ Cart = {
101 var $this = $(this); 101 var $this = $(this);
102 var $item = $this.closest('li[data-role="pitem"]'); 102 var $item = $this.closest('li[data-role="pitem"]');
103 var selectArray = []; 103 var selectArray = [];
104 - var content = '<div><span></span>删除商品</div><p>确定从购物车中删除此商品?</p>'; 104 + var content = '<div><i class="iconfont">&#xe684;</i>删除商品</div><p>确定要从购物车中删除该商品?</p>';
105 var countJSON; 105 var countJSON;
106 106
107 selectArray.push({ 107 selectArray.push({
@@ -227,7 +227,7 @@ var areaSelect = { @@ -227,7 +227,7 @@ var areaSelect = {
227 return this.area ? this.area.id : ''; 227 return this.area ? this.area.id : '';
228 }, 228 },
229 text: function() { 229 text: function() {
230 - let arr = []; 230 + var arr = [];
231 231
232 if (this.province.text) { 232 if (this.province.text) {
233 arr.push(this.province.text); 233 arr.push(this.province.text);
@@ -4,7 +4,9 @@ @@ -4,7 +4,9 @@
4 * @date: 2016/01/06 4 * @date: 2016/01/06
5 */ 5 */
6 var $ = require('yoho-jquery'), 6 var $ = require('yoho-jquery'),
7 - Dialog = require('../plugins/dialog').Dialog; 7 + Dialog = require('../common/dialog').Dialog;
  8 +
  9 +
8 10
9 function RDialog(opts) { 11 function RDialog(opts) {
10 var option = $.extend(true, {}, { 12 var option = $.extend(true, {}, {
@@ -16,6 +18,7 @@ function RDialog(opts) { @@ -16,6 +18,7 @@ function RDialog(opts) {
16 option.btns.name = ''; 18 option.btns.name = '';
17 19
18 Dialog.call(this, option); 20 Dialog.call(this, option);
  21 +
19 } 22 }
20 23
21 RDialog.prototype = new Dialog({ 24 RDialog.prototype = new Dialog({
@@ -1394,8 +1394,11 @@ @@ -1394,8 +1394,11 @@
1394 } 1394 }
1395 } 1395 }
1396 } 1396 }
  1397 +.r-dialog.yoho-dialog{
  1398 + min-width: 370px;
  1399 + box-sizing: content-box;
  1400 +}
1397 .r-dialog{ 1401 .r-dialog{
1398 - min-width: 420px;  
1399 padding: 40px 20px; 1402 padding: 40px 20px;
1400 1403
1401 .close { 1404 .close {
@@ -1411,9 +1414,9 @@ @@ -1411,9 +1414,9 @@
1411 i { 1414 i {
1412 display: inline-block; 1415 display: inline-block;
1413 color: #d0021b; 1416 color: #d0021b;
1414 - font-size: 24px; 1417 + font-size: 26px;
1415 margin-right: 20px; 1418 margin-right: 20px;
1416 - vertical-align: middle; 1419 + vertical-align: baseline;
1417 } 1420 }
1418 h3 { 1421 h3 {
1419 margin-top: 35px; 1422 margin-top: 35px;