diff --git a/docs/examples-docs/en-US/icon.md b/docs/examples-docs/en-US/icon.md index 14a480ad3..de3855093 100644 --- a/docs/examples-docs/en-US/icon.md +++ b/docs/examples-docs/en-US/icon.md @@ -46,7 +46,7 @@ const icons = [ 'credit-pay', 'debit-pay', 'other-pay', - 'cart', + 'shopping-cart', 'browsing-history', 'goods-collect', 'shop-collect', @@ -78,7 +78,12 @@ const icons = [ 'gift-card', 'coupon', 'completed', - 'value-card' + 'value-card', + 'certificate', + 'tosend', + 'sign', + 'home', + 'phone' ]; const IconListConstructor = Vue.extend({ diff --git a/docs/examples-docs/zh-CN/icon.md b/docs/examples-docs/zh-CN/icon.md index b8bcb7aea..63322f5d6 100644 --- a/docs/examples-docs/zh-CN/icon.md +++ b/docs/examples-docs/zh-CN/icon.md @@ -78,7 +78,7 @@ const icons = [ 'credit-pay', 'debit-pay', 'other-pay', - 'cart', + 'shopping-cart', 'browsing-history', 'goods-collect', 'shop-collect', @@ -110,7 +110,12 @@ const icons = [ 'gift-card', 'coupon', 'completed', - 'value-card' + 'value-card', + 'certificate', + 'tosend', + 'sign', + 'home', + 'phone' ]; const IconListConstructor = Vue.extend({ diff --git a/packages/vant-css/assets/icons.sketch b/packages/vant-css/assets/icons.sketch index cc77e345a..42985d062 100644 Binary files a/packages/vant-css/assets/icons.sketch and b/packages/vant-css/assets/icons.sketch differ diff --git a/packages/vant-css/scripts/fount-config.js b/packages/vant-css/scripts/fount-config.js index 88dbc67bd..7143ef4e4 100644 --- a/packages/vant-css/scripts/fount-config.js +++ b/packages/vant-css/scripts/fount-config.js @@ -214,9 +214,9 @@ module.exports = { css: 'other-pay' }, { - keywords: ['cart'], - src: '购物车.svg', - css: 'cart' + keywords: ['shopping-cart'], + src: '购物车2.svg', + css: 'shopping-cart' }, { keywords: ['browsing', 'history'], @@ -403,6 +403,31 @@ module.exports = { keywords: ['value-card'], src: '会员余额.svg', css: 'value-card' + }, + { + keywords: ['certificate'], + src: '认证.svg', + css: 'certificate' + }, + { + keywords: ['tosend'], + src: '待发货2.svg', + css: 'tosend' + }, + { + keywords: ['sign'], + src: '已完成2.svg', + css: 'sign' + }, + { + keywords: ['home'], + src: '首页.svg', + css: 'home' + }, + { + keywords: ['phone'], + src: '电话.svg', + css: 'phone' } ] }; diff --git a/packages/vant-css/src/icon.css b/packages/vant-css/src/icon.css index 459abd05d..8d59af7f9 100644 --- a/packages/vant-css/src/icon.css +++ b/packages/vant-css/src/icon.css @@ -2,11 +2,11 @@ @font-face { font-family: 'vant-icon'; - src: url('https://b.yzcdn.cn/zanui/icon/vant-icon-6b495bd63f.eot'); - src: url('https://b.yzcdn.cn/zanui/icon/vant-icon-6b495bd63f.eot?#iefix') format('embedded-opentype'), - url('https://b.yzcdn.cn/zanui/icon/vant-icon-6b495bd63f.woff2') format('woff2'), - url('https://b.yzcdn.cn/zanui/icon/vant-icon-6b495bd63f.woff') format('woff'), - url('https://b.yzcdn.cn/zanui/icon/vant-icon-6b495bd63f.ttf') format('truetype') + src: url('https://b.yzcdn.cn/zanui/icon/vant-icon-860d24a3c1.eot'); + src: url('https://b.yzcdn.cn/zanui/icon/vant-icon-860d24a3c1.eot?#iefix') format('embedded-opentype'), + url('https://b.yzcdn.cn/zanui/icon/vant-icon-860d24a3c1.woff2') format('woff2'), + url('https://b.yzcdn.cn/zanui/icon/vant-icon-860d24a3c1.woff') format('woff'), + url('https://b.yzcdn.cn/zanui/icon/vant-icon-860d24a3c1.ttf') format('truetype') } .van-icon { @@ -85,7 +85,7 @@ .van-icon-credit-pay:before { content: '\e824'; } /* '' */ .van-icon-debit-pay:before { content: '\e825'; } /* '' */ .van-icon-other-pay:before { content: '\e826'; } /* '' */ -.van-icon-cart:before { content: '\e827'; } /* '' */ +.van-icon-shopping-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'; } /* '' */ @@ -122,4 +122,9 @@ .van-icon-clock:before { content: '\e849'; } /* '' */ .van-icon-gold-coin:before { content: '\e84a'; } /* '' */ .van-icon-completed:before { content: '\e84b'; } /* '' */ -.van-icon-value-card:before { content: '\e84c'; } /* '' */ \ No newline at end of file +.van-icon-value-card:before { content: '\e84c'; } /* '' */ +.van-icon-certificate:before { content: '\e84d'; } /* '' */ +.van-icon-tosend:before { content: '\e84e'; } /* '' */ +.van-icon-sign:before { content: '\e84f'; } /* '' */ +.van-icon-home:before { content: '\e850'; } /* '' */ +.van-icon-phone:before { content: '\e851'; } /* '' */ \ No newline at end of file