Browse Source

[edit][格式化]

zhangwei 2 years ago
parent
commit
9a85e80ded
1 changed files with 13 additions and 16 deletions
  1. 13 16
      src/view/iframe/red-packet/luck-draw.vue

+ 13 - 16
src/view/iframe/red-packet/luck-draw.vue

@@ -202,7 +202,7 @@
             </div>
             <get-more :reportData="{
                 pageSource: Report.pageSource.received_success_page,
-                    postId: state.postId
+                postId: state.postId
             }"></get-more>
         </div>
 
@@ -229,15 +229,15 @@
             </template> -->
             <!-- <template v-else> -->
             <custom-card-cover :data="{
-                        totalCount: state.detail.totalCount,
-                    amountValue: state.detail.amountValue,
+                totalCount: state.detail.totalCount,
+                amountValue: state.detail.amountValue,
                 tokenSymbol: state.detail.currencySymbol,
                 currencyCode: state.detail.amountCurrencyCode,
-              currencyIconUrl: state.detail.currencyIconPath,
-                        type: PlayType.lottery,
-                    validityDuration: state.count_down_time,
-                        countDown: state.count_down_time,
-                    userInfo: {
+                currencyIconUrl: state.detail.currencyIconPath,
+                type: PlayType.lottery,
+                validityDuration: state.count_down_time,
+                countDown: state.count_down_time,
+                userInfo: {
                     nickName: state.detail.postUserInfo.nickName,
                     avatarUrl: state.detail.postUserInfo.avatarUrl
                 },
@@ -265,14 +265,11 @@
                         <a-tooltip :title="state.detail.amountValue">
                             {{ getBit(state.detail.amountValue) || '' }}
                         </a-tooltip>
-                    </span> {{
-                        state.detail.currencySymbol || ''
-                    }}
+                    </span> {{ state.detail.currencySymbol || '' }}
                 </div>
             </div>
             <div class="luck-list" @scroll="handleScroll">
-                <div class="luck-item" v-for="item, i in     st
-                te.detail.allReceived" v-bind:key="i">
+                <div class="luck-item" v-for="item, i in state.detail.allReceived" v-bind:key="i">
                     <img v-if="item.simpleUserInfoVO.avatarUrl" :src="item.simpleUserInfoVO.avatarUrl" alt
                         @click="openTwitterDetail(item)" />
                     <img v-else :src="require('@/assets/svg/icon-twitter.svg')" alt />
@@ -353,7 +350,7 @@
                 </div>
                 <get-more :style_type="2" :reportData="{
                     pageSource: Report.pageSource.waitingLotteryPage,
-                        postId: state.postId
+                    postId: state.postId
                 }"></get-more>
                 <div class="notification_switch" v-if="state.notification_show">
                     <span>Announcement Notification</span>
@@ -373,7 +370,7 @@
                             {{ getBit(state.detail.amountValue || '') }}
                         </a-tooltip>
                     </span> {{
-                        state.detail.currencySymbol || ''
+                            state.detail.currencySymbol || ''
                     }}
                 </div>
             </div>
@@ -3388,7 +3385,7 @@ body {
 
 .none {
     display: flex;
-    align-item: center;
+    align-items: center;
     justify-content: center;
     width: 100%;
     height: 100%;