acdr-ui/dist/dev/mp-weixin/components/EmptyState.js.map

1 line
1.9 KiB
Plaintext

{"version":3,"file":"EmptyState.js","sources":["../../../../src/components/EmptyState.vue","../../../../uniComponent:/RDovQXBwL1dvcmsvYWRkci9hY2RyLXVpL3NyYy9jb21wb25lbnRzL0VtcHR5U3RhdGUudnVl"],"sourcesContent":["<template>\r\n <view class=\"empty-state\">\r\n <image v-if=\"this.type == 'map'\" class=\"img\" src=\"@/static/null/mapnull.png\" mode=\"widthFix\" />\r\n <image\r\n v-else-if=\"this.type == 'search'\"\r\n class=\"img\"\r\n src=\"@/static/null/searchnull.png\"\r\n mode=\"widthFix\"\r\n />\r\n <image\r\n v-else-if=\"this.type == 'message'\"\r\n class=\"img\"\r\n src=\"@/static/null/messagenull.png\"\r\n mode=\"widthFix\"\r\n />\r\n <image v-else class=\"img\" src=\"@/static/null/searchnull.png\" mode=\"widthFix\" />\r\n <view class=\"txt\">{{ message }}</view>\r\n </view>\r\n</template>\r\n\r\n<script>\r\nexport default {\r\n name: 'EmptyState',\r\n props: {\r\n type: {\r\n type: String,\r\n default: 'default',\r\n },\r\n message: {\r\n type: String,\r\n default: '空空如也!',\r\n },\r\n },\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n.empty-state {\r\n display: flex;\r\n flex-direction: column;\r\n align-items: center;\r\n justify-content: center;\r\n text-align: center;\r\n}\r\n\r\n.empty-state .img {\r\n width: 100%;\r\n width: 250px;\r\n height: auto;\r\n margin: 20px 0;\r\n}\r\n\r\n.empty-state .txt {\r\n font-size: 16px; // Adjust according to your design\r\n color: #666;\r\n text-align: center;\r\n}\r\n</style>\r\n","import Component from 'D:/App/Work/addr/acdr-ui/src/components/EmptyState.vue'\nwx.createComponent(Component)"],"names":[],"mappings":";;;AAqBA,MAAK,YAAU;AAAA,EACb,MAAM;AAAA,EACN,OAAO;AAAA,IACL,MAAM;AAAA,MACJ,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA,IACD,SAAS;AAAA,MACP,MAAM;AAAA,MACN,SAAS;AAAA,IACV;AAAA,EACF;AACH;;;;;;;;;;;;;;;;;;;AChCA,GAAG,gBAAgB,SAAS;"}