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
82993f54
authored
2025-09-08 14:40:01 +0800
by
zrj
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
9.8 lptbug修改
1 parent
ce44d181
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
34 additions
and
11 deletions
src/viewsPc/contest/detail.vue
src/viewsPc/contest/list.vue
src/viewsPc/mall/index.vue
vite.config.js
src/viewsPc/contest/detail.vue
View file @
82993f5
...
...
@@ -17,7 +17,7 @@
<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"
>
{{
projectMainInfo
.
service
Fee
}}
</span>
<span
style=
"color: #EEEEEE;font-size: 16px"
>
{{
contest
Fee
}}
</span>
</div>
</el-col>
<el-col
:span=
"4"
>
...
...
@@ -119,6 +119,7 @@ import {getProjectMain,getProjectTab} from '@/apiPc/webSite'
const
router
=
useRouter
()
const
route
=
useRoute
()
const
contestFee
=
ref
(
0
)
const
activeName
=
ref
(
"first"
)
const
language
=
useStorage
(
'language'
,
0
)
const
languageLibrary
=
ref
([{
...
...
@@ -264,8 +265,8 @@ const getMainInfo = () => {
getProjectMain
(
tId
.
value
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
projectMainInfo
.
value
=
res
.
data
query
.
value
.
cptId
=
res
.
cptId
query
.
value
.
projectId
=
res
.
id
query
.
value
.
cptId
=
res
.
data
.
cptId
query
.
value
.
projectId
=
res
.
data
.
id
getProjectTabList
(
1
)
}
})
...
...
@@ -278,6 +279,9 @@ const getProjectTabList = (n) => {
if
(
res
.
rows
&&
res
.
rows
.
length
>
0
)
{
if
(
n
==
1
)
{
res
.
rows
.
forEach
((
item
,
index
)
=>
{
if
(
index
===
1
)
{
contestFee
.
value
=
item
.
field2
}
projectMainTabA
.
value
[
index
].
field2
=
item
.
field2
})
}
else
{
...
...
@@ -290,6 +294,7 @@ const getProjectTabList = (n) => {
}
const
handleClick
=
(
n
)
=>
{
console
.
log
(
"222222222222222222222222222"
)
let
type
=
+
n
.
index
+
1
getProjectTabList
(
type
)
}
...
...
src/viewsPc/contest/list.vue
View file @
82993f5
...
...
@@ -44,7 +44,7 @@
<el-col
:span=
"12"
>
<div
style=
"display: flex;flex-direction: column;text-align: center"
>
<span
style=
"font-size: 14px;color: #929AA0;margin-bottom: 5px"
>
{{
languageLibrary
[
language
].
d
}}
</span>
<span
style=
"color: #EEEEEE;font-size: 16px"
>
$
{{
item
.
service
Fee
}}
</span>
<span
style=
"color: #EEEEEE;font-size: 16px"
>
$
{{
item
.
total
Fee
}}
</span>
</div>
</el-col>
<el-col
:span=
"12"
>
...
...
@@ -62,7 +62,7 @@
</
template
>
<
script
setup
>
import
{
onMounted
,
ref
}
from
'vue'
import
{
getMain
,
getCompetitionProjectList
}
from
'@/apiPc/webSite'
import
{
getMain
,
getCompetitionProjectList
,
getProjectTab
}
from
'@/apiPc/webSite'
import
{
useRoute
,
useRouter
}
from
'vue-router'
import
{
useStorage
}
from
"@vueuse/core/index"
;
const
route
=
useRoute
()
...
...
@@ -153,6 +153,25 @@ const getList = () => {
getCompetitionProjectList
(
query
.
value
).
then
(
res
=>
{
if
(
res
.
code
===
200
)
{
competitionList
.
value
=
res
.
rows
competitionList
.
value
.
forEach
(
item
=>
{
getProjectTab
({
pageNum
:
1
,
pageSize
:
9999
,
cptId
:
item
.
cptId
,
type
:
'1'
,
projectId
:
item
.
id
,
}).
then
(
res2
=>
{
if
(
res2
.
code
===
200
)
{
if
(
res2
.
rows
&&
res2
.
rows
.
length
>
0
)
{
res2
.
rows
.
forEach
((
x
,
i
)
=>
{
if
(
i
===
1
)
{
item
.
totalFee
=
x
.
field2
}
})
}
}
})
})
}
})
}
...
...
src/viewsPc/mall/index.vue
View file @
82993f5
...
...
@@ -7,10 +7,10 @@
</el-col>
</el-row>
<el-row>
<el-col
class=
"photo-space"
:lg=
"
8
"
v-for=
"item in itemList.slice(0,1)"
>
<el-col
class=
"photo-space"
:lg=
"
24
"
v-for=
"item in itemList.slice(0,1)"
>
<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
.
name
}}
</span>
--
>
</div>
</el-col>
</el-row>
...
...
@@ -75,8 +75,7 @@ const goDetail = (id) => {
.photo-img
{
width
:
100%
;
aspect-ratio
:
2
/
1
;
cursor
:
pointer
;
//
cursor
:
pointer
;
}
.contest-title
{
...
...
vite.config.js
View file @
82993f5
...
...
@@ -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.194: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