mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-25 02:41:46 +08:00
[Doc] NoticeBar: update icon link (#2234)
This commit is contained in:
parent
76d85cc8af
commit
1ab2326358
@ -3,7 +3,7 @@
|
|||||||
<demo-block :title="$t('basicUsage')">
|
<demo-block :title="$t('basicUsage')">
|
||||||
<van-notice-bar
|
<van-notice-bar
|
||||||
:text="$t('text')"
|
:text="$t('text')"
|
||||||
left-icon="//img.yzcdn.cn/public_files/2017/8/10/6af5b7168eed548100d9041f07b7c616.png"
|
left-icon="//img.yzcdn.cn/vant/volume.png"
|
||||||
/>
|
/>
|
||||||
</demo-block>
|
</demo-block>
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ Vue.use(NoticeBar);
|
|||||||
```html
|
```html
|
||||||
<van-notice-bar
|
<van-notice-bar
|
||||||
text="Only those who have the patience to do simple things perfectly ever acquire the skill to do difficult things easily."
|
text="Only those who have the patience to do simple things perfectly ever acquire the skill to do difficult things easily."
|
||||||
left-icon="https://img.yzcdn.cn/1.png"
|
left-icon="//img.yzcdn.cn/vant/volume.png"
|
||||||
/>
|
/>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ exports[`renders demo correctly 1`] = `
|
|||||||
<div>
|
<div>
|
||||||
<div class="van-notice-bar" style="color:undefined;background:undefined;">
|
<div class="van-notice-bar" style="color:undefined;background:undefined;">
|
||||||
<div class="van-notice-bar__left-icon">
|
<div class="van-notice-bar__left-icon">
|
||||||
<img src="//img.yzcdn.cn/public_files/2017/8/10/6af5b7168eed548100d9041f07b7c616.png">
|
<img src="//img.yzcdn.cn/vant/volume.png">
|
||||||
</div>
|
</div>
|
||||||
<div class="van-notice-bar__wrap">
|
<div class="van-notice-bar__wrap">
|
||||||
<div class="van-notice-bar__content" style="padding-left:0;animation-delay:1s;animation-duration:0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div>
|
<div class="van-notice-bar__content" style="padding-left:0;animation-delay:1s;animation-duration:0s;">足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。</div>
|
||||||
|
@ -14,7 +14,7 @@ Vue.use(NoticeBar);
|
|||||||
```html
|
```html
|
||||||
<van-notice-bar
|
<van-notice-bar
|
||||||
text="足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。"
|
text="足协杯战线连续第2年上演广州德比战,上赛季半决赛上恒大以两回合5-3的总比分淘汰富力。"
|
||||||
left-icon="https://img.yzcdn.cn/1.png"
|
left-icon="//img.yzcdn.cn/vant/volume.png"
|
||||||
/>
|
/>
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user