/* subpages/searchResult/pages/punchCard/punchCard.wxss */ /**index.wxss**/ page { width: 100%; min-height: 100vh; overflow: hidden; overflow-y: scroll; background-color: #f7f7f7; padding: 0 20rpx; box-sizing: border-box; } .card{ background-color: #fff; border-radius: 20rpx; display: flex; flex-direction: column; min-height: 350rpx; margin-top: 20rpx; padding: 30rpx 30rpx 40rpx; } .card .title{ position: relative; font-size: 34rpx; } .card .title::after{ position: absolute; left: -30rpx; top: 8rpx; content: " "; width: 10rpx; height: 28rpx; background-color: #3A80E7; } .info{ margin-top: 6rpx; } .info .item{ display: flex; margin-top: 28rpx; } .info .item .label{ width: fit-content; } .punch{ width: 260rpx; height: 260rpx; background: linear-gradient(180deg,#5E9FFF, #3A80E7); box-shadow: 0rpx 4rpx 35rpx 0rpx rgba(61,139,248,0.48); color: #fff; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 50%; margin: 50rpx auto 0; } .address{ color: #666666; font-size: 28rpx ; margin: 0 auto; margin: 40rpx auto 30rpx; } @keyframes rotateAnimation { 0% { transform: rotateY(0deg); } 100% { transform: rotateY(180deg); } } .animate { animation: rotateAnimation 2s forwards; } .btn{ padding: 0 85rpx; box-sizing: border-box; min-width: 364rpx; text-align: center; height: 76rpx; border-radius: 38rpx; margin: 30rpx auto 0; line-height: 76rpx; border-radius: 76rpx; } .blue{ color:#3A80E7 ; border: 2rpx solid #3A80E7; } .yellow{ color: #FF783C; border: 2rpx solid #FF783C; } .green{ color: #13C8BD; border: 2rpx solid #13C8BD; }