소스 검색

feat:table

ljc 1 개월 전
부모
커밋
c0ec91b53b
2개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 5 4
      components/cwg-empty-state.vue
  2. BIN
      static/images/no-data.png

+ 5 - 4
components/cwg-empty-state.vue

@@ -1,6 +1,6 @@
 <template>
   <view class="empty-state">
-    <image class="img" src="/static/images/undraw.png" alt="" />
+    <image class="img" src="/static/images/no-data.png" alt="" />
     <view class="r">
       <view class="title" v-if="title" v-t="title" />
       <view class="title" v-else v-t="'Documentary.tradingCenter.item143'" />
@@ -19,15 +19,16 @@ const props = defineProps({
 
 .empty-state {
   display: flex;
-  padding: px2rpx(31) px2rpx(20);
+  padding: 0 px2rpx(20);
+  flex-direction: column;
   justify-content: center;
   align-items: center;
   border-radius: 12px;
   gap: px2rpx(24);
 
   .img {
-    width: px2rpx(100) !important;
-    height: px2rpx(98) !important;
+    width: px2rpx(200) !important;
+    height: px2rpx(200) !important;
     flex-shrink: 0;
   }
 

BIN
static/images/no-data.png