Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
杨炀
/
dance-pc
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
a2c38d71
authored
2025-09-19 17:58:27 +0800
by
zrj
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
9.19 lpt修改
1 parent
09036d30
Hide whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
395 additions
and
42 deletions
src/App.vue
src/apiPc/match.js
src/components/FileImport/index.vue
src/components/FileUpload/index.vue
src/components/ImageUpload/index.vue
src/components/ImageUpload/index2.vue
src/layoutPc/components/AppBottom.vue
src/layoutPc/components/AppHeader.vue
src/layoutPc/components/AppTop.vue
src/main.js
src/plugins/modal.js
src/routerPc/en.js
src/utils/request.js
src/views/download/index.vue
src/viewsPc/about/index.vue
src/viewsPc/club/index.vue
src/viewsPc/components/homeQuick.vue
src/viewsPc/components/masterClass.vue
src/viewsPc/components/matchCalendar.vue
src/viewsPc/components/matchCj.vue
src/viewsPc/components/mediaRegister.vue
src/viewsPc/components/orderRemark.vue
src/viewsPc/components/pickup.vue
src/viewsPc/components/querybackNumber.vue
src/viewsPc/components/schSearch.vue
src/viewsPc/contest/detail.vue
src/viewsPc/contest/index.vue
src/viewsPc/contest/list.vue
src/viewsPc/home.vue
src/viewsPc/index.vue
src/viewsPc/instagram/index.vue
src/viewsPc/login.vue
src/viewsPc/mall/index.vue
src/viewsPc/news/detail.vue
src/viewsPc/news/index.vue
src/viewsPc/photo/detail.vue
src/viewsPc/photo/index.vue
src/viewsPc/video/index.vue
vite.config.js
src/App.vue
View file @
a2c38d7
...
...
@@ -14,7 +14,7 @@ import {useStorage} from "@vueuse/core";
const
userStore
=
useUserStore
()
const
{
proxy
}
=
getCurrentInstance
()
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
onMounted
(()
=>
{
document
.
body
.
style
.
setProperty
(
'--el-color-primary'
,
'#0540EC'
)
...
...
src/apiPc/match.js
View file @
a2c38d7
...
...
@@ -888,6 +888,15 @@ export function getNoteList(params) {
})
}
export
function
getNewsTree
(
params
)
{
return
request
({
url
:
`/ztx/notesort/newsTree`
,
method
:
'get'
,
params
})
}
export
function
getNoteDetail
(
id
)
{
return
request
({
url
:
`/ztx/note/
${
id
}
`
,
...
...
src/components/FileImport/index.vue
View file @
a2c38d7
...
...
@@ -116,7 +116,7 @@ const fileOriginalName = ref('')
const
uploadList
=
ref
([])
// const baseUrl = import.meta.env.VITE_APP_BASE_API;
const
uploadFileUrl
=
ref
(
import
.
meta
.
env
.
VITE_APP_BASE_API
+
props
.
action
)
// 上传文件服务器地址
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
headers
=
ref
({
Authorization
:
'Bearer '
+
getToken
(),
[
'Content-Language'
]
:
language
.
value
==
0
?
'zh_CN'
:
'en_US'
,
...
...
src/components/FileUpload/index.vue
View file @
a2c38d7
...
...
@@ -70,7 +70,7 @@ import _ from 'lodash'
import
{
useStorage
}
from
"@vueuse/core/index"
;
// import cache from "@/plugins/cache";
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
props
=
defineProps
({
modelValue
:
[
String
,
Object
,
Array
],
...
...
src/components/ImageUpload/index.vue
View file @
a2c38d7
...
...
@@ -167,7 +167,7 @@ const fileListInUpload = ref([])
const
showTip
=
computed
(
()
=>
props
.
isShowTip
&&
(
props
.
fileType
||
props
.
fileSize
)
)
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
watch
(
...
...
src/components/ImageUpload/index2.vue
View file @
a2c38d7
...
...
@@ -124,7 +124,7 @@ import { reactive } from '@vue/runtime-core'
import
request
from
'@/utils/request'
import
_
from
'lodash'
import
{
useStorage
}
from
"@vueuse/core/index"
;
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
props
=
defineProps
({
modelValue
:
[
String
,
Object
,
Array
],
...
...
src/layoutPc/components/AppBottom.vue
View file @
a2c38d7
...
...
@@ -23,7 +23,7 @@ import {useRouter} from "vue-router";
import
{
ElMessage
}
from
"element-plus"
;
const
router
=
useRouter
()
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
languageLibrary
=
[{
a
:
'版权所有@ LONG POKER INC. ALL RIGHT RESERVED'
,
},{
...
...
src/layoutPc/components/AppHeader.vue
View file @
a2c38d7
...
...
@@ -24,6 +24,7 @@
<el-menu-item
index=
"/mall"
>
{{
languageLibrary
[
language
].
e
}}
</el-menu-item>
<!--
<el-menu-item
index=
"/guide"
>
{{
language
==
0
?
'参赛指南'
:
'GUIDELINE'
}}
</el-menu-item>
-->
<el-menu-item
index=
"/about"
>
{{
languageLibrary
[
language
].
f
}}
</el-menu-item>
<el-menu-item
index=
"/club"
>
{{
languageLibrary
[
language
].
g
}}
</el-menu-item>
<!--
<el-sub-menu
index=
"/about"
>
-->
<!--
<el-menu-item
index=
"/about/wuDaoEn"
>
{{
language
==
0
?
'舞蹈节'
:
'About Us'
}}
</el-menu-item>
-->
...
...
@@ -107,7 +108,7 @@ const registerVisible = ref(false)
const
loginForm
=
ref
({})
const
drawer
=
ref
(
false
)
const
mode
=
ref
(
'horizontal'
)
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
languageSelectList
=
[{
label
:
'中文'
,
value
:
0
,
...
...
@@ -136,6 +137,7 @@ const languageLibrary = [{
d
:
'图片集锦'
,
e
:
'周边商城'
,
f
:
'关于我们'
,
g
:
'俱乐部介绍'
,
},{
a
:
'HOME'
,
b
:
'Event'
,
...
...
@@ -143,6 +145,7 @@ const languageLibrary = [{
d
:
'Gallery'
,
e
:
'Mall'
,
f
:
'About US'
,
g
:
'Club introduction'
,
},{
a
:
'홈'
,
b
:
'이벤트'
,
...
...
@@ -150,6 +153,7 @@ const languageLibrary = [{
d
:
'사진첩'
,
e
:
'몰 / 쇼핑몰'
,
f
:
'회사 소개'
,
g
:
'クラブの紹介'
,
},{
a
:
'ホーム'
,
b
:
'イベント'
,
...
...
@@ -157,6 +161,7 @@ const languageLibrary = [{
d
:
'ギャラリー'
,
e
:
'ショップ'
,
f
:
'会社概要'
,
g
:
'클럽 소개'
,
},{
a
:
'Trang chủ'
,
b
:
'Giải đấu'
,
...
...
@@ -164,6 +169,7 @@ const languageLibrary = [{
d
:
'Thư viện hình ảnh'
,
e
:
'Cửa hàng lưu niệm/ Cửa hàng phụ kiện'
,
f
:
'Giới thiệu'
,
g
:
'Giới thiệu câu lạc bộ'
,
}]
const
user
=
useUserStore
().
user
...
...
@@ -243,7 +249,6 @@ const reFlash = () => {
.logo
{
height
:
60px
;
margin-left
:
40px
;
}
.flex-right
{
...
...
src/layoutPc/components/AppTop.vue
View file @
a2c38d7
...
...
@@ -107,7 +107,7 @@ const registerVisible = ref(false)
const
loginForm
=
ref
({})
const
drawer
=
ref
(
false
)
const
mode
=
ref
(
'horizontal'
)
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
onMounted
(()
=>
{
console
.
log
(
window
.
location
.
href
)
...
...
src/main.js
View file @
a2c38d7
...
...
@@ -60,7 +60,7 @@ import localeEn from 'element-plus/es/locale/lang/en'
import
{
useStorage
}
from
"@vueuse/core/index"
;
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
app
=
createApp
(
App
)
// 全局方法挂载
...
...
src/plugins/modal.js
View file @
a2c38d7
import
{
ElMessage
,
ElMessageBox
,
ElNotification
,
ElLoading
}
from
'element-plus'
import
{
useStorage
}
from
"@vueuse/core/index"
;
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
let
loadingInstance
export
default
{
...
...
src/routerPc/en.js
View file @
a2c38d7
...
...
@@ -176,6 +176,19 @@ export const constantRoutes = [
]
},
{
path
:
'club'
,
component
:
Empty
,
redirect
:
'/club/index'
,
children
:
[
{
path
:
'index'
,
component
:
()
=>
import
(
'@/viewsPc/club/index'
),
name
:
'club'
,
meta
:
{
title
:
''
}
},
]
},
{
path
:
'video'
,
component
:
Empty
,
redirect
:
'/video/index'
,
...
...
src/utils/request.js
View file @
a2c38d7
...
...
@@ -16,7 +16,7 @@ import { sendNotification } from '@/assets/lib/extend'
import
_
from
'lodash'
// const language = cache.local.get('language') || 0
import
{
useStorage
}
from
"@vueuse/core/index"
;
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
let
downloadLoadingInstance
// 是否显示重新登录
export
const
isRelogin
=
{
show
:
false
}
...
...
src/views/download/index.vue
View file @
a2c38d7
...
...
@@ -27,7 +27,7 @@ import {
import
url
from
'@/assets/images/download.png'
import
{
ElLoading
}
from
'element-plus'
import
{
useStorage
}
from
"@vueuse/core/index"
;
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
{
proxy
}
=
getCurrentInstance
()
const
route
=
useRoute
()
const
timer
=
ref
(
null
)
...
...
src/viewsPc/about/index.vue
View file @
a2c38d7
...
...
@@ -49,7 +49,7 @@ import { useRouter } from 'vue-router'
import
{
useStorage
}
from
"@vueuse/core/index"
;
import
*
as
match
from
"@/apiPc/match"
;
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
languageLibrary
=
ref
([{
a
:
'关于我们'
,
b
:
'联系我们'
,
...
...
@@ -101,7 +101,7 @@ onMounted(() => {
const
getMain
=
()
=>
{
match
.
getNoteList
({
sortId
:
6
000
sortId
:
7
000
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
noteId
.
value
=
res
.
rows
[
0
].
noteId
...
...
src/viewsPc/club/index.vue
0 → 100644
View file @
a2c38d7
<
template
>
<div>
<div
class=
"box"
style=
"caret-color: transparent;padding: 0 10%"
>
<div
class=
" mt30"
/>
<div
class=
"flexBody"
>
<el-tabs
v-model=
"activeIndex"
class=
"forPc"
tab-position=
"left"
@
tab-change=
"changeTab"
>
<el-tab-pane
v-for=
"(tab,index) in tabList"
:label=
"tab.label"
:name=
"index"
>
<template
#
label
>
<span
class=
"custom-tabs-label"
>
<span
class=
"tabFont"
>
{{
tab
.
label
}}
</span>
</span>
</
template
>
</el-tab-pane>
</el-tabs>
<div
v-loading=
"loading"
class=
"infoPart"
>
<h3
class=
"leftboderTT"
>
{{ nowTab.name }}
</h3>
<div
class=
"content"
>
<div
v-if=
"content"
v-html=
"content"
/>
<div
v-else
>
<el-empty
/>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<
script
setup
>
import
{
ArrowRight
,
Search
}
from
'@element-plus/icons-vue'
import
{
onMounted
,
ref
}
from
'vue'
import
{
getNewsListById
}
from
'@/apiPc/webSite'
import
{
useRouter
}
from
'vue-router'
import
{
useStorage
}
from
"@vueuse/core/index"
;
import
*
as
match
from
"@/apiPc/match"
;
const
language
=
useStorage
(
'language'
,
1
)
const
languageLibrary
=
ref
([{
a
:
'关于我们'
,
b
:
'联系我们'
,
c
:
'联系人'
,
d
:
'邮箱'
,
e
:
'留言'
,
f
:
'提交'
,
},{
a
:
'About US'
,
b
:
'Contact Us'
,
c
:
'Contact person'
,
d
:
'Email'
,
e
:
'Message'
,
f
:
'Submit'
,
},{
a
:
'회사 소개'
,
b
:
'문의하기'
,
c
:
'담당자'
,
d
:
'이메일'
,
e
:
'메시지'
,
f
:
'Submit'
,
},{
a
:
'会社概要'
,
b
:
'お問い合わせ'
,
c
:
'担当者'
,
d
:
'メールアドレス'
,
e
:
'メッセージ'
,
f
:
'Submit'
,
},{
a
:
'Giới thiệu'
,
b
:
'Liên hệ'
,
c
:
'Người liên hệ'
,
d
:
'Email'
,
e
:
'Tin nhắn'
,
f
:
'Submit'
,
}])
const
router
=
useRouter
()
const
form
=
ref
({
paymentName
:
''
,
payDeptName
:
''
,
})
const
tabList
=
ref
([{
name
:
'俱乐部1'
}])
const
noteId
=
ref
()
const
itemData
=
ref
({})
onMounted
(()
=>
{
getMain
()
})
const
getMain
=
()
=>
{
match
.
getNewsTree
({
code
:
6000
}).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
tabList
.
value
=
res
.
data
[
0
].
children
changeTab
(
0
)
}
})
}
const
getList
=
(
id
)
=>
{
match
.
getNoteDetail
(
id
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
itemData
.
value
=
res
.
data
}
})
}
const
activeIndex
=
ref
(
0
)
const
loading
=
ref
(
false
)
const
nowTab
=
ref
({})
const
content
=
ref
()
const
changeTab
=
(
n
)
=>
{
n
=
Number
(
n
)
activeIndex
.
value
=
n
loading
.
value
=
true
match
.
getNoteList
({
sortId
:
tabList
.
value
[
n
].
code
}).
then
(
res
=>
{
loading
.
value
=
false
if
(
res
.
code
==
200
&&
res
.
rows
.
length
>
0
)
{
match
.
getNoteDetail
(
res
.
rows
[
0
].
noteId
).
then
(
res
=>
{
loading
.
value
=
false
if
(
res
.
data
)
{
content
.
value
=
res
.
data
.
content
}
else
{
content
.
value
=
''
}
})
}
else
{
content
.
value
=
''
}
})
}
</
script
>
<
style
lang=
"scss"
scoped
>
.content
{
margin
:
20px
0
0
;
text-indent
:
2em
;
line-height
:
1.8
;
font-weight
:
400
;
font-size
:
16px
;
color
:
#fff
;
img
{
max-width
:
100%
;
margin
:
20px
auto
;
display
:
block
;
}
h4
{
text-indent
:
0
}
}
h4
.leftboderTT
{
text-indent
:
0
;
font-size
:
20px
;
color
:
var
(
--el-color-primary
);
span
{
color
:
#929AA0
;
font-size
:
16px
;
margin-left
:
5px
;
}
}
.custom-tabs-label
{
display
:
flex
;
font-size
:
21px
;
align-items
:
center
;
}
:deep
(
.el-tabs--left
.el-tabs__item.is-left
)
{
margin
:
0
0
20px
;
}
:deep
(
.el-tabs--left
.el-tabs__active-bar.is-left
)
{
left
:
0
!important
;
right
:
auto
!important
;
display
:
none
;
}
:deep
(
.el-tabs--left
.el-tabs__nav-wrap.is-left
::after
)
{
display
:
none
;
}
:deep
(
.el-tabs__nav
)
{
float
:
none
;
}
:deep
(
.el-tabs
)
{
background
:
#1f2644
;
}
:deep
(
.el-tabs__item
)
{
color
:
#fff
;
border-radius
:
10px
;
background
:
#303758
;
padding
:
22px
20px
;
}
:deep
(
.el-tabs__item.is-active
)
{
background
:
linear-gradient
(
90deg
,
#f2db82
,
#c29c39
);
color
:
#161d39
;
}
:deep
(
.el-tabs__item
:hover
)
{
background
:
linear-gradient
(
90deg
,
#f2db82
,
#c29c39
);
color
:
#161d39
;
}
:deep
(
.el-tabs--left
.el-tabs__header.is-left
)
{
padding
:
30px
0
30px
30px
;
background
:
#1f2644
;
min-width
:
280px
;
}
:deep
(
.el-tabs--left
.el-tabs__item.is-left
,
.el-tabs--right
.el-tabs__item.is-left
)
{
justify-content
:
center
;
}
.tabFont
{
margin-left
:
20px
;
}
.flexBody
{
display
:
flex
;
background
:
#fff
;
margin-bottom
:
20px
;
min-height
:
74vh
;
}
.infoPart
{
background
:
#1f2644
;
padding
:
20px
;
flex
:
1
;
&
>
h3
{
font-size
:
24px
;
color
:
var
(
--el-color-primary
);
}
}
.forWei
{
display
:
none
;
}
@media
(
max-width
:
500px
)
{
.box
{
width
:
100%
}
.forWei
{
display
:
block
;
}
.forPc
{
display
:
none
}
:deep
(
.el-tabs__nav-scroll
)
{
overflow
:
auto
;
}
.flexBody
{
display
:
block
;
background
:
transparent
;
}
.infoPart
{
background
:
#fff
;
padding
:
10px
;
margin
:
0
15px
}
.newsLine
{
.item
{
height
:
50px
;
.date
{
height
:
34px
;
width
:
44px
;
margin
:
0
;
.day
{
font-size
:
16px
;
}
p
{
font-size
:
12px
;
}
}
h3
{
font-size
:
14px
;
}
}
.go
{
display
:
none
;
}
.item-body
{
width
:
80%
;
}
}
}
.wTabtop
{
:deep(.el-tabs__header)
{
background
:
#fff
;
padding
:
10px
15px
0
;
}
:deep
(
.el-tabs__content
)
{
padding
:
0
10px
;
}
}
@media
(
max-width
:
768px
)
{
.infoPart
.leftboderTT
{
font-size
:
16px
;
}
}
</
style
>
src/viewsPc/components/homeQuick.vue
View file @
a2c38d7
...
...
@@ -119,7 +119,7 @@ const props = defineProps({
default
:
''
}
})
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
form
=
ref
({})
const
liveData
=
ref
({})
const
matchId
=
computed
(()
=>
props
.
matchId
);
...
...
src/viewsPc/components/masterClass.vue
View file @
a2c38d7
...
...
@@ -176,7 +176,7 @@ import {masterClassList, getByCard, submitMasterApply, getMasterApply, delByCard
import
dayjs
from
"dayjs"
;
const
{
proxy
}
=
getCurrentInstance
()
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
form
=
ref
({})
const
show
=
ref
(
false
)
const
showR
=
ref
(
false
)
...
...
src/viewsPc/components/matchCalendar.vue
View file @
a2c38d7
...
...
@@ -32,7 +32,7 @@ import { getMaList } from '@/apiPc/match'
const
emit
=
defineEmits
(
[
'selectDate'
])
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
calendarRef
=
ref
(
null
)
const
currentDate
=
ref
()
const
query
=
ref
({
...
...
src/viewsPc/components/matchCj.vue
View file @
a2c38d7
...
...
@@ -34,7 +34,7 @@
<
script
setup
>
import
{
cjList
}
from
'@/assets/js/data'
import
{
useStorage
}
from
"@vueuse/core/index"
;
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
</
script
>
<
style
scoped
lang=
"scss"
>
...
...
src/viewsPc/components/mediaRegister.vue
View file @
a2c38d7
...
...
@@ -95,7 +95,7 @@ import {ElMessageBox} from "element-plus";
import
{
getCurrentInstance
}
from
"@vue/runtime-core"
;
const
{
proxy
}
=
getCurrentInstance
()
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
loading
=
ref
(
false
)
const
show
=
ref
(
false
)
const
title
=
ref
(
''
)
...
...
src/viewsPc/components/orderRemark.vue
View file @
a2c38d7
...
...
@@ -35,7 +35,7 @@ import {useStorage} from "@vueuse/core/index";
const
emit
=
defineEmits
([
'submit'
])
const
{
proxy
}
=
getCurrentInstance
()
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
import
useUserStore
from
"@/store/modules/user"
;
const
user
=
useUserStore
().
user
...
...
src/viewsPc/components/pickup.vue
View file @
a2c38d7
...
...
@@ -247,7 +247,7 @@ import ImageUpload from "@/components/ImageUpload";
import
{
masterClassList
,
getByCard
,
submitMasterApply
,
getMasterApply
,
delByCard
,
addPickup
}
from
"@/apiPc/common"
;
const
{
proxy
}
=
getCurrentInstance
()
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
form
=
ref
({
pickUpBo
:
{
serviceType
:
1
,
...
...
src/viewsPc/components/querybackNumber.vue
View file @
a2c38d7
...
...
@@ -93,7 +93,7 @@ import {ElMessage} from "element-plus";
import
{
getBackNumber
,
getTeamBackNumber
,
getTeamBackNumberPre
}
from
"@/apiPc/common"
;
import
{
useStorage
}
from
"@vueuse/core/index"
;
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
show
=
ref
(
false
)
// const form = ref({})
const
list
=
ref
([])
...
...
src/viewsPc/components/schSearch.vue
View file @
a2c38d7
...
...
@@ -134,7 +134,7 @@ import {
}
from
"@/apiPc/common"
;
import
{
useStorage
}
from
"@vueuse/core/index"
;
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
show
=
ref
(
false
)
// const form = ref({})
const
list
=
ref
([])
...
...
src/viewsPc/contest/detail.vue
View file @
a2c38d7
...
...
@@ -121,7 +121,7 @@ const router = useRouter()
const
route
=
useRoute
()
const
contestFee
=
ref
(
0
)
const
activeName
=
ref
(
"first"
)
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
languageLibrary
=
ref
([{
a
:
'返回'
,
b
:
'总买入费用'
,
...
...
src/viewsPc/contest/index.vue
View file @
a2c38d7
...
...
@@ -68,7 +68,7 @@ import { onMounted, ref } from 'vue'
import
{
getCompetitionList
}
from
'@/apiPc/webSite'
import
{
useRouter
}
from
'vue-router'
import
{
useStorage
}
from
"@vueuse/core/index"
;
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
languageLibrary
=
[{
a
:
'全部'
,
b
:
'未开始'
,
...
...
src/viewsPc/contest/list.vue
View file @
a2c38d7
...
...
@@ -3,7 +3,7 @@
<div
class=
"box"
>
<el-button
class=
"back-btn"
@
click=
"goback()"
>
{{
languageLibrary
[
language
].
a
}}
</el-button>
<div
style=
"position: relative"
>
<
div
class=
"list-title"
/
>
<
img
class=
"list-title"
:src=
"fillImgUrl(mainInfo.bgImgUrl)"
>
<div
style=
"position: absolute;color: #fff;top:15%;left:5%;width: 100%"
>
<el-row
class=
"mg-bottom"
style=
"font-size: 16px;"
>
<div
v-if=
"mainInfo.enrollStatusStr == '未开始'"
style=
"background: #3194FA;border-radius:6px 0 6px 0;padding: 0 4px"
>
{{
languageLibrary
[
language
].
g
}}
</div>
...
...
@@ -67,7 +67,7 @@ import { useRoute, useRouter } from 'vue-router'
import
{
useStorage
}
from
"@vueuse/core/index"
;
const
route
=
useRoute
()
const
router
=
useRouter
()
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
languageLibrary
=
ref
([{
a
:
'返回'
,
b
:
'主赛事'
,
...
...
@@ -213,7 +213,6 @@ const goback = function () {
.list-title
{
width
:
100%
;
background
:
url("@/assets/v1/xq.png")
no-repeat
;
background-size
:
cover
;
aspect-ratio
:
16
/
3
;
}
...
...
src/viewsPc/home.vue
View file @
a2c38d7
...
...
@@ -14,7 +14,7 @@ import {useRouter} from "vue-router";
const
{
proxy
}
=
getCurrentInstance
()
const
router
=
useRouter
()
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
</
script
>
...
...
src/viewsPc/index.vue
View file @
a2c38d7
...
...
@@ -180,7 +180,7 @@ const display = ref([])
const
livelist
=
ref
([])
const
maList
=
ref
([])
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
languageLibrary
=
[{
a
:
'赛事日程'
,
b
:
'更多'
,
...
...
src/viewsPc/instagram/index.vue
View file @
a2c38d7
...
...
@@ -23,7 +23,7 @@ import { useRouter } from 'vue-router'
import
{
useStorage
}
from
"@vueuse/core/index"
;
import
*
as
match
from
"@/apiPc/match"
;
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
languageLibrary
=
[{
a
:
'Instagram'
},{
...
...
src/viewsPc/login.vue
View file @
a2c38d7
...
...
@@ -193,7 +193,7 @@ import * as match from '@/apiPc/match'
import
Cookies
from
'js-cookie'
import
useUserStore
from
'@/store/modules/user'
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
import
{
useRouter
}
from
'vue-router'
import
{
ElMessage
,
ElMessageBox
}
from
'element-plus'
import
cache
from
"@/plugins/cache"
;
...
...
src/viewsPc/mall/index.vue
View file @
a2c38d7
...
...
@@ -10,7 +10,7 @@
<el-col
class=
"photo-space"
:lg=
"8"
v-for=
"item in itemList"
>
<div
class=
"photo-img-group"
>
<img
class=
"photo-img"
:src=
"fillImgUrl(item.picUrl)"
>
<span
style=
"display: block;font-size: 16px;margin:5px 0;color:#fff"
>
{{
item
.
name
}}
</span>
<span
style=
"display: block;font-size: 16px;margin:5px 0;color:#fff"
>
{{
item
.
text
}}
</span>
</div>
</el-col>
</el-row>
...
...
@@ -25,7 +25,7 @@ import { useRouter } from 'vue-router'
import
{
useStorage
}
from
"@vueuse/core/index"
;
import
*
as
match
from
"@/apiPc/match"
;
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
languageLibrary
=
ref
([{
a
:
'周边商城'
,
},{
...
...
src/viewsPc/news/detail.vue
View file @
a2c38d7
...
...
@@ -46,7 +46,7 @@ import * as match from "@/apiPc/match";
const
router
=
useRouter
()
const
route
=
useRoute
()
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
languageLibrary
=
ref
([{
a
:
'返回'
,
},{
...
...
src/viewsPc/news/index.vue
View file @
a2c38d7
...
...
@@ -60,7 +60,7 @@ import {useStorage} from "@vueuse/core/index";
import
*
as
match
from
"@/apiPc/match"
;
import
{
ElMessage
}
from
"element-plus"
;
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
languageLibrary
=
ref
([{
a
:
'新闻资讯'
,
b
:
'查看更多'
,
...
...
src/viewsPc/photo/detail.vue
View file @
a2c38d7
...
...
@@ -52,7 +52,7 @@ import {getMain,getImgList} from '@/apiPc/webSite'
const
router
=
useRouter
()
const
route
=
useRoute
()
const
activeName
=
ref
(
"first"
)
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
languageLibrary
=
ref
([{
a
:
'返回'
,
b
:
'总买入费用'
,
...
...
src/viewsPc/photo/index.vue
View file @
a2c38d7
...
...
@@ -38,7 +38,7 @@ import { getNewsListById } from '@/apiPc/webSite'
import
{
useRouter
}
from
'vue-router'
import
{
useStorage
}
from
"@vueuse/core/index"
;
import
*
as
match
from
"@/apiPc/match"
;
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
languageLibrary
=
[{
a
:
'图片集锦'
},{
...
...
src/viewsPc/video/index.vue
View file @
a2c38d7
...
...
@@ -43,7 +43,7 @@ import { getNewsListById } from '@/apiPc/webSite'
import
{
useRouter
}
from
'vue-router'
import
{
useStorage
}
from
"@vueuse/core/index"
;
import
*
as
match
from
"@/apiPc/match"
;
const
language
=
useStorage
(
'language'
,
0
)
const
language
=
useStorage
(
'language'
,
1
)
const
router
=
useRouter
()
const
searchParam
=
ref
({
status
:
1
,
...
...
vite.config.js
View file @
a2c38d7
...
...
@@ -84,8 +84,8 @@ export default defineConfig(({mode, command}) => {
},
'/dev-api'
:
{
// target: 'http://192.168.1.118:8082/',
// target: 'http://192.168.1.194
:8082',
target
:
'https://www.longpoker.com/stage-api/'
,
target
:
'http://192.168.1.238
:8082'
,
//
target: 'https://www.longpoker.com/stage-api/',
// target: 'http://124.70.181.90:1880/stage-api',
// target: 'https://sys.2025wtcwuxi.com/stage-api/',
changeOrigin
:
true
,
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment