diff --git a/addons/unishop/controller/Order.php b/addons/unishop/controller/Order.php index b1d36e9..4d64bc8 100644 --- a/addons/unishop/controller/Order.php +++ b/addons/unishop/controller/Order.php @@ -77,14 +77,14 @@ class Order extends Base } /** 默认地址 **/ - $address = (new AddressModel)->where(['user_id' => $user_id, 'is_default' => AddressModel::IS_DEFAULT_YES])->find(); - if ($address) { - $area = (new Area)->whereIn('id', [$address->province_id, $address->city_id, $address->area_id])->column('name', 'id'); - $address = $address->toArray(); - $address['province']['name'] = $area[$address['province_id']]; - $address['city']['name'] = $area[$address['city_id']]; - $address['area']['name'] = $area[$address['area_id']]; - } +// $address = (new AddressModel)->where(['user_id' => $user_id, 'is_default' => AddressModel::IS_DEFAULT_YES])->find(); +// if ($address) { +// $area = (new Area)->whereIn('id', [$address->province_id, $address->city_id, $address->area_id])->column('name', 'id'); +// $address = $address->toArray(); +// $address['province']['name'] = $area[$address['province_id']]; +// $address['city']['name'] = $area[$address['city_id']]; +// $address['area']['name'] = $area[$address['area_id']]; +// } /** 可用优惠券 **/ @@ -101,8 +101,8 @@ class Order extends Base /** 运费数据 **/ - $cityId = $address['city_id'] ? $address['city_id'] : 0; - $delivery = (new DeliveryRuleModel())->getDelivetyByArea($cityId); +// $cityId = $address['city_id'] ? $address['city_id'] : 0; +// $delivery = (new DeliveryRuleModel())->getDelivetyByArea($cityId); foreach ($productData as &$product) { $product['image'] = Config::getImagesFullUrl($product['image']); @@ -112,9 +112,9 @@ class Order extends Base $this->success('', [ 'product' => $productData, - 'address' => $address, +// 'address' => $address, 'coupon' => $coupon, - 'delivery' => $delivery['list'] +// 'delivery' => $delivery['list'] ]); } catch (Exception $e) { diff --git a/addons/unishop/model/Order.php b/addons/unishop/model/Order.php index 5deab7c..f9f5fb4 100644 --- a/addons/unishop/model/Order.php +++ b/addons/unishop/model/Order.php @@ -238,9 +238,9 @@ class Order extends Model // 订单费用 //$orderPrice; // 运费 - $deliveryPrice = Delivery::algorithm($delivery, $data['number']); +// $deliveryPrice = Delivery::algorithm($delivery, $data['number']); // 总费用 - $totalPrice = bcadd(bcsub($orderPrice, $discountPrice, 2), $deliveryPrice, 2); + $totalPrice = bcadd(bcsub($orderPrice, $discountPrice, 2), 0, 2); $out_trade_no = date('Ymd',time()).uniqid().$userId; (new self)->save([ @@ -249,7 +249,7 @@ class Order extends Model 'out_trade_no' => $out_trade_no, 'order_price' => $orderPrice, 'discount_price' => $discountPrice, - 'delivery_price' => $deliveryPrice, +// 'delivery_price' => $deliveryPrice, 'total_price' => $totalPrice, 'ip' => $_SERVER['REMOTE_ADDR'] ?? '', 'remark' => $data['remark'] ?? '', diff --git a/addons/unishop/uniapp/uni-shop/pages/order/createOrder.vue b/addons/unishop/uniapp/uni-shop/pages/order/createOrder.vue index c6e340f..011a2a2 100644 --- a/addons/unishop/uniapp/uni-shop/pages/order/createOrder.vue +++ b/addons/unishop/uniapp/uni-shop/pages/order/createOrder.vue @@ -84,7 +84,7 @@ 优惠金额 -¥{{coupon_price}} - + @@ -93,7 +93,7 @@ {{deliveryList[deliveryIndex].name}} - + --> 运费 ¥{{deliveryPrice}} diff --git a/addons/unishop/uniapp/uni-shop/pages/user/user.vue b/addons/unishop/uniapp/uni-shop/pages/user/user.vue index 98a9a2d..33a490b 100644 --- a/addons/unishop/uniapp/uni-shop/pages/user/user.vue +++ b/addons/unishop/uniapp/uni-shop/pages/user/user.vue @@ -18,7 +18,7 @@ --> - 喂喂会员 + 会员 uniShop diff --git a/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/index.html b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/index.html index 25ff03f..70f71b9 100644 --- a/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/index.html +++ b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/index.html @@ -1,3 +1,3 @@ 宜家自购商城
\ No newline at end of file + })
\ No newline at end of file diff --git a/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.30a08c4e.js b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.68f31d17.js similarity index 54% rename from addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.30a08c4e.js rename to addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.68f31d17.js index e3381f1..8b66a1d 100644 --- a/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.30a08c4e.js +++ b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/index.68f31d17.js @@ -1 +1 @@ -(function(e){function n(n){for(var a,i,s=n[0],u=n[1],c=n[2],g=0,p=[];g1&&void 0!==arguments[1]?arguments[1]:3e3,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none";!1!==Boolean(e)&&(uni.showToast({title:e,duration:n,mask:o,icon:a}),setTimeout((function(){uni.hideToast()}),n))},d=function(){var e=getCurrentPages(),n=e[e.length-2];return n},p=function(){return new Promise((function(e){0==s.default.prototype.$store.state.hasLogin?uni.showModal({title:"温馨提示",content:"你还没,请先登录",success:function(n){if(n.confirm){var o="/pages/public/login";uni.navigateTo({url:o})}e(!1)}}):e(!0)}))},l=function e(n,o){o=o||{};for(var a in n)"object"===typeof n[a]?(o[a]=n[a].constructor===Array?[]:{},e(n[a],o[a])):o[a]=n[a];return o},f=function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(n){var o,a,t,i,u,c,d,p,l=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=l.length>1&&void 0!==l[1]?l[1]:"GET",a=l.length>2&&void 0!==l[2]?l[2]:{},t=!(l.length>3&&void 0!==l[3])||l[3],i={"content-type":"application/x-www-form-urlencoded",lang:s.default.prototype.$store.state.lang,platform:s.default.prototype.$platform},s.default.prototype.$store.state.userInfo.token&&(i.token=s.default.prototype.$store.state.userInfo.token),s.default.prototype.$store.state.cookie&&(i.cookie=s.default.prototype.$store.state.cookie),e.next=8,uni.request({url:s.default.prototype.$unishow+n,method:o,header:i,data:a,timeout:5e3});case 8:return u=e.sent,c=(0,r.default)(u,2),d=c[0],p=c[1],"/pay/submit"==n&&console.log(p),e.abrupt("return",new Promise((function(e){if(d&&(t&&g(JSON.stringify(p)),e(!1)),p){if(p.header.hasOwnProperty("Set-Cookie")){var n=p.header["Set-Cookie"].replace("; path=/","");s.default.prototype.$store.commit("setCookie",n)}p.hasOwnProperty("data")?(p.data.hasOwnProperty("code")&&401==p.data.code&&s.default.prototype.$store.commit("logout"),p.data.hasOwnProperty("code")&&1==p.data.code?(p.data.msg?t&&g(p.data.msg):uni.hideToast(),e(p.data.data)):(p.data.hasOwnProperty("msg")?t&&g(p.data.msg):t&&g("返回参数错误"),e(!1))):(t&&g("不能识别数据"),e(!1))}})));case 14:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),y=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n&&!s.default.prototype.$store.state.hasLogin&&(e="/pages/public/login"),uni.navigateTo({url:e})};s.default.config.productionTip=!1,s.default.prototype.$fire=new s.default,s.default.prototype.$store=u.default,s.default.prototype.$api={msg:g,prePage:d,checkLogin:p,request:f,deepCopy:l,navTo:y},c.default.mpType="app";var m=new s.default((0,t.default)({},c.default));m.$mount()},e467:function(e,n,o){"use strict";var a=o("c006"),t=o.n(a);t.a},e490:function(e,n,o){"use strict";o.r(n);var a=o("86f1"),t=o("b7c6");for(var r in t)"default"!==r&&function(e){o.d(n,e,(function(){return t[e]}))}(r);o("e467");var i,s=o("f0c5"),u=Object(s["a"])(t["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],i);n["default"]=u.exports},fac5:function(e,n,o){var a=o("24fb");n=a(!1),n.push([e.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/\n/* project id 1729059 */@font-face{font-family:unishop;font-weight:400;font-style:normal;src:url(https://at.alicdn.com/t/font_1729059_llr8d2acjac.ttf) format("truetype")}.yticon{font-family:unishop!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-shouhuodizhi:before{content:"\\e6b5"}.icon-xuanzhong:before{content:"\\e64c"}.icon-fenlei:before{content:"\\e71b"}.icon-bianji:before{content:"\\e77d"}.icon-jiahao:before{content:"\\e616"}.icon-jianhao:before{content:"\\e617"}.icon-wxpay:before{content:"\\e607"}.icon-pay:before{content:"\\e624"}.icon-alipay:before{content:"\\e60b"}.icon-you:before{content:"\\e65f"}.icon-huoche:before{content:"\\e6f0"}.icon-shoucang:before{content:"\\e60a"}.icon-gouwuche:before{content:"\\e60e"}.icon-fangzi:before{content:"\\e657"}.icon-daifukuan:before{content:"\\e601"}.icon-daifahuo:before{content:"\\e704"}.icon-daishouhuo:before{content:"\\e62f"}.icon-pingjia:before{content:"\\e61d"}.icon-shouhou:before{content:"\\e610"}.icon-shoucang-setting:before{content:"\\e612"}.icon-setting:before{content:"\\e62b"}.icon-dizhi:before{content:"\\e67c"}.icon-lajitong:before{content:"\\e615"}uni-view,\nuni-scroll-view,\nuni-swiper,\nuni-swiper-item,\nuni-cover-view,\nuni-cover-image,\nuni-icon,\nuni-text,\nuni-rich-text,\nuni-progress,\nuni-button,\nuni-checkbox,\nuni-form,\nuni-input,\nuni-label,\nuni-radio,\nuni-slider,\nuni-switch,\nuni-textarea,\nuni-navigator,\nuni-audio,\nuni-camera,\nuni-image,\nuni-video{box-sizing:border-box}\n/* 骨架屏替代方案 */.Skeleton{background:#f3f3f3;padding:%?20?% 0;border-radius:%?8?%}\n/* 图片载入替代方案 */.image-wrapper{font-size:0;background:#f3f3f3;border-radius:4px}.image-wrapper uni-image{width:100%;height:100%;-webkit-transition:.6s;transition:.6s;opacity:0}.image-wrapper uni-image.loaded{opacity:1}.clamp{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.common-hover{background:#f5f5f5}\n/*边框*/.b-b:after,\n.b-t:after{position:absolute;z-index:3;left:0;right:0;height:0;content:"";-webkit-transform:scaleY(.5);transform:scaleY(.5);border-bottom:1px solid #e4e7ed}.b-b:after{bottom:0}.b-t:after{top:0}\n/* button样式改写 */uni-button,\nuni-button{height:%?80?%;line-height:%?80?%;font-size:%?34?%;font-weight:400}uni-button.no-border:before, uni-button.no-border:after, uni-button.no-border:before, uni-button.no-border:after{border:0}uni-button[type=default],\nuni-button[type=default]{color:#303133}\n/* input 样式 */.input-placeholder{color:#999}.placeholder{color:#999}',""]),e.exports=n}}); \ No newline at end of file +(function(e){function n(n){for(var a,i,s=n[0],u=n[1],c=n[2],g=0,p=[];g1&&void 0!==arguments[1]?arguments[1]:3e3,o=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"none";!1!==Boolean(e)&&(uni.showToast({title:e,duration:n,mask:o,icon:a}),setTimeout((function(){uni.hideToast()}),n))},d=function(){var e=getCurrentPages(),n=e[e.length-2];return n},p=function(){return new Promise((function(e){0==s.default.prototype.$store.state.hasLogin?uni.showModal({title:"温馨提示",content:"你还没,请先登录",success:function(n){if(n.confirm){var o="/pages/public/login";uni.navigateTo({url:o})}e(!1)}}):e(!0)}))},l=function e(n,o){o=o||{};for(var a in n)"object"===typeof n[a]?(o[a]=n[a].constructor===Array?[]:{},e(n[a],o[a])):o[a]=n[a];return o},f=function(){var e=(0,i.default)(regeneratorRuntime.mark((function e(n){var o,a,t,i,u,c,d,p,l=arguments;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return o=l.length>1&&void 0!==l[1]?l[1]:"GET",a=l.length>2&&void 0!==l[2]?l[2]:{},t=!(l.length>3&&void 0!==l[3])||l[3],i={"content-type":"application/x-www-form-urlencoded",lang:s.default.prototype.$store.state.lang,platform:s.default.prototype.$platform},s.default.prototype.$store.state.userInfo.token&&(i.token=s.default.prototype.$store.state.userInfo.token),s.default.prototype.$store.state.cookie&&(i.cookie=s.default.prototype.$store.state.cookie),e.next=8,uni.request({url:s.default.prototype.$unishow+n,method:o,header:i,data:a,timeout:5e3});case 8:return u=e.sent,c=(0,r.default)(u,2),d=c[0],p=c[1],"/pay/submit"==n&&console.log(p),e.abrupt("return",new Promise((function(e){if(d&&(t&&g(JSON.stringify(p)),e(!1)),p){if(p.header.hasOwnProperty("Set-Cookie")){var n=p.header["Set-Cookie"].replace("; path=/","");s.default.prototype.$store.commit("setCookie",n)}p.hasOwnProperty("data")?(p.data.hasOwnProperty("code")&&401==p.data.code&&s.default.prototype.$store.commit("logout"),p.data.hasOwnProperty("code")&&1==p.data.code?(p.data.msg?t&&g(p.data.msg):uni.hideToast(),e(p.data.data)):(p.data.hasOwnProperty("msg")?t&&g(p.data.msg):t&&g("返回参数错误"),e(!1))):(t&&g("不能识别数据"),e(!1))}})));case 14:case"end":return e.stop()}}),e)})));return function(n){return e.apply(this,arguments)}}(),y=function(e){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];n&&!s.default.prototype.$store.state.hasLogin&&(e="/pages/public/login"),uni.navigateTo({url:e})};s.default.config.productionTip=!1,s.default.prototype.$fire=new s.default,s.default.prototype.$store=u.default,s.default.prototype.$api={msg:g,prePage:d,checkLogin:p,request:f,deepCopy:l,navTo:y},c.default.mpType="app";var m=new s.default((0,t.default)({},c.default));m.$mount()},e467:function(e,n,o){"use strict";var a=o("c006"),t=o.n(a);t.a},e490:function(e,n,o){"use strict";o.r(n);var a=o("86f1"),t=o("b7c6");for(var r in t)"default"!==r&&function(e){o.d(n,e,(function(){return t[e]}))}(r);o("e467");var i,s=o("f0c5"),u=Object(s["a"])(t["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],i);n["default"]=u.exports},fac5:function(e,n,o){var a=o("24fb");n=a(!1),n.push([e.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/\n/* project id 1729059 */@font-face{font-family:unishop;font-weight:400;font-style:normal;src:url(https://at.alicdn.com/t/font_1729059_llr8d2acjac.ttf) format("truetype")}.yticon{font-family:unishop!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-shouhuodizhi:before{content:"\\e6b5"}.icon-xuanzhong:before{content:"\\e64c"}.icon-fenlei:before{content:"\\e71b"}.icon-bianji:before{content:"\\e77d"}.icon-jiahao:before{content:"\\e616"}.icon-jianhao:before{content:"\\e617"}.icon-wxpay:before{content:"\\e607"}.icon-pay:before{content:"\\e624"}.icon-alipay:before{content:"\\e60b"}.icon-you:before{content:"\\e65f"}.icon-huoche:before{content:"\\e6f0"}.icon-shoucang:before{content:"\\e60a"}.icon-gouwuche:before{content:"\\e60e"}.icon-fangzi:before{content:"\\e657"}.icon-daifukuan:before{content:"\\e601"}.icon-daifahuo:before{content:"\\e704"}.icon-daishouhuo:before{content:"\\e62f"}.icon-pingjia:before{content:"\\e61d"}.icon-shouhou:before{content:"\\e610"}.icon-shoucang-setting:before{content:"\\e612"}.icon-setting:before{content:"\\e62b"}.icon-dizhi:before{content:"\\e67c"}.icon-lajitong:before{content:"\\e615"}uni-view,\nuni-scroll-view,\nuni-swiper,\nuni-swiper-item,\nuni-cover-view,\nuni-cover-image,\nuni-icon,\nuni-text,\nuni-rich-text,\nuni-progress,\nuni-button,\nuni-checkbox,\nuni-form,\nuni-input,\nuni-label,\nuni-radio,\nuni-slider,\nuni-switch,\nuni-textarea,\nuni-navigator,\nuni-audio,\nuni-camera,\nuni-image,\nuni-video{box-sizing:border-box}\n/* 骨架屏替代方案 */.Skeleton{background:#f3f3f3;padding:%?20?% 0;border-radius:%?8?%}\n/* 图片载入替代方案 */.image-wrapper{font-size:0;background:#f3f3f3;border-radius:4px}.image-wrapper uni-image{width:100%;height:100%;-webkit-transition:.6s;transition:.6s;opacity:0}.image-wrapper uni-image.loaded{opacity:1}.clamp{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block}.common-hover{background:#f5f5f5}\n/*边框*/.b-b:after,\n.b-t:after{position:absolute;z-index:3;left:0;right:0;height:0;content:"";-webkit-transform:scaleY(.5);transform:scaleY(.5);border-bottom:1px solid #e4e7ed}.b-b:after{bottom:0}.b-t:after{top:0}\n/* button样式改写 */uni-button,\nuni-button{height:%?80?%;line-height:%?80?%;font-size:%?34?%;font-weight:400}uni-button.no-border:before, uni-button.no-border:after, uni-button.no-border:before, uni-button.no-border:after{border:0}uni-button[type=default],\nuni-button[type=default]{color:#303133}\n/* input 样式 */.input-placeholder{color:#999}.placeholder{color:#999}',""]),e.exports=n}}); \ No newline at end of file diff --git a/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-order-createOrder.400aae3e.js b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-order-createOrder.400aae3e.js new file mode 100644 index 0000000..ce55368 --- /dev/null +++ b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-order-createOrder.400aae3e.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-createOrder"],{"0125":function(e,t,i){var a=i("1c61");"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var n=i("4f06").default;n("14721dc7",a,!0,{sourceMap:!1,shadowMode:!1})},"1c61":function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,".uni-numbox[data-v-39d3cd72]{position:absolute;left:%?30?%;bottom:0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-webkit-box-align:center;-webkit-align-items:center;align-items:center;width:%?230?%;height:%?70?%;background:#f5f5f5}.uni-numbox-minus[data-v-39d3cd72],\n.uni-numbox-plus[data-v-39d3cd72]{margin:0;background-color:#f5f5f5;width:%?70?%;height:100%;line-height:%?70?%;text-align:center;position:relative}.uni-numbox-minus .yticon[data-v-39d3cd72],\n.uni-numbox-plus .yticon[data-v-39d3cd72]{font-size:%?36?%;color:#555}.uni-numbox-minus[data-v-39d3cd72]{border-right:none;border-top-left-radius:%?6?%;border-bottom-left-radius:%?6?%}.uni-numbox-plus[data-v-39d3cd72]{border-left:none;border-top-right-radius:%?6?%;border-bottom-right-radius:%?6?%}.uni-numbox-value[data-v-39d3cd72]{position:relative;background-color:#f5f5f5;width:%?90?%;height:%?50?%;text-align:center;padding:0;font-size:%?30?%}.uni-numbox-disabled.yticon[data-v-39d3cd72]{color:#d6d6d6}",""]),e.exports=t},"2e7d":function(e,t,i){"use strict";i.r(t);var a=i("60de"),n=i.n(a);for(var s in a)"default"!==s&&function(e){i.d(t,e,(function(){return a[e]}))}(s);t["default"]=n.a},"313e":function(e,t,i){"use strict";i.r(t);var a=i("ef9e"),n=i("2e7d");for(var s in n)"default"!==s&&function(e){i.d(t,e,(function(){return n[e]}))}(s);i("bacf");var o,r=i("f0c5"),l=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"39d3cd72",null,!1,a["a"],o);t["default"]=l.exports},"38f5":function(e,t,i){"use strict";i.r(t);var a=i("6399"),n=i("9be6");for(var s in n)"default"!==s&&function(e){i.d(t,e,(function(){return n[e]}))}(s);i("ec38");var o,r=i("f0c5"),l=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"56249f0a",null,!1,a["a"],o);t["default"]=l.exports},"60de":function(e,t,i){"use strict";i("a9e3"),i("ac1f"),i("1276"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={name:"uni-number-box",props:{isMax:{type:Boolean,default:!1},isMin:{type:Boolean,default:!1},index:{type:Number,default:0},value:{type:Number,default:0},min:{type:Number,default:-1/0},max:{type:Number,default:1/0},step:{type:Number,default:1},disabled:{type:Boolean,default:!1}},data:function(){return{inputValue:this.value,minDisabled:!1,maxDisabled:!1}},created:function(){this.maxDisabled=this.isMax,this.minDisabled=this.isMin},computed:{},watch:{value:function(e){this.inputValue=e},inputValue:function(e){var t={number:e,index:this.index};this.$emit("eventChange",t)}},methods:{nothing:function(){},_calcValue:function(e){var t=this._getDecimalScale(),i=this.inputValue*t,a=0,n=this.step*t;"subtract"===e?(a=i-n,a<=this.min&&(this.minDisabled=!0),a=this.max&&(this.maxDisabled=!0),a>this.max&&(a=this.max),a>this.min&&!0===this.minDisabled&&(this.minDisabled=!1)),a!==i&&(this.inputValue=a/t)},_getDecimalScale:function(){var e=1;return~~this.step!==this.step&&(e=Math.pow(10,(this.step+"").split(".")[1].length)),e},_onBlur:function(e){var t=e.detail.value;t?(t=+t,t>this.max?t=this.max:t=e.progress.number-e.progress.sold,value:t.number,isMax:e.progress.number-e.progress.sold<=t.number,isMin:1===t.number,index:a},on:{eventChange:function(t){arguments[0]=t=e.$handleEvent(t),e.numberChange.apply(void 0,arguments)}}}):i("uni-number-box",{staticClass:"step",attrs:{min:1,max:t.stock,disabled:t.number>=t.stock,value:t.number,isMax:t.stock<=t.number,isMin:1===t.number,index:a},on:{eventChange:function(t){arguments[0]=t=e.$handleEvent(t),e.numberChange.apply(void 0,arguments)}}})],1)],1)],1)})),1),e.couponList&&e.couponList.length?i("v-uni-view",{staticClass:"yt-list"},[i("v-uni-view",{staticClass:"yt-list-cell b-b",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toggleMask("show")}}},[i("v-uni-view",{staticClass:"cell-icon"},[e._v("券")]),i("v-uni-text",{staticClass:"cell-tit clamp"},[e._v("优惠券")]),i("v-uni-text",{staticClass:"cell-tip active"},[e._v(e._s(-1!==e.useCouponIndex?e.couponList[e.useCouponIndex].title:"选择优惠券"))]),i("v-uni-text",{staticClass:"cell-more wanjia wanjia-gengduo-d"})],1)],1):e._e(),i("v-uni-view",{staticClass:"yt-list"},[i("v-uni-view",{staticClass:"yt-list-cell b-b"},[i("v-uni-view",{staticClass:"cell-tit clamp"},[e._v("总共合计")]),i("v-uni-view",{staticClass:"cell-tip"},[e._v("¥"+e._s(e.price))])],1),e.couponList&&e.couponList.length?i("v-uni-view",{staticClass:"yt-list-cell b-b"},[i("v-uni-view",{staticClass:"cell-tit clamp"},[e._v("优惠金额")]),i("v-uni-view",{staticClass:"cell-tip red"},[e._v("-¥"+e._s(e.coupon_price))])],1):e._e()],1),e.deliveryList&&e.deliveryList.length>0?i("v-uni-view",{staticClass:"cell-tip"},[i("v-uni-picker",{attrs:{"range-key":"name",value:e.deliveryIndex,range:e.deliveryList},on:{change:function(t){arguments[0]=t=e.$handleEvent(t),e.deliveryChange.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"uni-input"},[e._v(e._s(e.deliveryList[e.deliveryIndex].name))])],1)],1):e._e()],1)},s=[];i.d(t,"b",(function(){return n})),i.d(t,"c",(function(){return s})),i.d(t,"a",(function(){return a}))},"737f":function(e,t,i){"use strict";var a=i("ee27");i("99af"),i("4160"),i("b680"),i("acd8"),i("e25e"),i("ac1f"),i("5319"),i("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("96cf");var n=a(i("c964")),s=a(i("313e")),o={components:{uniNumberBox:s.default},data:function(){return{maskState:0,remark:"",payType:1,couponList:[],useCouponIndex:-1,addressData:{},product:[],price:0,coupon_price:0,total:0,deliveryList:[],deliveryIndex:0,deliveryPrice:0,cart:[],flash_id:0,progress:{},submitLock:!1}},onLoad:function(e){e.hasOwnProperty("flash_id")&&(this.flash_id=e.flash_id),e.hasOwnProperty("cart")?(this.cart=e.cart,this.getOrderCreate({cart:e.cart})):this.getOrderCreate({id:e.id,spec:e.spec,flash_id:this.flash_id})},onShow:function(){this.addressData.hasOwnProperty("city_id")&&this.getDelivery()},methods:{percentage:function(e,t){return t?parseInt(t/e*100):0},getDelivery:function(){var e=this;return(0,n.default)(regeneratorRuntime.mark((function t(){var i;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,e.$api.request("/order/getDelivery?city_id="+e.addressData.city_id);case 2:i=t.sent,i&&(e.deliveryList=i,e.deliveryIndex=0,e.calcTotal());case 4:case"end":return t.stop()}}),t)})))()},deliveryChange:function(e){this.deliveryIndex=e.detail.value,this.calcTotal()},useCoupon:function(e){this.useCouponIndex!==e?this.useCouponIndex=e:this.useCouponIndex=-1,this.calcTotal()},getOrderCreate:function(e){var t=this;return(0,n.default)(regeneratorRuntime.mark((function i(){var a,n,s;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return a=t,n=e.flash_id&&0!=e.flash_id?"/flash/createOrder":"/order/create",i.next=4,t.$api.request(n,"POST",e);case 4:s=i.sent,s?(t.addressData=s.address,t.product=s.product,t.couponList=s.coupon,t.deliveryList=s.delivery,t.calcTotal(),s.flash&&(t.progress=s.flash)):setTimeout((function(){a.$api.prePage().getDetail(e.id,e.flash_id),uni.navigateBack()}),3e3);case 6:case"end":return i.stop()}}),i)})))()},toggleMask:function(e){var t=this,i="show"===e?10:300,a="show"===e?1:0;this.maskState=2,setTimeout((function(){t.maskState=a}),i)},changePayType:function(e){this.payType=e},submit:function(){var e=this;return(0,n.default)(regeneratorRuntime.mark((function t(){var i,a,n,s,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(e.addressData&&e.addressData.hasOwnProperty("city_id")){t.next=3;break}return e.$api.msg("请选择收货地址"),t.abrupt("return");case 3:if(e.$api.msg("提交中...",2e4),i=0,e.deliveryList&&e.deliveryList[e.deliveryIndex]&&e.deliveryList[e.deliveryIndex].id&&(i=e.deliveryList[e.deliveryIndex].id),a=0,e.couponList&&e.couponList[e.useCouponIndex]&&e.couponList[e.useCouponIndex].id&&(a=e.couponList[e.useCouponIndex].id),n={city_id:e.addressData.city_id,address_id:e.addressData.id,delivery_id:i,coupon_id:a,remark:e.remark,product_id:[],spec:[],number:[],cart:e.cart,flash_id:e.flash_id},e.product.forEach((function(e,t){n.product_id.push(e.id),n.spec.push(e.spec.replace(/,/g,"|")),n.number.push(e.number)})),!e.submitLock){t.next=12;break}return t.abrupt("return");case 12:return e.submitLock=!0,s=0==e.flash_id?"/order/submit":"/flash/submitOrder",t.next=16,e.$api.request(s,"POST",n);case 16:o=t.sent,o&&(e.submitLock=!1,e.$api.msg("已提交",2e3),uni.redirectTo({url:"/pages/money/pay?order_id=".concat(o.order_id,"&total=").concat(e.total,"&out_trade_no=").concat(o.out_trade_no)})),e.submitLock=!1;case 19:case"end":return t.stop()}}),t)})))()},stopPrevent:function(){},numberChange:function(e){var t=this;return(0,n.default)(regeneratorRuntime.mark((function i(){var a,n;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:t.product[e.index].number,a=e.number,t.product[e.index].number=a,t.calcTotal(),n=t.product[e.index].stock,a>t.product[e.index].stock&&(t.product[e.index].number=n);case 6:case"end":return i.stop()}}),i)})))()},calcTotal:function(){var e=0,t=0,i=this.product;i.forEach((function(i){e+=parseFloat(i.sales_price)*i.number,t+=i.number})),this.price=e.toFixed(2);var a=e;this.coupon_price=0,-1!=this.useCouponIndex&&this.couponList&&this.couponList[this.useCouponIndex]&&(this.coupon_price=this.couponList[this.useCouponIndex].value,this.price>=this.couponList[this.useCouponIndex].least?a-=this.coupon_price:(this.$api.msg("选中的优惠券不满足使用条件",2e3),this.useCouponIndex=-1,this.coupon_price=0,a-=this.coupon_price));var n=this.deliveryList[this.deliveryIndex];if(n){var s=0;if(n.hasOwnProperty("id")){n.min>t&&this.$api.msg("必须至少购买"+n.min+"件商品才能使用此配送方式",6e3),n.first=0==n.first?1:n.first,n.additional=0==n.additional?1:n.additional;for(var o=0;o=t.progress.number-t.progress.sold,value:e.number,isMax:t.progress.number-t.progress.sold<=e.number,isMin:1===e.number,index:a},on:{eventChange:function(e){arguments[0]=e=t.$handleEvent(e),t.numberChange.apply(void 0,arguments)}}}):i("uni-number-box",{staticClass:"step",attrs:{min:1,max:e.stock,disabled:e.number>=e.stock,value:e.number,isMax:e.stock<=e.number,isMin:1===e.number,index:a},on:{eventChange:function(e){arguments[0]=e=t.$handleEvent(e),t.numberChange.apply(void 0,arguments)}}})],1)],1)],1)})),1),t.couponList&&t.couponList.length?i("v-uni-view",{staticClass:"yt-list"},[i("v-uni-view",{staticClass:"yt-list-cell b-b",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleMask("show")}}},[i("v-uni-view",{staticClass:"cell-icon"},[t._v("券")]),i("v-uni-text",{staticClass:"cell-tit clamp"},[t._v("优惠券")]),i("v-uni-text",{staticClass:"cell-tip active"},[t._v(t._s(-1!==t.useCouponIndex?t.couponList[t.useCouponIndex].title:"选择优惠券"))]),i("v-uni-text",{staticClass:"cell-more wanjia wanjia-gengduo-d"})],1)],1):t._e(),i("v-uni-view",{staticClass:"yt-list"},[i("v-uni-view",{staticClass:"yt-list-cell b-b"},[i("v-uni-view",{staticClass:"cell-tit clamp"},[t._v("总共合计")]),i("v-uni-view",{staticClass:"cell-tip"},[t._v("¥"+t._s(t.price))])],1),t.couponList&&t.couponList.length?i("v-uni-view",{staticClass:"yt-list-cell b-b"},[i("v-uni-view",{staticClass:"cell-tit clamp"},[t._v("优惠金额")]),i("v-uni-view",{staticClass:"cell-tip red"},[t._v("-¥"+t._s(t.coupon_price))])],1):t._e(),i("v-uni-view",{staticClass:"yt-list-cell b-b"},[i("v-uni-view",{staticClass:"cell-tit clamp"},[t._v("配送方式")]),t.deliveryList&&t.deliveryList.length>0?i("v-uni-view",{staticClass:"cell-tip"},[i("v-uni-picker",{attrs:{"range-key":"name",value:t.deliveryIndex,range:t.deliveryList},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.deliveryChange.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"uni-input"},[t._v(t._s(t.deliveryList[t.deliveryIndex].name))])],1)],1):t._e()],1),i("v-uni-view",{staticClass:"yt-list-cell b-b"},[i("v-uni-view",{staticClass:"cell-tit clamp"},[t._v("运费")]),i("v-uni-view",{staticClass:"cell-tip"},[t._v("¥"+t._s(t.deliveryPrice))])],1),i("v-uni-view",{staticClass:"yt-list-cell desc-cell"},[i("v-uni-view",{staticClass:"cell-tit clamp"},[t._v("备注")]),i("v-uni-input",{staticClass:"desc",attrs:{type:"text",placeholder:"请填写备注信息","placeholder-class":"placeholder"},model:{value:t.remark,callback:function(e){t.remark=e},expression:"remark"}})],1)],1),i("v-uni-view",{staticClass:"footer"},[i("v-uni-view",{staticClass:"price-content"},[i("v-uni-text",[t._v("实付款")]),i("v-uni-text",{staticClass:"price-tip"},[t._v("¥")]),i("v-uni-text",{staticClass:"price"},[t._v(t._s(t.total))])],1),i("v-uni-text",{staticClass:"submit",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.submit.apply(void 0,arguments)}}},[t._v("提交订单")])],1),i("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)}}},[i("v-uni-view",{staticClass:"mask-content",on:{click:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.stopPrevent.apply(void 0,arguments)}}},t._l(t.couponList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"coupon-item",class:t.useCouponIndex===a?"selectCoupon":""},[i("v-uni-view",{staticClass:"con",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.useCoupon(a)}}},[i("v-uni-view",{staticClass:"left"},[i("v-uni-text",{staticClass:"title"},[t._v(t._s(e.title))]),i("v-uni-text",{staticClass:"time"},[t._v("有效期至"+t._s(e.endtime_text))])],1),i("v-uni-view",{staticClass:"right"},[i("v-uni-text",{staticClass:"price"},[t._v(t._s(e.value))]),i("v-uni-text",[t._v("满"+t._s(e.least)+"可用")])],1),i("v-uni-view",{staticClass:"circle l"}),i("v-uni-view",{staticClass:"circle r"})],1),i("v-uni-text",{staticClass:"tips"},[t._v("限一张使用")])],1)})),1),i("v-uni-button",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toggleMask.apply(void 0,arguments)}}},[t._v("收起")])],1)],1)},s=[];i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){return a}))},"603d":function(t,e,i){"use strict";var a=i("2ef6"),n=i.n(a);n.a},"60de":function(t,e,i){"use strict";i("a9e3"),i("ac1f"),i("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"uni-number-box",props:{isMax:{type:Boolean,default:!1},isMin:{type:Boolean,default:!1},index:{type:Number,default:0},value:{type:Number,default:0},min:{type:Number,default:-1/0},max:{type:Number,default:1/0},step:{type:Number,default:1},disabled:{type:Boolean,default:!1}},data:function(){return{inputValue:this.value,minDisabled:!1,maxDisabled:!1}},created:function(){this.maxDisabled=this.isMax,this.minDisabled=this.isMin},computed:{},watch:{value:function(t){this.inputValue=t},inputValue:function(t){var e={number:t,index:this.index};this.$emit("eventChange",e)}},methods:{nothing:function(){},_calcValue:function(t){var e=this._getDecimalScale(),i=this.inputValue*e,a=0,n=this.step*e;"subtract"===t?(a=i-n,a<=this.min&&(this.minDisabled=!0),a=this.max&&(this.maxDisabled=!0),a>this.max&&(a=this.max),a>this.min&&!0===this.minDisabled&&(this.minDisabled=!1)),a!==i&&(this.inputValue=a/e)},_getDecimalScale:function(){var t=1;return~~this.step!==this.step&&(t=Math.pow(10,(this.step+"").split(".")[1].length)),t},_onBlur:function(t){var e=t.detail.value;e?(e=+e,e>this.max?e=this.max:ee.product[t.index].stock&&(e.product[t.index].number=n);case 6:case"end":return i.stop()}}),i)})))()},calcTotal:function(){var t=0,e=0,i=this.product;i.forEach((function(i){t+=parseFloat(i.sales_price)*i.number,e+=i.number})),this.price=t.toFixed(2);var a=t;this.coupon_price=0,-1!=this.useCouponIndex&&this.couponList&&this.couponList[this.useCouponIndex]&&(this.coupon_price=this.couponList[this.useCouponIndex].value,this.price>=this.couponList[this.useCouponIndex].least?a-=this.coupon_price:(this.$api.msg("选中的优惠券不满足使用条件",2e3),this.useCouponIndex=-1,this.coupon_price=0,a-=this.coupon_price));var n=this.deliveryList[this.deliveryIndex];if(n){var s=0;if(n.hasOwnProperty("id")){n.min>e&&this.$api.msg("必须至少购买"+n.min+"件商品才能使用此配送方式",6e3),n.first=0==n.first?1:n.first,n.additional=0==n.additional?1:n.additional;for(var o=0;o0?i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.orderNum.unpaid))]):t._e(),i("v-uni-text",[t._v("待付款")])],1),i("v-uni-view",{staticClass:"order-item",attrs:{"hover-class":"common-hover","hover-stay-time":50},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$api.navTo("/pages/order/order?state=2")}}},[i("v-uni-text",{staticClass:"yticon icon-daifahuo"}),t.orderNum.undelivered>0?i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.orderNum.undelivered))]):t._e(),i("v-uni-text",[t._v("待发货")])],1),i("v-uni-view",{staticClass:"order-item",attrs:{"hover-class":"common-hover","hover-stay-time":50},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$api.navTo("/pages/order/order?state=3")}}},[i("v-uni-text",{staticClass:"yticon icon-daishouhuo"}),t.orderNum.unreceived>0?i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.orderNum.unreceived))]):t._e(),i("v-uni-text",[t._v("待收货")])],1),i("v-uni-view",{staticClass:"order-item",attrs:{"hover-class":"common-hover","hover-stay-time":50},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$api.navTo("/pages/order/order?state=4")}}},[i("v-uni-text",{staticClass:"yticon icon-pingjia"}),t.orderNum.uncomment>0?i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.orderNum.uncomment))]):t._e(),i("v-uni-text",[t._v("评价")])],1),i("v-uni-view",{staticClass:"order-item",attrs:{"hover-class":"common-hover","hover-stay-time":50},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$api.navTo("/pages/order/order?state=5")}}},[i("v-uni-text",{staticClass:"yticon icon-shouhou"}),t.orderNum.refund>0?i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.orderNum.refund))]):t._e(),i("v-uni-text",[t._v("退款/售后")])],1)],1),i("v-uni-view",{staticClass:"history-section icon"},[i("list-cell",{attrs:{icon:"icon-dizhi",iconColor:"#5fcda2",title:"地址管理"},on:{eventClick:function(e){arguments[0]=e=t.$handleEvent(e),t.$api.navTo("/pages/address/address")}}}),i("list-cell",{attrs:{icon:"icon-shoucang-setting",iconColor:"#54b4ef",title:"我的收藏"},on:{eventClick:function(e){arguments[0]=e=t.$handleEvent(e),t.$api.navTo("/pages/favorite/favorite")}}}),i("list-cell",{attrs:{icon:"icon-setting",iconColor:"#e07472",title:"设置",border:""},on:{eventClick:function(e){arguments[0]=e=t.$handleEvent(e),t.$api.navTo("/pages/set/set")}}})],1)],1)],1)},o=[];i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}))},"15f7":function(t,e,i){"use strict";i.r(e);var a=i("9697"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"1b0d":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/.icon .mix-list-cell.b-b[data-v-373050c2]:after{left:%?90?%}.mix-list-cell[data-v-373050c2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:baseline;-webkit-align-items:baseline;align-items:baseline;padding:%?20?% %?30?%;line-height:%?60?%;position:relative}.mix-list-cell.cell-hover[data-v-373050c2]{background:#fafafa}.mix-list-cell.b-b[data-v-373050c2]:after{left:%?30?%}.mix-list-cell .cell-icon[data-v-373050c2]{-webkit-align-self:center;align-self:center;width:%?56?%;max-height:%?60?%;font-size:%?38?%}.mix-list-cell .cell-more[data-v-373050c2]{-webkit-align-self:center;align-self:center;font-size:%?30?%;color:#606266;margin-left:10px}.mix-list-cell .cell-tit[data-v-373050c2]{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:%?28?%;color:#303133;margin-right:%?10?%}.mix-list-cell .cell-tip[data-v-373050c2]{font-size:%?26?%;color:#909399}',""]),t.exports=e},"1ee8":function(t,e,i){var a=i("1b0d");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("268c3d85",a,!0,{sourceMap:!1,shadowMode:!1})},4934:function(t,e,i){var a=i("693f");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("756b47b6",a,!0,{sourceMap:!1,shadowMode:!1})},"4a7a":function(t,e,i){"use strict";i.r(e);var a=i("5759"),n=i("d883");for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("8519");var r,s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"373050c2",null,!1,a["a"],r);e["default"]=c.exports},5759:function(t,e,i){"use strict";var a,n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"mix-list-cell",class:t.border,attrs:{"hover-class":"cell-hover","hover-stay-time":50},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.eventClick.apply(void 0,arguments)}}},[t.icon?i("v-uni-text",{staticClass:"cell-icon yticon",class:t.icon,style:[{color:t.iconColor}]}):t._e(),i("v-uni-text",{staticClass:"cell-tit clamp"},[t._v(t._s(t.title))]),t.tips?i("v-uni-text",{staticClass:"cell-tip"},[t._v(t._s(t.tips))]):t._e(),i("v-uni-text",{staticClass:"cell-more yticon",class:t.typeList[t.navigateType]})],1)],1)},o=[];i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}))},"613f":function(t,e,i){"use strict";var a=i("4934"),n=i.n(a);n.a},"693f":function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/uni-page-body[data-v-64a247f6]{background:#f5f5f5}.tj-sction .tj-item[data-v-64a247f6], .order-section .order-item[data-v-64a247f6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.tj-sction[data-v-64a247f6], .order-header[data-v-64a247f6], .order-section[data-v-64a247f6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-around;justify-content:space-around;-webkit-align-content:center;align-content:center;background:#fff;border-radius:%?10?%}.user-section[data-v-64a247f6]{height:%?520?%;padding:%?100?% %?30?% 0;position:relative}.user-section .bg[data-v-64a247f6]{position:absolute;left:0;top:0;width:100%;height:100%;-webkit-filter:blur(1px);filter:blur(1px);opacity:.7}.user-info-box[data-v-64a247f6]{height:%?180?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;position:relative;z-index:1}.user-info-box .portrait[data-v-64a247f6]{width:%?130?%;height:%?130?%;border-radius:50%}.user-info-box .username[data-v-64a247f6]{font-size:%?38?%;color:#303133;margin-left:%?20?%}.vip-card-box[data-v-64a247f6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;color:#f7d680;height:%?240?%;background:-webkit-linear-gradient(left,rgba(0,0,0,.7),rgba(0,0,0,.8));background:linear-gradient(left,rgba(0,0,0,.7),rgba(0,0,0,.8));border-radius:%?16?% %?16?% 0 0;overflow:hidden;position:relative;padding:%?20?% %?24?%}.vip-card-box .card-bg[data-v-64a247f6]{position:absolute;top:%?20?%;right:0;width:%?380?%;height:%?260?%}.vip-card-box .b-btn[data-v-64a247f6]{position:absolute;right:%?20?%;top:%?16?%;width:%?132?%;height:%?40?%;text-align:center;line-height:%?40?%;font-size:%?22?%;color:#36343c;border-radius:20px;background:-webkit-linear-gradient(left,#f9e6af,#ffd465);background:linear-gradient(left,#f9e6af,#ffd465);z-index:1}.vip-card-box .tit[data-v-64a247f6]{font-size:%?30?%;color:#f7d680;margin-bottom:%?28?%}.vip-card-box .tit .yticon[data-v-64a247f6]{color:#f6e5a3;margin-right:%?16?%}.vip-card-box .e-b[data-v-64a247f6]{font-size:%?24?%;color:#d8cba9;margin-top:%?10?%}.cover-container[data-v-64a247f6]{margin-top:%?-150?%;padding:0 %?30?%;position:relative;background:#f5f5f5;padding-bottom:%?20?%}.cover-container .arc[data-v-64a247f6]{position:absolute;left:0;top:%?-34?%;width:100%;height:%?36?%}.tj-sction .tj-item[data-v-64a247f6]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;height:%?140?%;font-size:%?24?%;color:#75787d}.tj-sction .num[data-v-64a247f6]{font-size:%?32?%;color:#303133;margin-bottom:%?8?%}.order-header[data-v-64a247f6]{padding:%?28?% 0 0;border-radius:%?10?% %?10?% 0 0;margin-top:%?20?%;font-size:%?28?%}.order-header .title[data-v-64a247f6]{width:50%;color:#303133;margin-left:%?30?%}.order-header .item[data-v-64a247f6]{width:50%;color:#606266;text-align:right;margin-right:%?8?%}.order-section[data-v-64a247f6]{border-radius:0 0 %?10?% %?10?%;padding:%?28?% 0}.order-section .order-item[data-v-64a247f6]{width:%?120?%;height:%?120?%;border-radius:%?10?%;font-size:%?24?%;color:#303133;position:relative}.order-section .order-item .num[data-v-64a247f6]{border:%?4?% solid #fa436a;width:%?40?%;height:%?40?%;color:#fa436a;text-align:center;border-radius:%?40?%;position:absolute;background:#fff;top:0;right:%?18?%}.order-section .yticon[data-v-64a247f6]{font-size:%?48?%;margin-bottom:%?18?%;color:#fa436a}.order-section .icon-shouhoutuikuan[data-v-64a247f6]{font-size:%?44?%}.history-section[data-v-64a247f6]{padding:0;margin-top:%?20?%;background:#fff;border-radius:%?10?%}.history-section .sec-header[data-v-64a247f6]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?28?%;color:#303133;line-height:%?40?%;margin-left:%?30?%}.history-section .sec-header .yticon[data-v-64a247f6]{font-size:%?44?%;color:#5eba8f;margin-right:%?16?%;line-height:%?40?%}.history-section .h-list[data-v-64a247f6]{white-space:nowrap;padding:%?30?% %?30?% 0}.history-section .h-list uni-image[data-v-64a247f6]{display:inline-block;width:%?160?%;height:%?160?%;margin-right:%?20?%;border-radius:%?10?%}body.?%PAGE?%[data-v-64a247f6]{background:#f5f5f5}',""]),t.exports=e},8519:function(t,e,i){"use strict";var a=i("1ee8"),n=i.n(a);n.a},9697:function(t,e,i){"use strict";var a=i("ee27");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var n=a(i("c964")),o=a(i("f3f3")),r=a(i("4a7a")),s=i("2f62"),c=0,l=0,d=!0,u={components:{listCell:r.default},data:function(){return{coverTransform:"translateY(0px)",coverTransition:"0s",moving:!1,orderNum:{unpaid:0,undelivered:0,unreceived:0,uncomment:0,refund:0}}},onLoad:function(){},onShow:function(){this.hasLogin&&this.getOrderNum()},onNavigationBarButtonTap:function(t){var e=t.index;0===e?this.navTo("/pages/set/set"):1===e&&uni.navigateTo({url:"/pages/notice/notice"})},computed:(0,o.default)({},(0,s.mapState)(["hasLogin","userInfo"])),methods:{coverTouchstart:function(t){!1!==d&&(this.coverTransition="transform .1s linear",c=t.touches[0].clientY)},coverTouchmove:function(t){l=t.touches[0].clientY;var e=l-c;e<0?this.moving=!1:(this.moving=!0,e>=80&&e<100&&(e=80),e>0&&e<=80&&(this.coverTransform="translateY(".concat(e,"px)")))},coverTouchend:function(){!1!==this.moving&&(this.moving=!1,this.coverTransition="transform 0.3s cubic-bezier(.21,1.93,.53,.64)",this.coverTransform="translateY(0px)")},getOrderNum:function(){var t=this;return(0,n.default)(regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$api.request("/order/count");case 2:i=e.sent,i&&(t.orderNum={unpaid:i.unpaid?i.unpaid:0,undelivered:i.undelivered?i.undelivered:0,unreceived:i.unreceived?i.unreceived:0,uncomment:i.uncomment?i.uncomment:0,refund:i.refund?i.refund:0});case 4:case"end":return e.stop()}}),e)})))()}}};e.default=u},a998:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{typeList:{left:"icon-zuo",right:"icon-you",up:"icon-shang",down:"icon-xia"}}},props:{icon:{type:String,default:""},title:{type:String,default:"标题"},tips:{type:String,default:""},navigateType:{type:String,default:"right"},border:{type:String,default:"b-b"},hoverClass:{type:String,default:"cell-hover"},iconColor:{type:String,default:"#333"}},methods:{eventClick:function(){this.$emit("eventClick")}}};e.default=a},bbad:function(t,e,i){"use strict";i.r(e);var a=i("13c6"),n=i("15f7");for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("613f");var r,s=i("f0c5"),c=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"64a247f6",null,!1,a["a"],r);e["default"]=c.exports},d883:function(t,e,i){"use strict";i.r(e);var a=i("a998"),n=i.n(a);for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a}}]); \ No newline at end of file diff --git a/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-user-user.d21958d5.js b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-user-user.d21958d5.js new file mode 100644 index 0000000..4028cf4 --- /dev/null +++ b/addons/unishop/uniapp/uni-shop/unpackage/dist/build/h5/static/js/pages-user-user.d21958d5.js @@ -0,0 +1 @@ +(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-user"],{"15f7":function(t,e,i){"use strict";i.r(e);var n=i("9697"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a},"1b0d":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/.icon .mix-list-cell.b-b[data-v-373050c2]:after{left:%?90?%}.mix-list-cell[data-v-373050c2]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:baseline;-webkit-align-items:baseline;align-items:baseline;padding:%?20?% %?30?%;line-height:%?60?%;position:relative}.mix-list-cell.cell-hover[data-v-373050c2]{background:#fafafa}.mix-list-cell.b-b[data-v-373050c2]:after{left:%?30?%}.mix-list-cell .cell-icon[data-v-373050c2]{-webkit-align-self:center;align-self:center;width:%?56?%;max-height:%?60?%;font-size:%?38?%}.mix-list-cell .cell-more[data-v-373050c2]{-webkit-align-self:center;align-self:center;font-size:%?30?%;color:#606266;margin-left:10px}.mix-list-cell .cell-tit[data-v-373050c2]{-webkit-box-flex:1;-webkit-flex:1;flex:1;font-size:%?28?%;color:#303133;margin-right:%?10?%}.mix-list-cell .cell-tip[data-v-373050c2]{font-size:%?26?%;color:#909399}',""]),t.exports=e},"1c5c":function(t,e,i){"use strict";var n=i("6a2d"),a=i.n(n);a.a},"1ee8":function(t,e,i){var n=i("1b0d");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("268c3d85",n,!0,{sourceMap:!1,shadowMode:!1})},"4a7a":function(t,e,i){"use strict";i.r(e);var n=i("5759"),a=i("d883");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("8519");var r,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"373050c2",null,!1,n["a"],r);e["default"]=c.exports},5759:function(t,e,i){"use strict";var n,a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"mix-list-cell",class:t.border,attrs:{"hover-class":"cell-hover","hover-stay-time":50},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.eventClick.apply(void 0,arguments)}}},[t.icon?i("v-uni-text",{staticClass:"cell-icon yticon",class:t.icon,style:[{color:t.iconColor}]}):t._e(),i("v-uni-text",{staticClass:"cell-tit clamp"},[t._v(t._s(t.title))]),t.tips?i("v-uni-text",{staticClass:"cell-tip"},[t._v(t._s(t.tips))]):t._e(),i("v-uni-text",{staticClass:"cell-more yticon",class:t.typeList[t.navigateType]})],1)],1)},o=[];i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}))},"6a2d":function(t,e,i){var n=i("b7cb");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("1e8bf63e",n,!0,{sourceMap:!1,shadowMode:!1})},8519:function(t,e,i){"use strict";var n=i("1ee8"),a=i.n(n);a.a},9697:function(t,e,i){"use strict";var n=i("ee27");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("96cf");var a=n(i("c964")),o=n(i("f3f3")),r=n(i("4a7a")),s=i("2f62"),c=0,l=0,d=!0,u={components:{listCell:r.default},data:function(){return{coverTransform:"translateY(0px)",coverTransition:"0s",moving:!1,orderNum:{unpaid:0,undelivered:0,unreceived:0,uncomment:0,refund:0}}},onLoad:function(){},onShow:function(){this.hasLogin&&this.getOrderNum()},onNavigationBarButtonTap:function(t){var e=t.index;0===e?this.navTo("/pages/set/set"):1===e&&uni.navigateTo({url:"/pages/notice/notice"})},computed:(0,o.default)({},(0,s.mapState)(["hasLogin","userInfo"])),methods:{coverTouchstart:function(t){!1!==d&&(this.coverTransition="transform .1s linear",c=t.touches[0].clientY)},coverTouchmove:function(t){l=t.touches[0].clientY;var e=l-c;e<0?this.moving=!1:(this.moving=!0,e>=80&&e<100&&(e=80),e>0&&e<=80&&(this.coverTransform="translateY(".concat(e,"px)")))},coverTouchend:function(){!1!==this.moving&&(this.moving=!1,this.coverTransition="transform 0.3s cubic-bezier(.21,1.93,.53,.64)",this.coverTransform="translateY(0px)")},getOrderNum:function(){var t=this;return(0,a.default)(regeneratorRuntime.mark((function e(){var i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,t.$api.request("/order/count");case 2:i=e.sent,i&&(t.orderNum={unpaid:i.unpaid?i.unpaid:0,undelivered:i.undelivered?i.undelivered:0,unreceived:i.unreceived?i.unreceived:0,uncomment:i.uncomment?i.uncomment:0,refund:i.refund?i.refund:0});case 4:case"end":return e.stop()}}),e)})))()}}};e.default=u},a47e:function(t,e,i){"use strict";var n,a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"container"},[i("v-uni-view",{staticClass:"user-section"},[i("v-uni-image",{staticClass:"bg",attrs:{src:"/static/user-bg.jpg"}}),i("v-uni-view",{staticClass:"user-info-box"},[i("v-uni-view",{staticClass:"portrait-box"},[i("v-uni-image",{staticClass:"portrait",attrs:{src:t.userInfo.avatar?t.userInfo.avatar:"/static/missing-face.png"}})],1),i("v-uni-view",{staticClass:"info-box"},[i("v-uni-text",{staticClass:"username"},[t._v(t._s(t.userInfo.username||"游客"))])],1)],1),i("v-uni-view",{staticClass:"vip-card-box"},[i("v-uni-image",{staticClass:"card-bg",attrs:{src:"/static/vip-card-bg.png",mode:""}}),i("v-uni-view",{staticClass:"tit"},[i("v-uni-text",{staticClass:"yticon icon-iLinkapp-"}),t._v("会员")],1),i("v-uni-text",{staticClass:"e-m"},[t._v("uniShop")])],1)],1),i("v-uni-view",{staticClass:"cover-container",style:[{transform:t.coverTransform,transition:t.coverTransition}],on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t.coverTouchstart.apply(void 0,arguments)},touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t.coverTouchmove.apply(void 0,arguments)},touchend:function(e){arguments[0]=e=t.$handleEvent(e),t.coverTouchend.apply(void 0,arguments)}}},[i("v-uni-image",{staticClass:"arc",attrs:{src:"/static/arc.png"}}),i("v-uni-view",{staticClass:"order-header"},[i("v-uni-view",{staticClass:"title"},[t._v("我的订单")]),i("v-uni-view",{staticClass:"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$api.navTo("/pages/order/order?state=0")}}},[t._v("查看全部订单"),i("v-uni-text",{staticClass:"yticon right icon-you"})],1)],1),i("v-uni-view",{staticClass:"order-section"},[i("v-uni-view",{staticClass:"order-item",attrs:{"hover-class":"common-hover","hover-stay-time":50},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$api.navTo("/pages/order/order?state=1")}}},[i("v-uni-text",{staticClass:"yticon icon-daifukuan"}),t.orderNum.unpaid>0?i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.orderNum.unpaid))]):t._e(),i("v-uni-text",[t._v("待付款")])],1),i("v-uni-view",{staticClass:"order-item",attrs:{"hover-class":"common-hover","hover-stay-time":50},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$api.navTo("/pages/order/order?state=2")}}},[i("v-uni-text",{staticClass:"yticon icon-daifahuo"}),t.orderNum.undelivered>0?i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.orderNum.undelivered))]):t._e(),i("v-uni-text",[t._v("待发货")])],1),i("v-uni-view",{staticClass:"order-item",attrs:{"hover-class":"common-hover","hover-stay-time":50},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$api.navTo("/pages/order/order?state=3")}}},[i("v-uni-text",{staticClass:"yticon icon-daishouhuo"}),t.orderNum.unreceived>0?i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.orderNum.unreceived))]):t._e(),i("v-uni-text",[t._v("待收货")])],1),i("v-uni-view",{staticClass:"order-item",attrs:{"hover-class":"common-hover","hover-stay-time":50},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$api.navTo("/pages/order/order?state=4")}}},[i("v-uni-text",{staticClass:"yticon icon-pingjia"}),t.orderNum.uncomment>0?i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.orderNum.uncomment))]):t._e(),i("v-uni-text",[t._v("评价")])],1),i("v-uni-view",{staticClass:"order-item",attrs:{"hover-class":"common-hover","hover-stay-time":50},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$api.navTo("/pages/order/order?state=5")}}},[i("v-uni-text",{staticClass:"yticon icon-shouhou"}),t.orderNum.refund>0?i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.orderNum.refund))]):t._e(),i("v-uni-text",[t._v("退款/售后")])],1)],1),i("v-uni-view",{staticClass:"history-section icon"},[i("list-cell",{attrs:{icon:"icon-dizhi",iconColor:"#5fcda2",title:"地址管理"},on:{eventClick:function(e){arguments[0]=e=t.$handleEvent(e),t.$api.navTo("/pages/address/address")}}}),i("list-cell",{attrs:{icon:"icon-shoucang-setting",iconColor:"#54b4ef",title:"我的收藏"},on:{eventClick:function(e){arguments[0]=e=t.$handleEvent(e),t.$api.navTo("/pages/favorite/favorite")}}}),i("list-cell",{attrs:{icon:"icon-setting",iconColor:"#e07472",title:"设置",border:""},on:{eventClick:function(e){arguments[0]=e=t.$handleEvent(e),t.$api.navTo("/pages/set/set")}}})],1)],1)],1)},o=[];i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}))},a998:function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={data:function(){return{typeList:{left:"icon-zuo",right:"icon-you",up:"icon-shang",down:"icon-xia"}}},props:{icon:{type:String,default:""},title:{type:String,default:"标题"},tips:{type:String,default:""},navigateType:{type:String,default:"right"},border:{type:String,default:"b-b"},hoverClass:{type:String,default:"cell-hover"},iconColor:{type:String,default:"#333"}},methods:{eventClick:function(){this.$emit("eventClick")}}};e.default=n},b7cb:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 背景颜色*/uni-page-body[data-v-65126b85]{background:#f5f5f5}.tj-sction .tj-item[data-v-65126b85], .order-section .order-item[data-v-65126b85]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.tj-sction[data-v-65126b85], .order-header[data-v-65126b85], .order-section[data-v-65126b85]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-around;justify-content:space-around;-webkit-align-content:center;align-content:center;background:#fff;border-radius:%?10?%}.user-section[data-v-65126b85]{height:%?520?%;padding:%?100?% %?30?% 0;position:relative}.user-section .bg[data-v-65126b85]{position:absolute;left:0;top:0;width:100%;height:100%;-webkit-filter:blur(1px);filter:blur(1px);opacity:.7}.user-info-box[data-v-65126b85]{height:%?180?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;position:relative;z-index:1}.user-info-box .portrait[data-v-65126b85]{width:%?130?%;height:%?130?%;border-radius:50%}.user-info-box .username[data-v-65126b85]{font-size:%?38?%;color:#303133;margin-left:%?20?%}.vip-card-box[data-v-65126b85]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;color:#f7d680;height:%?240?%;background:-webkit-linear-gradient(left,rgba(0,0,0,.7),rgba(0,0,0,.8));background:linear-gradient(left,rgba(0,0,0,.7),rgba(0,0,0,.8));border-radius:%?16?% %?16?% 0 0;overflow:hidden;position:relative;padding:%?20?% %?24?%}.vip-card-box .card-bg[data-v-65126b85]{position:absolute;top:%?20?%;right:0;width:%?380?%;height:%?260?%}.vip-card-box .b-btn[data-v-65126b85]{position:absolute;right:%?20?%;top:%?16?%;width:%?132?%;height:%?40?%;text-align:center;line-height:%?40?%;font-size:%?22?%;color:#36343c;border-radius:20px;background:-webkit-linear-gradient(left,#f9e6af,#ffd465);background:linear-gradient(left,#f9e6af,#ffd465);z-index:1}.vip-card-box .tit[data-v-65126b85]{font-size:%?30?%;color:#f7d680;margin-bottom:%?28?%}.vip-card-box .tit .yticon[data-v-65126b85]{color:#f6e5a3;margin-right:%?16?%}.vip-card-box .e-b[data-v-65126b85]{font-size:%?24?%;color:#d8cba9;margin-top:%?10?%}.cover-container[data-v-65126b85]{margin-top:%?-150?%;padding:0 %?30?%;position:relative;background:#f5f5f5;padding-bottom:%?20?%}.cover-container .arc[data-v-65126b85]{position:absolute;left:0;top:%?-34?%;width:100%;height:%?36?%}.tj-sction .tj-item[data-v-65126b85]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;height:%?140?%;font-size:%?24?%;color:#75787d}.tj-sction .num[data-v-65126b85]{font-size:%?32?%;color:#303133;margin-bottom:%?8?%}.order-header[data-v-65126b85]{padding:%?28?% 0 0;border-radius:%?10?% %?10?% 0 0;margin-top:%?20?%;font-size:%?28?%}.order-header .title[data-v-65126b85]{width:50%;color:#303133;margin-left:%?30?%}.order-header .item[data-v-65126b85]{width:50%;color:#606266;text-align:right;margin-right:%?8?%}.order-section[data-v-65126b85]{border-radius:0 0 %?10?% %?10?%;padding:%?28?% 0}.order-section .order-item[data-v-65126b85]{width:%?120?%;height:%?120?%;border-radius:%?10?%;font-size:%?24?%;color:#303133;position:relative}.order-section .order-item .num[data-v-65126b85]{border:%?4?% solid #fa436a;width:%?40?%;height:%?40?%;color:#fa436a;text-align:center;border-radius:%?40?%;position:absolute;background:#fff;top:0;right:%?18?%}.order-section .yticon[data-v-65126b85]{font-size:%?48?%;margin-bottom:%?18?%;color:#fa436a}.order-section .icon-shouhoutuikuan[data-v-65126b85]{font-size:%?44?%}.history-section[data-v-65126b85]{padding:0;margin-top:%?20?%;background:#fff;border-radius:%?10?%}.history-section .sec-header[data-v-65126b85]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;font-size:%?28?%;color:#303133;line-height:%?40?%;margin-left:%?30?%}.history-section .sec-header .yticon[data-v-65126b85]{font-size:%?44?%;color:#5eba8f;margin-right:%?16?%;line-height:%?40?%}.history-section .h-list[data-v-65126b85]{white-space:nowrap;padding:%?30?% %?30?% 0}.history-section .h-list uni-image[data-v-65126b85]{display:inline-block;width:%?160?%;height:%?160?%;margin-right:%?20?%;border-radius:%?10?%}body.?%PAGE?%[data-v-65126b85]{background:#f5f5f5}',""]),t.exports=e},bbad:function(t,e,i){"use strict";i.r(e);var n=i("a47e"),a=i("15f7");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("1c5c");var r,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"65126b85",null,!1,n["a"],r);e["default"]=c.exports},d883:function(t,e,i){"use strict";i.r(e);var n=i("a998"),a=i.n(n);for(var o in n)"default"!==o&&function(t){i.d(e,t,(function(){return n[t]}))}(o);e["default"]=a.a}}]); \ No newline at end of file