123 lines
2.7 KiB
Plaintext
123 lines
2.7 KiB
Plaintext
/**
|
|
* 这里是uni-app内置的常用样式变量
|
|
*
|
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
|
*
|
|
*/
|
|
/**
|
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
|
*
|
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
|
*/
|
|
/* 颜色变量 */
|
|
/* 行为相关颜色 */
|
|
/* 文字基本颜色 */
|
|
/* 背景颜色 */
|
|
/* 边框颜色 */
|
|
/* 尺寸变量 */
|
|
/* 文字尺寸 */
|
|
/* 图片尺寸 */
|
|
/* Border Radius */
|
|
/* 水平间距 */
|
|
/* 垂直间距 */
|
|
/* 透明度 */
|
|
/* 文章场景相关 */
|
|
.content {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
height: 150px;
|
|
text-align: center;
|
|
}
|
|
.segmented {
|
|
padding: 0 12rpx;
|
|
}
|
|
.content-text {
|
|
font-size: 14px;
|
|
color: #666;
|
|
}
|
|
.color-tag {
|
|
width: 25px;
|
|
height: 25px;
|
|
}
|
|
.uni-list {
|
|
flex: 1;
|
|
}
|
|
.coupon .coupon-item {
|
|
width: 700rpx;
|
|
margin: 20rpx auto;
|
|
border-radius: 12rpx;
|
|
border-bottom: 1px #eee solid;
|
|
background: #fff;
|
|
}
|
|
.coupon .coupon-item .coupon-bg {
|
|
width: 140rpx;
|
|
height: 140rpx;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
font-size: 26rpx;
|
|
color: #fff;
|
|
border-radius: 12rpx 0 0 12rpx;
|
|
background: linear-gradient(to right, #70b915, #008e04);
|
|
}
|
|
.coupon .coupon-item .coupon-bg .price {
|
|
font-size: 50rpx;
|
|
}
|
|
.coupon .coupon-item .coupon-info {
|
|
padding: 20rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.coupon .coupon-item .coupon-info .title {
|
|
line-height: 2rem;
|
|
}
|
|
.coupon .coupon-item .merchant-avatar {
|
|
margin-right: 12rpx;
|
|
}
|
|
.coupon .coupon-item .btn-status {
|
|
font-size: 30rpx;
|
|
display: flex;
|
|
}
|
|
.coupon .order-body {
|
|
padding: 16px 0;
|
|
}
|
|
.ele-flex {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
}
|
|
.card-actions {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: flex-end;
|
|
align-items: center;
|
|
height: 45px;
|
|
border-top: 1px #eee solid;
|
|
}
|
|
.card-actions-item {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
}
|
|
.card-actions-item-text {
|
|
font-size: 12px;
|
|
color: #666;
|
|
margin-left: 5px;
|
|
}
|
|
.close {
|
|
top: 60rpx !important;
|
|
}
|
|
.total-price {
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: flex-start;
|
|
font-size: 30rpx;
|
|
align-items: flex-start;
|
|
padding-left: 6rpx;
|
|
margin-left: 450rpx;
|
|
}
|
|
.total-price .web-text-heading {
|
|
font-size: 30rpx !important;
|
|
} |