/* nova-tourism/components/collect/index.wxss */ .all{ width: 100vw; overflow-y: scroll; padding-bottom: 30rpx; color: #382E2E; font-weight: 400; font-family: "Microsoft JhengHei", "PingFang SC", "Helvetica Neue", sans-serif; .img2{ width: 100%; height: 442rpx; } //云上风物 .box{ width: 100%; display: flex; align-items: center; flex-direction: column; padding-left: 20rpx; padding-right: 20rpx; padding-top: 20rpx; .taps{ width: 100%; height: 180rpx; display: flex; justify-content: space-around; border-bottom: solid 4rpx #99B6A0; margin-top: 26rpx; .tap{ display: flex; align-items: center; flex-direction: column; image{ width: 104rpx; height: 102rpx; border-radius: 50%; } .tap-tex{ font-size: 22rpx; margin-top: 22rpx; font-weight: 400; color: #969696 ; height: 32rpx; } } } .box-tex{ width: 100%; padding-left: 30rpx; font-size: 32rpx; color: #67806A; margin-top: 16rpx; margin-bottom: 12rpx; } .picturebox{ width: 700rpx; height: 714rpx; position: relative; .img{ width: 100%; height: 714rpx; 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); } } .picturebox2{ width: 702rpx; height: 420rpx; position: relative; .img{ width: 100%; height: 420rpx; 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: 60rpx; margin-bottom: 28rpx; .wang{ width: 206rpx; height: 46rpx; 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: 24rpx; color: #969696; } } .wang-cardbox{ margin-top: 40rpx; width: 100%; background-color: white; overflow-y: hidden; padding-bottom: 40rpx; column-count: 2; /* 设置列数 */ column-gap: 16rpx; /* 设置列间距 */ .wang-card{ break-inside: avoid; /* 防止卡片在列之间断裂 */ margin-bottom: 20rpx; /* 设置卡片底部间距 */ width: 100%; /* 确保卡片宽度为100% */ image{ width: 100%; height: 204rpx; border-radius: 10rpx; } .wang-catex{ font-size: 26rpx; font-weight: 400; height: 76rpx; } .wang-numbox{ width: 100%; 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: 40rpx; } } .wang-submit{ width: 102rpx; height: 48rpx; font-size: 28rpx; color: white; background-color: #F8DA7F; border-radius: 15rpx; 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: 44rpx; width: 100%; background-color: white; overflow-y: hidden; padding-left: 3%; padding-right: 3%; padding-bottom: 40rpx; column-count: 2; /* 设置列数 */ column-gap: 10rpx; /* 设置列间距 */ .cardbox { break-inside: avoid; /* 防止卡片在列之间断裂 */ margin-bottom: 20rpx; /* 设置卡片底部间距 */ width: 346rpx; height: 398rpx; /* 确保卡片宽度为100% */ background-color: #F9F9F9; display: flex; align-items: center; flex-direction: column; .pic{ width: 336rpx; height: 198rpx; border-radius: 10rpx; } .textobx{ width: 302; height: 152rpx; margin-bottom: 20rpx; .title{ width: 100%; height: 50rpx; margin-top: 4rpx; display: flex; align-items: center; .til{ font-size: 28rpx; font-weight:700; } .collect{ width: 46rpx; height: 46rpx; margin-left: auto; } } .miaosu{ width: 284rpx; height: 70rpx; font-size: 26rpx; font-weight: 400; overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; text-overflow: ellipsis; } .bottom{ width: 100%; height: 46rpx; margin-top: 4rpx; display: flex; .qian{ font-size: 28; font-weight: 400; color: #C5262Ced; display: flex; .numbox{ margin-left: 6rpx; } } .soucang{ width: 118rpx; height: 46rpx; font-size: 24rpx; font-weight: 700; background-color: #343027; border-radius: 40rpx; color: white; margin-left: auto; display: flex; justify-content: center; align-items: center; } } } } } //选中 @font-face { font-family: 'NotoSans-Bold-5'; src: url('https://file-cloud.fmode.cn//tmp/5iLLGbrCKubyce219ad4b2ae30ae432fe9a88f8261b1.ttf')format('truetype'); /* 字体文件路径 */ } //为选中 @font-face { font-family: 'NotoSans-Regular-2'; src: url('https://file-cloud.fmode.cn//tmp/5iLLGbrCKubyce219ad4b2ae30ae432fe9a88f8261b1.ttf')format('truetype'); /* 字体文件路径 */ } .tab-bar { display: flex; // justify-content: space-around; margin-top: 28rpx; font-family: 'NotoSans-Regular-2', sans-serif; } .tab-item { padding: 10rpx 0; text-align: center; position: relative; color: #969696; font-size: 28rpx; font-weight: 400; } .tab-item.active { position: relative; color: #67806A; font-size: 32rpx; font-weight: 500; font-family: 'NotoSans-Bold-5', sans-serif; } .tab-item.active::after { content: ""; width: 64rpx; position: absolute; left: calc(50% - 32rpx); right: calc(50% - 32rpx); bottom: 0; height: 2rpx; background-color: #67806A; border-radius: 4rpx; } }