Authored by 刘传洋

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

... ... @@ -101,7 +101,7 @@ Cart = {
var $this = $(this);
var $item = $this.closest('li[data-role="pitem"]');
var selectArray = [];
var content = '<div><span></span>删除商品</div><p>确定从购物车中删除此商品?</p>';
var content = '<div><i class="iconfont">&#xe684;</i>删除商品</div><p>确定要从购物车中删除该商品?</p>';
var countJSON;
selectArray.push({
... ...
... ... @@ -227,7 +227,7 @@ var areaSelect = {
return this.area ? this.area.id : '';
},
text: function() {
let arr = [];
var arr = [];
if (this.province.text) {
arr.push(this.province.text);
... ...
... ... @@ -4,7 +4,9 @@
* @date: 2016/01/06
*/
var $ = require('yoho-jquery'),
Dialog = require('../plugins/dialog').Dialog;
Dialog = require('../common/dialog').Dialog;
function RDialog(opts) {
var option = $.extend(true, {}, {
... ... @@ -16,6 +18,7 @@ function RDialog(opts) {
option.btns.name = '';
Dialog.call(this, option);
}
RDialog.prototype = new Dialog({
... ...
... ... @@ -1394,8 +1394,11 @@
}
}
}
.r-dialog.yoho-dialog{
min-width: 370px;
box-sizing: content-box;
}
.r-dialog{
min-width: 420px;
padding: 40px 20px;
.close {
... ... @@ -1411,9 +1414,9 @@
i {
display: inline-block;
color: #d0021b;
font-size: 24px;
font-size: 26px;
margin-right: 20px;
vertical-align: middle;
vertical-align: baseline;
}
h3 {
margin-top: 35px;
... ...