28 lines
533 B
Vue
28 lines
533 B
Vue
<template>
|
|
<div :style="'background-image:url(' + bgi + ');background-repeat: no-repeat;background-position: 50% 50%;'"
|
|
class="empty"></div>
|
|
</template>
|
|
<script>
|
|
export default {
|
|
name: "fileEmpty",
|
|
data() {
|
|
return {
|
|
fileList: [],
|
|
};
|
|
},
|
|
methods: {},
|
|
computed: {
|
|
bgi() {
|
|
return this.$t("work.dropBg");
|
|
},
|
|
},
|
|
};
|
|
</script>
|
|
<!-- Add "scoped" attribute to limit CSS to this component only -->
|
|
<style lang="less" scoped>
|
|
.empty {
|
|
flex: 1;
|
|
width: 100%;
|
|
}
|
|
</style>
|