dggzichahu/public/pc/_nuxt/6cb70b7.js

1 line
3.1 KiB
JavaScript
Executable File
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window.webpackJsonp=window.webpackJsonp||[]).push([[15],{404:function(e,t,r){"use strict";var n=r(11),o=r(5),c=r(116),l=r(23),f=r(15),h=r(52),d=r(251),N=r(81),S=r(7),m=r(83),_=r(82).f,I=r(42).f,v=r(22).f,y=r(405).trim,E="Number",w=o.Number,x=w.prototype,A=h(m(x))==E,F=function(e){var t,r,n,o,c,l,f,code,h=N(e,!1);if("string"==typeof h&&h.length>2)if(43===(t=(h=y(h)).charCodeAt(0))||45===t){if(88===(r=h.charCodeAt(2))||120===r)return NaN}else if(48===t){switch(h.charCodeAt(1)){case 66:case 98:n=2,o=49;break;case 79:case 111:n=8,o=55;break;default:return+h}for(l=(c=h.slice(2)).length,f=0;f<l;f++)if((code=c.charCodeAt(f))<48||code>o)return NaN;return parseInt(c,n)}return+h};if(c(E,!w(" 0o1")||!w("0b1")||w("+0x1"))){for(var z,T=function(e){var t=arguments.length<1?0:e,r=this;return r instanceof T&&(A?S((function(){x.valueOf.call(r)})):h(r)!=E)?d(new w(F(t)),r,T):F(t)},M=n?_(w):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger,fromString,range".split(","),k=0;M.length>k;k++)f(w,z=M[k])&&!f(T,z)&&v(T,z,I(w,z));T.prototype=x,x.constructor=T,l(o,E,T)}},405:function(e,t,r){var n=r(27),o="["+r(406)+"]",c=RegExp("^"+o+o+"*"),l=RegExp(o+o+"*$"),f=function(e){return function(t){var r=String(n(t));return 1&e&&(r=r.replace(c,"")),2&e&&(r=r.replace(l,"")),r}};e.exports={start:f(1),end:f(2),trim:f(3)}},406:function(e,t){e.exports="\t\n\v\f\r    \u2028\u2029\ufeff"},407:function(e,t,r){var content=r(409);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,r(14).default)("03051d40",content,!0,{sourceMap:!1})},408:function(e,t,r){"use strict";r(407)},409:function(e,t,r){var n=r(13)(!1);n.push([e.i,".price-format{display:flex;align-items:baseline}",""]),e.exports=n},410:function(e,t,r){"use strict";r.r(t);r(404),r(68),r(252);var n={data:function(){return{priceSlice:{}}},components:{},props:{firstSize:{type:Number,default:14},secondSize:{type:Number,default:14},color:{type:String},weight:{type:[String,Number],default:500},price:{type:[String,Number],default:""},showSubscript:{type:Boolean,default:!0},subscriptSize:{type:Number,default:14},lineThrough:{type:Boolean,default:!1}},created:function(){this.priceFormat()},watch:{price:function(e){this.priceFormat()}},methods:{priceFormat:function(){var e=this.price,t={};null!==e&&(e=parseFloat(e),e=String(e).split("."),t.first=e[0],t.second=e[1],this.priceSlice=t)}}},o=(r(408),r(8)),component=Object(o.a)(n,(function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("span",{class:(e.lineThrough?"line-through":"")+"price-format",style:{color:e.color,"font-weight":e.weight}},[e.showSubscript?r("span",{style:{"font-size":e.subscriptSize+"px","margin-right":"1px"}},[e._v("¥")]):e._e(),e._v(" "),r("span",{style:{"font-size":e.firstSize+"px","margin-right":"1px"}},[e._v(e._s(e.priceSlice.first))]),e._v(" "),e.priceSlice.second?r("span",{style:{"font-size":e.secondSize+"px"}},[e._v("."+e._s(e.priceSlice.second))]):e._e()])}),[],!1,null,null,null);t.default=component.exports}}]);