Browse Source

替换空数据图片

htc 8 giờ trước cách đây
mục cha
commit
4faeca1a8d
2 tập tin đã thay đổi với 6 bổ sung6 xóa
  1. 5 5
      components/pageEmpty/index.vue
  2. 1 1
      pages/home.vue

+ 5 - 5
components/pageEmpty/index.vue

@@ -1,9 +1,9 @@
 <template>
 	<u-empty 
 		:text="text" 
-		textSize="26rpx" 
-		width="332rpx" 
-		height="332rpx" 
+		textSize="28rpx" 
+		width="208rpx" 
+		height="158rpx" 
 		mode="order" 
 		:icon="iconUrl"
 	></u-empty>
@@ -14,11 +14,11 @@
 	const props = defineProps({
 		text: {
 			type: String,
-			default: '暂无数据'
+			default: '暂无内容'
 		},
 		iconUrl: {
 			type: String,
-			default: ''
+			default: 'https://sxsn.ringzle.com/happytree-admin/profile/2025/12/16/a73ba198-7759-4bc0-96c6-617fe0d05a69.png'
 		}
 	})
 </script>

+ 1 - 1
pages/home.vue

@@ -48,7 +48,7 @@
 				</template>
 			</view>
 			<view class="dataEmpty" v-else>
-				<page-empty text="暂无公益活动"></page-empty>
+				<page-empty></page-empty>
 			</view>
 		</view>
 		<login-register @loginSucc="loginSucc"></login-register>