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
f4b92974
authored
May 27, 2025
by
陆志强
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 修复图片不显示的问题
parent
d2d54c83
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 @
f4b92974
...
@@ -117,7 +117,6 @@ export default {
...
@@ -117,7 +117,6 @@ export default {
...
mapActions
({
...
mapActions
({
getLotteryDetail
:
'lottery/getLotteryDetail'
,
getLotteryDetail
:
'lottery/getLotteryDetail'
,
updateInfo
:
'lottery/updateInfo'
,
updateInfo
:
'lottery/updateInfo'
,
checkPremise
:
'lottery/check_premise'
}),
}),
resetForm
()
{
resetForm
()
{
this
.
form
=
{...
this
.
form
,
...
this
.
editItem
}
this
.
form
=
{...
this
.
form
,
...
this
.
editItem
}
...
...
src/components/Common/AddressPopup/AddressPopup.vue
View file @
f4b92974
...
@@ -131,7 +131,6 @@ export default {
...
@@ -131,7 +131,6 @@ export default {
...
mapActions
({
...
mapActions
({
getLotteryDetail
:
'lottery/getLotteryDetail'
,
getLotteryDetail
:
'lottery/getLotteryDetail'
,
updateInfo
:
'lottery/updateInfo'
,
updateInfo
:
'lottery/updateInfo'
,
checkPremise
:
'lottery/check_premise'
}),
}),
confirmAddress
()
{
confirmAddress
()
{
this
.
$emit
(
'confirm'
,
this
.
addressList
.
find
(
item
=>
item
.
id
===
this
.
chooseItem
.
id
))
this
.
$emit
(
'confirm'
,
this
.
addressList
.
find
(
item
=>
item
.
id
===
this
.
chooseItem
.
id
))
...
...
src/components/Common/ForcePopup.vue
View file @
f4b92974
...
@@ -54,7 +54,6 @@ export default {
...
@@ -54,7 +54,6 @@ export default {
...
mapActions
({
...
mapActions
({
getLotteryDetail
:
'lottery/getLotteryDetail'
,
getLotteryDetail
:
'lottery/getLotteryDetail'
,
updateInfo
:
'lottery/updateInfo'
,
updateInfo
:
'lottery/updateInfo'
,
checkPremise
:
'lottery/check_premise'
}),
}),
goConfig
()
{
goConfig
()
{
Bus
.
$emit
(
'showConfig'
)
Bus
.
$emit
(
'showConfig'
)
...
...
src/components/Lottery/Question/QuestionForm.vue
View file @
f4b92974
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
}">
}">
<template
v-if=
"true"
#
icon
>
<template
v-if=
"true"
#
icon
>
<span
class=
"ques-radio__text"
>
{{
item
.
name
}}
</span>
<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
>
</
template
>
</van-radio>
</van-radio>
</van-radio-group>
</van-radio-group>
...
@@ -38,7 +38,7 @@
...
@@ -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=
""
>
<img
v-else-if=
"Number(answer) === index"
style=
"width: 17px;"
class=
"ques-radio__img"
src=
"@/assets/images/lottery/wrong.png"
alt=
""
>
</div>
</div>
<span
class=
"ques-radio__text"
>
{{
item
.
name
}}
</span>
<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-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=
""
>
<img
v-else-if=
"Number(answer) === index"
style=
"width: 17px;"
class=
"ques-radio__img"
src=
"@/assets/images/lottery/wrong.png"
alt=
""
>
</
template
>
</
template
>
...
...
src/pages/index/index.vue
View file @
f4b92974
...
@@ -75,7 +75,6 @@ export default {
...
@@ -75,7 +75,6 @@ export default {
...
mapActions
({
...
mapActions
({
getLotteryDetail
:
'lottery/getLotteryDetail'
,
getLotteryDetail
:
'lottery/getLotteryDetail'
,
updateInfo
:
'lottery/updateInfo'
,
updateInfo
:
'lottery/updateInfo'
,
checkPremise
:
'lottery/check_premise'
,
checkPrecondition
:
'lottery/check_precondition'
checkPrecondition
:
'lottery/check_precondition'
}),
}),
// 页面进入初始化
// 页面进入初始化
...
...
src/pages/mini/index/index.vue
View file @
f4b92974
...
@@ -80,7 +80,6 @@ export default {
...
@@ -80,7 +80,6 @@ export default {
...
mapActions
({
...
mapActions
({
getLotteryDetail
:
'lottery/getLotteryDetail'
,
getLotteryDetail
:
'lottery/getLotteryDetail'
,
updateInfo
:
'lottery/updateInfo'
,
updateInfo
:
'lottery/updateInfo'
,
checkPremise
:
'lottery/check_premise'
,
checkPrecondition
:
'lottery/check_precondition'
checkPrecondition
:
'lottery/check_precondition'
}),
}),
connectionInit
()
{
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