zhangwei 2 lat temu
rodzic
commit
7058eae3f3

+ 1 - 1
src/view/iframe/treasure-hunt/all-receive-list.vue

@@ -62,9 +62,9 @@ function handleScroll(e) {
     if ((e.clientHeight + e.scrollTop) / e.scrollHeight > .8) {
         if (page_num * page_size == state.receive.list.length) {
             page_num++
+            list()
         }
         list_end = true
-        list()
     }
 }
 

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

@@ -55,7 +55,6 @@ let global_refresh = inject('global_refresh')
 
 watch(global_refresh, () => {
     if (global_refresh.value) {
-        console.log('global_refresh')
         init()
     }
 })
@@ -210,7 +209,7 @@ const boxsStatus = () => {
         display: flex;
         position: absolute;
         bottom: 0px;
-
+        left: 10px;
 
         .item {
             display: flex;

+ 46 - 0
src/view/iframe/treasure-hunt/components/invite-layer.vue

@@ -0,0 +1,46 @@
+<template>
+    <div class="layer">
+        <div>
+            <div class="n1">
+                You Win <span>$0.02 !</span>
+            </div>
+            <div class="n2">Invite Friends to Open the Chest!</div>
+        </div>
+        <div>
+            <div class="n1">
+                You are not <span>Real New follower</span>
+            </div>
+            <div class="n2">Invite Friends to Open the Chest!</div>
+        </div>
+    </div>
+</template>
+<script>
+
+</script>
+<style scoped lang="scss">
+.layer {
+    background: #005A98;
+    opacity: 0.9;
+    width: 100%;
+    height: 83px;
+    text-align: center;
+    z-index: 19;
+
+    .n1 {
+        margin-top: 20px;
+        text-align: center;
+        font-weight: 800;
+        font-size: 18px;
+
+        span {
+            color: #FCB936;
+        }
+    }
+
+    .n2 {
+        margin-top: 10px;
+        font-weight: 800;
+        font-size: 14px;
+    }
+}
+</style>