You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

57 lines
1.1 KiB

@import '@/uni_modules/uview-ui/theme.scss';
/* 页面左右间距 */
$page-row-spacing: 30upx;
$page-color-base: #f8f8f8;
$page-color-light: #f8f6fc;
$base-color: #fa436a;
/* 文字尺寸 */
$font-sm: 24upx;
$font-base: 28upx;
$font-lg: 32upx;
/*文字颜色*/
$font-color-dark: #303133;
$font-color-base: #606266;
$font-color-light: #909399;
$font-color-disabled: #C0C4CC;
$font-color-spec: #4399fc;
/* 边框颜色 */
$border-color-dark: #DCDFE6;
$border-color-base: #E4E7ED;
$border-color-light: #EBEEF5;
/* 图片加载中颜色 */
$image-bg-color: #eee;
/* 行为相关颜色 */
$uni-color-primary:#CC342D;
$uni-color-success: #4cd964;
$uni-color-warning: #f0ad4e;
$uni-color-error: #dd524d;
/* mixin */
$flex-params: (
x: row,
y: column,
start: flex-start,
center: center,
around: space-around,
between: space-between,
);
/* use: @include flex(x,start,center) */
@mixin flex($coor:null, $justify:null, $alignItems:null) {
display: flex;
@if $coor {
flex-direction: map-get($flex-params, $coor);
}
@if $justify {
justify-content: map-get($flex-params, $justify);
}
@if $alignItems {
align-items: map-get($flex-params, $alignItems);
}
}