jiuyiUniapp/jiuyi2/unpackage/dist/dev/mp-weixin/pages/news/red-envelope/index.wxss

130 lines
2.7 KiB
Plaintext
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 */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
view {
display: flex;
flex-wrap: wrap;
}
.top {
width: 100%;
background-color: #cf3c35;
flex-wrap: wrap;
}
.top .blessing,
.top .money {
width: 100%;
color: #f8d757;
padding: 20rpx 0;
justify-content: center;
font-size: 34rpx;
}
.top .money {
font-size: 100rpx;
}
.top .face {
background-color: #fff;
justify-content: center;
width: 100%;
height: 130rpx;
margin-top: 65rpx;
border-radius: 100% 100% 0 0;
transition: border-radius 0.15s;
}
.top .face image {
width: 130rpx;
height: 130rpx;
border-radius: 100%;
margin-top: -65rpx;
}
.top .username {
width: 100%;
height: 130rpx;
justify-content: center;
background-color: #fff;
margin-top: -50rpx;
font-size: 38rpx;
}
.info {
margin-top: 30rpx;
width: 96%;
height: 50rpx;
padding-left: 4%;
font-size: 28rpx;
color: #999;
border-bottom: solid 1rpx #dfdfdf;
}
.list {
width: 100%;
padding-bottom: 200rpx;
}
.list .row {
width: 92%;
padding: 0 4%;
height: 120rpx;
border-bottom: solid 1rpx #dfdfdf;
justify-content: flex-start;
flex-wrap: nowrap;
}
.list .row .left {
flex-shrink: 0;
width: 100rpx;
height: 120rpx;
justify-content: flex-start;
align-items: center;
}
.list .row .left image {
width: 80rpx;
height: 80rpx;
border-radius: 100%;
}
.list .row .right {
width: 100%;
height: 150rpx;
}
.list .row .right .r1 {
width: 100%;
height: 75rpx;
justify-content: space-between;
align-items: center;
font-size: 34rpx;
}
.list .row .right .r2 {
width: 100%;
height: 75rpx;
justify-content: space-between;
font-size: 26rpx;
}
.list .row .right .r2 .time {
color: #8F8F94;
}
.list .row .right .r2 .lucky {
padding: 3rpx 8rpx;
border-radius: 5rpx;
background-color: #F8D757;
align-items: center;
height: 30rpx;
font-size: 24rpx;
color: #CF3C35;
}