邹能昇 2 сар өмнө
parent
commit
9506b8d8be

+ 2 - 1
nova-werun/components/circle/index.json

@@ -1,6 +1,7 @@
 {
     "component": true,
     "usingComponents": {
-       "circle-card":"../circle-card/index"
+       "circle-card":"../circle-card/index",
+       "van-empty": "@vant/weapp/empty/index"
     }
 }

+ 1 - 2
nova-werun/components/circle/index.less

@@ -36,8 +36,6 @@
         .trends{
             width: 100%;
             padding-top: 20rpx;
-            padding-left: 32rpx;
-            padding-right: 32rpx;
             .activebox{
                 width: 685rpx;
                 height: 488rpx;
@@ -46,6 +44,7 @@
                 border-radius: 20rpx;
                 box-shadow: 0 8rpx 4rpx #DEE1E6;
                 margin-bottom: 20rpx;
+                margin-left: 32rpx;
                 .titlebox{
                     width: 100%;
                     height: 36rpx;

+ 7 - 5
nova-werun/components/circle/index.wxml

@@ -35,11 +35,13 @@
                 <image src="https://file-cloud.fmode.cn/qpFbRRSZrO/20241224/ffv1ct042539160.png"></image>
             </view>
         </view>
-
-        <block wx:for="{{cardList}}" wx:key="{{item.objectId}}">
-            <circle-card objectId='{{item.objectId}}' type='surface'></circle-card>
-        </block>
-        <view wx:if="{{noMoreItems}}" class="no-more">没有更多动态了</view>
+        <view style="width: 100%;padding-left: 32rpx;padding-right: 32rpx;">
+            <block wx:for="{{cardList}}" wx:key="{{item.objectId}}">
+                <circle-card objectId='{{item.objectId}}' type='surface'></circle-card>
+            </block>
+        </view>
+        <view wx:if="{{noMoreItems&&cardList.length>0}}" class="no-more">没有更多动态了</view>
+        <van-empty wx:if="{{cardList.length==0}}" description="暂无动态" />
     </scroll-view>
     <!-- <view class="publishbox" bindtap="gourl" data-url="../../pages/circle/send-circle/index">
         <image src="https://file-cloud.fmode.cn/qpFbRRSZrO/20241105/8qes51030838243.png?imageView2/1/w/200/h/200"></image>

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
nova-werun/components/circle/index.wxss


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно