Commit 109eb52ddece981e3cdeada70efd95c54128d23d

Authored by 梁灏
1 parent d14a61aa

update Card style

examples/routers/card.vue
... ... @@ -2,7 +2,7 @@
2 2 <Card style="width:350px">
3 3 <p slot="title">
4 4 <Icon type="ios-film-outline"></Icon>
5   - 经典电影
  5 + <span>经典电影</span>
6 6 </p>
7 7 <a href="#" slot="extra" @click.prevent="changeLimit">
8 8 <Icon type="ios-loop-strong"></Icon>
... ...
src/components/card/card.vue
... ... @@ -3,7 +3,7 @@
3 3 <div :class="headClasses" v-if="showHead"><slot name="title">
4 4 <p v-if="title">
5 5 <Icon v-if="icon" :type="icon"></Icon>
6   - {{title}}
  6 + <span>{{title}}</span>
7 7 </p>
8 8 </slot></div>
9 9 <div :class="extraClasses" v-if="showExtra"><slot name="extra"></slot></div>
... ...
src/styles/mixins/content.less
... ... @@ -19,7 +19,7 @@
19 19 text-overflow: ellipsis;
20 20 white-space: nowrap;
21 21 }
22   - p i{
  22 + p i, p span{
23 23 vertical-align: middle;
24 24 }
25 25 }
... ...