uni-icons.js 2.2 KB

12345678910
  1. (global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["uni_modules/uni-icons/components/uni-icons/uni-icons"],{"0932":function(t,n,i){"use strict";var e=i("d13a"),o=i.n(e);o.a},3790:function(t,n,i){"use strict";i.r(n);var e=i("5741"),o=i.n(e);for(var c in e)["default"].indexOf(c)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(c);n["default"]=o.a},"3be8":function(t,n,i){"use strict";i.r(n);var e=i("3d84"),o=i("3790");for(var c in o)["default"].indexOf(c)<0&&function(t){i.d(n,t,(function(){return o[t]}))}(c);i("0932");var u=i("828b"),r=Object(u["a"])(o["default"],e["b"],e["c"],!1,null,null,null,!1,e["a"],void 0);n["default"]=r.exports},"3d84":function(t,n,i){"use strict";i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return o})),i.d(n,"a",(function(){}));var e=function(){var t=this.$createElement;this._self._c},o=[]},5741:function(t,n,i){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=i("bdb3"),o={name:"UniIcons",emits:["click"],props:{type:{type:String,default:""},color:{type:String,default:"#333333"},size:{type:[Number,String],default:16},customPrefix:{type:String,default:""},fontFamily:{type:String,default:""}},data:function(){return{icons:e.fontData}},computed:{unicode:function(){var t=this,n=this.icons.find((function(n){return n.font_class===t.type}));return n?n.unicode:""},iconSize:function(){return function(t){return"number"===typeof t||/^[0-9]*$/g.test(t)?t+"px":t}(this.size)},styleObj:function(){return""!==this.fontFamily?"color: ".concat(this.color,"; font-size: ").concat(this.iconSize,"; font-family: ").concat(this.fontFamily,";"):"color: ".concat(this.color,"; font-size: ").concat(this.iconSize,";")}},methods:{_onClick:function(){this.$emit("click")}}};n.default=o},d13a:function(t,n,i){}}]);
  2. ;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
  3. 'uni_modules/uni-icons/components/uni-icons/uni-icons-create-component',
  4. {
  5. 'uni_modules/uni-icons/components/uni-icons/uni-icons-create-component':(function(module, exports, __webpack_require__){
  6. __webpack_require__('df3c')['createComponent'](__webpack_require__("3be8"))
  7. })
  8. },
  9. [['uni_modules/uni-icons/components/uni-icons/uni-icons-create-component']]
  10. ]);