You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
32 KiB
1 lines
32 KiB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-warehouse-weituo"],{"10d8":function(t,e,i){var o=i("24fb");e=o(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 主要颜色 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.page[data-v-6e76f10c]{position:relative;min-height:calc(100vh - %?90?%);background-color:#f6f6f6;border-top:1px solid transparent}\r\n/* 订单商品 */.order-goods[data-v-6e76f10c]{background-color:#fff;border-radius:%?20?%;margin:0 %?24?%}.order-goods .goods-list[data-v-6e76f10c]{padding:0 4%;margin-top:%?20?%}.order-goods .goods-list .orderNum[data-v-6e76f10c]{padding:%?20?% 0}.order-goods .goods-list .list[data-v-6e76f10c]{display:flex;align-items:center;width:100%;min-height:%?200?%}.order-goods .goods-list .list .thumb[data-v-6e76f10c]{display:flex;width:30%;text-align:center}.order-goods .goods-list .list .thumb uni-image[data-v-6e76f10c]{width:%?160?%;height:%?160?%;border-radius:%?10?%}.order-goods .goods-list .list .item[data-v-6e76f10c]{width:70%;height:100%}.order-goods .goods-list .list .item .title[data-v-6e76f10c]{display:flex;align-items:center;width:100%;height:%?60?%}.order-goods .goods-list .list .item .title uni-text[data-v-6e76f10c]{font-size:%?26?%;color:#222}.order-goods .goods-list .list .item .num-size[data-v-6e76f10c]{display:flex;align-items:center;width:100%;height:%?60?%}.order-goods .goods-list .list .item .num-size uni-text[data-v-6e76f10c]{font-size:%?26?%;color:#959595;margin-right:%?20?%}.order-goods .goods-list .list .item .num-size uni-text[data-v-6e76f10c]:last-child{margin-right:0}.order-goods .goods-list .list .item .price[data-v-6e76f10c]{display:flex;align-items:center;width:100%;height:%?60?%}.order-goods .goods-list .list .item .price uni-text[data-v-6e76f10c]{font-size:%?28?%;color:#236030}.order-goods .goods-list .list .item .order-btn[data-v-6e76f10c]{display:flex;align-items:center;justify-content:flex-end;width:100%;height:%?100?%}.order-goods .goods-list .list .item .order-btn .btn[data-v-6e76f10c]{padding:%?10?% %?30?%;color:#555;font-size:%?26?%;border:%?2?% solid #eee;border-radius:%?100?%}.order-goods .goods-list .list .item .order-btn[data-v-6e76f10c]{display:flex;align-items:center;justify-content:flex-end;width:100%;height:%?100?%}.order-goods .goods-list .list .item .order-btn .btn[data-v-6e76f10c]{padding:%?10?% %?30?%;color:#555;font-size:%?26?%;border:%?2?% solid #eee;border-radius:%?100?%}.order-goods .contact[data-v-6e76f10c]{display:flex;align-items:center;justify-content:center;display:flex;align-items:center;width:100%;height:%?100?%;background-color:#fff;box-shadow:0 0 %?20?% #eee;border-radius:0 0 %?20?% %?20?%}.order-goods .contact uni-text[data-v-6e76f10c]{font-size:%?28?%;color:#555}.order-goods .contact .iconfont[data-v-6e76f10c]{font-size:%?34?%;margin-right:%?20?%}\r\n/* 订单信息 */.order-info[data-v-6e76f10c]{background-color:#fff;border-radius:%?20?%;margin:%?20?% %?24?%}.order-info .weituotitle[data-v-6e76f10c]{color:#236030;padding:%?24?%;font-size:%?30?%}.order-info .priceContent[data-v-6e76f10c]{background-color:#236030;padding:%?24?%;border-radius:%?20?%;color:#fff;margin:0 %?24?%}.order-info .info-list[data-v-6e76f10c]{padding:0 4%}.order-info .info-list .list[data-v-6e76f10c]{display:flex;align-items:center;justify-content:space-between;width:100%;height:%?100?%;border-bottom:%?2?% solid #f6f6f6}.order-info .info-list .list .title[data-v-6e76f10c]{font-size:%?26?%;color:#959595}.order-info .info-list .list .content[data-v-6e76f10c]{display:flex;align-items:center;margin-left:%?20?%}.order-info .info-list .list .content uni-text[data-v-6e76f10c]{font-size:%?26?%;font-weight:700;color:#222}.order-info .info-list .list .content .btn[data-v-6e76f10c]{padding:%?6?% %?20?%;background-color:#eee;color:#555;font-size:%?24?%;border-radius:%?50?%;margin-left:%?40?%}\r\n/* 订单明细 */.order-details[data-v-6e76f10c]{background-color:#fff;border-radius:%?20?%;margin:%?20?% %?24?%}.order-details .details-list[data-v-6e76f10c]{padding:0 4%}.order-details .details-list .list[data-v-6e76f10c]{display:flex;align-items:center;justify-content:space-between;width:100%;height:%?100?%;border-bottom:%?2?% solid #f6f6f6}.order-details .details-list .list .title[data-v-6e76f10c]{font-size:%?26?%;color:#959595}.order-details .details-list .list .price[data-v-6e76f10c]{font-size:%?26?%;font-weight:700}.order-details .details-list .action[data-v-6e76f10c]{display:flex;align-items:center;justify-content:flex-end}.order-details .details-list .action .price[data-v-6e76f10c]{font-size:%?32?%;font-weight:700;color:#236030}.btnContainer[data-v-6e76f10c]{position:fixed;bottom:%?0?%;width:100%;background-color:#fff;display:flex;padding:%?24?% %?24?%;justify-content:space-between}.btnContainer .heji[data-v-6e76f10c]{color:#236030}.btnContainer .btnItem[data-v-6e76f10c]{color:#fff;font-size:%?26?%;background-color:#236030;padding:%?10?% %?20?%;border-radius:%?10?%}',""]),t.exports=e},"18ac":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3");var o={props:{loading:{type:Boolean,default:uni.$u.props.switch.loading},disabled:{type:Boolean,default:uni.$u.props.switch.disabled},size:{type:[String,Number],default:uni.$u.props.switch.size},activeColor:{type:String,default:uni.$u.props.switch.activeColor},inactiveColor:{type:String,default:uni.$u.props.switch.inactiveColor},value:{type:[Boolean,String,Number],default:uni.$u.props.switch.value},activeValue:{type:[String,Number,Boolean],default:uni.$u.props.switch.activeValue},inactiveValue:{type:[String,Number,Boolean],default:uni.$u.props.switch.inactiveValue},asyncChange:{type:Boolean,default:uni.$u.props.switch.asyncChange},space:{type:[String,Number],default:uni.$u.props.switch.space}}};e.default=o},"3d61":function(t,e,i){var o=i("24fb");e=o(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 主要颜色 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-view[data-v-26861ad0], uni-scroll-view[data-v-26861ad0], uni-swiper-item[data-v-26861ad0]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-loading-icon[data-v-26861ad0]{flex-direction:row;align-items:center;justify-content:center;color:#c8c9cc}.u-loading-icon__text[data-v-26861ad0]{margin-left:4px;color:#606266;font-size:14px;line-height:20px}.u-loading-icon__spinner[data-v-26861ad0]{width:30px;height:30px;position:relative;box-sizing:border-box;max-width:100%;max-height:100%;-webkit-animation:u-rotate-data-v-26861ad0 1s linear infinite;animation:u-rotate-data-v-26861ad0 1s linear infinite}.u-loading-icon__spinner--semicircle[data-v-26861ad0]{border-width:2px;border-color:transparent;border-top-right-radius:100px;border-top-left-radius:100px;border-bottom-left-radius:100px;border-bottom-right-radius:100px;border-style:solid}.u-loading-icon__spinner--circle[data-v-26861ad0]{border-top-right-radius:100px;border-top-left-radius:100px;border-bottom-left-radius:100px;border-bottom-right-radius:100px;border-width:2px;border-top-color:#e5e5e5;border-right-color:#e5e5e5;border-bottom-color:#e5e5e5;border-left-color:#e5e5e5;border-style:solid}.u-loading-icon--vertical[data-v-26861ad0]{flex-direction:column}[data-v-26861ad0]:host{font-size:0;line-height:1}.u-loading-icon__spinner--spinner[data-v-26861ad0]{-webkit-animation-timing-function:steps(12);animation-timing-function:steps(12)}.u-loading-icon__text[data-v-26861ad0]:empty{display:none}.u-loading-icon--vertical .u-loading-icon__text[data-v-26861ad0]{margin:6px 0 0;color:#606266}.u-loading-icon__dot[data-v-26861ad0]{position:absolute;top:0;left:0;width:100%;height:100%}.u-loading-icon__dot[data-v-26861ad0]:before{display:block;width:2px;height:25%;margin:0 auto;background-color:currentColor;border-radius:40%;content:" "}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(1){-webkit-transform:rotate(30deg);transform:rotate(30deg);opacity:1}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(2){-webkit-transform:rotate(60deg);transform:rotate(60deg);opacity:.9375}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(3){-webkit-transform:rotate(90deg);transform:rotate(90deg);opacity:.875}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(4){-webkit-transform:rotate(120deg);transform:rotate(120deg);opacity:.8125}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(5){-webkit-transform:rotate(150deg);transform:rotate(150deg);opacity:.75}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(6){-webkit-transform:rotate(180deg);transform:rotate(180deg);opacity:.6875}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(7){-webkit-transform:rotate(210deg);transform:rotate(210deg);opacity:.625}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(8){-webkit-transform:rotate(240deg);transform:rotate(240deg);opacity:.5625}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(9){-webkit-transform:rotate(270deg);transform:rotate(270deg);opacity:.5}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(10){-webkit-transform:rotate(300deg);transform:rotate(300deg);opacity:.4375}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(11){-webkit-transform:rotate(330deg);transform:rotate(330deg);opacity:.375}.u-loading-icon__dot[data-v-26861ad0]:nth-of-type(12){-webkit-transform:rotate(1turn);transform:rotate(1turn);opacity:.3125}@-webkit-keyframes u-rotate-data-v-26861ad0{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes u-rotate-data-v-26861ad0{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',""]),t.exports=e},"3e1a":function(t,e,i){"use strict";i("7a82");var o=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3");var r=o(i("18ac")),n={name:"u-switch",mixins:[uni.$u.mpMixin,uni.$u.mixin,r.default],watch:{value:{immediate:!0,handler:function(t){t!==this.inactiveValue&&t!==this.activeValue&&uni.$u.error("v-model绑定的值必须为inactiveValue、activeValue二者之一")}}},data:function(){return{bgColor:"#ffffff"}},computed:{isActive:function(){return this.value===this.activeValue},switchStyle:function(){var t={};return t.width=uni.$u.addUnit(2*this.size+2),t.height=uni.$u.addUnit(Number(this.size)+2),this.customInactiveColor&&(t.borderColor="rgba(0, 0, 0, 0)"),t.backgroundColor=this.isActive?this.activeColor:this.inactiveColor,t},nodeStyle:function(){var t={};t.width=uni.$u.addUnit(this.size-this.space),t.height=uni.$u.addUnit(this.size-this.space);var e=this.isActive?uni.$u.addUnit(this.space):uni.$u.addUnit(this.size);return t.transform="translateX(-".concat(e,")"),t},bgStyle:function(){var t={};return t.width=uni.$u.addUnit(2*Number(this.size)-this.size/2),t.height=uni.$u.addUnit(this.size),t.backgroundColor=this.inactiveColor,t.transform="scale(".concat(this.isActive?0:1,")"),t},customInactiveColor:function(){return"#fff"!==this.inactiveColor&&"#ffffff"!==this.inactiveColor}},methods:{clickHandler:function(){var t=this;if(!this.disabled&&!this.loading){var e=this.isActive?this.inactiveValue:this.activeValue;this.asyncChange||this.$emit("input",e),this.$nextTick((function(){t.$emit("change",e)}))}}}};e.default=n},4481:function(t,e,i){"use strict";i("7a82");var o=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=o(i("c7eb")),n=o(i("1da1"));i("a9e3"),i("d3b7");var a=i("5af7"),s={data:function(){return{orderInfo:[],warehouse:[],orderDetails:{},value:30,min:0,max:0,coupon_id:null,couponNum:0,sxfRadio:null,sxf:null,switchValue:1,total:0}},methods:{submitHandle:function(){var t=this,e={order_id:this.id,coupon_id:this.coupon_id,use_commission:this.switchValue};(0,a.payUpGoods)(e).then((function(e){t.getOrderDetails()}))},goyhq:function(){uni.navigateTo({url:"/pages/MyCoupon/MyCoupon?id="+this.id})},gopay:function(){uni.navigateTo({url:"/pages/warehouse/pay?num="+this.orderDetails.order_amount+"&id="+this.orderDetails.id})},getOrderDetails:function(){var t=this;(0,a.orderDetail)({id:this.id,custom:{auth:!0}}).then((function(e){t.value=t.min=e.data.order_amount,t.orderDetails=Object.assign({},t.orderDetails,e.data),t.orderInfo=e.data.order_goods,t.warehouse=e.data.warehouse,t.sxfRadio=e.data.entrustment_ratio,t.max=Number(t.min)*(1+Number(e.data.entrusted_ratio)/100);var i=Number(e.data.order_amount)*(Number(t.sxfRadio)/100);t.sxf=i.toFixed(2),t.total=(Number(t.orderDetails.order_amount)+Number(t.sxf)-Number(t.couponNum)).toFixed(2)}))},sliderChange:function(t){this.orderDetails.order_amount=t.detail.value;var e=Number(t.detail.value)*(Number(this.sxfRadio)/100);this.sxf=e.toFixed(2),this.total=(Number(this.orderDetails.order_amount)+Number(this.sxf)-Number(this.couponNum)).toFixed(2)},pay:function(t){var e=this;return(0,n.default)((0,r.default)().mark((function t(){var i;return(0,r.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e,"undefined"==typeof WeixinJSBridge){t.next=3;break}return t.abrupt("return",new Promise((function(t,e){WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:"",timeStamp:"",nonceStr:"",package:"",signType:"",paySign:""},(function(o){"get_brand_wcpay_request:ok"==o.err_msg?setTimeout((function(){t(!0)}),1e3):(i.showToast({title:"支付失败"}),setTimeout((function(){e("支付失败")}),1e3))}))})));case 3:case"end":return t.stop()}}),t)})))()}},onLoad:function(t){t.coupon&&(this.coupon_id=t.coupon_id,this.couponNum=Number(t.num)),this.id=t.id,this.getOrderDetails()}};e.default=s},4949:function(t,e,i){"use strict";i.r(e);var o=i("6306"),r=i("aae0");for(var n in r)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(n);i("f876");var a=i("f0c5"),s=Object(a["a"])(r["default"],o["b"],o["c"],!1,null,"6e76f10c",null,!1,o["a"],void 0);e["default"]=s.exports},"4ad7":function(t,e,i){"use strict";i.r(e);var o=i("3e1a"),r=i.n(o);for(var n in o)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(n);e["default"]=r.a},"5af7":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.userRegister=e.updateUserInfo=e.smsSend=e.smsCheck=e.privacyPolicy=e.payUpGoods=e.orderPay=e.orderDetail=e.logout=e.loginApi=e.getgoodsDetail=e.getWarehouseList=e.getUserProfitStatistic=e.getUserProfitList=e.getUserInfo=e.getUserFansStatistic=e.getUserFansOrderStatistic=e.getUserFansOrderList=e.getUserFansList=e.getUserCommissionStatistic=e.getUserCommissionList=e.getUserCommissionApi=e.getSellerOrderList=e.getGoodsList=e.getBuyerOrderList=e.getArea=e.getAddrList=e.getAddrDesc=e.forgetPsw=e.editAddr=e.deleteAddr=e.createOrder=e.couponList=e.changePassword=e.cancelOrder=e.bindInvitor=e.addAddr=void 0;var o=uni.$u.http;e.smsSend=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.post("/api/sms/send",t,e)};e.smsCheck=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.post("/api/sms/check",t,e)};e.userRegister=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.post("/api/user/register",t,e)};e.loginApi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.post("/api/user/login",t,e)};e.privacyPolicy=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.post("/addons/shopro/data.richtext/index",t,e)};e.forgetPsw=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return o.post("/api/user/resetpwd",t,e)};e.getUserInfo=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/user/getUserinfo",t,e)};e.getAddrList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/addons/shopro/user.address/index",t,e)};e.getArea=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/addons/shopro/data.area/index",t,e)};e.addAddr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/addons/shopro/user.address/add",t,e)};e.editAddr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/addons/shopro/user.address/edit",t,e)};e.deleteAddr=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/addons/shopro/user.address/delete",t,e)};e.getAddrDesc=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/addons/shopro/user.address/detail",t,e)};e.changePassword=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/addons/shopro/user.user/changePassword",t,e)};e.logout=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/user/logout",t,e)};e.updateUserInfo=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/user/updateUserInfo",t,e)};e.couponList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/addons/shopro/user.coupon/index",t,e)};e.getUserCommissionStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/user/getUserCommissionStatistic",t,e)};e.getUserCommissionApi=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/user/getUserCommission",t,e)};e.getUserCommissionList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/user/getUserCommissionList",t,e)};e.getUserFansStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/user/getUserFansStatistic",t,e)};e.getUserFansList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/user/getUserFansList",t,e)};e.getUserFansOrderStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/user/getUserFansOrderStatistic",t,e)};e.getUserFansOrderList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/user/getUserFansOrderList",t,e)};e.getUserProfitStatistic=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/user/getUserProfitStatistic",t,e)};e.getUserProfitList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/user/getUserProfitList",t,e)};e.getWarehouseList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/order/getWarehouseList",t,e)};e.getGoodsList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/order/getGoodsList",t,e)};e.getgoodsDetail=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/order/goodsDetail",t,e)};e.getBuyerOrderList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.get("/api/order/getBuyerOrderList",{params:t},e)};e.getSellerOrderList=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.get("/api/order/getSellerOrderList",{params:t},e)};e.createOrder=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/order/createOrder",t,e)};e.cancelOrder=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/order/cancelOrder",t,e)};e.orderDetail=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.get("/api/order/orderDetail",{params:t},e)};e.orderPay=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/order/orderPay",t,e)};e.bindInvitor=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/user/bindInvitor",t,e)};e.payUpGoods=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{custom:{auth:!0}};return o.post("/api/order/payUpGoods",t,e)}},"611f":function(t,e,i){"use strict";i.r(e);var o=i("e835"),r=i("dbbc");for(var n in r)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(n);i("f01e");var a=i("f0c5"),s=Object(a["a"])(r["default"],o["b"],o["c"],!1,null,"26861ad0",null,!1,o["a"],void 0);e["default"]=s.exports},6306:function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return o}));var o={uSwitch:i("8bd9").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"page"},[i("v-uni-view",{staticClass:"order-goods"},[i("v-uni-view",{staticClass:"goods-list"},t._l(t.orderInfo,(function(e,o){return i("v-uni-view",{key:o},[i("v-uni-view",{staticClass:"orderNum"},[t._v("订单编号:"+t._s(t.orderDetails.order_sn))]),i("v-uni-view",{staticClass:"list"},[i("v-uni-view",{staticClass:"thumb"},[i("v-uni-image",{attrs:{src:e.goods_image,mode:""}})],1),i("v-uni-view",{staticClass:"item"},[i("v-uni-view",{staticClass:"title"},[i("v-uni-text",{staticClass:"one-omit"},[t._v(t._s(e.goods_name))])],1),i("v-uni-view",{staticClass:"price"},[i("v-uni-text",[t._v("购买价格:¥"+t._s(e.goods_price))])],1)],1)],1)],1)})),1)],1),i("v-uni-view",{staticClass:"order-info"},[i("v-uni-view",{staticClass:"weituotitle"},[t._v("委托价格")]),i("v-uni-view",{staticClass:"priceContent"},[t._v("¥"+t._s(t.orderDetails.order_amount))]),i("v-uni-view",{staticClass:"slide"},[i("v-uni-slider",{attrs:{value:t.value,min:t.min,max:t.max,"show-value":!0},on:{changing:function(e){arguments[0]=e=t.$handleEvent(e),t.sliderChange.apply(void 0,arguments)}}})],1)],1),i("v-uni-view",{staticClass:"order-info"},[i("v-uni-view",{staticClass:"info-list"},[i("v-uni-view",{staticClass:"list",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goyhq.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"title"},[t._v("优惠券:")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-text",[t._v(t._s(t.couponNum))]),i("v-uni-text",{staticClass:"iconfont icon-more"})],1)],1),i("v-uni-view",{staticClass:"list"},[i("v-uni-view",{staticClass:"title"},[t._v("上架手续费:")]),i("v-uni-view",{staticClass:"content"},[i("v-uni-text",[t._v("¥"+t._s(t.sxf))])],1)],1)],1)],1),i("v-uni-view",{staticClass:"order-details"},[i("v-uni-view",{staticClass:"details-list"},[i("v-uni-view",{staticClass:"list"},[i("v-uni-view",{staticClass:"title"},[i("v-uni-text",[t._v("使用佣金")])],1),i("v-uni-view",{staticClass:"price"},[i("u-switch",{attrs:{activeValue:1,inactiveValue:0},model:{value:t.switchValue,callback:function(e){t.switchValue=e},expression:"switchValue"}})],1)],1)],1)],1),i("v-uni-view",{staticClass:"btnContainer"},[i("v-uni-view",{staticClass:"heji"},[t._v("合计:¥"+t._s(t.total))]),i("v-uni-view",{staticClass:"btnItem",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.submitHandle.apply(void 0,arguments)}}},[t._v("确认上架")])],1)],1)},n=[]},"6efe":function(t,e,i){"use strict";var o=i("e31e"),r=i.n(o);r.a},"8bd9":function(t,e,i){"use strict";i.r(e);var o=i("aa49"),r=i("4ad7");for(var n in r)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return r[t]}))}(n);i("6efe");var a=i("f0c5"),s=Object(a["a"])(r["default"],o["b"],o["c"],!1,null,"12709030",null,!1,o["a"],void 0);e["default"]=s.exports},"93b5":function(t,e,i){var o=i("24fb");e=o(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 主要颜色 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-view[data-v-12709030], uni-scroll-view[data-v-12709030], uni-swiper-item[data-v-12709030]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-switch[data-v-12709030]{display:flex;flex-direction:row;box-sizing:border-box;position:relative;background-color:#fff;border-width:1px;border-radius:100px;transition:background-color .4s;border-color:rgba(0,0,0,.12);border-style:solid;justify-content:flex-end;align-items:center;overflow:hidden}.u-switch__node[data-v-12709030]{display:flex;flex-direction:row;align-items:center;justify-content:center;border-radius:100px;background-color:#fff;border-radius:100px;box-shadow:1px 1px 1px 0 rgba(0,0,0,.25);transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;transition-duration:.4s;transition-timing-function:cubic-bezier(.3,1.05,.4,1.05)}.u-switch__bg[data-v-12709030]{position:absolute;border-radius:100px;background-color:#fff;transition-property:-webkit-transform;transition-property:transform;transition-property:transform,-webkit-transform;transition-duration:.4s;border-top-left-radius:0;border-bottom-left-radius:0;transition-timing-function:ease}.u-switch--disabled[data-v-12709030]{opacity:.6}',""]),t.exports=e},a94f:function(t,e,i){var o=i("3d61");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var r=i("4f06").default;r("96b9e116",o,!0,{sourceMap:!1,shadowMode:!1})},aa49:function(t,e,i){"use strict";i.d(e,"b",(function(){return r})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){return o}));var o={uLoadingIcon:i("611f").default},r=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-switch",class:[t.disabled&&"u-switch--disabled"],style:[t.switchStyle,t.$u.addStyle(t.customStyle)],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.clickHandler.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"u-switch__bg",style:[t.bgStyle]}),i("v-uni-view",{ref:"u-switch__node",staticClass:"u-switch__node",class:[t.value&&"u-switch__node--on"],style:[t.nodeStyle]},[i("u-loading-icon",{attrs:{show:t.loading,mode:"circle",timingFunction:"linear",color:t.value?t.activeColor:"#AAABAD",size:.6*t.size}})],1)],1)},n=[]},aae0:function(t,e,i){"use strict";i.r(e);var o=i("4481"),r=i.n(o);for(var n in o)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(n);e["default"]=r.a},ae79:function(t,e,i){"use strict";i("7a82");var o=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a630"),i("3ca3");var r=o(i("db7c")),n={name:"u-loading-icon",mixins:[uni.$u.mpMixin,uni.$u.mixin,r.default],data:function(){return{array12:Array.from({length:12}),aniAngel:360,webviewHide:!1,loading:!1}},computed:{otherBorderColor:function(){var t=uni.$u.colorGradient(this.color,"#ffffff",100)[80];return"circle"===this.mode?this.inactiveColor?this.inactiveColor:t:"transparent"}},watch:{show:function(t){}},mounted:function(){this.init()},methods:{init:function(){setTimeout((function(){}),20)},addEventListenerToWebview:function(){var t=this,e=getCurrentPages(),i=e[e.length-1],o=i.$getAppWebview();o.addEventListener("hide",(function(){t.webviewHide=!0})),o.addEventListener("show",(function(){t.webviewHide=!1}))}}};e.default=n},db7c:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3");var o={props:{show:{type:Boolean,default:uni.$u.props.loadingIcon.show},color:{type:String,default:uni.$u.props.loadingIcon.color},textColor:{type:String,default:uni.$u.props.loadingIcon.textColor},vertical:{type:Boolean,default:uni.$u.props.loadingIcon.vertical},mode:{type:String,default:uni.$u.props.loadingIcon.mode},size:{type:[String,Number],default:uni.$u.props.loadingIcon.size},textSize:{type:[String,Number],default:uni.$u.props.loadingIcon.textSize},text:{type:[String,Number],default:uni.$u.props.loadingIcon.text},timingFunction:{type:String,default:uni.$u.props.loadingIcon.timingFunction},duration:{type:[String,Number],default:uni.$u.props.loadingIcon.duration},inactiveColor:{type:String,default:uni.$u.props.loadingIcon.inactiveColor}}};e.default=o},dbbc:function(t,e,i){"use strict";i.r(e);var o=i("ae79"),r=i.n(o);for(var n in o)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(n);e["default"]=r.a},e31e:function(t,e,i){var o=i("93b5");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var r=i("4f06").default;r("4cdee722",o,!0,{sourceMap:!1,shadowMode:!1})},e3b0:function(t,e,i){var o=i("10d8");o.__esModule&&(o=o.default),"string"===typeof o&&(o=[[t.i,o,""]]),o.locals&&(t.exports=o.locals);var r=i("4f06").default;r("4c197ec9",o,!0,{sourceMap:!1,shadowMode:!1})},e835:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.show?i("v-uni-view",{staticClass:"u-loading-icon",class:[t.vertical&&"u-loading-icon--vertical"],style:[t.$u.addStyle(t.customStyle)]},[t.webviewHide?t._e():i("v-uni-view",{ref:"ani",staticClass:"u-loading-icon__spinner",class:["u-loading-icon__spinner--"+t.mode],style:{color:t.color,width:t.$u.addUnit(t.size),height:t.$u.addUnit(t.size),borderTopColor:t.color,borderBottomColor:t.otherBorderColor,borderLeftColor:t.otherBorderColor,borderRightColor:t.otherBorderColor,"animation-duration":t.duration+"ms","animation-timing-function":"semicircle"===t.mode||"circle"===t.mode?t.timingFunction:""}},["spinner"===t.mode?t._l(t.array12,(function(t,e){return i("v-uni-view",{key:e,staticClass:"u-loading-icon__dot"})})):t._e()],2),t.text?i("v-uni-text",{staticClass:"u-loading-icon__text",style:{fontSize:t.$u.addUnit(t.textSize),color:t.textColor}},[t._v(t._s(t.text))]):t._e()],1):t._e()},r=[]},f01e:function(t,e,i){"use strict";var o=i("a94f"),r=i.n(o);r.a},f876:function(t,e,i){"use strict";var o=i("e3b0"),r=i.n(o);r.a}}]); |