Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
lottery
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hewenhao
lottery
Commits
574a0fd0
Commit
574a0fd0
authored
Aug 27, 2022
by
rookie0701
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: fix
parent
c1905f8c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
31 additions
and
23 deletions
+31
-23
Result.vue
src/components/Result.vue
+31
-23
No files found.
src/components/Result.vue
View file @
574a0fd0
...
...
@@ -15,29 +15,31 @@
(点击号码可以删除)
</span>
</div>
<div
v-for=
"(item, index) in resultList"
:key=
"index"
class=
"listrow"
>
<span
class=
"name"
:class=
"
{ 'is-empty': item.value
&&
item.value.length === 0 }">
{{
item
.
name
}}
</span>
<div
class=
"value"
>
<span
v-if=
"item.value && item.value.length === 0"
>
暂未抽奖
<el-scrollbar
class=
"cc-container"
:wrap-style=
"'max-height:700px;'"
>
<div
v-for=
"(item, index) in resultList"
:key=
"index"
class=
"listrow"
>
<span
class=
"name"
:class=
"
{ 'is-empty': item.value
&&
item.value.length === 0 }">
{{
item
.
name
}}
</span>
<div
class=
"card"
v-for=
"(data, j) in item.value"
:key=
"j"
@
click=
"deleteRes(data.index, item)"
>
{{
data
.
name
||
data
.
index
}}
<img
src=
"~@/assets/delete-icon.svg"
/>
<div
class=
"value"
>
<span
v-if=
"item.value && item.value.length === 0"
>
暂未抽奖
</span>
<div
class=
"card"
v-for=
"(data, j) in item.value"
:key=
"j"
@
click=
"deleteRes(data.index, item)"
>
{{
data
.
name
||
data
.
index
}}
<img
src=
"~@/assets/delete-icon.svg"
/>
</div>
</div>
</div>
</
div
>
</
el-scrollbar
>
</art-dialog>
</
template
>
<
script
>
...
...
@@ -108,9 +110,15 @@ export default {
</
script
>
<
style
lang=
"scss"
>
.c-Result
{
.el-dialog__body
{
max-height
:
500px
;
overflow-y
:
auto
;
.cc-container
{
.el-scrollbar__bar.is-horizontal
{
display
:
none
;
::-webkit-scrollbar
{
background-color
:
transparent
;
display
:
none
;
}
}
}
.listrow
{
display
:
flex
;
...
...
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