acdr-ui/dist/dev/mp-weixin/sheep/components/s-empty/s-empty.js.map

1 line
2.6 KiB
Plaintext
Raw Normal View History

2024-09-19 07:20:14 +08:00
{"version":3,"file":"s-empty.js","sources":["../../../../../../src/sheep/components/s-empty/s-empty.vue","../../../../../../uniComponent:/RDovQXBwL1dvcmsvYWRkci9hY2RyLXVpL3NyYy9zaGVlcC9jb21wb25lbnRzL3MtZW1wdHkvcy1lbXB0eS52dWU"],"sourcesContent":["<template>\r\n <view\r\n class=\"ss-flex-col ss-col-center ss-row-center empty-box\"\r\n :style=\"[{ paddingTop: paddingTop + 'rpx' }]\"\r\n >\r\n <view class=\"\"><image class=\"empty-icon\" :src=\"icon\" mode=\"widthFix\"></image></view>\r\n <view class=\"empty-text ss-m-t-28 ss-m-b-40\">\r\n <text v-if=\"text !== ''\">{{ text }}</text>\r\n </view>\r\n <button class=\"ss-reset-button empty-btn\" v-if=\"showAction\" @tap=\"clickAction\">\r\n {{ actionText }}\r\n </button>\r\n </view>\r\n</template>\r\n\r\n<script setup>\r\nimport sheep from '@/sheep'\r\n/**\r\n * 容器组件 - 装修组件的样式容器\r\n */\r\n\r\nconst props = defineProps({\r\n // 图标\r\n icon: {\r\n type: String,\r\n default: '',\r\n },\r\n // 描述\r\n text: {\r\n type: String,\r\n default: '',\r\n },\r\n // 是否显示button\r\n showAction: {\r\n type: Boolean,\r\n default: false,\r\n },\r\n // button 文字\r\n actionText: {\r\n type: String,\r\n default: '',\r\n },\r\n // 链接\r\n actionUrl: {\r\n type: String,\r\n default: '',\r\n },\r\n // 间距\r\n paddingTop: {\r\n type: String,\r\n default: '260',\r\n },\r\n // 主题色\r\n buttonColor: {\r\n type: String,\r\n default: 'var(--ui-BG-Main)',\r\n },\r\n})\r\n\r\nconst emits = defineEmits(['clickAction'])\r\n\r\nfunction clickAction() {\r\n if (props.actionUrl !== '') {\r\n sheep.$router.go(props.actionUrl)\r\n }\r\n emits('clickAction')\r\n}\r\n</script>\r\n\r\n<style lang=\"scss\" scoped>\r\n \r\n.empty-box {\r\n width: 100%;\r\n}\r\n.empty-icon {\r\n width: 240rpx;\r\n}\r\n\r\n.empty-text {\r\n font-size: 26rpx;\r\n font-weight: 500;\r\n color: #999999;\r\n}\r\n\r\n.empty-btn {\r\n width: 320rpx;\r\n height: 70rpx;\r\n font-size: 28rpx;\r\n font-weight: 500;\r\n color: v-bind('buttonColor');\r\n border: 2rpx solid v-bind('buttonColor');\r\n border-radius: 35rpx;\r\n}\r\n</style>\r\n","import Component from 'D:/App/Work/addr/acdr-ui/src/sheep/components/s-empty/s-empty.vue'\nwx.createComponent(Component)"],"names":["sheep"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqBA,UAAM,QAAQ;AAsCd,UAAM,QAAQ;AAEd,aAAS,cAAc;AACrB,UAAI,MAAM,cAAc,IAAI;AAC1BA,oBAAAA,MAAM,QAAQ,GAAG,MAAM,SAAS;AAAA,MACjC;AACD,YAAM,aAAa;AAAA,IACrB;;;;;;;;;;;;;;;;;;;;;;ACjEA,GAAG,gBAAgB,SAAS;"}