123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293 |
- $card-width: calc(100% - 50rpx);
- $radius: 10rpx;
- $color-orange: #fa6400;
- .container {
- padding-top: 0 !important;
- width: 100%;
- min-height: 100vh;
- .top-back-pie {
- position: absolute;
- top: -2050rpx;
- left: 50%;
- transform: translate(-50%, 0);
- width: 2500rpx;
- height: 2500rpx;
- border-radius: 50%;
- background-color: #002f69;
- z-index: 0;
- }
- .content-layer {
- position: relative;
- position: absolute;
- z-index: 10;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: flex-start;
- width: 100%;
- padding-bottom: calc(var(--window-bottom) + 38rpx);
- .top-layer {
- position: fixed;
- z-index: 10000;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: flex-start;
- width: 100%;
- background-color: #002f69;
- padding-bottom: 20rpx;
- .project-title {
- display: flex;
- justify-content: center;
- align-items: center;
- margin-top: var(--status-bar-height);
- width: 100%;
- height: 88rpx;
- font-size: 36rpx;
- font-weight: 600;
- color: #fff;
- }
- .search-layer {
- margin-top: 24rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- width: 90%;
- background-color: #fff;
- border-radius: 16rpx;
- .search-input {
- display: flex;
- align-items: center;
- width: 78%;
- height: 72rpx;
- padding: 0 20rpx;
- box-sizing: border-box;
- text-align: left;
- .search-icon {
- width: 40rpx;
- height: 40rpx;
- margin-right: 26rpx;
- background-image: url("@/static/home-search-icon.svg");
- background-size: 100% 100%;
- }
- }
- .search-line {
- width: 0;
- height: 28rpx;
- border-left: 1rpx solid rgba(0, 47, 105, 0.5);
- }
- .search-focus {
- display: flex;
- align-items: center;
- justify-content: flex-end;
- gap: 10rpx;
- width: 22%;
- .search-focus-icon {
- width: 40rpx;
- height: 40rpx;
- background-image: url("@/static/focus.svg");
- background-size: 100% 100%;
- }
- .text {
- margin-right: 20rpx;
- font-size: 28rpx;
- font-weight: 600;
- white-space: nowrap;
- color: #06356d;
- }
- }
- }
- }
- .banner-box {
- margin-top: calc(var(--status-bar-height) + 210rpx);
- width: $card-width;
- }
- .button-layer {
- margin-top: 40rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- width: $card-width;
- .btn-item {
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- gap: 10rpx;
- width: 160rpx;
- height: 176rpx;
- border-radius: 12rpx;
- background-color: #fff;
- box-shadow: 0rpx 0rpx 8rpx 0rpx #d8eeff;
- .item-icon {
- width: 88rpx;
- height: 88rpx;
- }
- .item-text {
- font-size: 28rpx;
- font-weight: 500;
- font-family: Medium;
- color: #222222;
- }
- }
- }
- .sub-title {
- display: flex;
- justify-content: center;
- width: 95%;
- padding: 48rpx 0 46rpx 0;
- font-size: 36rpx;
- font-weight: 600;
- color: #222222;
- }
- }
- }
- .project-info-select {
- margin: auto;
- display: flex;
- justify-content: flex-start;
- align-items: center;
- gap: 10rpx;
- width: $card-width;
- height: 88rpx;
- background: #efefef;
- border-radius: $radius $radius 0 0;
- padding-left: 40rpx;
- margin-bottom: -$radius;
- .choose-year {
- display: flex;
- align-items: center;
- justify-content: center;
- gap: 2rpx;
- font-size: 24rpx;
- font-weight: 500;
- color: #999999;
- .choose-year-text {
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
- image {
- width: 32rpx;
- height: 32rpx;
- }
- }
- }
- .bar-layer {
- width: 100%;
- display: flex;
- justify-content: space-between;
- gap: 50rpx;
- .bar-item {
- display: flex;
- flex-direction: column;
- align-items: flex-start;
- justify-content: space-between;
- gap: 20rpx;
- flex: 1;
- .line-progress {
- width: 100%;
- }
- }
- }
- .item-text {
- display: flex;
- justify-content: space-between;
- align-items: center;
- gap: 5rpx;
- .text-name {
- font-size: 28rpx;
- font-weight: 500;
- color: #666666;
- }
- .text-rote {
- font-size: 28rpx;
- font-weight: 700;
- color: $color-orange;
- }
- }
- .stats-layer {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- align-items: stretch;
- gap: 20rpx 0;
- width: $card-width;
- background-color: #fff;
- border-radius: 10rpx;
- padding: 40rpx;
- box-sizing: border-box;
- .stats-list {
- width: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- gap: 10rpx;
- .line {
- height: 25rpx;
- width: 0;
- border-right: 2rpx solid #ebebeb;
- margin: 0 -2rpx 2px 0;
- align-self: last baseline;
- }
- .stats-item {
- flex: 1;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- .item-num {
- display: flex;
- justify-content: center;
- align-items: flex-end;
- color: #0033a8;
- margin-bottom: 4rpx;
- .number {
- font-size: 36rpx;
-
- }
- .unit {
- font-size: 20rpx;
- margin-bottom: 4rpx;
- }
- }
- .item-name {
- font-size: 24rpx;
- }
- }
- }
- .space-bg-yellow {
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- align-items: stretch;
- gap: 20rpx 0;
- background: rgba($color: #fef5f5, $alpha: 0.56);
- margin: 0 -40rpx;
- padding: 40rpx;
- }
|