123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249 |
- /* 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;
- }
- }
- }
- }
- }
- }
|