pages-order-createOrder.0ef63df1.js 27 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-createOrder"],{"04e6":function(t,e,a){"use strict";var i=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.orderData=o,e.getUserInfo=s,e.spreadBanner=c,e.getAddressList=r,e.addressEdit=d,e.addressDel=l,e.setAddressDefault=f,e.getCartList=u,e.getCartNum=p,e.cartDel=v,e.getcollectList=h,e.delcollect=m,e.spread=g,e.stylelist=b,e.auth=y,e.subscribe=x,e.enDetails=k,e.my_reply=w,e.to_my_reply=C;var n=i(a("4c3b"));function o(t){return(0,n.default)({url:"/api/order/data",method:"get",data:t})}function s(t){return(0,n.default)({url:"/api/userinfo",method:"get",data:t})}function c(t){return(0,n.default)({url:"/api/spread/banner",method:"get",data:t})}function r(t){return(0,n.default)({url:"/api/address/list",method:"get",data:t})}function d(t){return(0,n.default)({url:"/api/address/edit",method:"post",data:t})}function l(t){return(0,n.default)({url:"/api/address/del",method:"post",data:t})}function f(t){return(0,n.default)({url:"/api/address/default/set",method:"post",data:t})}function u(t){return(0,n.default)({url:"/api/cart/list",method:"get",data:t})}function p(t){return(0,n.default)({url:"/api/cart/num",method:"post",data:t})}function v(t){return(0,n.default)({url:"/api/cart/del",method:"post",data:t})}function h(t){return(0,n.default)({url:"/api/collect/user",method:"get",data:t})}function m(t){return(0,n.default)({url:"/api/collect/del",method:"post",data:t})}function g(t){return(0,n.default)({url:"/api/spread/people",method:"POST",data:t})}function b(t){return(0,n.default)({url:"/api/enterprise/stylelist",method:"GET",data:t})}function y(t){return(0,n.default)({url:"/api/user/auth",method:"POST",data:t})}function x(t){return(0,n.default)({url:"/api/user/subscribe",method:"GET",data:t})}function k(t){return(0,n.default)({url:"/api/enterprise/details",method:"GET",data:t})}function w(t){return(0,n.default)({url:"/api/article/my_reply",method:"GET",data:t})}function C(t){return(0,n.default)({url:"/api/article/to_my_reply",method:"GET",data:t})}},"071b":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-6fc995ff]{background:#f8f8f8;padding-bottom:%?100?%}.navbar[data-v-6fc995ff]{display:flex;height:%?80?%;padding:0 5px;background:#fff;box-shadow:0 %?2?% %?10?% rgba(0,0,0,.06);position:relative;z-index:10}.navbar .nav-item[data-v-6fc995ff]{flex:1;display:flex;justify-content:center;align-items:center;height:100%;font-size:%?36?%;color:#303133;position:relative}.navbar .nav-item.current[data-v-6fc995ff]{color:#5dbc7c}.navbar .nav-item.current[data-v-6fc995ff]:after{content:"";position:absolute;left:50%;bottom:0;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:%?140?%;height:0;border-bottom:2px solid #5dbc7c}.address-section[data-v-6fc995ff]{padding:%?30?% 0;background:#fff;position:relative;border-top:1px solid #ebeef5}.address-section .order-content[data-v-6fc995ff]{min-height:%?100?%;display:flex;align-items:center}.address-section .order-content .addAddress[data-v-6fc995ff]{text-align:center;width:100%;display:flex;justify-content:center;align-items:center}.address-section .order-content .addAddress .iconaddition[data-v-6fc995ff]{font-size:%?55?%;line-height:1;border-radius:%?100?%;margin-right:%?20?%}.address-section .iconlocation[data-v-6fc995ff]{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:%?90?%;color:#888;font-size:%?44?%}.address-section .cen[data-v-6fc995ff]{display:flex;flex-direction:column;flex:1;font-size:%?28?%;color:#303133}.address-section .name[data-v-6fc995ff]{font-size:%?34?%;margin-right:%?24?%}.address-section .address[data-v-6fc995ff]{margin-top:%?16?%;margin-right:%?20?%;color:#909399}.address-section .icon-you[data-v-6fc995ff]{font-size:%?32?%;color:#909399;margin-right:%?30?%}.address-section .a-bg[data-v-6fc995ff]{position:absolute;left:0;bottom:0;display:block;width:100%;height:%?5?%}.goods-section[data-v-6fc995ff]{margin-top:%?16?%;background:#fff;padding-bottom:1px}.goods-section .g-header[data-v-6fc995ff]{display:flex;align-items:center;height:%?84?%;padding:0 %?30?%;position:relative}.goods-section .logo[data-v-6fc995ff]{display:block;width:%?50?%;height:%?50?%;border-radius:100px}.goods-section .name[data-v-6fc995ff]{font-size:%?30?%;color:#606266;margin-left:%?24?%}.goods-section .g-item[data-v-6fc995ff]{display:flex;margin:%?20?% %?30?%}.goods-section .g-item uni-image[data-v-6fc995ff]{flex-shrink:0;display:block;width:%?140?%;height:%?140?%;border-radius:%?4?%}.goods-section .g-item .right[data-v-6fc995ff]{flex:1;padding-left:%?24?%;overflow:hidden}.goods-section .g-item .title[data-v-6fc995ff]{font-size:%?30?%;color:#303133}.goods-section .g-item .spec[data-v-6fc995ff]{font-size:%?26?%;color:#909399}.goods-section .g-item .price-box[data-v-6fc995ff]{display:flex;align-items:center;font-size:%?32?%;color:#303133;padding-top:%?10?%}.goods-section .g-item .price-box .price[data-v-6fc995ff]{margin-bottom:%?4?%;color:#dd524d}.goods-section .g-item .price-box .number[data-v-6fc995ff]{font-size:%?26?%;color:#606266;margin-left:%?20?%}.goods-section .g-item .step-box[data-v-6fc995ff]{position:relative}.yt-list[data-v-6fc995ff]{margin-top:%?16?%;background:#fff}.yt-list-cell[data-v-6fc995ff]{display:flex;align-items:center;padding:%?10?% %?30?% %?10?% %?40?%;line-height:%?70?%;position:relative}.yt-list-cell.cell-hover[data-v-6fc995ff]{background:#fafafa}.yt-list-cell.b-b[data-v-6fc995ff]:after{left:%?30?%}.yt-list-cell .cell-icon[data-v-6fc995ff]{height:%?32?%;width:%?32?%;font-size:%?22?%;color:#fff;text-align:center;line-height:%?32?%;background:#f85e52;border-radius:%?4?%;margin-right:%?12?%}.yt-list-cell .cell-icon.hb[data-v-6fc995ff]{background:#ffaa0e}.yt-list-cell .cell-icon.lpk[data-v-6fc995ff]{background:#3ab54a}.yt-list-cell .cell-more[data-v-6fc995ff]{align-self:center;font-size:%?24?%;color:#909399;margin-left:%?8?%;margin-right:%?-10?%}.yt-list-cell .cell-tit[data-v-6fc995ff]{flex:1;font-size:%?26?%;color:#909399;margin-right:%?10?%}.yt-list-cell .cell-tip[data-v-6fc995ff]{font-size:%?26?%;color:#303133}.yt-list-cell .cell-tip.disabled[data-v-6fc995ff]{color:#909399}.yt-list-cell .cell-tip.active[data-v-6fc995ff]{color:#5dbc7c}.yt-list-cell .cell-tip.red[data-v-6fc995ff]{color:#5dbc7c}.yt-list-cell.desc-cell .cell-tit[data-v-6fc995ff]{max-width:%?90?%}.yt-list-cell .desc[data-v-6fc995ff]{flex:1;text-align:right;font-size:%?28?%;color:#303133}\n/* 支付列表 */.pay-list[data-v-6fc995ff]{padding-left:%?40?%;margin-top:%?16?%;background:#fff}.pay-list .pay-item[data-v-6fc995ff]{display:flex;align-items:center;padding-right:%?20?%;line-height:1;height:%?110?%;position:relative}.pay-list .icon-weixinzhifu[data-v-6fc995ff]{width:%?80?%;font-size:%?40?%;color:#6bcc03}.pay-list .icon-alipay[data-v-6fc995ff]{width:%?80?%;font-size:%?40?%;color:#06b4fd}.pay-list .icon-xuanzhong2[data-v-6fc995ff]{display:flex;align-items:center;justify-content:center;width:%?60?%;height:%?60?%;font-size:%?40?%;color:#5dbc7c}.pay-list .tit[data-v-6fc995ff]{font-size:%?32?%;color:#303133;flex:1}.footer[data-v-6fc995ff]{position:fixed;left:0;bottom:0;z-index:995;display:flex;align-items:center;width:100%;height:%?90?%;justify-content:space-between;font-size:%?30?%;background-color:#fff;z-index:998;color:#606266;box-shadow:0 -1px 5px rgba(0,0,0,.1)}.footer .price-content[data-v-6fc995ff]{padding-left:%?30?%}.footer .price-tip[data-v-6fc995ff]{color:#606266;margin-left:%?8?%}.footer .price[data-v-6fc995ff]{font-size:%?36?%;color:#606266}.footer .submit[data-v-6fc995ff]{display:flex;align-items:center;justify-content:center;width:%?280?%;height:100%;color:#fff;font-size:%?32?%;background-color:#5dbc7c}.footer .submit.submitNo[data-v-6fc995ff]{background-color:#c0c4cc}\n/* 优惠券面板 */.mask[data-v-6fc995ff]{display:flex;align-items:flex-end;position:fixed;left:0;top:var(--window-top);bottom:0;width:100%;background:transparent;z-index:9995;transition:.3s}.mask .mask-content[data-v-6fc995ff]{width:100%;max-height:70vh;background:#f3f3f3;-webkit-transform:translateY(100%);transform:translateY(100%);transition:.3s;overflow-y:scroll}.mask.none[data-v-6fc995ff]{display:none}.mask.show[data-v-6fc995ff]{background:rgba(0,0,0,.4)}.mask.show .mask-content[data-v-6fc995ff]{-webkit-transform:translateY(0);transform:translateY(0)}\n/* 优惠券列表 */.coupon-item[data-v-6fc995ff]{display:flex;flex-direction:column;margin:%?20?% %?24?%;background:#fff}.coupon-item .con[data-v-6fc995ff]{display:flex;align-items:center;position:relative;height:%?120?%;padding:0 %?30?%}.coupon-item .con[data-v-6fc995ff]:after{position:absolute;left:0;bottom:0;content:"";width:100%;height:0;border-bottom:1px dashed #f3f3f3;-webkit-transform:scaleY(50%);transform:scaleY(50%)}.coupon-item .left[data-v-6fc995ff]{display:flex;flex-direction:column;justify-content:center;flex:1;overflow:hidden;height:%?100?%}.coupon-item .title[data-v-6fc995ff]{font-size:%?32?%;color:#303133;margin-bottom:%?10?%}.coupon-item .time[data-v-6fc995ff]{font-size:%?24?%;color:#909399}.coupon-item .right[data-v-6fc995ff]{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:%?26?%;color:#606266;height:%?100?%}.coupon-item .price[data-v-6fc995ff]{font-size:%?44?%;color:#5dbc7c}.coupon-item .price[data-v-6fc995ff]:before{content:"¥";font-size:%?34?%}.coupon-item .tips[data-v-6fc995ff]{font-size:%?24?%;color:#909399;line-height:%?60?%;padding-left:%?30?%}.coupon-item .circle[data-v-6fc995ff]{position:absolute;left:%?-6?%;bottom:%?-10?%;z-index:10;width:%?20?%;height:%?20?%;background:#f3f3f3;border-radius:100px}.coupon-item .circle.r[data-v-6fc995ff]{left:auto;right:%?-6?%}body.?%PAGE?%[data-v-6fc995ff]{background:#f8f8f8}',""]),t.exports=e},"12c5":function(t,e,a){"use strict";var i=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.getProducts=o,e.goodsDetail=s,e.getBargainList=c,e.cartAdd=r,e.collectAdd=d,e.collectDel=l,e.searchKeyword=f,e.groomList=u,e.seckillGoods=p,e.groupGoods=v,e.getCategoryList=h,e.getCombinationList=m,e.getCombinationLisRemove=g,e.getCombinationLisPink=b,e.getCombinationPoster=y,e.getSeckillClass=x,e.getSeckillList=k,e.reply_config=w,e.reply_list=C;var n=i(a("4c3b"));function o(t){return(0,n.default)({url:"/api/products",method:"get",data:t})}function s(t,e){return(0,n.default)({url:"/api/product/detail/"+e,method:"get",data:t})}function c(t){return(0,n.default)({url:"/api/bargain/list",method:"get",data:t})}function r(t){return(0,n.default)({url:"/api/cart/add",method:"post",data:t})}function d(t){return(0,n.default)({url:"/api/collect/add",method:"post",data:t})}function l(t){return(0,n.default)({url:"/api/collect/del",method:"post",data:t})}function f(t){return(0,n.default)({url:"/api/search/keyword",method:"get",data:t})}function u(t,e){return(0,n.default)({url:"/api/groom/list/"+e,method:"get",data:t})}function p(t,e){return(0,n.default)({url:"/api/seckill/detail/"+e,method:"get",data:t})}function v(t,e){return(0,n.default)({url:"/api/combination/detail/"+e,method:"get",data:t})}function h(t){return(0,n.default)({url:"/api/category",method:"get",data:t})}function m(t){return(0,n.default)({url:"/api/combination/list",method:"get",data:t})}function g(t,e){return(0,n.default)({url:"/api/combination/remove"+e,method:"get",data:t})}function b(t,e){return(0,n.default)({url:"/api/combination/pink/"+e,method:"get",data:t})}function y(t){return(0,n.default)({url:"/api/combination/poster",method:"post",data:t})}function x(t){return(0,n.default)({url:"/api/seckill/index",method:"get",data:t})}function k(t,e){return(0,n.default)({url:"/api/seckill/list/"+e,method:"get",data:t})}function w(t,e){return(0,n.default)({url:"/api/reply/config/"+e,method:"get",data:t})}function C(t,e){return(0,n.default)({url:"/api/reply/list/"+e,method:"get",data:t})}},6110:function(t,e,a){"use strict";var i=a("fbc0"),n=a.n(i);n.a},be2f:function(t,e,a){"use strict";a.r(e);var i=a("f380"),n=a("c588");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("6110");var s,c=a("f0c5"),r=Object(c["a"])(n["default"],i["b"],i["c"],!1,null,"6fc995ff",null,!1,i["a"],s);e["default"]=r.exports},c588:function(t,e,a){"use strict";a.r(e);var i=a("c7ee"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},c7ee:function(t,e,a){"use strict";var i=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("ade3")),o=a("ef20"),s=a("04e6"),c=a("12c5"),r={data:function(){var t;return t={addressImg:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAu4AAAAFCAYAAAAaAWmiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy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nrqlORkDx0BHr/ABzVVbknbZysZ3wnRVyda6HU1UIjvpt28p2C+T+GEtYeeEh3jqcdKjl2BcWY65q9UAQb+c6+k3iePnaS+P5Pq8spOJ38fJ09RVI1OFuWo6xtJXSD+J6xh++OHN8PEt8HxtNY4pbAczC+m2Rnh8V3J9Q0Fa4LeG97YQdehj4aoSL9NZiZNMTKStp6g5/x5NsW37vWQaS1WXzPHvjihzYS/lgshbeJ75WySHm7wNXXk8SbK/xutOX4ntHtYRxE0eJn6uARaGf6ie++7GPNxVkf/78AAwCn1+RYqusbZQAAAABJRU5ErkJggg==",tabCurrentIndex:0,navList:[{state:0,text:"快递配送"},{state:1,text:"到店自提"}],maskState:0,desc:"",gainPoint:"",payType:1,couponList:[],couponListshow:!1,couponChecked:{},addressData:{},shopAddress:{name:"",mobile:"",addressName:"",address:"",area:"",default:!1},shopList:[],cartId:"",moneyAll:{storeFreePostage:0,storePostage:0,totalPrice:0,vipPrice:0},payPrice:0,orderKey:"",checkedPoints:!1,integralAll:0,integralMoney:0,integralShow:!1},(0,n.default)(t,"payType",!0),(0,n.default)(t,"pinkid",""),t},onLoad:function(t){"pink"==t.type?(this.pinkid=t.pinkId,this.cartAdd(t)):(this.cartId=t.id,this.loadData()),this.getUserInfo()},watch:{checkedPoints:function(t,e){this.integralShow=!1,this.payMoneyNub()}},computed:{Postage:function(){var t=+this.moneyAll.storePostage;return 0==t?"免运费":"¥"+t},payAllMoney:function(){return+this.moneyAll.totalPrice+ +this.moneyAll.vipPrice}},methods:{cartAdd:function(t){var e=this;(0,c.cartAdd)({cartNum:1,new:1,mer_id:+t.merid,combinationId:+t.gid,productId:+t.pid}).then((function(t){var a=t.data;e.cartId=a.cartId,e.loadData()})).catch((function(t){console.log(t)}))},getUserInfo:function(){var t=this;(0,s.getUserInfo)({}).then((function(e){var a=e.data;t.integralAll=a.integral}))},payMoneyNub:function(){var t=this;(0,o.computedOrderkey)({orderkey:this.orderKey,useIntegral:this.checkedPoints?1:0,couponId:this.couponChecked.id,addressId:this.addressData.id}).then((function(e){var a=e.data;console.log(a,"111"),t.payType=!0,t.integralShow=!0,t.payPrice=+a.result.pay_price,t.integralMoney=a.result.deduction_price,t.gainPoint=a.result.gainPoint})).catch((function(e){console.log(e),t.integralShow=!1,t.payType=!1}))},checkedIntegral:function(){this.checkedPoints=!this.checkedPoints},checkedCp:function(t){this.couponChecked=t,this.payMoneyNub()},couponsOrder:function(t){var e=this;(0,o.couponsOrder)({},t).then((function(t){t.data.length>0&&(e.couponListshow=!0),e.couponList=t.data}))},tabClick:function(t){this.tabCurrentIndex=t},toggleMask:function(t){var e=this,a="show"===t?10:300,i="show"===t?1:0;this.maskState=2,setTimeout((function(){e.maskState=i}),a)},loadData:function(){var t=this,e=this;(0,o.confirm)({cartId:e.cartId+""}).then((function(a){var i=a.data;e.addressData=i.addressInfo||{},e.shopList=i.cartInfo,e.moneyAll=i.priceGroup,e.orderKey=i.orderKey,t.payMoneyNub(),e.couponsOrder(i.priceGroup.totalPrice)}))},numberChange:function(t){this.number=t.number},changePayType:function(t){this.payType=t},submit:function(){if(this.checkedPoints&&this.shopList.length>1)return this.$api.msg("积分商品只可单件购买"),!1;if(!this.addressData.real_name)return this.$api.msg("请选择收货地址"),!1;var t="/pages/money/pay?key="+this.orderKey;this.pinkid&&(t+="&pinkid="+this.pinkid),uni.navigateTo({url:t})}}};e.default=r},ef20:function(t,e,a){"use strict";var i=a("dbce");Object.defineProperty(e,"__esModule",{value:!0}),e.confirm=o,e.couponsOrder=s,e.getCouponsList=c,e.order_comment=r,e.product=d,e.express_query=l,e.upload=f,e.orderList=u,e.orderDetail=p,e.orderCancel=v,e.orderDel=h,e.refund=m,e.refundReason=g,e.orderTake=b,e.orderPay=y,e.createOrderkey=x,e.computedOrderkey=k;var n=i(a("4c3b"));function o(t){return(0,n.default)({url:"/api/order/confirm",method:"post",data:t})}function s(t,e){return(0,n.default)({url:"/api/coupons/order/"+e,method:"get",data:t})}function c(t,e){return(0,n.default)({url:"/api/coupons/user/"+e,method:"get",data:t})}function r(t){return(0,n.default)({url:"/api/order/comment",method:"post",data:t})}function d(t){return(0,n.default)({url:"/api/order/product",method:"post",data:t})}function l(t){return(0,n.default)({url:"/api/order/express_query",method:"get",data:t})}function f(t){return(0,n.upFilse)({url:"/api/upload/image",method:"post",data:t})}function u(t){return(0,n.default)({url:"/api/order/list",method:"get",data:t})}function p(t,e){return(0,n.default)({url:"/api/order/detail/"+e,method:"get",data:t})}function v(t){return(0,n.default)({url:"/api/order/cancel",method:"post",data:t})}function h(t){return(0,n.default)({url:"/api/order/del",method:"get",data:t})}function m(t){return(0,n.default)({url:"/api/order/refund/verify",method:"post",data:t})}function g(t){return(0,n.default)({url:"/api/order/refund/reason",method:"get",data:t})}function b(t){return(0,n.default)({url:"/api/order/take",method:"post",data:t})}function y(t){return(0,n.default)({url:"/api/order/pay",method:"post",data:t})}function x(t,e){return(0,n.default)({url:"/api/order/create/"+e,method:"post",data:t})}function k(t){return(0,n.default)({url:"/api/order/computed/"+t.orderkey,method:"post",data:t})}},f380:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",[0==t.tabCurrentIndex?a("v-uni-navigator",{staticClass:"address-section",attrs:{url:"/pages/set/address?source=1"}},[t.addressData.real_name?a("v-uni-view",{staticClass:"order-content"},[a("v-uni-text",{staticClass:"iconfont iconlocation"}),a("v-uni-view",{staticClass:"cen"},[a("v-uni-view",{staticClass:"top"},[a("v-uni-text",{staticClass:"name"},[t._v(t._s(t.addressData.real_name))]),a("v-uni-text",{staticClass:"mobile"},[t._v(t._s(t.addressData.phone))])],1),a("v-uni-text",{staticClass:"address"},[t._v(t._s(t.addressData.province+t.addressData.city+t.addressData.district)+" "+t._s(t.addressData.detail))])],1),a("v-uni-text",{staticClass:"iconfont iconenter"})],1):t._e(),t.addressData.real_name?t._e():a("v-uni-view",{staticClass:"order-content"},[a("v-uni-view",{staticClass:"addAddress"},[a("v-uni-text",{staticClass:"iconfont iconaddition"}),a("v-uni-text",[t._v("添加收货地址")])],1)],1),a("v-uni-image",{staticClass:"a-bg",attrs:{src:t.addressImg}})],1):t._e(),t._l(t.shopList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"goods-section"},[a("v-uni-view",{staticClass:"g-item"},[a("v-uni-image",{attrs:{src:e.productInfo.image}}),a("v-uni-view",{staticClass:"right"},[a("v-uni-text",{staticClass:"title clamp"},[t._v(t._s(e.productInfo.store_name))]),a("v-uni-text",{staticClass:"spec"},[t._v(t._s(e.productInfo.attrInfo?e.productInfo.attrInfo.suk:"默认"))]),a("v-uni-view",{staticClass:"price-box"},[a("v-uni-text",{staticClass:"price"},[t._v("¥"+t._s(e.productInfo.attrInfo?e.productInfo.attrInfo.price:e.productInfo.price))]),a("v-uni-text",{staticClass:"number"},[t._v(t._s("x "+e.cart_num+(e.productInfo.unit_name||"")))])],1)],1)],1)],1)})),a("v-uni-view",{staticClass:"yt-list"},[a("v-uni-view",{staticClass:"yt-list-cell b-b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.couponListshow&&t.toggleMask("show")}}},[a("v-uni-view",{staticClass:"cell-icon"},[t._v("券")]),a("v-uni-text",{staticClass:"cell-tit clamp"},[t._v("优惠券")]),t.couponListshow&&!t.couponChecked.coupon_price?a("v-uni-text",{staticClass:"cell-tip active"},[t._v("选择优惠券")]):t._e(),t.couponChecked.coupon_price?a("v-uni-text",{staticClass:"cell-tip red"},[t._v("-¥"+t._s(t.couponChecked.coupon_price))]):t._e(),t.couponListshow||t.couponChecked.coupon_price?t._e():a("v-uni-text",{staticClass:"cell-tip disabled"},[t._v("没有优惠券")]),a("v-uni-text",{staticClass:"cell-more wanjia wanjia-gengduo-d"})],1),t.moneyAll.storeFreePostage>0?a("v-uni-view",{staticClass:"yt-list-cell b-b"},[a("v-uni-view",{staticClass:"cell-icon hb"},[t._v("减")]),a("v-uni-text",{staticClass:"cell-tit clamp"},[t._v("商家促销")]),a("v-uni-text",{staticClass:"cell-tip disabled"},[t._v("满"+t._s(t.moneyAll.storeFreePostage)+"包邮")])],1):t._e()],1),a("v-uni-view",{staticClass:"yt-list"},[a("v-uni-view",{staticClass:"yt-list-cell b-b"},[a("v-uni-text",{staticClass:"cell-tit clamp"},[t._v("运费")]),a("v-uni-text",{staticClass:"cell-tip"},[t._v(t._s(t.Postage))])],1),a("v-uni-view",{staticClass:"yt-list-cell b-b"},[a("v-uni-text",{staticClass:"cell-tit clamp"},[t._v("购买送礼包积分")]),a("v-uni-text",{staticClass:"cell-tip"},[t._v(t._s(t.gainPoint))])],1),a("v-uni-view",{staticClass:"yt-list-cell b-b"},[a("v-uni-text",{staticClass:"cell-tit clamp"},[t._v("备注")]),a("v-uni-input",{staticClass:"desc",attrs:{type:"text",placeholder:"请填写备注信息","placeholder-class":"placeholder"},model:{value:t.desc,callback:function(e){t.desc=e},expression:"desc"}})],1)],1),a("v-uni-view",{staticClass:"yt-list"},[a("v-uni-view",{staticClass:"yt-list-cell b-b"},[a("v-uni-text",{staticClass:"cell-tit clamp"},[t._v("商品金额")]),a("v-uni-text",{staticClass:"cell-tip"},[t._v("¥"+t._s(t.payAllMoney))])],1),t.checkedPoints&&t.integralShow?a("v-uni-view",{staticClass:"yt-list-cell b-b"},[a("v-uni-text",{staticClass:"cell-tit clamp"},[t._v("积分抵扣")]),a("v-uni-text",{staticClass:"cell-tip"},[t._v("-¥"+t._s(t.integralMoney))])],1):t._e(),t.moneyAll.vipPrice>0?a("v-uni-view",{staticClass:"yt-list-cell b-b"},[a("v-uni-text",{staticClass:"cell-tit clamp"},[t._v("VIP优惠")]),a("v-uni-text",{staticClass:"cell-tip"},[t._v("-¥"+t._s(t.moneyAll.vipPrice))])],1):t._e()],1),a("v-uni-view",{staticClass:"footer"},[a("v-uni-view",{staticClass:"price-content"},[a("v-uni-text",[t._v("实付款")]),a("v-uni-text",{staticClass:"price-tip"},[t._v("¥")]),a("v-uni-text",{staticClass:"price"},[t._v(t._s(t.payPrice))])],1),a("v-uni-text",{staticClass:"submit",class:{submitNo:!t.payType},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.payType&&t.submit()}}},[t._v("提交订单")])],1),a("v-uni-view",{staticClass:"mask",class:0===t.maskState?"none":1===t.maskState?"show":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleMask.apply(void 0,arguments)}}},[a("v-uni-view",{staticClass:"mask-content"},t._l(t.couponList,(function(e,i){return a("v-uni-view",{key:i,staticClass:"coupon-item",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.checkedCp(e)}}},[a("v-uni-view",{staticClass:"con"},[a("v-uni-view",{staticClass:"left"},[a("v-uni-text",{staticClass:"title"},[t._v(t._s(e.coupon_title))]),a("v-uni-text",{staticClass:"time"},[t._v("领取时间"+t._s(e.add_time))])],1),a("v-uni-view",{staticClass:"right"},[a("v-uni-text",{staticClass:"price"},[t._v(t._s(e.coupon_price))]),a("v-uni-text",[t._v("满"+t._s(e.use_min_price)+"可用")])],1),a("v-uni-view",{staticClass:"circle l"}),a("v-uni-view",{staticClass:"circle r"})],1),a("v-uni-text",{staticClass:"tips"},[t._v("有效期至"+t._s(e.end_time))])],1)})),1)],1)],2)},o=[]},fbc0:function(t,e,a){var i=a("071b");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("7e8b2634",i,!0,{sourceMap:!1,shadowMode:!1})}}]);