Authored by 陈峰

commit

... ... @@ -38,8 +38,12 @@ export default {
<style lang="scss" scoped>
.yoho-tabs-tabpane {
background: #f0f0f0;
width: 100%;
height: 100%;
position: absolute;
overflow: hidden;
top: 0;
left: 0;
right: 0;
bottom: 0;
}
</style>
... ...
... ... @@ -29,7 +29,8 @@ export default {
name: 'Tabs',
props: {
value: {
type: [String, Number]
type: [String, Number],
default: 0
}
},
data() {
... ... @@ -169,6 +170,7 @@ $yoho-tab: yoho-tab;
flex: 1;
overflow: hidden;
height: 100%;
position: relative;
}
.fontcls {
... ...
... ... @@ -195,6 +195,24 @@ export default {
.slide-box {
flex: 1;
/deep/ .cube-slide-group {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
overflow: hidden;
}
/deep/ .cube-scroll-wrapper {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
overflow: hidden;
}
}
.page-wrapper {
... ...