glhcp/server/public/business/static/js/bundle-pages-spec_edit-spec...

1 line
16 KiB
JavaScript
Raw Normal View History

2023-08-10 06:59:52 +00:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["bundle-pages-spec_edit-spec_edit"],{"0f93":function(t,e,i){"use strict";i.r(e);var n=i("6a63"),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},"365e":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={uImage:i("4902").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"goods bg-white"},[i("v-uni-view",{staticClass:"goods-wrap flex",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toDetail(t.data.id)}}},[i("v-uni-view",{staticClass:"image"},[i("u-image",{attrs:{src:t.data.image,width:"160",height:"160"}})],1),i("v-uni-view",{staticClass:"m-l-16 line-1"},[i("v-uni-view",{staticClass:"goods-name line-1 m-t-10"},[t._v(t._s(t.data.name))]),i("v-uni-view",{staticClass:"goods-price primary m-t-10"},[t._v("¥"+t._s(t.data.min_price))]),i("v-uni-view",{staticClass:"muted flex row-between xs m-t-10"},[i("v-uni-view",[t._v("总库存: "+t._s(t.data.stock))]),i("v-uni-view",[t._v("总销量: "+t._s(t.data.sales_actual))])],1)],1)],1),i("v-uni-view",{staticClass:"goods-footer flex row-right"},[t._t("default")],2)],1)},o=[]},3703:function(t,e,i){"use strict";i.r(e);var n=i("365e"),a=i("4d21");for(var o in a)"default"!==o&&function(t){i.d(e,t,(function(){return a[t]}))}(o);i("c1f3");var s,r=i("f0c5"),c=Object(r["a"])(a["default"],n["b"],n["c"],!1,null,"260e1ff2",null,!1,n["a"],s);e["default"]=c.exports},"485b":function(t,e,i){var n=i("5cad");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("60368dde",n,!0,{sourceMap:!1,shadowMode:!1})},"4d21":function(t,e,i){"use strict";i.r(e);var n=i("d085"),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},"5cad":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,"@charset \"UTF-8\";\n/* 颜色变量 */\n/** S Font's size **/\n/** E Font's size **/[data-v-26b6161e]:export{red_theme:#ff2c3c;orange_theme:#f7971e;pink_theme:#fa444d;gold_theme:#e0a356;blue_theme:#2f80ed;green_theme:#2ec840}.goods-detail[data-v-26b6161e]{padding-bottom:%?200?%}.goods-detail .primary[data-v-26b6161e]{color:#40affa}.goods-detail .input[data-v-26b6161e]{width:%?300?%;padding:%?10?%;margin:0 %?20?%;border-radius:%?4?%;border:1px solid #dbdbdb}.goods-detail .item[data-v-26b6161e]{padding:%?30?%;display:flex;flex-direction:row;align-items:center;background-color:#fff;justify-content:flex-start}.goods-detail .item > uni-view[data-v-26b6161e]:first-child{width:%?180?%;color:#101010;font-size:%?28?%;font-weight:500}.goods-detail .item > uni-view[data-v-26b6161e]:last-child{width:%?400?%;text-align:left;height:%?76?%;padding:0 %?12?%;border-radius:%?6?%;border:1px solid #dbdbdb}.goods-detail .title[data-v-26b6161e]{color:#fff;display:inline-block;margin:0 %?20?%;padding:%?6?% %?16?%;border-radius:%?8?%;background-color:#40affa}.goods-detail .footer[data-v-26b6161e]{position:fixed;bottom:0;left:0;right:0;z-index:100;height:%?110?%;padding:0 %?30?%;box-sizing:initial;padding-bottom:env(safe-area-inset-bottom)}.goods-detail .footer .btn[data-v-26b6161e]{width:100%;height:%?88?%;line-height:%?88?%;background-color:#40affa}",""]),t.exports=e},6717:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return n}));var n={goodsCard:i("3703").default,modal:i("4ca1").default,uToast:i("af9c").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"goods-detail"},[i("v-uni-view",{staticClass:"m-t-20"},[i("goods-card",{attrs:{data:t.goodsInfo}})],1),i("v-uni-view",{staticClass:"muted xs p-l-20 p-b-20 p-t-20 flex row-between"},[t._v(t._s(1==t.goodsInfo.spec_type?"规格型号(统一规格)":"规格型号(多规格)")),2==t.goodsInfo.spec_type?i("v-uni-view",{staticClass:"p-r-20",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.spec_type=!t.spec_type}}}