Skip to content

Commit

Permalink
更新示例工程:hello-uniapp
Browse files Browse the repository at this point in the history
  • Loading branch information
hulinNeil committed Sep 20, 2018
1 parent 2718050 commit a257c75
Show file tree
Hide file tree
Showing 47 changed files with 5 additions and 80 deletions.
4 changes: 3 additions & 1 deletion examples/hello-uniapp/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@

<style>
/* 这是页面的公用css */
@import "./common/uni.css";
page {
background-color: #F8F8F8;
height: 100%;
Expand Down
2 changes: 0 additions & 2 deletions examples/hello-uniapp/pages/API/clipboard/clipboard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@
</script>

<style>
@import "../../../common/uni.css";
.uni-list-cell {
padding: 0upx 30upx;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@
</script>

<style>
@import "../../../common/uni.css";
.uni-pd {
padding-left: 30upx;
}
Expand Down
2 changes: 0 additions & 2 deletions examples/hello-uniapp/pages/API/image/image.vue
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,6 @@
</script>

<style>
@import "../../../common/uni.css";
.cell-pd {
padding: 22upx 30upx;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
</script>

<style>
@import "../../../common/uni.css";
.page-body-info {
height: 250upx;
}
Expand Down
2 changes: 0 additions & 2 deletions examples/hello-uniapp/pages/API/scan-code/scan-code.vue
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@
</script>

<style>
@import "../../../common/uni.css";
.uni-input {
padding: 15upx 30upx;
word-break: break-all;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,4 @@
}
}
</script>

<style>
@import "../../../common/uni.css";
</style>

2 changes: 0 additions & 2 deletions examples/hello-uniapp/pages/API/share/share.vue
Original file line number Diff line number Diff line change
Expand Up @@ -263,8 +263,6 @@
</script>

<style>
@import "../../../common/uni.css";
.textarea-wrp {
padding: 0 20upx;
}
Expand Down
1 change: 0 additions & 1 deletion examples/hello-uniapp/pages/API/storage/storage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,6 @@
</script>

<style>
@import "../../../common/uni.css";
.btn-setstorage {
background-color: #007aff;
color: #ffffff;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@
</script>

<style>
@import "../../../common/uni.css";
.image {
width: 100%;
height: 360upx;
Expand Down
1 change: 0 additions & 1 deletion examples/hello-uniapp/pages/API/video/video.vue
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
</script>

<style>
@import "../../../common/uni.css";
.page-body-info {
display: flex;
margin-top: 40upx;
Expand Down
2 changes: 0 additions & 2 deletions examples/hello-uniapp/pages/component/checkbox/checkbox.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,6 @@
</script>

<style>
@import "../../../common/uni.css";
.uni-list-cell {
justify-content: flex-start
}
Expand Down
1 change: 0 additions & 1 deletion examples/hello-uniapp/pages/component/form/form.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,6 @@
</script>

<style>
@import "../../../common/uni.css";
label {
display: flex;
flex-direction: row;
Expand Down
1 change: 0 additions & 1 deletion examples/hello-uniapp/pages/component/input/input.vue
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@
</script>

<style>
@import "../../../common/uni.css";
@import "../../../common/icon.css";
.page-section {
margin-bottom: 20upx;
Expand Down
1 change: 0 additions & 1 deletion examples/hello-uniapp/pages/component/picker/picker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
</script>

<style>
@import "../../../common/uni.css";
.uni-list-cell {
justify-content: flex-start;
}
Expand Down
2 changes: 0 additions & 2 deletions examples/hello-uniapp/pages/component/radio/radio.vue
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,6 @@
</script>

<style>
@import "../../../common/uni.css";
.uni-list-cell {
justify-content: flex-start
}
Expand Down
2 changes: 0 additions & 2 deletions examples/hello-uniapp/pages/component/swiper/swiper.vue
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,6 @@
</script>

<style>
@import "../../../common/uni.css";
.swiper-item {
display: block;
height: 300upx;
Expand Down
5 changes: 1 addition & 4 deletions examples/hello-uniapp/pages/component/switch/switch.vue
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,4 @@
}
}
</script>

<style>
@import "../../../common/uni.css";
</style>

2 changes: 0 additions & 2 deletions examples/hello-uniapp/pages/component/video/video.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,6 @@
</script>

<style>
@import "../../../common/uni.css";
button {
background-color: #007aff;
color: #ffffff;
Expand Down
2 changes: 0 additions & 2 deletions examples/hello-uniapp/pages/component/view/view.vue
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,6 @@
</script>

<style>
@import "../../../common/uni.css";
.flex-item {
width: 200upx;
height: 300upx;
Expand Down
2 changes: 0 additions & 2 deletions examples/hello-uniapp/pages/tabBar/API/API.vue
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,6 @@
</script>

<style>
@import "../../../common/uni.css";
.index{
padding-bottom: 1upx;
}
Expand Down
2 changes: 0 additions & 2 deletions examples/hello-uniapp/pages/tabBar/component/component.vue
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,6 @@
</script>

<style>
@import "../../../common/uni.css";
.index {
padding-bottom: 1upx;
}
Expand Down
2 changes: 0 additions & 2 deletions examples/hello-uniapp/pages/tabBar/template/template.vue
Original file line number Diff line number Diff line change
Expand Up @@ -193,8 +193,6 @@
</script>

<style>
@import "../../../common/uni.css";
.index {
padding-bottom: 1upx;
}
Expand Down
2 changes: 0 additions & 2 deletions examples/hello-uniapp/pages/template/accordion/accordion.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,6 @@
</script>

<style>
@import "../../../common/uni.css";
.page {
padding-top: 60upx;
}
Expand Down
2 changes: 0 additions & 2 deletions examples/hello-uniapp/pages/template/badge/badge.vue
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,6 @@
</script>

<style>
@import "../../../common/uni.css";
.page {
padding-top: 60upx;
}
Expand Down
2 changes: 0 additions & 2 deletions examples/hello-uniapp/pages/template/cardview/cardview.vue
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,6 @@
</script>

<style>
@import "../../../common/uni.css";
.page {
padding-top: 60upx;
}
Expand Down
2 changes: 0 additions & 2 deletions examples/hello-uniapp/pages/template/drawer/drawer.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,6 @@
</script>

<style>
@import "../../../common/uni.css";
.header {
display: flex;
flex-direction: row;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@
</script>

<style>
@import "../../../common/uni.css";
.page {
padding-top: 60upx;
}
Expand Down
1 change: 0 additions & 1 deletion examples/hello-uniapp/pages/template/grid/grid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
</script>

<style>
@import "../../../common/uni.css";
.page {
padding-top: 60upx;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@
</script>

<style>
@import "../../../common/uni.css";
.page {
display: flex;
flex-direction: row;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,6 @@
</script>

<style>
@import "../../../common/uni.css";
.content {
font-size: 30upx;
line-height: 50upx;
Expand Down
2 changes: 0 additions & 2 deletions examples/hello-uniapp/pages/template/lazy-load/lazy-load.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@
</script>

<style>
@import "../../../common/uni.css";
.content {
font-size: 30upx;
line-height: 50upx;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
</script>

<style>
@import "../../../common/uni.css";
.page {
padding-top: 60upx;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@
</script>

<style>
@import "../../../common/uni.css";
.page {
padding-top: 60upx;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,6 @@
</script>

<style>
@import "../../../common/uni.css";
.page {
padding-top: 60upx;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
</script>

<style>
@import "../../../common/uni.css";
page {
background: #efeff4;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,6 @@
</script>

<style>
@import "../../../common/uni.css";
page {
background: #efeff4;
}
Expand Down
2 changes: 0 additions & 2 deletions examples/hello-uniapp/pages/template/load-more/load-more.vue
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,6 @@
</script>

<style>
@import "../../../common/uni.css";
.list-view {
padding: 0 30upx;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,6 @@
</script>

<style>
@import "../../../common/uni.css";
.page {
background: #efeff4;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
</script>

<style>
@import "../../../common/uni.css";
.page {
padding-top: 60upx;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,6 @@
</script>

<style>
@import "../../../common/uni.css";
.page {
padding-top: 60upx;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@
</script>

<style>
@import "../../../common/uni.css";
image,
swiper,
.img-view {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@
}
</script>
<style>
@import "../../../common/uni.css";
page {
background: #efeff4;
}
Expand Down
1 change: 0 additions & 1 deletion examples/hello-uniapp/pages/template/qrcode/qrcode.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@
</script>

<style>
@import "../../../common/uni.css";
@import "../../../common/icon.css";
.page-section {
margin-bottom: 20upx;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@
</script>

<style>
@import "../../../common/uni.css";
.head {
padding: 0 20upx;
margin-top: 20upx;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@
</script>

<style>
@import "../../../common/uni.css";
page {
background-color: #EFEFF4;
}
Expand Down
Loading

0 comments on commit a257c75

Please sign in to comment.