浏览代码

[edit][刷新按钮]

zhangwei 2 年之前
父节点
当前提交
6711c2c78b
共有 2 个文件被更改,包括 30 次插入30 次删除
  1. 28 28
      src/view/iframe/treasure-hunt/components/btn.vue
  2. 2 2
      src/view/iframe/treasure-hunt/cover.vue

+ 28 - 28
src/view/iframe/treasure-hunt/components/btn.vue

@@ -64,41 +64,41 @@ const refresh = () => {
 }
 </script>
 <style scoped lang="scss">
-.area-btn {
+.btn-submit {
+    background: #1D9BF0;
+    border-radius: 100px;
     display: flex;
+    align-items: center;
+    justify-content: center;
+    height: 53px;
+    width: 343px;
+    margin: 0 auto;
+    cursor: pointer;
+    user-select: none;
+
+    span {
+        font-weight: 800;
+        color: #FFFFFF;
+        font-size: 20px;
+        line-height: 24px;
+        margin-left: 6px;
 
-    .btn-submit {
-        background: #1D9BF0;
-        border-radius: 100px;
-        display: flex;
-        align-items: center;
-        justify-content: center;
-        height: 53px;
-        width: 343px;
-        margin: 0 auto;
-        cursor: pointer;
-        user-select: none;
-
-        span {
-            font-weight: 800;
-            color: #FFFFFF;
-            font-size: 20px;
-            line-height: 24px;
-            margin-left: 6px;
-
-        }
+    }
 
-        img {
-            width: 20px;
-            height: 20px;
-        }
+    img {
+        width: 20px;
+        height: 20px;
+    }
 
 
 
-        .loading {
-            animation: loading 1s infinite linear;
-        }
+    .loading {
+        animation: loading 1s infinite linear;
     }
+}
+
+.area-btn {
+    display: flex;
 
     .refresh {
         display: flex;

+ 2 - 2
src/view/iframe/treasure-hunt/cover.vue

@@ -42,8 +42,8 @@
             <img :src="require('@/assets/svg/icon-three-line.svg')" alt="" />
             <span>to Hunt Treasure</span>
         </div>
-        <v-btn :txt="state.open_btn.txt" :font-size="'17px'" class="btn" :icon="true"
-            :disabled="state.open_btn.disabled" @onClick="clickBtn" :loading="state.btn_loading"></v-btn>
+        <v-btn :txt="state.open_btn.txt" :font-size="'17px'" :icon="true" :disabled="state.open_btn.disabled"
+            @onClick="clickBtn" :loading="state.btn_loading"></v-btn>
     </div>
 
 </template>