You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 lines
3.4 KiB
1 lines
3.4 KiB
{"remainingRequest":"/Users/yida/Desktop/my-components/examples/node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js??vue-loader-options!/Users/yida/Desktop/my-components/packages/GuipButton/src/index.vue?vue&type=script&lang=js","dependencies":[{"path":"/Users/yida/Desktop/my-components/packages/GuipButton/src/index.vue","mtime":1752053259979},{"path":"/Users/yida/Desktop/my-components/examples/node_modules/cache-loader/dist/cjs.js","mtime":1752048868510},{"path":"/Users/yida/Desktop/my-components/examples/node_modules/babel-loader/lib/index.js","mtime":1752048868975},{"path":"/Users/yida/Desktop/my-components/examples/node_modules/cache-loader/dist/cjs.js","mtime":1752048868510},{"path":"/Users/yida/Desktop/my-components/examples/node_modules/@vue/cli-service/node_modules/vue-loader/lib/index.js","mtime":1752048967992}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:CmV4cG9ydCBkZWZhdWx0IHsKICBuYW1lOiAnR3VpcEJ1dHRvbicsCiAgcHJvcHM6ewogICAgdHlwZTp7CiAgICAgIHR5cGU6U3RyaW5nLAogICAgICBkZWZhdWx0OidwcmltYXJ5JwogICAgfSwKICAgIHNpemU6ewogICAgICB0eXBlOlN0cmluZywKICAgICAgZGVmYXVsdDonbm9ybWFsJwogICAgfSwKICAgIC8vIOS4umZhbHNlIOeahOWPr+S7peS4jemcgOimgeS8oOWPggogICAgcGxhaW46ewogICAgICB0eXBlOkJvb2xlYW4sCiAgICAgIGRlZmF1bHQ6ZmFsc2UKICAgIH0sCiAgICBsb2FkaW5nOnsKICAgICAgdHlwZTpCb29sZWFuLAogICAgICBkZWZhdWx0OmZhbHNlCiAgICB9LAogICAgZGlzYWJsZWQ6ewogICAgICB0eXBlOkJvb2xlYW4sCiAgICAgIGRlZmF1bHQ6ZmFsc2UKICAgIH0sCiAgICBidG5zdHlsZTpPYmplY3QKICB9LAogIGRhdGEoKSB7CiAgICAgIHJldHVybiB7CiAgICAgICAgICByYWRpbzogJycKICAgICAgfQogIH0sCiAgcmVuZGVyKGgpIHsKICAgIHJldHVybiBoKCdlbC1idXR0b24nLCB7CiAgICAgIGF0dHJzOiB0aGlzLiRhdHRycywKICAgICAgb246IHsKICAgICAgICBjbGljazogZSA9PiB0aGlzLiRlbWl0KCdjbGljaycsIGUpCiAgICAgIH0KICAgIH0sIHRoaXMuJHNsb3RzLmRlZmF1bHQpCiAgfSwKICBtb3VudGVkKCl7CiAgICAgIAogIH0KfQo="},{"version":3,"sources":["index.vue"],"names":[],"mappings":";AAgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA","file":"index.vue","sourceRoot":"../packages/GuipButton/src","sourcesContent":["<template>\n <el-button \n :type=\"type\" \n v-bind=\"$attrs\"\n :plain=\"plain\" \n :loading=\"loading\" \n :size=\"size\" \n :disabled=\"disabled\"\n @click=\"$emit('click')\"\n :style=\"{...btnstyle}\"\n >\n <slot></slot>\n </el-button>\n</template>\n \n<script>\nexport default {\n name: 'GuipButton',\n props:{\n type:{\n type:String,\n default:'primary'\n },\n size:{\n type:String,\n default:'normal'\n },\n // 为false 的可以不需要传参\n plain:{\n type:Boolean,\n default:false\n },\n loading:{\n type:Boolean,\n default:false\n },\n disabled:{\n type:Boolean,\n default:false\n },\n btnstyle:Object\n },\n data() {\n return {\n radio: ''\n }\n },\n render(h) {\n return h('el-button', {\n attrs: this.$attrs,\n on: {\n click: e => this.$emit('click', e)\n }\n }, this.$slots.default)\n },\n mounted(){\n \n }\n}\n</script>\n<style scoped lang=\"scss\">\nbutton span{\n display: flex;\n align-items: center;\n}\n.rotating-svg {\n animation: rotate 2s linear infinite;\n}\n\n@keyframes rotate {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n</style>\n\n"]}]}
|