uni-badge.js 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. (global.webpackJsonp = global.webpackJsonp || []).push([ [ "components/uni-badge/uni-badge" ], {
  2. 549: function(n, e, t) {
  3. t.r(e);
  4. var r = t(550), o = t(552);
  5. for (var u in o) "default" !== u && function(n) {
  6. t.d(e, n, function() {
  7. return o[n];
  8. });
  9. }(u);
  10. t(554);
  11. var a = t(13), i = Object(a.default)(o.default, r.render, r.staticRenderFns, !1, null, "26a60cd2", null, !1, r.components, void 0);
  12. i.options.__file = "components/uni-badge/uni-badge.vue", e.default = i.exports;
  13. },
  14. 550: function(n, e, t) {
  15. t.r(e);
  16. var r = t(551);
  17. t.d(e, "render", function() {
  18. return r.render;
  19. }), t.d(e, "staticRenderFns", function() {
  20. return r.staticRenderFns;
  21. }), t.d(e, "recyclableRender", function() {
  22. return r.recyclableRender;
  23. }), t.d(e, "components", function() {
  24. return r.components;
  25. });
  26. },
  27. 551: function(n, e, t) {
  28. t.r(e), t.d(e, "render", function() {
  29. return r;
  30. }), t.d(e, "staticRenderFns", function() {
  31. return u;
  32. }), t.d(e, "recyclableRender", function() {
  33. return o;
  34. }), t.d(e, "components", function() {});
  35. var r = function() {
  36. var n = this;
  37. n.$createElement;
  38. n._self._c;
  39. }, o = !1, u = [];
  40. r._withStripped = !0;
  41. },
  42. 552: function(n, e, t) {
  43. t.r(e);
  44. var r = t(553), o = t.n(r);
  45. for (var u in r) "default" !== u && function(n) {
  46. t.d(e, n, function() {
  47. return r[n];
  48. });
  49. }(u);
  50. e.default = o.a;
  51. },
  52. 553: function(n, e, t) {
  53. Object.defineProperty(e, "__esModule", {
  54. value: !0
  55. }), e.default = void 0;
  56. var r = {
  57. name: "UniBadge",
  58. props: {
  59. type: {
  60. type: String,
  61. default: "default"
  62. },
  63. inverted: {
  64. type: Boolean,
  65. default: !1
  66. },
  67. text: {
  68. type: [ String, Number ],
  69. default: ""
  70. },
  71. size: {
  72. type: String,
  73. default: "normal"
  74. }
  75. },
  76. data: function() {
  77. return {
  78. width: "display: inline-block;width: ".concat(15 * String(this.text).length + 25, "rpx")
  79. };
  80. },
  81. methods: {
  82. onClick: function() {
  83. this.$emit("click");
  84. }
  85. }
  86. };
  87. e.default = r;
  88. },
  89. 554: function(n, e, t) {
  90. t.r(e);
  91. var r = t(555), o = t.n(r);
  92. for (var u in r) "default" !== u && function(n) {
  93. t.d(e, n, function() {
  94. return r[n];
  95. });
  96. }(u);
  97. e.default = o.a;
  98. },
  99. 555: function(n, e, t) {}
  100. } ]), (global.webpackJsonp = global.webpackJsonp || []).push([ "components/uni-badge/uni-badge-create-component", {
  101. "components/uni-badge/uni-badge-create-component": function(n, e, t) {
  102. t("1").createComponent(t(549));
  103. }
  104. }, [ [ "components/uni-badge/uni-badge-create-component" ] ] ]);