Browse Source

feat: 更新无数据占位符样式

ShangHai_LongXiang
jiannibang 3 years ago
parent
commit
3164433a82
  1. 10
      src/components/EffectFade/EffectFade.vue
  2. 10
      src/components/Empty/Empty.vue

10
src/components/EffectFade/EffectFade.vue

@ -25,13 +25,3 @@ defineProps({
} }
}) })
</script> </script>
<style lang="scss" scoped>
.stay-tuned {
position: absolute;
left: 50%;
top: 50%;
transform: translate3d(-50%, -50%, 0);
object-fit: contain;
}
</style>

10
src/components/Empty/Empty.vue

@ -4,9 +4,13 @@
<style scoped> <style scoped>
.stay-tuned { .stay-tuned {
position: absolute; position: absolute;
left: 50%;
top: 50%;
transform: translate3d(-50%, -50%, 0);
width: 500px;
height: 500px;
left: 0;
top: 0;
right: 0;
bottom: 0;
margin: auto;
object-fit: contain; object-fit: contain;
} }
</style> </style>

Loading…
Cancel
Save