|
@@ -27,20 +27,19 @@
|
|
|
<img :src="require('@/assets/svg/icon-three-line.svg')" alt="" />
|
|
|
<span>to Hunt Treasure</span>
|
|
|
</div>
|
|
|
- <div class="btn-submit" @click="clickStart">
|
|
|
- <img :src="require('@/assets/svg/icon-btn-box.svg')" alt="" />
|
|
|
- <span>START</span>
|
|
|
- </div>
|
|
|
+ <v-btn :txt="'Start'"></v-btn>
|
|
|
</div>
|
|
|
|
|
|
</template>
|
|
|
<script setup>
|
|
|
import { inject } from 'vue'
|
|
|
+import VBtn from '@/view/iframe/treasure-hunt/btn.vue'
|
|
|
import VHead from '@/view/iframe/treasure-hunt/head.vue'
|
|
|
let state = inject('state')
|
|
|
|
|
|
const clickStart = () => {
|
|
|
state.page = '邀请页'
|
|
|
+ console.log(state)
|
|
|
}
|
|
|
</script>
|
|
|
<style lang="scss" scoped>
|
|
@@ -193,27 +192,5 @@ const clickStart = () => {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- .btn-submit {
|
|
|
- background: #1D9BF0;
|
|
|
- border-radius: 100px;
|
|
|
- display: flex;
|
|
|
- align-items: center;
|
|
|
- justify-content: center;
|
|
|
- height: 53px;
|
|
|
- width: 343px;
|
|
|
- margin: 0 auto;
|
|
|
- cursor: pointer;
|
|
|
- margin-top: 16px;
|
|
|
- user-select: none;
|
|
|
-
|
|
|
- span {
|
|
|
- font-weight: 800;
|
|
|
- color: #FFFFFF;
|
|
|
- font-size: 20px;
|
|
|
- line-height: 24px;
|
|
|
- margin-left: 6px;
|
|
|
-
|
|
|
- }
|
|
|
- }
|
|
|
}
|
|
|
</style>
|