1 line
1.3 KiB
JSON
1 line
1.3 KiB
JSON
{"ast":null,"code":"export default {\n name: \"commonBtn\",\n props: {\n title: {\n type: String,\n default: '提交'\n }\n },\n methods: {\n clickHandler() {\n this.$emit('ownClick');\n }\n }\n};","map":{"version":3,"names":["name","props","title","type","String","default","methods","clickHandler","$emit"],"sources":["src/components/commonBtn.vue"],"sourcesContent":["<template>\r\n <div class=\"button\" @click=\"clickHandler\">\r\n {{ title }}\r\n </div>\r\n</template>\r\n\r\n<script>\r\n export default {\r\n name: \"commonBtn\",\r\n props: {\r\n title: {\r\n type: String,\r\n default: '提交'\r\n }\r\n },\r\n methods: {\r\n clickHandler() {\r\n this.$emit('ownClick')\r\n }\r\n }\r\n }\r\n</script>\r\n\r\n<style scoped lang=\"scss\">\r\n@import \"@/styles/mixin.scss\";\r\n.button {\r\n position: fixed;\r\n bottom: 30px;\r\n //width: 88%;\r\n border-radius: 5px;\r\n text-align: center;\r\n @include bgFontColor(#FFFFFF,#354D93);\r\n @include fontWeightSize(500,15px);\r\n @include whLin(100%,48px);\r\n}\r\n</style>\r\n"],"mappings":"AAOA;EACAA,IAAA;EACAC,KAAA;IACAC,KAAA;MACAC,IAAA,EAAAC,MAAA;MACAC,OAAA;IACA;EACA;EACAC,OAAA;IACAC,aAAA;MACA,KAAAC,KAAA;IACA;EACA;AACA"},"metadata":{},"sourceType":"module","externalDependencies":[]} |