gov_propagandize/pages/index/index.wxss

575 lines
118 KiB
Plaintext
Raw Normal View History

2024-12-27 17:08:36 +08:00
/**index.wxss**/
2025-01-17 18:01:48 +08:00
.text-expansion {
display: flex;
}
.text-expansion__text {
position: relative;
overflow: hidden;
line-height: 1.5;
2025-01-21 12:33:11 +08:00
font-size: 20rpx;
2025-01-19 17:56:22 +08:00
color: #6F6F6F;
2025-01-17 18:01:48 +08:00
text-align: justify;
max-height: calc(3em * 1.5);
}
.text-expansion__text::before {
content: "";
float: right;
height: 100%;
margin-bottom: calc(3em - 1.5em - 3em);
}
.text-expansion__text::after {
content: '';
width: 100vw;
height: 100vh;
position: absolute;
box-shadow: inset calc(120rpx - 100vw) calc(1.45em - 100vh) 0 0 #FFFFFF;
margin-left: -120rpx;
}
.text-expansion__button {
position: relative;
2025-01-18 17:57:49 +08:00
font-size: 20rpx;
2025-01-17 18:01:48 +08:00
color: #256742;
float: right;
font-weight: 400;
clear: both;
line-height: 2em;
}
.text-expansion__button::before {
content: '...';
margin-right: 8rpx;
}
.text-expansion__button::after {
content: '';
font-size: 16rpx;
display: inline-block;
margin-bottom: 2rpx;
margin-left: 4rpx;
transition: transform 0.3s;
}
.text-expansion__text--expand {
max-height: none;
}
.text-expansion__text--expand::after {
visibility: hidden;
}
.text-expansion__text--expand .text-expansion__button::before {
visibility: hidden;
}
.text-expansion__text--expand .text-expansion__button::after {
transform: rotate(180deg);
}
/***********/
2024-12-27 17:08:36 +08:00
.scrollarea {
2025-01-07 16:21:18 +08:00
flex: 1;
overflow-y: hidden;
height: 100vh;
width: 100vw;
overflow: hidden;
}
.scrollX {
width: 100vw;
padding-bottom: 10rpx;
}
2025-01-17 18:01:48 +08:00
2025-01-18 17:57:49 +08:00
.superiority-item {
display: flex;
flex-direction: column;
position: relative;
}
.superiority-item:nth-of-type(n+2) {
margin-left: 20rpx;
}
.superiory-txt {
position: absolute;
bottom: 0;
background: rgba(0, 0, 0, 0.49);
width: 100%;
text-align: center;
font-size: 20rpx;
color: white;
border-bottom-left-radius: 10rpx;
border-bottom-right-radius: 10rpx;
}
.superiory-icon {
width: 257rpx;
height: 167rpx;
border-radius: 10rpx;
}
.scrollX-nowrap {
width: 100vw;
flex-wrap: nowrap;
white-space: nowrap;
}
2025-01-17 18:01:48 +08:00
.invest-title {
2025-01-07 16:21:18 +08:00
display: flex;
flex-direction: row;
2025-01-17 18:01:48 +08:00
align-items: center;
}
.invest-tabs {
display: flex;
flex-direction: row;
2025-01-19 17:56:22 +08:00
flex-wrap: nowrap;
2025-01-17 18:01:48 +08:00
}
2025-01-19 17:56:22 +08:00
.item-margin {
2025-01-17 18:01:48 +08:00
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
2025-01-19 17:56:22 +08:00
}
.item-margin:nth-of-type(n+2) {
margin-left: 20rpx;
}
.tab-select {
2025-01-17 18:01:48 +08:00
font-size: 20rpx;
color: white;
background-color: #256742;
text-align: center;
background: #256742;
border-radius: 17rpx;
padding: 5rpx 15rpx;
2025-01-19 17:56:22 +08:00
white-space: nowrap;
2025-01-17 18:01:48 +08:00
}
.tab-select image {
width: 24rpx;
height: 24rpx;
display: "";
margin-left: 10rpx;
2025-01-07 16:21:18 +08:00
}
2025-01-17 18:01:48 +08:00
.tab-normal {
font-size: 20rpx;
color: #3F3F3F;
background: #EAEAEA;
text-align: center;
border-radius: 17rpx;
padding: 5rpx 30rpx;
2025-01-19 17:56:22 +08:00
white-space: nowrap;
2025-01-07 16:21:18 +08:00
}
2025-01-17 18:01:48 +08:00
.tab-normal image {
width: 24rpx;
height: 24rpx;
margin-left: 10rpx;
display: none;
2024-12-27 17:08:36 +08:00
}
2025-01-17 18:01:48 +08:00
.invest-content {
2025-01-07 16:21:18 +08:00
display: flex;
flex-direction: column;
2025-01-17 18:01:48 +08:00
justify-content: center;
margin-top: 20rpx;
2025-01-18 17:57:49 +08:00
font-weight: 400;
font-size: 24rpx;
color: #303030;
line-height: 40rpx;
text-indent: 2em;
}
2025-01-21 12:33:11 +08:00
.invest-box{
display: flex;
flex-direction: column;
flex: content;
justify-content: center;
align-items: flex-start;
}
2025-01-18 17:57:49 +08:00
.slider-bar-box {
width: 40px;
height: 5px;
background-color: #CDCDCD;
border-radius: 2.5px;
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
align-self: center;
}
.slider-bar {
height: 5px;
background-color: #256742;
border-radius: 2.5px;
2025-01-17 18:01:48 +08:00
}
.desc-title {
margin-top: 39rpx;
font-weight: 400;
font-size: 40rpx;
color: #303030;
line-height: 27rpx;
}
2025-01-18 17:57:49 +08:00
.sheet-title-box {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 20rpx 40rpx;
}
.picker {
width: 100vw;
height: 300rpx;
}
.picker-item {
line-height: 30px;
text-align: center;
}
.title {
font-size: 35rpx;
}
.cancel {
font-size: 30rpx;
color: crimson;
}
.confirm {
font-size: 30rpx;
color: #256742;
}
2025-01-17 18:01:48 +08:00
/* .superiority-title-box {
display: flex;
flex-direction: row;
align-items: center;
} */
/* .superiority-title-box image {
width: 40rpx;
height: 40rpx;
} */
/* .superiority-title-box text {
margin-left: 20rpx;
font-family: Source Han Sans CN;
font-weight: bold;
font-size: 27rpx;
color: #303030;
} */
.superiority-content {
display: flex;
flex-direction: row;
2025-01-18 17:57:49 +08:00
flex-wrap: nowrap;
min-height: 120rpx;
2025-01-17 18:01:48 +08:00
}
2025-01-18 17:57:49 +08:00
.superiority-content .item {
2025-01-17 18:01:48 +08:00
width: 150rpx;
height: 150rpx;
}
.chance-title-box {
display: flex;
flex-direction: row;
justify-content: space-between;
2025-01-07 16:21:18 +08:00
align-items: center;
2025-01-17 18:01:48 +08:00
margin-bottom: 20rpx;
2024-12-27 17:08:36 +08:00
}
2025-01-17 18:01:48 +08:00
/* .chance-title-box .more {
font-family: Source Han Sans CN;
font-weight: 400;
font-size: 24rpx;
color: #434343;
} */
.chance-item-box {
display: flex;
flex-direction: column;
background: linear-gradient(180deg, #E8FFF2 0%, #E8FFF2 100%);
padding: 28rpx;
border-radius: 5rpx;
2024-12-27 17:08:36 +08:00
}
2025-01-19 17:56:22 +08:00
.chance-item-box:nth-of-type(n+2) {
margin-top: 20rpx;
}
2025-01-17 18:01:48 +08:00
.chance-item-title {
display: flex;
flex-direction: row;
justify-content: space-between;
2024-12-27 17:08:36 +08:00
}
2025-01-17 18:01:48 +08:00
.chance-item-title .title {
font-family: Source Han Sans CN;
font-weight: bold;
font-size: 24rpx;
color: #303030;
overflow: hidden;
/* 超出部分隐藏 */
white-space: nowrap;
/* 文本不换行 */
text-overflow: ellipsis;
/* 超出部分显示省略号 */
2024-12-27 17:08:36 +08:00
}
2025-01-17 18:01:48 +08:00
.chance-item-attrs {
background: #FFFFFF;
border-radius: 13rpx;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
margin-top: 10rpx;
2024-12-27 17:08:36 +08:00
}
2025-01-17 18:01:48 +08:00
.chance-attr {
2025-01-07 16:21:18 +08:00
display: flex;
2025-01-17 18:01:48 +08:00
flex-direction: column;
padding: 20rpx;
}
.chance-attr .title {
font-size: 16rpx;
color: #757575;
}
.chance-attr .content {
font-size: 24rpx;
margin-top: 10rpx;
color: #F99E00;
}
.divide-line {
width: 1rpx;
height: 33rpx;
background: rgba(204, 226, 214, 0.35);
}
.chance-item-content {
font-family: STZhongsong;
font-weight: 400;
font-size: 16rpx;
color: #8E8E8E;
margin-top: 10rpx;
}
.chance-item-title .more {
width: 107rpx;
height: 36rpx;
background: linear-gradient(0deg, #F99E00 0%, #FF8282 100%);
border-radius: 3rpx;
font-family: Source Han Sans CN;
font-weight: 400;
font-size: 16rpx;
color: #FFFFFF;
text-align: center;
line-height: 36rpx;
}
.desc-video {
2025-01-07 16:21:18 +08:00
width: 100%;
2025-01-19 17:56:22 +08:00
height: 370rpx;
2025-01-17 18:01:48 +08:00
border-radius: 10rpx;
2024-12-27 17:08:36 +08:00
}
2025-01-17 18:01:48 +08:00
.desc-content {
font-family: Source Han Sans CN;
font-weight: 400;
font-size: 20rpx;
color: #6F6F6F;
2024-12-27 17:08:36 +08:00
}
2025-01-17 18:01:48 +08:00
.desc-tag-box {
display: flex;
flex-direction: row;
2025-01-18 17:57:49 +08:00
justify-content: flex-start;
2025-01-17 18:01:48 +08:00
margin-top: 39rpx;
margin-bottom: 30rpx;
2025-01-07 16:21:18 +08:00
}
2025-01-18 17:57:49 +08:00
2025-01-17 18:01:48 +08:00
.desc-tag {
background: rgba(41, 176, 98, 0.08);
border-radius: 13rpx;
2025-01-18 17:57:49 +08:00
padding: 15rpx 20rpx;
2025-01-07 16:21:18 +08:00
display: flex;
flex-direction: row;
2025-01-17 18:01:48 +08:00
justify-content: center;
align-items: center;
2025-01-07 16:21:18 +08:00
}
2025-01-18 17:57:49 +08:00
.desc-tag:nth-of-type(n+2) {
margin-left: 20rpx;
}
2025-01-17 18:01:48 +08:00
.desc-tag image {
width: 28rpx;
height: 28rpx;
2025-01-07 16:21:18 +08:00
}
2025-01-17 18:01:48 +08:00
.desc-tag text {
font-size: 16rpx;
color: #256742;
margin-left: 6rpx;
2024-12-27 17:08:36 +08:00
}
2025-01-07 16:21:18 +08:00
2025-01-17 18:01:48 +08:00
.statistics-title-box {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
}
.statistics-title {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
}
.statistics-title image {
width: 40rpx;
height: 40rpx;
}
.statistics-title text {
font-size: 24rpx;
color: black;
margin-left: 11rpx;
}
.statistics-term {
display: flex;
flex-direction: row;
justify-content: center;
align-items: center;
color: black;
2025-01-18 17:57:49 +08:00
font-size: 24rpx;
2025-01-17 18:01:48 +08:00
width: 130rpx;
text-align: center;
height: 45rpx;
line-height: 45rpx;
background-color: rgba(255, 255, 255, 0.7);
border-radius: 22rpx;
}
.statistics-term-arrow {
width: 40rpx;
height: 40rpx;
}
.statistics-content-box {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: white;
margin-top: 20rpx;
margin-bottom: 20rpx;
border-radius: 10rpx;
padding: 10rpx;
}
.statistics-content-item {
display: flex;
flex-direction: row;
justify-content: space-between;
width: 100%;
margin: 30rpx 0rpx;
align-items: center;
}
.statistics-content-item-title {
flex: 0.3;
text-align: end;
2025-01-18 17:57:49 +08:00
font-size: 24rpx;
2025-01-17 18:01:48 +08:00
}
.statistics-content-item-content {
2025-01-18 17:57:49 +08:00
flex: 0.8;
2025-01-17 18:01:48 +08:00
margin-left: 20rpx;
font-size: 20rpx;
height: 30rpx;
background-color: #F0F0F0;
margin-right: 20rpx;
2025-01-07 16:21:18 +08:00
display: flex;
flex-direction: row;
2025-01-17 18:01:48 +08:00
justify-content: space-between;
align-items: center;
border-radius: 6rpx;
padding: 0rpx 5rpx;
2025-01-18 17:57:49 +08:00
position: relative;
2025-01-17 18:01:48 +08:00
}
.statistics-content-item-content .progress {
height: 15rpx;
border-radius: 6rpx;
}
.statistics-content-item-content .text {
font-family: FZZhengHeiS-EB-GB;
font-size: 24rpx;
color: #CB3232;
font-style: italic;
text-align: end;
margin-right: 5rpx;
2025-01-18 17:57:49 +08:00
font-weight: bold;
position: absolute;
right: 0px;
}
.right-more-bg {
background: #E7E7E7;
font-weight: 500;
align-self: flex-end;
display: flex;
flex-direction: row;
justify-content: center;
padding: 5rpx 10rpx;
border-radius: 15rpx;
align-items: center;
}
.right-more-bg .icon {
width: 20rpx;
height: 20rpx;
margin-left: 5rpx;
}
.right-more-bg .txt {
font-size: 16rpx;
color: #256742;
text-align: center;
2025-01-17 18:01:48 +08:00
}
.statistics-box {
display: flex;
flex-direction: column;
justify-content: center;
padding: 20rpx 34rpx;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAABGUAAAMKCAMAAAAbMQltAAACAVBMVEXf9eTd8+HI6tDt+fHq9+3j9ef4/Pnn9urZ8d7N69Pz+vXD6Mz2+/fT7tnr9uvu9/Hf9OTh8+Xf8uPs9u/p9+zi8+bd8+Lt9vDu+O/x+vLz+vXc8eDm9uns+O/r9O7h8uTr9u3q9+7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