Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-easy-ui
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
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
easyUI
hls-easy-ui
Commits
a61480e7
Commit
a61480e7
authored
May 08, 2019
by
JingChao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update index.vue
parent
6b46a0e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
29 deletions
+4
-29
index.vue
packages/components/STab/index.vue
+4
-29
No files found.
packages/components/STab/index.vue
View file @
a61480e7
<
template
>
<
template
>
<section
:class=
"[c(),
tabCss,
cusClass,overFlow]"
>
<section
:class=
"[c(),cusClass,overFlow]"
>
<section
:style=
"transform"
class=
"tab-content"
>
<section
:style=
"transform"
:class=
"[tabCss]"
class=
"tab-content"
>
<slot/>
<slot/>
</section>
</section>
</section>
</section>
...
@@ -10,7 +10,7 @@ import { base } from '../../common/mixins'
...
@@ -10,7 +10,7 @@ import { base } from '../../common/mixins'
import
stabItem
from
'./tab-item'
import
stabItem
from
'./tab-item'
export
default
{
export
default
{
name
:
'S
witch
Tab'
,
name
:
'STab'
,
mixins
:
[
base
],
mixins
:
[
base
],
component
:
{
stabItem
},
component
:
{
stabItem
},
props
:
{
props
:
{
...
@@ -112,6 +112,7 @@ export default {
...
@@ -112,6 +112,7 @@ export default {
</
script
>
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
>
@import "../../common/styles/vue-1px";
.auto-overflow-x {
.auto-overflow-x {
overflow-x: auto;
overflow-x: auto;
}
}
...
@@ -140,32 +141,6 @@ export default {
...
@@ -140,32 +141,6 @@ export default {
.setTopLine();
.setTopLine();
}
}
}
}
.setTopLine(@c: rgba(0,0,0,.1)) {
content: " ";
position: absolute;
left: 0;
top: 0;
right: 0;
height: 1px;
border-top: 1px solid @c; /*no*/
color: @c;
transform-origin: 0 0;
transform: scaleY(0.5);
}
.setBottomLine(@c: rgba(0,0,0,.1)) {
content: " ";
position: absolute;
left: 0;
bottom: 0;
right: 0;
height: 1px;
border-bottom: 1px solid @c; /*no*/
color: @c;
transform-origin: 0 100%;
transform: scaleY(0.5);
}
}
}
</
style
>
</
style
>
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