Skip to content

Commit

Permalink
Merge branch 'master' of github.com:dcloudio/uni-app
Browse files Browse the repository at this point in the history
  • Loading branch information
zhetengbiji committed Nov 12, 2018
2 parents 1947451 + 8ffd6b0 commit e2681df
Show file tree
Hide file tree
Showing 106 changed files with 2,066 additions and 2,862 deletions.
241 changes: 24 additions & 217 deletions examples/hello-uniapp/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,229 +41,36 @@
}
}
</script>

<style>
/* 这是页面的公用css */
/* uni.css - 通用组件、模板样式库,可以当作一套ui库应用 */
@import "./common/uni.css";
/* 以下样式用于 hello uni-app 演示所需 */
page {
background-color: #F8F8F8;
background-color:#F4F5F6;
height: 100%;
font-size: 32upx;
line-height: 1.6;
}
checkbox,
radio {
margin-right: 10upx;
}
button {
margin-top: 20upx;
margin-bottom: 20upx;
}
form {
width: 100%;
}
/* page */
.container {
display: flex;
flex-direction: column;
min-height: 100%;
justify-content: space-between;
font-size: 32upx;
font-family: -apple-system-font, Helvetica Neue, Helvetica, sans-serif;
}
.page-head {
padding: 60upx 50upx 80upx;
text-align: center;
line-height: initial;
height: 60upx;
}
.page-head-title {
display: inline-block;
padding: 0 40upx;
font-size: 30upx;
height: 60upx;
line-height: 60upx;
color: #BEBEBE;
box-sizing: border-box;
border-bottom: 2upx solid #D8D8D8;
}
.page-head-desc {
padding-top: 20upx;
color: #9B9B9B;
font-size: 32upx;
}
.page-body {
width: 100%;
flex-grow: 1;
overflow-x: hidden;
}
.page-body-wrapper {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
.page-body-wording {
text-align: center;
padding: 200upx 100upx;
}
.page-body-info {
display: flex;
flex-direction: column;
align-items: center;
background-color: #fff;
width: 100%;
padding: 50upx 0 150upx 0;
}
.page-body-title {
margin-bottom: 100upx;
font-size: 32upx;
}
.page-body-text {
font-size: 30upx;
line-height: 52upx;
color: #ccc;
}
.page-body-text-small {
font-size: 24upx;
color: #000;
margin-bottom: 100upx;
}
.page-foot {
margin: 100upx 0 30upx 0;
text-align: center;
color: #1aad19;
font-size: 0;
}
.icon-foot {
width: 152upx;
height: 23upx;
}
.page-section {
width: 100%;
margin-bottom: 60upx;
}
.page-section_center {
display: flex;
flex-direction: column;
align-items: center;
}
.page-section:last-child {
margin-bottom: 0;
}
.page-section-gap {
box-sizing: border-box;
padding: 0 30upx;
}
.page-section-spacing {
box-sizing: border-box;
padding: 0 80upx;
}
.page-section-title {
font-size: 28upx;
color: #999999;
margin-top: 10upx;
margin-bottom: 10upx;
padding-left: 30upx;
padding-right: 30upx;
}
.page-section-gap .page-section-title {
padding-left: 0;
padding-right: 0;
}
/* example */
.index-hd {
padding: 90upx;
text-align: center;
}
.index-logo {
font-size:28upx;
line-height: 1.8;
},
.uni-header-logo{
padding:30upx;
text-align:center;
margin-top:10upx;
}
.uni-header-logo image{
width: 140upx;
height: 140upx;
}
.btn-area {
margin-top: 60upx;
box-sizing: border-box;
width: 100%;
padding: 0 30upx;
}
.image-plus {
width: 150upx;
height: 150upx;
border: 2upx solid #D9D9D9;
position: relative;
}
.image-plus-nb {
border: 0;
}
.image-plus-text {
color: #888888;
font-size: 28upx;
}
.image-plus-horizontal {
position: absolute;
top: 50%;
left: 50%;
background-color: #d9d9d9;
width: 4upx;
height: 80upx;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
}
.image-plus-vertical {
position: absolute;
top: 50%;
left: 50%;
background-color: #d9d9d9;
width: 80upx;
height: 4upx;
transform: translate(-50%, -50%);
-webkit-transform: translate(-50%, -50%);
}
.color1 {
background-color: #1AAD19;
color: #FFFFFF;
}
.color2 {
background-color: #2782D7;
color: #FFFFFF;
.uni-hello-text{
color:#7A7E83;
}
.color3 {
background-color: #F1F1F1;
color: #353535;
.uni-hello-addfile{
text-align:center;
line-height:300upx;
background:#FFF;
padding:50upx;
margin-top:10px;
font-size:38upx;
color:#808080;
}
</style>
</style>
Loading

0 comments on commit e2681df

Please sign in to comment.