123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598 |
- page {
- background-color: #fff;
- }
- .page {
- background-color: #fff;
- position: relative;
- }
- // 顶部黄色背景
- .top-bg {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 200rpx;
- background-color: #90d369;
- z-index: 0;
- }
- // 内容区域
- .content-area {
- position: relative;
- z-index: 1;
- padding: 30rpx;
- }
- .topbg {
- }
- .topBody {
- width:750rpx;
- }
- .header {
- display: flex;flex-direction: row;justify-content: space-between;align-items: center;color:$title;
- .title {
- font-size: 34rpx;
- }
- }
- .thread {
- height:210rpx;
- padding:50rpx;font-size: 52rpx;color:#6E6A6A;padding-top: 80rpx;
- }
- .mainInfo {
- width: 690rpx;
- margin:30rpx 30rpx 60rpx;
- display:flex;flex-direction: column;justify-content: space-around;
- align-items: center;
- // background: #FFFFFF;
-
-
- .idList {
- display: flex;flex-direction: row;justify-content: space-between;align-items: center;
- // position: relative;
- width: 610rpx;
- height: 84rpx;
- background: #282828;
- border-radius: 24rpx 24rpx 24rpx 24rpx;
- margin-top: 48rpx;
- .left {
- display: flex;flex-direction: row;justify-content: flex-start;align-items: center;
- padding-left:24rpx;
- }
- .right{
- display: flex;flex-direction: row;justify-content: flex-start;align-items: center;
- padding-right:24rpx;
- }
- }
-
- .reCheckBtn{
- width: 610rpx;
- height: 96rpx;
- border-radius: 28rpx 28rpx 28rpx 28rpx;
- border: 2rpx solid #404040;
- display:flex;flex-direction: column;justify-content: space-around;
- align-items: center;
- margin-top: 74rpx;
- }
-
- }
- .blankHeight {
- height:100rpx;
- }
- // 彩豆余额展示区
- .bean-balance {
- width: 690rpx;
- background-color: #FFFFFF;
- border-radius: 24rpx;
- padding: 30rpx;
- margin-bottom: 30rpx;
- box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.05);
-
- .balance-header {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
-
- .title-area {
- display: flex;
- flex-direction: row;
- align-items: center;
-
- .yellow-dot {
- width: 16rpx;
- height: 16rpx;
- border-radius: 50%;
- background-color: #90d369;
- margin-right: 10rpx;
- }
-
- .my-bean-title {
- font-size: 32rpx;
- color: #333;
- font-weight: bold;
- }
- }
-
- .exchange-btn {
- width: 120rpx;
- height: 60rpx;
- background-color: #90d369;
- border-radius: 30rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: 28rpx;
- color: #fff;
- font-weight: bold;
- }
- }
-
- .bean-number {
- font-size: 80rpx;
- font-weight: bold;
- color: #333;
- margin-top: 20rpx;
- }
- }
- // 星愿打卡区域
- .sign-cards {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- margin-bottom: 30rpx;
-
- .card {
- width: 330rpx;
- height: 240rpx;
- border-radius: 24rpx;
- padding: 24rpx;
- display: flex;
- flex-direction: column;
- box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.05);
-
- .card-title {
- font-size: 34rpx;
- font-weight: bold;
- color: #FFFFFF;
- margin-bottom: 10rpx;
- }
-
- .card-desc {
- font-size: 24rpx;
- color: rgba(255, 255, 255, 0.8);
- margin-bottom: 30rpx;
- }
-
- .card-reward {
- font-size: 30rpx;
- color: #FFFFFF;
- font-weight: bold;
- }
-
- .card-progress {
- font-size: 36rpx;
- color: #FFFFFF;
- font-weight: bold;
- margin-top: auto;
- }
-
- .sign-btn {
- width: 180rpx;
- height: 70rpx;
- background-color: #FFFFFF;
- border-radius: 35rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: 28rpx;
- color: #333;
- font-weight: bold;
- margin-top: auto;
- }
- }
-
- .purple-card {
- background-color: #9C27B0;
- }
-
- .yellow-card {
- background-color: #90d369;
- }
- }
- // 任务列表
- .task-list {
- background-color: #FFFFFF;
- border-radius: 24rpx;
- padding: 30rpx;
- box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.05);
-
- .task-header {
- display: flex;
- flex-direction: row;
- align-items: center;
- margin-bottom: 30rpx;
-
- .task-title {
- font-size: 34rpx;
- color: #333;
- font-weight: bold;
- margin-right: 20rpx;
- }
-
- .task-subtitle {
- font-size: 24rpx;
- color: #999;
- }
- }
-
- .task-item {
- display: flex;
- flex-direction: row;
- align-items: center;
- padding: 20rpx 0;
- border-bottom: 1px solid #F0F0F0;
-
- .task-info {
- flex: 1;
-
- .task-name {
- font-size: 30rpx;
- color: #333;
- margin-bottom: 6rpx;
- }
-
- .task-desc {
- font-size: 24rpx;
- color: #999;
- }
- }
-
- .task-reward {
- font-size: 30rpx;
- color: #90d369;
- font-weight: bold;
- margin-right: 20rpx;
- }
-
- .task-btn {
- width: 120rpx;
- height: 60rpx;
- background-color: #90d369;
- border-radius: 30rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: 26rpx;
- color: #fff;
- font-weight: bold;
- }
-
- .task-completed {
- background-color: #F0F0F0;
- color: #999;
- }
- }
- }
- // 彩豆兑换弹窗
- .exchange-popup {
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- height: 100%;
- z-index: 999;
-
- .popup-mask {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.5);
- }
-
- .popup-content {
- position: absolute;
- bottom: 0;
- left: 0;
- width: 100%;
- background-color: #F5F5F5;
- border-radius: 24rpx 24rpx 0 0;
- padding-bottom: 50rpx;
-
- .popup-header {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- padding: 30rpx;
-
- .available-balance {
- font-size: 28rpx;
- color: #333;
- }
-
- .exchange-title {
- font-size: 28rpx;
- color: #333;
- font-weight: bold;
- }
- }
-
- .exchange-area {
- background-color: #FFFFFF;
- margin: 0 30rpx;
- border-radius: 20rpx;
- padding: 30rpx;
-
- .exchange-title-area {
- margin-bottom: 40rpx;
-
- .exchange-main-title {
- font-size: 34rpx;
- color: #333;
- font-weight: bold;
- display: block;
- margin-bottom: 10rpx;
- }
-
- .exchange-subtitle {
- font-size: 24rpx;
- color: #999;
- }
- }
-
- .input-area {
- display: flex;
- flex-direction: row;
- align-items: center;
- padding: 20rpx 0;
- border-bottom: 1px solid #F0F0F0;
- margin-bottom: 50rpx;
-
- .bean-icon {
- width: 40rpx;
- height: 40rpx;
- border-radius: 50%;
- background-color: #FFE156;
- margin-right: 20rpx;
- }
-
- .exchange-input {
- flex: 1;
- height: 60rpx;
- font-size: 30rpx;
- }
- }
-
- .action-area {
- display: flex;
- flex-direction: column;
- align-items: center;
-
- .exchange-btn-large {
- width: 100%;
- height: 90rpx;
- background-color: #90d369;
- border-radius: 45rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: 32rpx;
- color: #fff;
- font-weight: bold;
- margin-bottom: 20rpx;
- }
-
- .tips-text {
- font-size: 24rpx;
- color: #999;
- text-align: center;
- }
- }
- }
- }
- }
- // 签到弹窗
- .sign-popup {
- position: fixed;
- bottom: 0;
- left: 0;
- width: 100%;
- height: 100%;
- z-index: 1000;
-
- .popup-mask {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.5);
- }
-
- .sign-popup-content {
- position: absolute;
- bottom: 0;
- left: 0;
- width: 100%;
- background: #FFFFFF;
- border-radius: 24rpx 24rpx 0 0;
- padding: 30rpx;
- padding-bottom: 50rpx;
-
- .sign-popup-header {
- position: relative;
- padding-bottom: 30rpx;
-
- .sign-popup-title {
- font-size: 36rpx;
- color: #333333;
- font-weight: bold;
- margin-bottom: 30rpx;
- display: block;
- }
-
- .sign-notify-switch {
- display: flex;
- flex-direction: row;
- align-items: center;
- position: absolute;
- top: 0;
- right: 0;
-
- .sign-notify-text {
- font-size: 24rpx;
- color: #666666;
- margin-right: 10rpx;
- }
-
- .sign-switch {
- transform: scale(0.7);
- }
- }
-
- .sign-days-tag {
- display: inline-block;
- padding: 6rpx 20rpx;
- background-color: #FFD54F;
- border-radius: 24rpx;
- font-size: 24rpx;
- color: #333;
- font-weight: bold;
- }
- }
-
- .vip-area {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- background-color: #F5F5F5;
- border-radius: 12rpx;
- padding: 20rpx;
- margin-bottom: 30rpx;
-
- .vip-left {
- .vip-text {
- font-size: 26rpx;
- color: #333333;
- }
- }
-
- .vip-right {
- .vip-offer {
- font-size: 24rpx;
- color: #9C27B0;
- }
- }
- }
-
- .sign-grid {
- display: flex;
- flex-direction: row;
- flex-wrap: wrap;
- margin: 0 -10rpx;
- margin-bottom: 40rpx;
-
- .sign-grid-item {
- width: calc(33.33% - 20rpx);
- background-color: #F5F5F5;
- border-radius: 12rpx;
- padding: 20rpx;
- margin: 10rpx;
- position: relative;
- height: 180rpx;
- display: flex;
- flex-direction: column;
-
- .sign-day-num {
- font-size: 24rpx;
- color: #666666;
- margin-bottom: 10rpx;
- }
-
- .sign-item-img {
- width: 70rpx;
- height: 70rpx;
- background-color: #DDDDDD;
- border-radius: 50%;
- margin: 10rpx auto;
- }
-
- .sign-item-name {
- font-size: 24rpx;
- color: #333333;
- text-align: center;
- margin-top: auto;
- }
-
- .sign-vip-tag {
- position: absolute;
- top: 20rpx;
- right: 20rpx;
- padding: 4rpx 10rpx;
- background-color: #9C27B0;
- border-radius: 10rpx;
- font-size: 20rpx;
- color: #FFFFFF;
- }
-
- .sign-received-mask {
- position: absolute;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, 0.5);
- border-radius: 12rpx;
- display: flex;
- justify-content: center;
- align-items: center;
-
- .received-text {
- font-size: 28rpx;
- color: #FFFFFF;
- font-weight: bold;
- }
- }
- }
- }
-
- .sign-btn-large {
- width: 100%;
- height: 90rpx;
- background-color: #9C27B0;
- border-radius: 45rpx;
- display: flex;
- justify-content: center;
- align-items: center;
- font-size: 32rpx;
- color: #FFFFFF;
- font-weight: bold;
- &.sign-btn-disabled {
- background-color: #CCCCCC;
- color: #999999;
- }
- }
- }
- }
|