Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
VueElementTemplate
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
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
HireTest
VueElementTemplate
Commits
f99b97d9
Commit
f99b97d9
authored
7 years ago
by
Pan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: change DndList name
parent
99417081
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
index.vue
src/components/DndList/index.vue
+6
-6
dndList.vue
src/views/components/dndList.vue
+1
-1
No files found.
src/components/
two
DndList/index.vue
→
src/components/DndList/index.vue
View file @
f99b97d9
<
template
>
<
template
>
<div
class=
"
twoD
ndList"
>
<div
class=
"
d
ndList"
>
<div
class=
"
twoD
ndList-list"
:style=
"
{width:width1}">
<div
class=
"
d
ndList-list"
:style=
"
{width:width1}">
<h3>
{{
list1Title
}}
</h3>
<h3>
{{
list1Title
}}
</h3>
<draggable
:list=
"list1"
class=
"dragArea"
:options=
"
{group:'article'}">
<draggable
:list=
"list1"
class=
"dragArea"
:options=
"
{group:'article'}">
<div
class=
"list-complete-item"
v-for=
"element in list1"
:key=
'element.id'
>
<div
class=
"list-complete-item"
v-for=
"element in list1"
:key=
'element.id'
>
...
@@ -13,7 +13,7 @@
...
@@ -13,7 +13,7 @@
</div>
</div>
</draggable>
</draggable>
</div>
</div>
<div
class=
"
twoD
ndList-list"
:style=
"
{width:width2}">
<div
class=
"
d
ndList-list"
:style=
"
{width:width2}">
<h3>
{{
list2Title
}}
</h3>
<h3>
{{
list2Title
}}
</h3>
<draggable
:list=
"filterList2"
class=
"dragArea"
:options=
"
{group:'article'}">
<draggable
:list=
"filterList2"
class=
"dragArea"
:options=
"
{group:'article'}">
<div
class=
"list-complete-item"
v-for=
"element in filterList2"
:key=
'element.id'
>
<div
class=
"list-complete-item"
v-for=
"element in filterList2"
:key=
'element.id'
>
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
import
draggable
from
'vuedraggable'
import
draggable
from
'vuedraggable'
export
default
{
export
default
{
name
:
'
two
DndList'
,
name
:
'DndList'
,
components
:
{
draggable
},
components
:
{
draggable
},
computed
:
{
computed
:
{
filterList2
()
{
filterList2
()
{
...
@@ -97,7 +97,7 @@ export default {
...
@@ -97,7 +97,7 @@ export default {
</
script
>
</
script
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
scoped
>
<
style
rel=
"stylesheet/scss"
lang=
"scss"
scoped
>
.
twoD
ndList
{
.
d
ndList
{
background
:
#fff
;
background
:
#fff
;
padding-bottom
:
40px
;
padding-bottom
:
40px
;
&
:after
{
&
:after
{
...
@@ -105,7 +105,7 @@ export default {
...
@@ -105,7 +105,7 @@ export default {
display
:
table
;
display
:
table
;
clear
:
both
;
clear
:
both
;
}
}
.
twoD
ndList-list
{
.
d
ndList-list
{
float
:
left
;
float
:
left
;
padding-bottom
:
30px
;
padding-bottom
:
30px
;
&
:first-of-type
{
&
:first-of-type
{
...
...
This diff is collapsed.
Click to expand it.
src/views/components/dndList.vue
View file @
f99b97d9
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
import
DndList
from
'@/components/
two
DndList'
import
DndList
from
'@/components/DndList'
import
{
fetchList
}
from
'@/api/article'
import
{
fetchList
}
from
'@/api/article'
export
default
{
export
default
{
...
...
This diff is collapsed.
Click to expand it.
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