linwenxin 3 ヶ月 前
コミット
d4548bdbb5
1 ファイル変更14 行追加12 行削除
  1. 14 12
      src/pages/index/index.vue

+ 14 - 12
src/pages/index/index.vue

@@ -88,20 +88,22 @@
         </view> -->
 
         <!-- 扫码活动 -->
-        <view class="swiper2-container" v-if="codeActivityList.length > 0">
-          <view class="home-title">
+        <view v-if="codeActivityList.length > 0">
+          <view class="home-title" style="margin-bottom: 10rpx">
             <view class="left">活动登记</view>
           </view>
-          <u-swiper
-            :list="codeActivityList"
-            keyName="banner"
-            autoplay
-            circular
-            indicator
-            indicatorMode="line"
-            height="100"
-            @click="toCodeActivityList"
-          ></u-swiper>
+          <view class="swiper2-container">
+            <u-swiper
+              :list="codeActivityList"
+              keyName="banner"
+              autoplay
+              circular
+              indicator
+              indicatorMode="line"
+              height="100"
+              @click="toCodeActivityList"
+            ></u-swiper>
+          </view>
         </view>
 
         <!-- 增值服务 -->