bztang-admin/addons/yun_shop/static/app/js/chunk-ea0729da.50be79c1.js

1 line
7.6 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-ea0729da"],{"9a35":function(e,t,i){"use strict";i.r(t);var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{attrs:{id:"newRetail-retailLink"}},[i("c-title",{attrs:{hide:!1,text:"我的库存"}}),i("div",{staticClass:"main"},[i("div",{staticClass:"ewm-bg"},[i("img",{staticClass:"img-box",attrs:{src:e.info.url,alt:""}})]),i("div",{staticClass:"btn-box"},[i("div",{staticClass:"btn-child",on:{click:function(t){return t.stopPropagation(),e.ImgPreview.apply(null,arguments)}}},[e._v("保存二维码")]),i("div",{staticClass:"btn-child red-color",on:{click:function(t){t.stopPropagation(),e.showWechatshar=!0}}},[e._v("分享好友")])])]),e.info.remaining_time?i("div",{staticClass:"remaining-time"},[e._v("等待支付,剩余时间"),i("van-count-down",{attrs:{time:e.fun.getTimeDifference(e.info.remaining_time)}})],1):e._e(),i("div",{staticClass:"order-box"},[i("div",{staticClass:"box-title"},[e._v("包含商品")]),e._l(e.info.goods,(function(t){return i("div",{key:t.goods_id,staticClass:"good-info"},[i("img",{staticClass:"good-img",attrs:{src:t.goods_thumb,alt:""}}),i("div",{staticClass:"goods-main"},[i("div",{staticClass:"good-title"},[e._v(e._s(t.goods_title))]),i("div",{staticClass:"good-other"},[i("div",{staticClass:"goods-sku"},[t.goods_option?[e._v("规格:"+e._s(t.option_title))]:e._e(),e._v(" X"+e._s(t.goods_num)+" ")],2),i("div",{staticClass:"good-num"},[e._v(e._s(e.$i18n.t("money"))+e._s(t.goods_price))])])])])})),i("div",{staticClass:"order-price"},[e._v(" 合计: "),i("div",{staticClass:"order-price-red"},[e._v(e._s(e.info.money)+e._s(e.$i18n.t("元")))])])],2),i("div",{staticStyle:{height:"4rem"}}),i("yz-wechat-share-img",{model:{value:e.showWechatshar,callback:function(t){e.showWechatshar=t},expression:"showWechatshar"}})],1)},o=[],n=(i("4662"),i("28a2")),r=(i("e7e5"),i("d399")),f=i("2b57"),l={data:function(){return{info:{},showWechatshar:!1}},components:{yzWechatShareImg:f["a"]},computed:{},mounted:function(){this.getData()},methods:{getData:function(){var e=this,t=this;$http.get("plugin.new-retail.frontend.index.getSalesRecord",{id:this.$route.params.id},"").then((function(i){1===i.result?(e.info=i.data,e.fun.wxShare("",{},{link:t.fun.getSiteRoot()+"/addons/yun_shop/?menu#/goodsorder?i="+t.fun.getKeyByI()+"&mid="+t.fun.getKeyByMid()+"&sales_id="+t.info.id+"&retail_state=3&orderType=newRetail&tag=-2"})):Object(r["a"])(i.msg)})).catch((function(e){}))},ImgPreview:function(){Object(n["a"])([this.info.url]),Object(r["a"])("请长按进行保存!")}}},d=l,s=(i("b4a5"),i("2877")),b=Object(s["a"])(d,a,o,!1,null,"fa4e4f54",null);t["default"]=b.exports},"9f0d":function(e,t,i){var a=i("b7ae");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var o=i("499e").default;o("9c37be92",a,!0,{sourceMap:!1,shadowMode:!1})},b4a5:function(e,t,i){"use strict";i("9f0d")},b7ae:function(e,t,i){var a=i("24fb");t=a(!1),t.push([e.i,"#newRetail-retailLink .main[data-v-fa4e4f54]{background:#fff}#newRetail-retailLink .main .ewm-bg[data-v-fa4e4f54]{width:100%;display:block;background-color:#fff;padding:2.25rem 0}#newRetail-retailLink .main .ewm-bg .img-box[data-v-fa4e4f54]{background:-webkit-gradient(linear,left top,left bottom,from(#f14e4e),to(#f14e4e)) 0 0,-webkit-gradient(linear,left top,left bottom,from(#f14e4e),to(#f14e4e)) 0 0,-webkit-gradient(linear,left top,left bottom,from(#f14e4e),to(#f14e4e)) 100% 0,-webkit-gradient(linear,left top,left bottom,from(#f14e4e),to(#f14e4e)) 100% 0,-webkit-gradient(linear,left top,left bottom,from(#f14e4e),to(#f14e4e)) 100% 100%,-webkit-gradient(linear,left top,left bottom,from(#f14e4e),to(#f14e4e)) 100% 100%,-webkit-gradient(linear,left top,left bottom,from(#f14e4e),to(#f14e4e)) 0 100%,-webkit-gradient(linear,left top,left bottom,from(#f14e4e),to(#f14e4e)) 0 100%;background:-webkit-linear-gradient(#f14e4e,#f14e4e) 0 0,-webkit-linear-gradient(#f14e4e,#f14e4e) 0 0,-webkit-linear-gradient(#f14e4e,#f14e4e) 100% 0,-webkit-linear-gradient(#f14e4e,#f14e4e) 100% 0,-webkit-linear-gradient(#f14e4e,#f14e4e) 100% 100%,-webkit-linear-gradient(#f14e4e,#f14e4e) 100% 100%,-webkit-linear-gradient(#f14e4e,#f14e4e) 0 100%,-webkit-linear-gradient(#f14e4e,#f14e4e) 0 100%;background:linear-gradient(#f14e4e,#f14e4e) 0 0,linear-gradient(#f14e4e,#f14e4e) 0 0,linear-gradient(#f14e4e,#f14e4e) 100% 0,linear-gradient(#f14e4e,#f14e4e) 100% 0,linear-gradient(#f14e4e,#f14e4e) 100% 100%,linear-gradient(#f14e4e,#f14e4e) 100% 100%,linear-gradient(#f14e4e,#f14e4e) 0 100%,linear-gradient(#f14e4e,#f14e4e) 0 100%;background-repeat:no-repeat;background-size:2px 20px,20px 2px;width:10.563rem;height:10.563rem;padding:.5rem}#newRetail-retailLink .main .btn-box[data-v-fa4e4f54]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-justify-content:space-around;-ms-flex-pack:distribute;justify-content:space-around;padding-bottom:.875rem}#newRetail-retailLink .main .btn-box .btn-child[data-v-fa4e4f54]{width:8.75rem;height:2.188rem;line-height:2.188rem;border-radius:.313rem;border:.063rem solid #f14e4e;font-size:16px;color:#f14e4e}#newRetail-retailLink .main .btn-box .red-color[data-v-fa4e4f54]{background:#f14e4e;color:#fff}#newRetail-retailLink .order-box[data-v-fa4e4f54]{width:90%;background:#fff;border-radius:.313rem;overflow:hidden;margin:.875rem auto}#newRetail-retailLink .order-box .box-title[data-v-fa4e4f54]{height:2.188rem;line-height:2.188rem;text-align:center;background-color:#f14e4e;color:#fff}#newRetail-retailLink .order-box .good-info[data-v-fa4e4f54]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;text-align:left;padding:.75rem}#newRetail-retailLink .order-box .good-info .good-img[data-v-fa4e4f54]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:4.688rem;height:4.688rem;background-color:#cfcfcf;border-radius:.313rem;overflow:hidden;margin-right:.75rem}#newRetail-retailLink .order-box .good-info .goods-main[data-v-fa4e4f54]{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-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}#newRetail-retailLink .order-box .good-info .goods-main .good-title[data-v-fa4e4f54]{font-size:15px;line-height:20px;font-weight:600;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}#newRetail-retailLink .order-box .good-info .goods-main .goods-sku[data-v-fa4e4f54]{color:#999;font-size:12px}#newRetail-retailLink .order-box .good-info .goods-main .good-other[data-v-fa4e4f54]{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}#newRetail-retailLink .order-box .good-info .goods-main .good-other .good-num[data-v-fa4e4f54]{color:#f14e4e;font-size:12px}#newRetail-retailLink .order-box .order-price[data-v-fa4e4f54]{height:3.125rem;line-height:3.125rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:end;-webkit-justify-content:flex-end;-ms-flex-pack:end;justify-content:flex-end;padding:0 .875rem}#newRetail-retailLink .order-box .order-price .order-price-red[data-v-fa4e4f54]{font-size:18px;color:#f14e4e}#newRetail-retailLink .remaining-time[data-v-fa4e4f54]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;width:90%;margin:.75rem auto 0}",""]),e.exports=t}}]);