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
a31a89d4
Commit
a31a89d4
authored
May 13, 2019
by
Nature
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'v0.0.1' of
https://hel.hand-china.com/easyUI/hls-easy-ui
into v0.0.1
parents
fe9c36a7
1bf08237
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
28 deletions
+4
-28
index.vue
packages/components/STab/index.vue
+4
-28
No files found.
packages/components/STab/index.vue
View file @
a31a89d4
<
template
>
<section
:class=
"[c(),
tabCss,
cusClass,overFlow]"
>
<section
:style=
"transform"
class=
"tab-content"
>
<section
:class=
"[c(),cusClass,overFlow]"
>
<section
:style=
"transform"
:class=
"[tabCss]"
class=
"tab-content"
>
<slot/>
</section>
</section>
...
...
@@ -81,6 +81,7 @@ export default {
actived
(
index
,
clientWidth
)
{
this
.
activedIndex
=
index
this
.
$emit
(
'tabClick'
,
index
)
this
.
$emit
(
'input'
,
index
)
this
.
scrollToActiveTab
(
index
,
clientWidth
)
},
...
...
@@ -111,6 +112,7 @@ export default {
</
script
>
<
style
lang=
"less"
>
@import "../../common/styles/vue-1px";
.auto-overflow-x {
overflow-x: auto;
}
...
...
@@ -139,32 +141,6 @@ export default {
.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
>
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