forked from opentiny/tiny-vue
fix(carousel): modify smb-theme (#2004)
This commit is contained in:
parent
69a65a0a34
commit
ea31e1cae1
|
@ -12,7 +12,6 @@
|
|||
:src="child.cardSrc"
|
||||
custom-class="card-demo"
|
||||
@click="curIndex = childIndex"
|
||||
:status="curIndex === childIndex ? 'success' : ''"
|
||||
>
|
||||
<div>{{ child.content }}</div>
|
||||
</tiny-card>
|
||||
|
@ -100,7 +99,4 @@ const state = reactive({
|
|||
height: 300px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.card-demo:hover {
|
||||
border-color: #1476ff;
|
||||
}
|
||||
</style>
|
||||
|
|
|
@ -12,7 +12,6 @@
|
|||
:src="child.cardSrc"
|
||||
custom-class="card-demo"
|
||||
@click="curIndex = childIndex"
|
||||
:status="curIndex === childIndex ? 'success' : ''"
|
||||
>
|
||||
<div>{{ child.content }}</div>
|
||||
</tiny-card>
|
||||
|
@ -102,11 +101,8 @@ export default {
|
|||
margin-bottom: 20px;
|
||||
}
|
||||
.card-demo {
|
||||
width: 30%;
|
||||
width: 25%;
|
||||
height: 300px;
|
||||
margin-right: 8px;
|
||||
}
|
||||
.card-demo:hover {
|
||||
border-color: #1476ff;
|
||||
}
|
||||
</style>
|
||||
|
|
Loading…
Reference in New Issue