bztang-admin/addons/yun_shop/static/app/js/chunk-024be973.7e1c74d3.js

1 line
10 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-024be973"],{"2a6f":function(e,t,r){var i=r("3bbf");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=r("499e").default;a("00b39cc7",i,!0,{sourceMap:!1,shadowMode:!1})},"3bbf":function(e,t,r){var i=r("24fb");t=i(!1),t.push([e.i,".order-info[data-v-856e511c]{width:100%;padding:0 .813rem}.order-info .order-header[data-v-856e511c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:2.375rem;font-size:.813rem;color:#333;border-bottom:.05rem solid #f5f5f5}.order-info .order-list[data-v-856e511c]{padding-top:.71rem;border-bottom:.05rem solid #f5f5f5}.order-info .order-list .order-item[data-v-856e511c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;height:4.3rem;padding-bottom:.8rem}.order-info .order-list .order-item .item-face[data-v-856e511c]{width:3.5rem;height:3.5rem}.order-info .order-list .order-item .item-face img[data-v-856e511c]{width:3.5rem;height:3.5rem;border-radius:.313rem}.order-info .order-list .order-item .order-desc[data-v-856e511c]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;width:100%;padding:.25rem 0;padding-left:.5rem}.order-info .order-list .order-item .order-desc[data-v-856e511c],.order-info .order-list .order-item .order-desc .desc[data-v-856e511c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between}.order-info .order-list .order-item .order-desc .desc .name[data-v-856e511c]{font-size:.938rem;color:#333}.order-info .order-list .order-item .order-desc .desc .price[data-v-856e511c]{font-size:.813rem;color:#333}.order-info .order-list .order-item .order-desc .desc .spec[data-v-856e511c]{font-size:.75rem;color:#b0b0b0}.order-info .order-list .order-item .order-desc .desc .num[data-v-856e511c]{font-size:.75rem;color:#666}.order-info .footer[data-v-856e511c]{height:2.594rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;font-size:.938rem;color:#333}.order-info .footer .price[data-v-856e511c]{font-size:.938rem;color:#f14e4e}",""]),e.exports=t},"500f":function(e,t,r){"use strict";r("2a6f")},"72c5":function(e,t,r){"use strict";r.r(t);var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"page"},[r("c-title",{attrs:{text:e.title_name}}),r("div",{staticClass:"container"},[r("div",{staticClass:"order-wrapper"},[e.goodList.length>0?r("order-info",{attrs:{goodList:e.goodList,totalPrice:e.totalPrice,totalNum:e.totalNum}}):e._e()],1),r("div",{staticClass:"ther-wrapper"},[e._m(0),r("div",{staticClass:"share"},[r("div",{staticClass:"share-title"},[e._v("分享描述")]),r("div",{staticClass:"textarea"},[r("textarea",{directives:[{name:"model",rawName:"v-model",value:e.shareContent,expression:"shareContent"}],attrs:{placeholder:"请分享你的描述",cols:"30",rows:"10"},domProps:{value:e.shareContent},on:{input:function(t){t.target.composing||(e.shareContent=t.target.value)}}})])])])]),r("div",{staticClass:"btns"},[r("div",{staticClass:"btn",on:{click:e.handShare}},[e._v("找小伙伴帮忙付款")])])],1)},a=[function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"step"},[r("div",{staticClass:"step-title"},[e._v("步骤:")]),r("div",{staticClass:"circular"},[r("div",{staticClass:"num",attrs:{"data-num":"1"}}),r("div",{staticClass:"text"},[e._v("留言并分享")])]),r("div",{staticClass:"hr"}),r("div",{staticClass:"circular"},[r("div",{staticClass:"num",attrs:{"data-num":"2"}}),r("div",{staticClass:"text"},[e._v("好友付款")])]),r("div",{staticClass:"hr"}),r("div",{staticClass:"circular"},[r("div",{staticClass:"num",attrs:{"data-num":"3"}}),r("div",{staticClass:"text"},[e._v("付款成功")])])])}],s=(r("e17f"),r("2241")),o=r("2909"),n=(r("d3b7"),r("159b"),r("9b8b")),d="上级代付",l={components:{orderInfo:n["a"]},data:function(){return{shareContent:"",shareTit:"",shareUrl:"",shareImg:"",isMiniprogram:!1,goodList:[],totalPrice:0,totalNum:0,title_name:""}},mounted:function(){},created:function(){this.getOrderDetail(),this.getShareInfo()},watch:{shareContent:function(e,t){e!=t&&(this.fun.isTextEmpty(e)||this.initShare())}},methods:{getOrderDetail:function(){var e=this;$http.get("order.another-pay-detail",{plugin:"parent_payment",order_id:this.$route.params.order_id,pid:window.localStorage.getItem("uid")}).then((function(t){1===t.result?(e.formatGoods(t.data),e.title_name=t.plugin_name||d):e.$dialog.alert({message:t.msg})})).catch((function(e){}))},formatGoods:function(e){var t=this,r=0,i="";e.forEach((function(e){var a;return(a=t.goodList).push.apply(a,Object(o["a"])(e.has_many_order_goods)),i+=e.price,r+=e.goods_total})),this.totalNum=r,this.totalPrice=i},initShare:function(){this.fun.wxShare("",{mid:this.fun.getKeyByMid()},{title:this.shareTit,imgUrl:this.shareImg,description:this.shareContent,link:this.shareUrl})},getShareInfo:function(){var e=this;window.isMiniprogram&&(this.isMiniprogram=!0),$http.get("plugin.parent-payment.frontend.modules.payment.controllers.share.index",{order_ids:this.$route.params.order_id}).then((function(t){1===t.result&&(e.shareTit=t.data.title,e.shareUrl=t.data.url,e.shareImg=t.data.image,e.initShare())})).catch((function(e){}))},handShare:function(){Object(s["a"])({message:"请点击右上角分享"})}}},c=l,m=c,f=(r("a774"),r("2877")),p=Object(f["a"])(m,i,a,!1,null,"4564754a",null);t["default"]=p.exports},9898:function(e,t,r){var i=r("be43");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[e.i,i,""]]),i.locals&&(e.exports=i.locals);var a=r("499e").default;a("381f6c37",i,!0,{sourceMap:!1,shadowMode:!1})},"9b8b":function(e,t,r){"use strict";var i=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"order-info"},[r("div",{staticClass:"order-header"},[e._v(" 订单信息 ")]),r("div",{staticClass:"order-list"},e._l(e.goodList,(function(t){return r("div",{key:t.id,staticClass:"order-item"},[r("div",{staticClass:"item-face"},[r("img",{attrs:{src:t.thumb,alt:""}})]),r("div",{staticClass:"order-desc"},[r("div",{staticClass:"desc"},[r("div",{staticClass:"name"},[e._v(e._s(t.title))]),r("div",{staticClass:"price"},[e._v("¥"+e._s(t.price))])]),r("div",{staticClass:"desc"},[r("div",{staticClass:"spec"},[e._v("商品规格:"+e._s(t.goods_option_title))]),r("div",{staticClass:"num"},[e._v("X "+e._s(t.total))])])])])})),0),r("div",{staticClass:"footer"},[e._v(" 共"+e._s(e.totalNum)+"件商品 实付:"),r("span",{staticClass:"price"},[e._v("¥"+e._s(e.totalPrice))])])])},a=[],s={props:["goodList","totalPrice","totalNum"],data:function(){return{}},mounted:function(){},methods:{}},o=s,n=(r("500f"),r("2877")),d=Object(n["a"])(o,i,a,!1,null,"856e511c",null);t["a"]=d.exports},a774:function(e,t,r){"use strict";r("9898")},be43:function(e,t,r){var i=r("24fb");t=i(!1),t.push([e.i,'.page[data-v-4564754a]{background:#ebebeb;min-height:100vh}.container[data-v-4564754a]{padding:.625rem .938rem}.container .order-wrapper[data-v-4564754a],.container .ther-wrapper[data-v-4564754a]{background:#fff;border-radius:.469rem}.container .ther-wrapper[data-v-4564754a]{width:100%;margin-top:.625rem;padding:0 .813rem;padding-bottom:.688rem}.container .ther-wrapper .step[data-v-4564754a]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;height:5.406rem}.container .ther-wrapper .step .step-title[data-v-4564754a]{height:2.5rem;font-size:.75rem;color:#a3a3a3}.container .ther-wrapper .step .circular[data-v-4564754a]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.container .ther-wrapper .step .circular .num[data-v-4564754a]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:1.25rem;height:1.25rem;border:.031rem solid #f14e4e;border-radius:50%}.container .ther-wrapper .step .circular .num[data-v-4564754a],.container .ther-wrapper .step .circular .num[data-v-4564754a]:after{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center}.container .ther-wrapper .step .circular .num[data-v-4564754a]:after{content:attr(data-num);display:-webkit-inline-box;display:-webkit-inline-flex;display:-ms-inline-flexbox;display:inline-flex;width:.938rem;height:.938rem;font-size:.688rem;color:#fff;background-color:#f14e4e;border-radius:50%}.container .ther-wrapper .step .circular .text[data-v-4564754a]{margin-top:.5rem;font-size:.688rem;color:#f14e4e}.container .ther-wrapper .step .hr[data-v-4564754a]{width:3.063rem;height:1.7rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;-ms-flex-align:start;align-items:flex-start}.container .ther-wrapper .step .hr[data-v-4564754a]:after{content:"";display:block;width:4.063rem;height:.125rem;margin-left:-.3rem;background-color:#f14e4e;border-radius:.063rem}.container .ther-wrapper .share .share-title[data-v-4564754a]{text-align:left;font-size:.938rem;color:#303030}.container .ther-wrapper .share .textarea[data-v-4564754a]{padding-top:.813rem}.container .ther-wrapper .share .textarea textarea[data-v-4564754a]{width:100%;height:8.75rem;padding:.75rem .781rem;background-color:#f1f1f1;border-radius:.25rem;border:none}.btns[data-v-4564754a]{height:3.344rem;margin-top:1rem;padding:0 .938rem}.btns .btn[data-v-4564754a]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:100%;height:2.5rem;margin:0 auto;font-size:.938rem;color:#fff;background-color:#f14e4e;border-radius:.313rem}',""]),e.exports=t}}]);