|
@@ -1,117 +0,0 @@
|
1
|
|
-<template>
|
2
|
|
- <BackPage>
|
3
|
|
- <div>
|
4
|
|
- <div class="overImage-box">
|
5
|
|
- <img :src="overImage" class="overImage-boxBack" />
|
6
|
|
- </div>
|
7
|
|
- <img v-if="route.query.type =='win'" :src="winTopImage" class="overImage-top-box" />
|
8
|
|
- <img v-else :src="loseTopImage" class="overImage-top-box" />
|
9
|
|
-
|
10
|
|
- <div class="IKnow-box">
|
11
|
|
- <div class="IKnow-box-top">
|
12
|
|
- <img :src="tryAgain" @click="tryAgains" />
|
13
|
|
- <img :src="goShare" @click="goShares" />
|
14
|
|
- </div>
|
15
|
|
- <div class="IKnow-box-bottom">
|
16
|
|
- <img :src="goTop" @click="goTops" />
|
17
|
|
- </div>
|
18
|
|
- </div>
|
19
|
|
- </div>
|
20
|
|
- </BackPage>
|
21
|
|
-</template>
|
22
|
|
-
|
23
|
|
-<script>
|
24
|
|
-import { ref, reactive } from 'vue'
|
25
|
|
-import { useRoute, useRouter } from 'vue-router'
|
26
|
|
-
|
27
|
|
-import overImage from './assets/TipsImage/3-4.png'
|
28
|
|
-import winTopImage from './assets/RoundaboutImage/2-11.png'
|
29
|
|
-import loseTopImage from './assets/RoundaboutImage/2-12.png'
|
30
|
|
-import tryAgain from './assets/ButtonImage/再玩一次.png'
|
31
|
|
-import goShare from './assets/ButtonImage/和好友一起玩.png'
|
32
|
|
-import goTop from './assets/ButtonImage/排行榜.png'
|
33
|
|
-export default {
|
34
|
|
- setup() {
|
35
|
|
- const route = useRoute() //拿参
|
36
|
|
- const router = useRouter() //跳转
|
37
|
|
- const tryAgains = () => {
|
38
|
|
- // 字符串路径
|
39
|
|
- // router.push('/about')
|
40
|
|
- router.back(-1)
|
41
|
|
- }
|
42
|
|
- const goTops = () => {
|
43
|
|
- router.push({
|
44
|
|
- path: '/TopRulePage',
|
45
|
|
- query: {
|
46
|
|
- // type: 'top'
|
47
|
|
- type: 'top'
|
48
|
|
- }
|
49
|
|
- })
|
50
|
|
- }
|
51
|
|
- const goShares = () => {
|
52
|
|
- // router.push({
|
53
|
|
- // path: '/TopRulePage',
|
54
|
|
- // query: {
|
55
|
|
- // // type: 'top'
|
56
|
|
- // type: 'top'
|
57
|
|
- // }
|
58
|
|
- // })
|
59
|
|
- }
|
60
|
|
- goShare
|
61
|
|
-
|
62
|
|
- return {
|
63
|
|
- overImage,
|
64
|
|
- winTopImage,
|
65
|
|
- loseTopImage,
|
66
|
|
- tryAgain,
|
67
|
|
- goShare,
|
68
|
|
- goTop,
|
69
|
|
- route,
|
70
|
|
- tryAgains,
|
71
|
|
- goTops,
|
72
|
|
- goShares
|
73
|
|
- }
|
74
|
|
- }
|
75
|
|
-}
|
76
|
|
-</script>
|
77
|
|
-
|
78
|
|
-
|
79
|
|
-<style lang="less" scoped>
|
80
|
|
-.overImage-box {
|
81
|
|
- width: 100vw;
|
82
|
|
- position: absolute;
|
83
|
|
- top: 13vh;
|
84
|
|
- display: flex;
|
85
|
|
- justify-content: center;
|
86
|
|
- .overImage-boxBack {
|
87
|
|
- width: 93%;
|
88
|
|
- height: 100%;
|
89
|
|
- }
|
90
|
|
-}
|
91
|
|
-.overImage-top-box {
|
92
|
|
- position: absolute;
|
93
|
|
- width: 67%;
|
94
|
|
- top: 9vh;
|
95
|
|
- left: 15vw;
|
96
|
|
-}
|
97
|
|
-.IKnow-box {
|
98
|
|
- position: absolute;
|
99
|
|
- bottom: 7vh;
|
100
|
|
- &-top {
|
101
|
|
- display: flex;
|
102
|
|
- align-items: center;
|
103
|
|
- justify-content: center;
|
104
|
|
- > img {
|
105
|
|
- width: 30%;
|
106
|
|
- }
|
107
|
|
- }
|
108
|
|
- &-bottom {
|
109
|
|
- align-items: center;
|
110
|
|
- justify-content: center;
|
111
|
|
- display: flex;
|
112
|
|
- > img {
|
113
|
|
- width: 30%;
|
114
|
|
- }
|
115
|
|
- }
|
116
|
|
-}
|
117
|
|
-</style>
|