jiuyiUniapp/jiuyi/unpackage/dist/dev/app-plus/pages/news/red-envelope/index.css

130 lines
2.8 KiB
CSS
Raw Normal View History

2024-12-18 15:46:27 +08:00
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
uni-view {
display: flex;
flex-wrap: wrap;
}
.top {
width: 100%;
background-color: #cf3c35;
flex-wrap: wrap;
}
.top .blessing,
.top .money {
width: 100%;
color: #f8d757;
padding: 0.625rem 0;
justify-content: center;
font-size: 1.0625rem;
}
.top .money {
font-size: 3.125rem;
}
.top .face {
background-color: #fff;
justify-content: center;
width: 100%;
height: 4.0625rem;
margin-top: 2.03125rem;
border-radius: 100% 100% 0 0;
transition: border-radius 0.15s;
}
.top .face uni-image {
width: 4.0625rem;
height: 4.0625rem;
border-radius: 100%;
margin-top: -2.03125rem;
}
.top .username {
width: 100%;
height: 4.0625rem;
justify-content: center;
background-color: #fff;
margin-top: -1.5625rem;
font-size: 1.1875rem;
}
.info {
margin-top: 0.9375rem;
width: 96%;
height: 1.5625rem;
padding-left: 4%;
font-size: 0.875rem;
color: #999;
border-bottom: solid 0.03125rem #dfdfdf;
}
.list {
width: 100%;
padding-bottom: 6.25rem;
}
.list .row {
width: 92%;
padding: 0 4%;
height: 3.75rem;
border-bottom: solid 0.03125rem #dfdfdf;
justify-content: flex-start;
flex-wrap: nowrap;
}
.list .row .left {
flex-shrink: 0;
width: 3.125rem;
height: 3.75rem;
justify-content: flex-start;
align-items: center;
}
.list .row .left uni-image {
width: 2.5rem;
height: 2.5rem;
border-radius: 100%;
}
.list .row .right {
width: 100%;
height: 4.6875rem;
}
.list .row .right .r1 {
width: 100%;
height: 2.34375rem;
justify-content: space-between;
align-items: center;
font-size: 1.0625rem;
}
.list .row .right .r2 {
width: 100%;
height: 2.34375rem;
justify-content: space-between;
font-size: 0.8125rem;
}
.list .row .right .r2 .time {
color: #8F8F94;
}
.list .row .right .r2 .lucky {
padding: 0.09375rem 0.25rem;
border-radius: 0.15625rem;
background-color: #F8D757;
align-items: center;
height: 0.9375rem;
font-size: 0.75rem;
color: #CF3C35;
}