190 lines
4.3 KiB
Plaintext
190 lines
4.3 KiB
Plaintext
|
|
@charset "UTF-8";
|
|||
|
|
/**
|
|||
|
|
* 这里是uni-app内置的常用样式变量
|
|||
|
|
*
|
|||
|
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
|||
|
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
|||
|
|
*
|
|||
|
|
*/
|
|||
|
|
/**
|
|||
|
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
|||
|
|
*
|
|||
|
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
|||
|
|
*/
|
|||
|
|
/* 颜色变量 */
|
|||
|
|
/* 行为相关颜色 */
|
|||
|
|
/* 文字基本颜色 */
|
|||
|
|
/* 背景颜色 */
|
|||
|
|
/* 边框颜色 */
|
|||
|
|
/* 尺寸变量 */
|
|||
|
|
/* 文字尺寸 */
|
|||
|
|
/* 图片尺寸 */
|
|||
|
|
/* Border Radius */
|
|||
|
|
/* 水平间距 */
|
|||
|
|
/* 垂直间距 */
|
|||
|
|
/* 透明度 */
|
|||
|
|
/* 文章场景相关 */
|
|||
|
|
.hole-page {
|
|||
|
|
width: 100%;
|
|||
|
|
height: 100vh;
|
|||
|
|
background-color: #f7fbfe;
|
|||
|
|
}
|
|||
|
|
.hole-page .nav-bar {
|
|||
|
|
width: 100%;
|
|||
|
|
height: 25px;
|
|||
|
|
padding-top: 25px;
|
|||
|
|
}
|
|||
|
|
.hole-page .upper-card {
|
|||
|
|
width: 95%;
|
|||
|
|
margin: 20rpx auto;
|
|||
|
|
border-radius: 25rpx;
|
|||
|
|
/* background-image: url('/static/pointsBgd.png');
|
|||
|
|
background-repeat: no-repeat;
|
|||
|
|
background-size: 100% 100%; */
|
|||
|
|
background: linear-gradient(90deg, #036acf, #1b8aec, #3fa7fe);
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
padding: 25rpx;
|
|||
|
|
color: #fff;
|
|||
|
|
}
|
|||
|
|
.hole-page .upper-card .card-tit {
|
|||
|
|
width: 100%;
|
|||
|
|
height: 40rpx;
|
|||
|
|
display: flex;
|
|||
|
|
justify-content: space-between;
|
|||
|
|
align-items: center;
|
|||
|
|
font-size: 14px;
|
|||
|
|
}
|
|||
|
|
.hole-page .upper-card .card-tit view {
|
|||
|
|
width: 25%;
|
|||
|
|
height: 100%;
|
|||
|
|
display: flex;
|
|||
|
|
align-items: center;
|
|||
|
|
justify-content: space-around;
|
|||
|
|
}
|
|||
|
|
.hole-page .upper-card .card-tit view image {
|
|||
|
|
width: 20%;
|
|||
|
|
height: 80%;
|
|||
|
|
}
|
|||
|
|
.hole-page .upper-card .card-tit view view {
|
|||
|
|
flex: 1;
|
|||
|
|
font-weight: bold;
|
|||
|
|
}
|
|||
|
|
.hole-page .upper-card .score {
|
|||
|
|
width: 100%;
|
|||
|
|
font-size: 40px;
|
|||
|
|
font-weight: bold;
|
|||
|
|
margin: 15rpx auto;
|
|||
|
|
}
|
|||
|
|
.hole-page .upper-card .sub-tit {
|
|||
|
|
font-size: 14px;
|
|||
|
|
margin: 15rpx auto;
|
|||
|
|
}
|
|||
|
|
.hole-page .upper-card .sub-cont {
|
|||
|
|
width: 100%;
|
|||
|
|
display: flex;
|
|||
|
|
}
|
|||
|
|
.hole-page .upper-card .sub-cont ._h4 {
|
|||
|
|
margin-right: 6vw;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
display: flex;
|
|||
|
|
align-items: center;
|
|||
|
|
font-size: 14px;
|
|||
|
|
font-weight: normal;
|
|||
|
|
border-radius: 15rpx;
|
|||
|
|
}
|
|||
|
|
.hole-page .upper-card .sub-cont ._h4 ._span:first-child {
|
|||
|
|
padding-right: 10rpx;
|
|||
|
|
}
|
|||
|
|
.hole-page .upper-card .sub-cont ._h4:last-child {
|
|||
|
|
margin-right: 0;
|
|||
|
|
}
|
|||
|
|
.hole-page .to-mall {
|
|||
|
|
width: 95%;
|
|||
|
|
margin: 20rpx auto;
|
|||
|
|
display: flex;
|
|||
|
|
justify-content: space-between;
|
|||
|
|
align-items: center;
|
|||
|
|
font-size: 14px;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
padding: 0 10rpx;
|
|||
|
|
}
|
|||
|
|
.hole-page .to-mall .mall-lef {
|
|||
|
|
width: 50%;
|
|||
|
|
height: 40rpx;
|
|||
|
|
display: flex;
|
|||
|
|
align-items: center;
|
|||
|
|
}
|
|||
|
|
.hole-page .to-mall .mall-lef image {
|
|||
|
|
width: 10%;
|
|||
|
|
height: 100%;
|
|||
|
|
}
|
|||
|
|
.hole-page .to-mall .mall-rig {
|
|||
|
|
color: #219ef8;
|
|||
|
|
}
|
|||
|
|
.hole-page .lower-switch {
|
|||
|
|
width: 95%;
|
|||
|
|
margin: 20rpx auto;
|
|||
|
|
margin-bottom: 0;
|
|||
|
|
display: flex;
|
|||
|
|
align-items: center;
|
|||
|
|
background-color: #fff;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
padding: 20rpx;
|
|||
|
|
border-radius: 20rpx;
|
|||
|
|
}
|
|||
|
|
.hole-page .lower-switch view {
|
|||
|
|
display: flex;
|
|||
|
|
justify-content: center;
|
|||
|
|
align-items: center;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
padding: 15rpx;
|
|||
|
|
font-size: 16px;
|
|||
|
|
margin-right: 15rpx;
|
|||
|
|
}
|
|||
|
|
.hole-page .lower-switch .active {
|
|||
|
|
color: #219ef8;
|
|||
|
|
border-bottom: 2px solid #219ef8;
|
|||
|
|
}
|
|||
|
|
.hole-page .fetch-record, .hole-page .exchange-record {
|
|||
|
|
width: 95%;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
border-radius: 15rpx;
|
|||
|
|
padding: 10rpx;
|
|||
|
|
margin: 0 auto;
|
|||
|
|
background-color: #fff;
|
|||
|
|
}
|
|||
|
|
.hole-page .exchange-record {
|
|||
|
|
display: flex;
|
|||
|
|
flex-direction: column;
|
|||
|
|
}
|
|||
|
|
.hole-page .exchange-record .single-record {
|
|||
|
|
width: 100%;
|
|||
|
|
margin: 20rpx auto;
|
|||
|
|
box-sizing: border-box;
|
|||
|
|
padding: 20rpx;
|
|||
|
|
display: flex;
|
|||
|
|
flex-direction: column;
|
|||
|
|
border-bottom: 1px solid #dbdbdb;
|
|||
|
|
}
|
|||
|
|
.hole-page .exchange-record .single-record .gift-upper {
|
|||
|
|
width: 100%;
|
|||
|
|
margin-bottom: 10rpx;
|
|||
|
|
display: flex;
|
|||
|
|
justify-content: space-between;
|
|||
|
|
align-items: center;
|
|||
|
|
}
|
|||
|
|
.hole-page .exchange-record .single-record .gift-upper ._h3 {
|
|||
|
|
font-size: 20px;
|
|||
|
|
}
|
|||
|
|
.hole-page .exchange-record .single-record .gift-upper ._span {
|
|||
|
|
font-size: 20px;
|
|||
|
|
font-weight: bold;
|
|||
|
|
color: red;
|
|||
|
|
}
|
|||
|
|
.hole-page .exchange-record .single-record .gift-lower {
|
|||
|
|
width: 100%;
|
|||
|
|
font-size: 14px;
|
|||
|
|
color: #7f7f7f;
|
|||
|
|
}
|
|||
|
|
|