Browse Source

[edit][ui]

zhangwei 2 years ago
parent
commit
489534544a

+ 1 - 1
src/view/iframe/treasure-hunt/components/boxs.vue

@@ -32,7 +32,7 @@
             <div class="item" v-for="item, i in state.boxs"
                 :style="{ 'margin-left': item.icon_margin_left, 'width': item.icon_width }">
                 <img :src="require('@/assets/svg/icon-user1.svg')" alt="" />
-                <span>{{ item.successInviteCount }}/{{ item.finishNeedInviteCount }}</span>
+                <span>{{ item.inviteProgress }}</span>
             </div>
 
         </div>

+ 3 - 2
src/view/iframe/treasure-hunt/components/head.vue

@@ -48,7 +48,8 @@ const clickItem = () => {
         }
 
         span {
-            color: #B69882;
+            color: #FFFFFF;
+            opacity: 0.6;
             font-weight: 400;
             margin-left: 5px;
             font-size: 11px;
@@ -65,7 +66,7 @@ const clickItem = () => {
 
         span:first-child {
             color: #FFFFFF;
-            opacity: 0.7;
+            opacity: 0.6;
         }
 
         span:last-child {

+ 6 - 5
src/view/iframe/treasure-hunt/cover.vue

@@ -156,8 +156,8 @@ chrome.runtime.onMessage.addListener((req, sender, sendResponse) => {
             }
             break
         case 'CONTENT_API_GET_TWEET_USER_INFO_RES':
-            if(state.iframeId != req.iframeId) {
-              return;
+            if (state.iframeId != req.iframeId) {
+                return;
             }
             let twitterFans = 0;
             let { user } = req.data || {};
@@ -450,7 +450,7 @@ const getUsersFollowStatus = () => {
     }
 
     .invite {
-        background: rgba(255, 255, 255, 0.1);
+        /* background: rgba(255, 255, 255, 0.1); */
         height: 28px;
         display: flex;
         align-items: center;
@@ -471,7 +471,8 @@ const getUsersFollowStatus = () => {
         }
 
         span {
-            color: #BE9F89;
+            color: #FFFFFF;
+            opacity: 0.6;
         }
     }
 
@@ -547,7 +548,7 @@ const getUsersFollowStatus = () => {
             line-height: 15px;
             color: #FFFFFF;
 
-            opacity: 0.7;
+            opacity: 0.6;
         }
     }