/* nova-tourism/components/collect/index.wxss */ .all{ width: 100vw; overflow-y: scroll; padding-bottom: 30rpx; .img2{ width: 100%; height: 430rpx; } //云上风物 .box{ width: 100%; padding-left: 30rpx; padding-right: 30rpx; padding-top: 20rpx; .taps{ width: 100%; height: 220rpx; display: flex; justify-content: space-around; border-bottom: solid 4rpx #99B6A0; .tap{ display: flex; justify-content: center; align-items: center; flex-direction: column; image{ width: 100rpx; height: 100rpx; border-radius: 50%; } .tap-tex{ font-size: 26rpx; margin-top: 20rpx; color: #969696 ; } } } .box-tex{ font-size: 32rpx; color: #67806A; margin-top: 10rpx; margin-bottom: 20rpx; } .picturebox{ width: 100%; height: 500rpx; position: relative; .img{ width: 100%; height: 500rpx; image{ width: 100%; height: 100%; } } .numberbox{ position: absolute; bottom: 40rpx; right: 20rpx; border-radius: 45%; z-index: 10; color: white; width: 70rpx; height: 45rpx; font-size: 24rpx; display: flex; justify-content: center; align-items: center; background-color: rgba(12, 12, 12, 0.5); } } .wangbox{ width: 100%; display: flex; justify-content: center; align-items: center; flex-direction: column; margin-top: 40rpx; margin-bottom: 20rpx; .wang{ width: 200rpx; height: 60rpx; font-size: 32rpx; color: #67806A; background-image: url(https://file-cloud.fmode.cn/EbxZUK5lBI/20241126/dm1jj2032446503.png?imageView2/1/w/200/h/200); background-position: center; /* 背景图片居中 */ // background-size: cover; /* 背景图片覆盖整个元素 */ background-repeat: no-repeat; /* 不重复背景图片 */ display: flex; justify-content: center; align-items: center; } .wang2{ font-size: 28rpx; color: #969696; } } .wang-cardbox{ margin-top: 40rpx; width: 100%; background-color: white; overflow-y: hidden; padding-left: 3%; padding-right: 3%; padding-bottom: 40rpx; column-count: 2; /* 设置列数 */ column-gap: 20rpx; /* 设置列间距 */ .wang-card{ break-inside: avoid; /* 防止卡片在列之间断裂 */ margin-bottom: 20rpx; /* 设置卡片底部间距 */ width: 100%; /* 确保卡片宽度为100% */ image{ width: 100%; height: 275rpx; border-radius: 15rpx; } .wang-catex{ font-size: 28rpx; } .wang-numbox{ width: 100%; height: 80rpx; display: flex; align-items: center; .wang-num{ display: flex; justify-content: flex-end; align-items: flex-end; color: #C5262Ced; font-size: 30rpx; .wang-num1{ font-size: 32rpx; } .wang-num2{ font-size: 36rpx; } } .wang-submit{ width: 100rpx; height: 50rpx; font-size: 30rpx; color: white; background-color: #F8DA7F; border-radius: 40rpx; display: flex; justify-content: center; align-items: center; margin-left: auto; } } } } .more{ width: 100%; display: flex; align-items: center; justify-content: center; .more-tex{ font-size: 28rpx; color: #969696; } } } //我的收藏 .Legendary-Information{ margin-top: 40rpx; width: 100%; background-color: white; overflow-y: hidden; padding-left: 3%; padding-right: 3%; padding-bottom: 40rpx; column-count: 2; /* 设置列数 */ column-gap: 20rpx; /* 设置列间距 */ .cardbox { break-inside: avoid; /* 防止卡片在列之间断裂 */ margin-bottom: 20rpx; /* 设置卡片底部间距 */ width: 100%; /* 确保卡片宽度为100% */ background-color: #F9F9F9; .pic{ width: 100%; height: 275rpx; } .textobx{ width: 100%; height: 220rpx; padding-top: 10rpx; padding-left: 20rpx; padding-right: 20rpx; .title{ width: 100%; height: 50rpx; display: flex; align-items: center; .til{ font-size: 30rpx; font-weight: 600; } .collect{ width: 50rpx; height: 50rpx; margin-left: auto; } } .miaosu{ width: 100%; height: 80rpx; /* 设置固定高度 */ font-size: 28rpx; overflow: hidden; /* 隐藏超出部分 */ display: -webkit-box; /* 使用弹性盒子布局 */ -webkit-box-orient: vertical; /* 垂直排列 */ -webkit-line-clamp: 2; /* 限制显示的行数,这里设置为3行 */ text-overflow: ellipsis; /* 超出部分显示省略号 */ } .bottom{ width: 100%; height: 80rpx; display: flex; align-items: center; .qian{ color: #C5262Ced; display: flex; .numbox{ margin-left: 6rpx; } } .soucang{ width: 104rpx; height: 48rpx; font-size: 26rpx; background-color: #343027; border-radius: 40rpx; color: white; margin-left: auto; display: flex; justify-content: center; align-items: center; } } } } } }