Skip to content

Commit 0fe0181

Browse files
committed
Merge branch 'dev' of github.com:dcloudio/hello-uniapp into dev
2 parents faaa8d6 + 1ac04ab commit 0fe0181

11 files changed

Lines changed: 57 additions & 317 deletions

File tree

‎components/uParse/src/components/wxParseTemplate1.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<template>
2-
<view :class="node.node == 'element' && node.tag == 'li' ? node.classStr : ''">
2+
<view :class="(node.tag == 'li' ? node.classStr : (node.node==='text'?'text':''))">
33
<!--判断是否是标签节点-->
44
<block v-if="node.node == 'element'">
55
<block v-if="node.tag == 'button'">

‎components/uParse/src/wxParse.css‎

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -32,41 +32,42 @@
3232
padding: 0;
3333
}
3434

35-
.wxParse .h1>view {
35+
.wxParse .h1 .text {
3636
font-size: 2em;
3737
margin: 0.67em 0;
3838
}
39-
.wxParse .h2>view {
39+
.wxParse .h2 .text {
4040
font-size: 1.5em;
4141
margin: 0.83em 0;
4242
}
43-
.wxParse .h3>view {
43+
.wxParse .h3 .text {
4444
font-size: 1.17em;
4545
margin: 1em 0;
4646
}
47-
.wxParse .h4>view {
47+
.wxParse .h4 .text {
4848
margin: 1.33em 0;
4949
}
50-
.wxParse .h5>view {
50+
.wxParse .h5 .text {
5151
font-size: 0.83em;
5252
margin: 1.67em 0;
5353
}
54-
.wxParse .h6>view {
54+
.wxParse .h6 .text {
5555
font-size: 0.67em;
5656
margin: 2.33em 0;
5757
}
5858

59-
.wxParse .h1>view,
60-
.wxParse .h2>view,
61-
.wxParse .h3>view,
62-
.wxParse .h4>view,
63-
.wxParse .h5>view,
64-
.wxParse .h6>view,
59+
.wxParse .h1 .text,
60+
.wxParse .h2 .text,
61+
.wxParse .h3 .text,
62+
.wxParse .h4 .text,
63+
.wxParse .h5 .text,
64+
.wxParse .h6 .text,
6565
.wxParse .b,
6666
.wxParse .strong {
6767
font-weight: bolder;
6868
}
6969

70+
7071
.wxParse .p {
7172
margin: 1em 0;
7273
}
@@ -169,7 +170,13 @@
169170
.wxParse .ol {
170171
list-style-type: decimal;
171172
}
172-
.wxParse .li {
173+
.wxParse .ol>weixin-parse-template,.wxParse .ul>weixin-parse-template {
174+
display: list-item;
175+
align-items: baseline;
176+
text-align: match-parent;
177+
}
178+
179+
.wxParse .ol>.li,.wxParse .ul>.li {
173180
display: list-item;
174181
align-items: baseline;
175182
text-align: match-parent;

‎components/uni-icon.vue‎

Lines changed: 0 additions & 33 deletions
This file was deleted.

‎components/uni-nav-bar.vue‎

Lines changed: 0 additions & 209 deletions
This file was deleted.

‎components/uni-status-bar.vue‎

Lines changed: 0 additions & 30 deletions
This file was deleted.

‎pages/component/progress/progress.vue‎

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@
1919
</view>
2020
</template>
2121
<script>
22-
import uniIcon from '../../../components/uni-icon.vue'
22+
import uniIcon from '@/components/uni-icon/uni-icon.vue'
2323
export default {
2424
data() {
2525
return {
2626
title: 'progress'
2727
}
2828
},
29-
components: {
30-
uniIcon
31-
},
29+
components: {
30+
uniIcon
31+
},
3232
}
3333
</script>
3434

@@ -38,7 +38,12 @@
3838
height: 50upx;
3939
margin-bottom: 60upx;
4040
}
41+
42+
.uni-icon {
43+
line-height: 1.5;
44+
}
45+
4146
.progress-cancel {
4247
margin-left: 40upx;
4348
}
44-
</style>
49+
</style>

‎pages/template/fab/fab.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
</template>
3939

4040
<script>
41-
import uniIcon from '@/components/uni-icon.vue';
41+
import uniIcon from '@/components/uni-icon/uni-icon.vue';
4242
import uniFab from '@/components/uni-fab.vue';
4343
export default {
4444
data() {

0 commit comments

Comments
 (0)