123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145 |
- .shop-content {
- background: #f8f3e9;
- min-height: 200rpx;
- padding: 20rpx;
- height: 680rpx;
- display: flex;
- flex-direction: column;
- .shop-tabs {
- display: flex;
- margin-bottom: 20rpx;
- background: #8b5e3c;
- border-radius: 8rpx;
- padding: 10rpx;
- .tab-item {
- flex: 1;
- text-align: center;
- padding: 15rpx 0;
- font-size: 28rpx;
- color: #f8f3e9;
- background: #6b4423;
- margin: 0 5rpx;
- border-radius: 6rpx;
- &.active {
- background: #f8f3e9;
- color: #6b4423;
- font-weight: bold;
- }
- }
- }
- .shop-items {
- flex: 1;
- overflow-y: auto;
- .shop-item {
- width: 100%;
- padding: 0 10rpx;
- margin-bottom: 20rpx;
- height: 220rpx;
- &:last-child {
- margin-bottom: 0;
- }
- }
- .item-card {
- background: #fff;
- border-radius: 12rpx;
- padding: 20rpx;
- position: relative;
- border: 2rpx solid #ddd;
- display: flex;
- height: 100%;
- .new-tag {
- position: absolute;
- top: -10rpx;
- left: -10rpx;
- background: #ff6b6b;
- color: white;
- padding: 4rpx 12rpx;
- border-radius: 20rpx;
- font-size: 20rpx;
- }
- .item-left {
- display: flex;
- flex-direction: column;
- align-items: center;
- margin-right: 20rpx;
- width: 80rpx;
- .item-icon {
- width: 80rpx;
- height: 80rpx;
- margin-bottom: 8rpx;
- }
- .owned-text {
- font-size: 22rpx;
- color: #666;
- white-space: nowrap;
- }
- }
- .item-info {
- flex: 1;
- .item-name {
- font-size: 28rpx;
- color: #333;
- font-weight: bold;
- margin-bottom: 8rpx;
- }
- .item-details {
- font-size: 20rpx;
- color: #666;
- padding-left: 6rpx;
- .detail-text {
- display: block;
- line-height: 1.5;
- }
- }
- .item-bottom {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin-top: 10rpx;
- .item-price {
- display: flex;
- align-items: center;
- gap: 4rpx;
- .currency-icon {
- width: 24rpx;
- height: 24rpx;
- }
- text {
- font-size: 24rpx;
- color: #ff9500;
- font-weight: bold;
- }
- }
- .buy-btn {
- background: #8b5e3c;
- color: white;
- font-size: 24rpx;
- padding: 4rpx 16rpx;
- border-radius: 30rpx;
- border: none;
- }
- }
- }
- }
- }
- }
|