/* nova-caipu/pages/new-app/index.wxss */ .all{ width: 100vw; height: 100vh; .picturebox{ width: 100%; height: 430rpx; position: relative; .img{ width: 100%; height: 430rpx; image{ width: 100%; height: 100%; } } .infobox{ width: 94%; height: 250rpx; background-color: white; display: flex; justify-content: center; flex-direction: column; align-items: center; border-radius: 20rpx; position: absolute; left: 3%; bottom: -186rpx; z-index: 10; border: solid #e5e5e5 2rpx; box-shadow: 0 4rpx 10rpx rgba(0, 0, 0, 0.2); .seach{ width: 80%; height: 110rpx; background-color: white; .a{ background-color: white; padding: auto; } } .datebox{ width: 90%; height: 132rpx; display: flex; align-items: center; font-size: 32rpx; border-top: solid #e5e5e5 2rpx; .today{ font-size: 28rpx; color: gray; margin-left: 10rpx; display: flex; justify-content: flex-end; } .start{ display: flex; justify-content: flex-end; } .day{ display: flex; justify-content: center; align-items: center; margin-left: auto; width: 90rpx; height: 42rpx; background-color: #ECECEC; font-size: 25rpx; color: black; } .end{ margin-left: auto; } } } } .Legendary-Information{ margin-top: 204rpx; width: 100%; background-color: white; overflow-y: hidden; padding-left: 3%; padding-right: 3%; padding-bottom: 40rpx; column-count: 2; /* 设置列数 */ column-gap: 20rpx; /* 设置列间距 */ .picbox { height: 280rpx; background-image: url('https://file-cloud.fmode.cn/EbxZUK5lBI/20241121/01atf5032703958.png?imageView2/1/w/200/h/200'); margin-top: 20rpx; margin-bottom: 20rpx; break-inside: avoid; .pic-2{ width: 100%; height: 56rpx; } .pic-1{ width: 100%; height: 66rpx; padding-left: 126rpx; margin-top: 4rpx; .pic-1tex{ font-size: 26rpx; } .pic-1tex2{ font-size: 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; } } } } } .Legendary-Information2{ margin-top: 204rpx; width: 100%; background-color: white; overflow-y: hidden; padding-left: 3%; padding-right: 3%; padding-bottom: 40rpx; } }