detail.vue
3.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
<template>
<div>
<div class="box">
<el-button class="back-btn" @click="goback()">{{ languageLibrary[language].a }}</el-button>
<el-row class="detail-title">
<el-col :span="2"><span class="not-start">进行中</span></el-col>
<el-col :span="6">
<div style="display: flex;flex-direction: column;">
<span style="font-size: 20px;font-weight: bold;margin-bottom: 5px">LPT马来西亚巡回赛</span>
<span>2023-09-08~2023-09-09</span>
</div>
</el-col>
<el-col style="border-left: 1px solid #929AA0;border-right: 1px solid #929AA0" :span="4">
<div style="display: flex;flex-direction: column;text-align: center">
<span style="font-size: 14px;color: #929AA0;margin-bottom: 5px">{{ languageLibrary[language].b }}</span>
<span style="color: #EEEEEE;font-size: 16px">$1111111111111111</span>
</div>
</el-col>
<el-col :span="4">
<div style="display: flex;flex-direction: column;text-align: center">
<span style="font-size: 14px;color: #929AA0;margin-bottom: 5px">{{ languageLibrary[language].c }}</span>
<span style="color: #EEEEEE;font-size: 16px">11111111</span>
</div>
</el-col>
</el-row>
<el-row>
<el-col class="photo-space" :lg="12" v-for="item in itemList">
<div class="photo-img-group">
<img class="photo-img" :src="fillImgUrl('/fs/20250729/image/8638425535731875840.png')">
</div>
</el-col>
</el-row>
</div>
</div>
</template>
<script setup>
import { onMounted, onUnmounted, ref, watch } from 'vue'
import { useRoute, useRouter } from 'vue-router'
import {useStorage} from "@vueuse/core";
const router = useRouter()
const route = useRoute()
const activeName = ref("first")
const language = useStorage('language', 0)
const languageLibrary = ref([{
a:'返回',
b:'总买入费用',
c:'参赛席位',
},{
a:'Return',
b:'Total buy-in fee',
c:'Entry seats',
},{
a:'돌아가기',
b:'총 바이인 금액',
c:'엔트리 수',
},{
a:'戻る',
b:'バイイン総額',
c:'エントリー数',
},{
a:'Quay lại',
b:'Tổng phí Buy-in',
c:'Số ghế tham gia',
}])
const itemList = ref(['a','a','a','a','a','a','a','a','a'])
onMounted(() => {
})
const goback = function () {
router.go(-1)
}
</script>
<style lang="scss" scoped>
.box {
padding: 0 10%;
}
.back-btn {
font-size: 16px;
color: #fff;
background: url("@/assets/v1/arrow_left.png") no-repeat left;
background-size: auto 35px;
padding-left: 35px;
box-shadow: none;
border: none;
}
.detail-title {
color: #fff;
background: #1F2644;
padding: 40px 30px;
border-radius: 15px;
display: flex;
align-items: center;
.not-start {
display: inline-block;
background: #3194FA;
border-radius:6px 0 6px 0;
padding: 0 4px
}
}
.photo-space {
padding: 10px;
}
.photo-img-group {
padding: 20px;
width: 100%;
position: relative;
}
.photo-img {
width: 100%;
aspect-ratio: 2/1;
cursor: pointer;
}
</style>