feat:初始提交uni-app项目
This commit is contained in:
9
common/style/base-style.scss
Normal file
9
common/style/base-style.scss
Normal file
@@ -0,0 +1,9 @@
|
||||
$brand-theme-color:#28B389; //品牌主题绿色
|
||||
|
||||
$border-color:#e0e0e0; //边框颜色
|
||||
$border-color-light:#efefef; //边框亮色
|
||||
|
||||
$text-font-color-1:#000; //文字主色
|
||||
$text-font-color-2:#676767; //副标题颜色
|
||||
$text-font-color-3:#a7a7a7; //浅色
|
||||
$text-font-color-4:#e4e4e4; //更浅色
|
||||
25
common/style/common-sytle.scss
Normal file
25
common/style/common-sytle.scss
Normal file
@@ -0,0 +1,25 @@
|
||||
view,swiper,swiper-item{
|
||||
// 将盒子全部换成奇异盒,而不是普通盒
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
//页面的背景
|
||||
.pageBg{
|
||||
background:
|
||||
// 这个百分比控制的是颜色占的广度,越小表示从页面的百分之几开始融合
|
||||
//transparent 透明 = rgba(0,0,0,0)
|
||||
linear-gradient(to bottom,transparent 0%,#fff 400rpx),
|
||||
linear-gradient(to right,#beecd8 20%,#F4E2D8);
|
||||
// 加一个最小高度,保证全部覆盖
|
||||
|
||||
min-height: 80vh;
|
||||
}
|
||||
|
||||
|
||||
.loadingLayout{
|
||||
padding: 30rpx 0;
|
||||
}
|
||||
|
||||
.safe-area-inset-bottom{
|
||||
height: env(safe-area-inset-bottom);
|
||||
}
|
||||
Reference in New Issue
Block a user