新增icon和修复toast样式问题 (#42)

This commit is contained in:
张敏
2017-06-19 16:59:25 +08:00
committed by GitHub
parent 82253f872a
commit 6eefa61808
6 changed files with 257 additions and 12 deletions

View File

@@ -2,11 +2,11 @@
@font-face {
font-family: 'vant-icon';
src: url('https://b.yzcdn.cn/zanui/icon/vant-icon-8d0a704edb.eot');
src: url('https://b.yzcdn.cn/zanui/icon/vant-icon-8d0a704edb.eot?#iefix') format('embedded-opentype'),
url('https://b.yzcdn.cn/zanui/icon/vant-icon-8d0a704edb.woff2') format('woff2'),
url('https://b.yzcdn.cn/zanui/icon/vant-icon-8d0a704edb.woff') format('woff'),
url('https://b.yzcdn.cn/zanui/icon/vant-icon-8d0a704edb.ttf') format('truetype')
src: url('https://b.yzcdn.cn/zanui/icon/vant-icon-00a6bb93cd.eot');
src: url('https://b.yzcdn.cn/zanui/icon/vant-icon-00a6bb93cd.eot?#iefix') format('embedded-opentype'),
url('https://b.yzcdn.cn/zanui/icon/vant-icon-00a6bb93cd.woff2') format('woff2'),
url('https://b.yzcdn.cn/zanui/icon/vant-icon-00a6bb93cd.woff') format('woff'),
url('https://b.yzcdn.cn/zanui/icon/vant-icon-00a6bb93cd.ttf') format('truetype')
}
.van-icon {
@@ -85,4 +85,28 @@
.van-icon-peer-pay:before { content: '\e823'; } /* '' */
.van-icon-credit-pay:before { content: '\e824'; } /* '' */
.van-icon-debit-pay:before { content: '\e825'; } /* '' */
.van-icon-other-pay:before { content: '\e826'; } /* '' */
.van-icon-other-pay:before { content: '\e826'; } /* '' */
.van-icon-cart:before { content: '\e827'; } /* '' */
.van-icon-browsing-history:before { content: '\e828'; } /* '' */
.van-icon-goods-collect:before { content: '\e829'; } /* '' */
.van-icon-shop-collect:before { content: '\e82a'; } /* '' */
.van-icon-receive-gift:before { content: '\e82b'; } /* '' */
.van-icon-send-gift:before { content: '\e82c'; } /* '' */
.van-icon-setting:before { content: '\e82d'; } /* '' */
.van-icon-points:before { content: '\e82e'; } /* '' */
.van-icon-coupon:before { content: '\e82f'; } /* '' */
.van-icon-free-postage:before { content: '\e830'; } /* '' */
.van-icon-discount:before { content: '\e831'; } /* '' */
.van-icon-birthday-privilege:before { content: '\e832'; } /* '' */
.van-icon-member-day-privilege:before { content: '\e833'; } /* '' */
.van-icon-balance-details:before { content: '\e834'; } /* '' */
.van-icon-cash-back-record:before { content: '\e835'; } /* '' */
.van-icon-points-mall:before { content: '\e836'; } /* '' */
.van-icon-exchange-record:before { content: '\e837'; } /* '' */
.van-icon-pending-payment:before { content: '\e838'; } /* '' */
.van-icon-pending-orders:before { content: '\e839'; } /* '' */
.van-icon-pending-deliver:before { content: '\e83a'; } /* '' */
.van-icon-pending-evaluate:before { content: '\e83b'; } /* '' */
.van-icon-gift-card-pay:before { content: '\e83c'; } /* '' */
.van-icon-cash-on-deliver:before { content: '\e83d'; } /* '' */
.van-icon-underway:before { content: '\e83e'; } /* '' */

View File

@@ -46,6 +46,7 @@
.van-toast__text {
padding: 15px 0 20px;
font-size: 14px;
line-height: 1.2;
}
}
}