update Card style
This commit is contained in:
parent
d14a61aa66
commit
109eb52dde
3 changed files with 3 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
<Card style="width:350px">
|
||||
<p slot="title">
|
||||
<Icon type="ios-film-outline"></Icon>
|
||||
经典电影
|
||||
<span>经典电影</span>
|
||||
</p>
|
||||
<a href="#" slot="extra" @click.prevent="changeLimit">
|
||||
<Icon type="ios-loop-strong"></Icon>
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<div :class="headClasses" v-if="showHead"><slot name="title">
|
||||
<p v-if="title">
|
||||
<Icon v-if="icon" :type="icon"></Icon>
|
||||
{{title}}
|
||||
<span>{{title}}</span>
|
||||
</p>
|
||||
</slot></div>
|
||||
<div :class="extraClasses" v-if="showExtra"><slot name="extra"></slot></div>
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
p i{
|
||||
p i, p span{
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue