Commit 109eb52ddece981e3cdeada70efd95c54128d23d
1 parent
d14a61aa
update Card style
Showing
3 changed files
with
3 additions
and
3 deletions
Show diff stats
examples/routers/card.vue
@@ -2,7 +2,7 @@ | @@ -2,7 +2,7 @@ | ||
2 | <Card style="width:350px"> | 2 | <Card style="width:350px"> |
3 | <p slot="title"> | 3 | <p slot="title"> |
4 | <Icon type="ios-film-outline"></Icon> | 4 | <Icon type="ios-film-outline"></Icon> |
5 | - 经典电影 | 5 | + <span>经典电影</span> |
6 | </p> | 6 | </p> |
7 | <a href="#" slot="extra" @click.prevent="changeLimit"> | 7 | <a href="#" slot="extra" @click.prevent="changeLimit"> |
8 | <Icon type="ios-loop-strong"></Icon> | 8 | <Icon type="ios-loop-strong"></Icon> |
src/components/card/card.vue
@@ -3,7 +3,7 @@ | @@ -3,7 +3,7 @@ | ||
3 | <div :class="headClasses" v-if="showHead"><slot name="title"> | 3 | <div :class="headClasses" v-if="showHead"><slot name="title"> |
4 | <p v-if="title"> | 4 | <p v-if="title"> |
5 | <Icon v-if="icon" :type="icon"></Icon> | 5 | <Icon v-if="icon" :type="icon"></Icon> |
6 | - {{title}} | 6 | + <span>{{title}}</span> |
7 | </p> | 7 | </p> |
8 | </slot></div> | 8 | </slot></div> |
9 | <div :class="extraClasses" v-if="showExtra"><slot name="extra"></slot></div> | 9 | <div :class="extraClasses" v-if="showExtra"><slot name="extra"></slot></div> |
src/styles/mixins/content.less