@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 页面左右间距 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /*文字颜色*/ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ page, view, scroll-view, swiper, button, input, textarea, label, navigator, image { box-sizing: border-box !important; } image { vertical-align: top; } .tj-sction .tj-item, .order-section .order-item { display: flex; flex-direction: column; justify-content: center; align-items: center; } .tj-sction, .order-section { display: flex; justify-content: space-around; align-content: center; background: #fff; border-radius: 10rpx; } .user-section { height: 520rpx; padding: 100rpx 30rpx 0; position: relative; } .user-section .bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; -webkit-filter: blur(1px); filter: blur(1px); opacity: .7; } .user-info-box { height: 180rpx; display: flex; align-items: center; position: relative; z-index: 1; } .user-info-box .portrait { width: 130rpx; height: 130rpx; border: 5rpx solid #fff; border-radius: 50%; } .user-info-box .username { font-size: 38rpx; color: #303133; margin-left: 20rpx; } .user-info-box .usercode { padding: 8rpx; border-radius: 15rpx; background-color: #4399FC; color: #fff; font-size: 35rpx; position: relative; left: 20rpx; } .vip-card-box { display: flex; flex-direction: column; color: #f7d680; height: 240rpx; background: linear-gradient(left, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.8)); border-radius: 16rpx 16rpx 0 0; overflow: hidden; position: relative; padding: 20rpx 24rpx; } .vip-card-box .card-bg { position: absolute; top: 20rpx; right: 0; width: 380rpx; height: 260rpx; } .vip-card-box .b-btn { position: absolute; right: 20rpx; top: 16rpx; width: 132rpx; height: 40rpx; text-align: center; line-height: 40rpx; font-size: 22rpx; color: #36343c; border-radius: 20px; background: linear-gradient(left, #f9e6af, #ffd465); z-index: 1; } .vip-card-box .tit { font-size: 30rpx; color: #f7d680; margin-bottom: 28rpx; } .vip-card-box .tit .yticon { color: #f6e5a3; margin-right: 16rpx; font-size: 46rpx; } .vip-card-box .e-b { font-size: 24rpx; color: #d8cba9; margin-top: 10rpx; } .cover-container { background: #f8f8f8; margin-top: -150rpx; padding: 0 30rpx; position: relative; background: #f5f5f5; padding-bottom: 20rpx; } .cover-container .arc { position: absolute; left: 0; top: -34rpx; width: 100%; height: 36rpx; } .tj-sction .tj-item { flex-direction: column; height: 140rpx; font-size: 24rpx; color: #75787d; } .tj-sction .num { font-size: 32rpx; color: #303133; margin-bottom: 8rpx; } .order-section { padding: 28rpx 0; margin-top: 20rpx; } .order-section .order-item { width: 120rpx; height: 120rpx; border-radius: 10rpx; font-size: 24rpx; color: #303133; } .order-section .yticon { font-size: 48rpx; margin-bottom: 18rpx; color: #fa436a; } .order-section .icon-shouhoutuikuan { font-size: 44rpx; } .history-section { padding: 30rpx 0 0; margin-top: 20rpx; background: #fff; border-radius: 10rpx; } .history-section .sec-header { display: flex; align-items: center; font-size: 28rpx; color: #303133; line-height: 40rpx; margin-left: 30rpx; } .history-section .sec-header .yticon { font-size: 44rpx; color: #5eba8f; margin-right: 16rpx; line-height: 40rpx; } .history-section .h-list { white-space: nowrap; padding: 30rpx 30rpx 0; } .history-section .h-list image { display: inline-block; width: 160rpx; height: 160rpx; margin-right: 20rpx; border-radius: 10rpx; } .clean { position: absolute; right: 45rpx; padding: 3rpx 8rpx; background-color: #DD524D; color: #fff; border-radius: 10rpx; font-size: 28rpx; } .kf { display: flex; padding: 20rpx 30rpx; line-height: 60rpx; position: relative; align-items: center; } .kf image { left: 90rpx; width: 50rpx; height: 50rpx; } .kf .kfright { width: 30%; } .kf .kfbt { font-size: 28rpx; background: none; position: relative; left: -35rpx; color: #303133; } .kf .kfbt::after { border: 0; } /* 自定义样式,非组件 */ .myitem { display: flex; align-items: center; padding: 20rpx 30rpx; } .myitem image { left: 90rpx; width: 40rpx; height: 40rpx; } .myitem .myitemright { width: 80%; font-size: 26rpx; color: #303133; margin-left: 15rpx; margin-bottom: 10rpx; }