Skip to content

Commit

Permalink
add article img (Tencent#339)
Browse files Browse the repository at this point in the history
* add article img
  • Loading branch information
uxsi authored and progrape committed Apr 27, 2016
1 parent 9ad4230 commit b37830b
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 2 deletions.
Binary file added dist/example/images/pic_article.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/example/images/pic_article_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added dist/example/images/pic_article_2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions dist/example/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -569,6 +569,10 @@ <h3>1.1 节标题</h3>
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute</p>
<p>
<img src="./images/pic_article.png" alt="">
<img src="./images/pic_article.png" alt="">
</p>
</section>
<section>
<h3>1.2 节标题</h3>
Expand Down
10 changes: 9 additions & 1 deletion dist/style/weui.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/style/weui.min.css

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions src/example/fragment/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ <h3>1.1 节标题</h3>
tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam,
quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
consequat. Duis aute</p>
<p>
<img src="./images/pic_article.png" alt="">
<img src="./images/pic_article.png" alt="">
</p>
</section>
<section>
<h3>1.2 节标题</h3>
Expand Down
Binary file added src/example/images/pic_article.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions src/style/widget/weui_page/weui_article.less
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,13 @@
font-weight:400;
font-size: 15px;
}
* {
max-width: 100%;
-webkit-box-sizing: border-box;
box-sizing: border-box;
word-wrap: break-word;
}
p {
margin: 10px 0;
}
}

0 comments on commit b37830b

Please sign in to comment.