Skip to content

Commit 1ac04ab

Browse files
committed
删除多余组件
1 parent a1afcd2 commit 1ac04ab

9 files changed

Lines changed: 36 additions & 303 deletions

File tree

‎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() {

‎pages/template/nav-bar/nav-bar.vue‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@
3838
</template>
3939

4040
<script>
41-
import uniNavBar from '../../../components/uni-nav-bar.vue'
42-
import uniIcon from '../../../components/uni-icon.vue'
41+
import uniNavBar from '@/components/uni-nav-bar/uni-nav-bar.vue'
42+
import uniIcon from '@/components/uni-icon/uni-icon.vue'
4343
4444
export default {
4545
components: {

‎pages/template/nav-button/nav-button.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
</view>
1313
</template>
1414
<script>
15-
import uniIcon from '../../../components/uni-icon.vue'
15+
import uniIcon from '@/components/uni-icon/uni-icon.vue'
1616
export default {
1717
data() {
1818
return {

0 commit comments

Comments
 (0)