mirror of
https://github.com/zwpro/coupons.git
synced 2025-12-10 16:52:48 +00:00
131 lines
3.4 KiB
Plaintext
131 lines
3.4 KiB
Plaintext
@charset "UTF-8";
|
||
/**
|
||
* 这里是uni-app内置的常用样式变量
|
||
*
|
||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
*
|
||
*/
|
||
/**
|
||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
*
|
||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
*/
|
||
/* 颜色变量 */
|
||
/* 行为相关颜色 */
|
||
/* 文字基本颜色 */
|
||
/* 背景颜色 */
|
||
/* 边框颜色 */
|
||
/* 尺寸变量 */
|
||
/* 文字尺寸 */
|
||
/* 图片尺寸 */
|
||
/* Border Radius */
|
||
/* 水平间距 */
|
||
/* 垂直间距 */
|
||
/* 透明度 */
|
||
/* 文章场景相关 */
|
||
page {
|
||
background-color: #f8f8f8;
|
||
}
|
||
.container {
|
||
font-size: 14px;
|
||
line-height: 24px;
|
||
position: relative;
|
||
}
|
||
.container .tab {
|
||
position: fixed;
|
||
top: 0px;
|
||
left: 0;
|
||
z-index: 9999;
|
||
}
|
||
.container .coupon {
|
||
margin-top: 230rpx;
|
||
}
|
||
.container .coupon .item {
|
||
background-color: #ffffff;
|
||
margin: 30rpx;
|
||
-webkit-border-radius: 10rpx;
|
||
border-radius: 10rpx;
|
||
padding: 0 30rpx 30rpx 30rpx;
|
||
}
|
||
.container .coupon .item .top {
|
||
height: 116rpx;
|
||
display: -webkit-box;
|
||
display: -webkit-flex;
|
||
display: flex;
|
||
-webkit-box-align: center;
|
||
-webkit-align-items: center;
|
||
align-items: center;
|
||
-webkit-box-pack: justify;
|
||
-webkit-justify-content: space-between;
|
||
justify-content: space-between;
|
||
}
|
||
.container .coupon .item .top .left {
|
||
height: 116rpx;
|
||
width: 400rpx;
|
||
display: -webkit-box;
|
||
display: -webkit-flex;
|
||
display: flex;
|
||
-webkit-box-align: center;
|
||
-webkit-align-items: center;
|
||
align-items: center;
|
||
-webkit-box-pack: justify;
|
||
-webkit-justify-content: space-between;
|
||
justify-content: space-between;
|
||
}
|
||
.container .coupon .item .top .left .content {
|
||
width: 100%;
|
||
}
|
||
.container .coupon .item .top .left .icon {
|
||
display: inline-block;
|
||
vertical-align: bottom;
|
||
width: 52rpx;
|
||
height: auto;
|
||
}
|
||
.container .coupon .item .top .left .name {
|
||
text-align: left;
|
||
display: inline-block;
|
||
vertical-align: bottom;
|
||
font-size: 34rpx;
|
||
color: #000;
|
||
line-height: 50rpx;
|
||
font-weight: bold;
|
||
margin-left: 15rpx;
|
||
}
|
||
.container .coupon .item .top .left .text {
|
||
width: 150rpx;
|
||
height: 38rpx;
|
||
line-height: 38rpx;
|
||
text-align: center;
|
||
font-size: 24rpx;
|
||
color: #61300e;
|
||
background: -webkit-gradient(linear, left top, right top, from(#f9db8d), to(#f8d98a));
|
||
background: -webkit-linear-gradient(left, #f9db8d, #f8d98a);
|
||
background: linear-gradient(90deg, #f9db8d, #f8d98a);
|
||
-webkit-border-radius: 6rpx;
|
||
border-radius: 6rpx;
|
||
}
|
||
.container .coupon .item .top .right {
|
||
width: 170rpx;
|
||
height: 60rpx;
|
||
-webkit-border-radius: 30rpx;
|
||
border-radius: 30rpx;
|
||
background: -webkit-gradient(linear, left top, right top, from(#ec6f43), to(#ea4a36));
|
||
background: -webkit-linear-gradient(left, #ec6f43, #ea4a36);
|
||
background: linear-gradient(90deg, #ec6f43, #ea4a36);
|
||
color: #fff;
|
||
font-size: 28rpx;
|
||
line-height: 60rpx;
|
||
text-align: center;
|
||
}
|
||
.container .coupon .item .bottom {
|
||
height: auto;
|
||
width: 100%;
|
||
}
|
||
.container .coupon .item .bottom image {
|
||
display: block;
|
||
width: 100%;
|
||
height: auto;
|
||
}
|
||
|