app-price.js 2.1 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/page-component/goods/app-price"],{"2ca0":function(t,e,n){},7805:function(t,e,n){"use strict";var u,r=function(){var t=this,e=t.$createElement;t._self._c},i=[];n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return u}))},"7e09":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var u={props:{max:{type:String,default:function(){return"-1"}},min:{type:String,default:function(){return"-1"}},defaultPrice:{type:String,default:function(){return"-1"}},price:{type:[String,Number],default:function(){return"-1"}},type:{type:String,default:function(){return"text-price"}}},data:function(){return{priceType:this.type}},computed:{actual:function(){var t=-1,e=-1,n=-1,u=-1,r=-1,i=this.type;return"undefined"!=this.price&&(e=Number(this.price)),"undefined"!=this.min&&(n=Number(this.min)),"undefined"!=this.max&&(u=Number(this.max)),"undefined"!=this.defaultPrice&&(r=Number(this.defaultPrice)),e&&e>0?t=e:0==e?(t="免费",i=""):u>n&&n>=0?t=n+"-"+u:u==n&&n>=0?t=n:r>0?t=r:0==r&&(t="免费",i=""),{price:t,type:i}}}};e.default=u},bd66:function(t,e,n){"use strict";n.r(e);var u=n("7805"),r=n("c6d8");for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);n("c1ee");var c,a=n("f0c5"),f=Object(a["a"])(r["default"],u["b"],u["c"],!1,null,"698eb3df",null,!1,u["a"],c);e["default"]=f.exports},c1ee:function(t,e,n){"use strict";var u=n("2ca0"),r=n.n(u);r.a},c6d8:function(t,e,n){"use strict";n.r(e);var u=n("7e09"),r=n.n(u);for(var i in u)"default"!==i&&function(t){n.d(e,t,(function(){return u[t]}))}(i);e["default"]=r.a}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'components/page-component/goods/app-price-create-component',
  4. {
  5. 'components/page-component/goods/app-price-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('543d')['createComponent'](__webpack_require__("bd66"))
  7. })
  8. },
  9. [['components/page-component/goods/app-price-create-component']]
  10. ]);