Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
activities
/
web-lottery
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
1
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
78691b08
authored
May 27, 2025
by
陆志强
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/question' into test
parents
9b7516a5
f4b92974
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
2 additions
and
7 deletions
+2
-7
src/components/Common/AddressPopup/AddAddressPopup.vue
+0
-1
src/components/Common/AddressPopup/AddressPopup.vue
+0
-1
src/components/Common/ForcePopup.vue
+0
-1
src/components/Lottery/Question/QuestionForm.vue
+2
-2
src/pages/index/index.vue
+0
-1
src/pages/mini/index/index.vue
+0
-1
No files found.
src/components/Common/AddressPopup/AddAddressPopup.vue
View file @
78691b08
...
...
@@ -117,7 +117,6 @@ export default {
...
mapActions
({
getLotteryDetail
:
'lottery/getLotteryDetail'
,
updateInfo
:
'lottery/updateInfo'
,
checkPremise
:
'lottery/check_premise'
}),
resetForm
()
{
this
.
form
=
{...
this
.
form
,
...
this
.
editItem
}
...
...
src/components/Common/AddressPopup/AddressPopup.vue
View file @
78691b08
...
...
@@ -131,7 +131,6 @@ export default {
...
mapActions
({
getLotteryDetail
:
'lottery/getLotteryDetail'
,
updateInfo
:
'lottery/updateInfo'
,
checkPremise
:
'lottery/check_premise'
}),
confirmAddress
()
{
this
.
$emit
(
'confirm'
,
this
.
addressList
.
find
(
item
=>
item
.
id
===
this
.
chooseItem
.
id
))
...
...
src/components/Common/ForcePopup.vue
View file @
78691b08
...
...
@@ -54,7 +54,6 @@ export default {
...
mapActions
({
getLotteryDetail
:
'lottery/getLotteryDetail'
,
updateInfo
:
'lottery/updateInfo'
,
checkPremise
:
'lottery/check_premise'
}),
goConfig
()
{
Bus
.
$emit
(
'showConfig'
)
...
...
src/components/Lottery/Question/QuestionForm.vue
View file @
78691b08
...
...
@@ -21,7 +21,7 @@
}">
<template
v-if=
"true"
#
icon
>
<span
class=
"ques-radio__text"
>
{{
item
.
name
}}
</span>
<img
v-if=
"item.
img"
v-lazy=
"item.img
"
class=
"ques-radio__img"
alt
@
click
.
stop=
"previewImg(item.pic)"
/>
<img
v-if=
"item.
pic"
v-lazy=
"item.pic
"
class=
"ques-radio__img"
alt
@
click
.
stop=
"previewImg(item.pic)"
/>
</
template
>
</van-radio>
</van-radio-group>
...
...
@@ -38,7 +38,7 @@
<img
v-else-if=
"Number(answer) === index"
style=
"width: 17px;"
class=
"ques-radio__img"
src=
"@/assets/images/lottery/wrong.png"
alt=
""
>
</div>
<span
class=
"ques-radio__text"
>
{{
item
.
name
}}
</span>
<img
v-if=
"item.
img"
v-lazy=
"item.img
"
class=
"ques-radio__img"
alt
@
click
.
stop=
"previewImg(item.pic)"
/>
<img
v-if=
"item.
pic"
v-lazy=
"item.pic
"
class=
"ques-radio__img"
alt
@
click
.
stop=
"previewImg(item.pic)"
/>
<img
v-if=
"item.isRight"
class=
"ques-radio__img"
src=
"@/assets/images/lottery/correct.png"
alt=
""
>
<img
v-else-if=
"Number(answer) === index"
style=
"width: 17px;"
class=
"ques-radio__img"
src=
"@/assets/images/lottery/wrong.png"
alt=
""
>
</
template
>
...
...
src/pages/index/index.vue
View file @
78691b08
...
...
@@ -75,7 +75,6 @@ export default {
...
mapActions
({
getLotteryDetail
:
'lottery/getLotteryDetail'
,
updateInfo
:
'lottery/updateInfo'
,
checkPremise
:
'lottery/check_premise'
,
checkPrecondition
:
'lottery/check_precondition'
}),
// 页面进入初始化
...
...
src/pages/mini/index/index.vue
View file @
78691b08
...
...
@@ -80,7 +80,6 @@ export default {
...
mapActions
({
getLotteryDetail
:
'lottery/getLotteryDetail'
,
updateInfo
:
'lottery/updateInfo'
,
checkPremise
:
'lottery/check_premise'
,
checkPrecondition
:
'lottery/check_precondition'
}),
connectionInit
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment