forked from zhouruizhe/gmTouringMiniApp
157 lines
2.4 KiB
Plaintext
157 lines
2.4 KiB
Plaintext
/* pages/poi/poi.wxss */
|
|
|
|
.page {
|
|
min-height: 100vh;
|
|
padding: 24rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* 顶部积分卡片 */
|
|
.header-card {
|
|
background: linear-gradient(135deg, #ffb347 0%, #ff7e5f 100%);
|
|
border-radius: 24rpx;
|
|
padding: 36rpx 32rpx;
|
|
color: #fff;
|
|
box-shadow: 0 8rpx 24rpx rgba(255, 126, 95, 0.25);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.header-label {
|
|
font-size: 26rpx;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.header-points {
|
|
margin-top: 8rpx;
|
|
display: flex;
|
|
align-items: baseline;
|
|
}
|
|
|
|
.points-num {
|
|
font-size: 64rpx;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
|
|
.points-unit {
|
|
font-size: 28rpx;
|
|
margin-left: 6rpx;
|
|
}
|
|
|
|
.header-right {
|
|
text-align: right;
|
|
}
|
|
|
|
.badge-count-num {
|
|
font-size: 40rpx;
|
|
font-weight: 700;
|
|
margin-right: 6rpx;
|
|
}
|
|
|
|
.badge-count-label {
|
|
font-size: 24rpx;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.arrow {
|
|
margin-top: 12rpx;
|
|
font-size: 22rpx;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* 分区标题 */
|
|
.section-title {
|
|
margin: 40rpx 8rpx 20rpx;
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
/* 景点列表 */
|
|
.poi-list {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20rpx;
|
|
}
|
|
|
|
.poi-item {
|
|
background: #ffffff;
|
|
border-radius: 20rpx;
|
|
padding: 24rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.poi-icon {
|
|
width: 96rpx;
|
|
height: 96rpx;
|
|
border-radius: 50%;
|
|
background: linear-gradient(135deg, #fff2d6, #ffe0b3);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 52rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.poi-info {
|
|
flex: 1;
|
|
margin: 0 24rpx;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.poi-name {
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
color: #333;
|
|
}
|
|
|
|
.poi-desc {
|
|
margin-top: 6rpx;
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
white-space: nowrap;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
}
|
|
|
|
/* 打卡按钮 */
|
|
.poi-btn {
|
|
min-width: 160rpx;
|
|
height: 64rpx;
|
|
line-height: 64rpx;
|
|
padding: 0 24rpx;
|
|
font-size: 26rpx;
|
|
color: #fff;
|
|
background: linear-gradient(135deg, #ffb347, #ff7e5f);
|
|
border-radius: 32rpx;
|
|
border: none;
|
|
}
|
|
|
|
.poi-btn-done {
|
|
background: #e5e5e5 !important;
|
|
color: #999 !important;
|
|
}
|
|
|
|
.poi-btn[disabled] {
|
|
background: #e5e5e5 !important;
|
|
color: #999 !important;
|
|
}
|
|
|
|
/* 调试按钮 */
|
|
.reset-wrap {
|
|
margin: 60rpx 0 40rpx;
|
|
display: flex;
|
|
justify-content: center;
|
|
}
|
|
|
|
.reset-btn {
|
|
font-size: 24rpx;
|
|
color: #999;
|
|
background: transparent;
|
|
padding: 12rpx 32rpx;
|
|
}
|