Skip to content

Commit

Permalink
修复图片路径问题
Browse files Browse the repository at this point in the history
  • Loading branch information
KuangPF committed May 2, 2018
1 parent 0ade922 commit 74845b4
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
4 changes: 2 additions & 2 deletions src/pages/article/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
consequat.
</div>
<div class="weui-article__p">
<image class="weui-article__img" src="../../../static/images/pic_article.png" mode="aspectFit" style="height: 180px" />
<image class="weui-article__img" src="../../../static/images/pic_article.png" mode="aspectFit" style="height: 180px" />
<image class="weui-article__img" src="/static/images/pic_article.png" mode="aspectFit" style="height: 180px" />
<image class="weui-article__img" src="/static/images/pic_article.png" mode="aspectFit" style="height: 180px" />
</div>
</div>
<div class="weui-article__section">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/badge/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<div class="weui-cells weui-cells_after-title">
<div class="weui-cell">
<div class="weui-cell__hd" style="position: relative;margin-right: 10px;">
<image src="../../../static/images/pic_160.png" style="width: 50px; height: 50px; display: block"/>
<image src="/static/images/pic_160.png" style="width: 50px; height: 50px; display: block"/>
<div class="weui-badge" style="position: absolute;top: -.4em;right: -.4em;">8</div>
</div>
<div class="weui-cell__bd">
Expand Down
18 changes: 9 additions & 9 deletions src/pages/grid/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ export default {
data () {
return {
grids: [
{ src: '../../../static/images/icon_nav_button.png', name: 'Button' },
{ src: '../../../static/images/icon_nav_cell.png', name: 'Cell' },
{ src: '../../../static/images/icon_nav_toast.png', name: 'Toast' },
{ src: '../../../static/images/icon_nav_dialog.png', name: 'Dialog' },
{ src: '../../../static/images/icon_nav_button.png', name: 'Progress' },
{ src: '../../../static/images/icon_nav_panel.png', name: 'Msg' },
{ src: '../../../static/images/icon_nav_article.png', name: 'Article' },
{ src: '../../../static/images/icon_nav_actionSheet.png', name: 'ActionSheet' },
{ src: '../../../static/images/icon_nav_icons.png', name: 'Icons' }
{ src: '/static/images/icon_nav_button.png', name: 'Button' },
{ src: '/static/images/icon_nav_cell.png', name: 'Cell' },
{ src: '/static/images/icon_nav_toast.png', name: 'Toast' },
{ src: '/static/images/icon_nav_dialog.png', name: 'Dialog' },
{ src: '/static/images/icon_nav_button.png', name: 'Progress' },
{ src: '/static/images/icon_nav_panel.png', name: 'Msg' },
{ src: '/static/images/icon_nav_article.png', name: 'Article' },
{ src: '/static/images/icon_nav_actionSheet.png', name: 'ActionSheet' },
{ src: '/static/images/icon_nav_icons.png', name: 'Icons' }
]
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/pages/input/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
<input class="weui-input" placeholder="请输入验证码" />
</div>
<div class="weui-cell__ft">
<image class="weui-vcode-img" src="../../../static/images/vcode.jpg" style="width: 108px"></image>
<image class="weui-vcode-img" src="/static/images/vcode.jpg" style="width: 108px"></image>
</div>
</div>
</div>
Expand Down
8 changes: 4 additions & 4 deletions src/pages/uploader/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,16 @@
</div>
</div>
<div class="weui-uploader__file">
<image class="weui-uploader__img" src="../../../static/images/pic_160.png" mode="aspectFill" />
<image class="weui-uploader__img" src="/static/images/pic_160.png" mode="aspectFill" />
</div>
<div class="weui-uploader__file">
<image class="weui-uploader__img" src="../../../static/images/pic_160.png" mode="aspectFill" />
<image class="weui-uploader__img" src="/static/images/pic_160.png" mode="aspectFill" />
</div>
<div class="weui-uploader__file">
<image class="weui-uploader__img" src="../../../static/images/pic_160.png" mode="aspectFill" />
<image class="weui-uploader__img" src="/static/images/pic_160.png" mode="aspectFill" />
</div>
<div class="weui-uploader__file weui-uploader__file_status">
<image class="weui-uploader__img" src="../../../static/images/pic_160.png" mode="aspectFill" />
<image class="weui-uploader__img" src="/static/images/pic_160.png" mode="aspectFill" />
<div class="weui-uploader__file-content">
<icon type="warn" size="23" color="#F43530"></icon>
</div>
Expand Down

0 comments on commit 74845b4

Please sign in to comment.