/* pages/domain/domain.wxss */ .desc-video { width: 100%; height: 315rpx; border-radius: 10rpx; } .desc-title { margin-top: 39rpx; font-family: JiangChengYueHuTi600W; font-weight: 400; font-size: 40rpx; color: #303030; line-height: 27rpx; } .desc-content { font-family: Source Han Sans CN; font-weight: 400; font-size: 22rpx; color: #6F6F6F; margin-top: 33rpx; text-indent: 2em; } .desc-tag-box { display: flex; flex-direction: row; justify-content: space-between; margin-top: 39rpx; margin-bottom: 30rpx; } .desc-tag { background: rgba(41, 176, 98, 0.08); border-radius: 13rpx; padding: 15rpx 10rpx; display: flex; flex-direction: row; justify-content: center; align-items: center; } .desc-tag image { width: 28rpx; height: 28rpx; } .desc-tag text { font-size: 20rpx; color: #256742; margin-left: 20rpx; } .item-title-box { display: flex; flex-direction: row; justify-content: space-between; align-items: center; margin-bottom: 20rpx; } .item-title-box .more { font-family: Source Han Sans CN; font-weight: 400; font-size: 24rpx; color: #434343; } .unique-items { display: flex; justify-content: flex-start; /* 左对齐 */ flex-wrap: wrap; /* 允许换行 */ } .unique-item { display: flex; flex-direction: column; align-items: center; justify-content: center; background: #F8F8F8; margin-top: 32rpx; padding: 20rpx; margin-right: 20rpx; border-radius: 8rpx; width: calc((100% - 110px) / 4); } .right-more-bg { background: #E7E7E7; font-weight: 500; align-self: flex-end; display: flex; flex-direction: row; justify-content: center; padding: 5rpx 10rpx; border-radius: 15rpx; align-items: center; } .right-more-bg .icon { width: 20rpx; height: 20rpx; margin-left: 5rpx; } .right-more-bg .txt { font-size: 16rpx; color: #256742; text-align: center; } .unique-item image { width: 66rpx; height: 66rpx; } .unique-item text { font-family: Source Han Sans CN; font-size: 20rpx; color: #303030; } /* 将每行最后一个元素的margin-right设置为0 */ .unique-item:nth-of-type(4n) { margin-right: 0; } .area-box { display: flex; justify-content: flex-start; /* 左对齐 */ flex-wrap: wrap; /* 允许换行 */ } .area-item { display: flex; flex-direction: column; justify-content: center; align-items: center; margin-right: 20rpx; margin-top: 20rpx; width: calc((100% - 20px) / 3); } .area-item:nth-of-type(3n) { margin-right: 0; } .area-item image { width: 213.2rpx; height: 150.67rpx; border-radius: 10rpx; } .area-item text { font-family: Source Han Sans CN; font-size: 20rpx; margin-top: 15rpx; color: #303030; } .plates-content { display: flex; flex-direction: row; flex-wrap: nowrap; } .plates-item { display: flex; flex-direction: column; position: relative; } .plates-item:nth-of-type(n+2) { margin-left: 20rpx; } .plates-item .txt { position: absolute; bottom: 0; background: rgba(0, 0, 0, 0.49); width: 100%; text-align: center; font-size: 20rpx; color: white; border-bottom-left-radius: 10rpx; border-bottom-right-radius: 10rpx; } .plates-item .icon { width: 257rpx; height: 167rpx; border-radius: 10rpx; } .slider-bar-box { width: 40px; height: 5px; background-color: #CDCDCD; border-radius: 2.5px; display: flex; flex-direction: row; justify-content: flex-start; align-items: center; align-self: center; } .slider-bar { height: 5px; background-color: #256742; border-radius: 2.5px; } .enterprise-item { display: flex; flex-direction: row; } .enterprise-item:nth-of-type(n+2) { margin-top: 20rpx; } .divider-w { margin-top: 20rpx; height: 1rpx; background-color: #F0F0F0; margin-left: 110rpx; } .enterprise-item .icon { width: 92rpx; height: 92rpx; border-radius: 15rpx; } .enterprise-content { margin-left: 20rpx; display: flex; flex-direction: column; justify-content: center; } .enterprise-name { font-family: Source Han Sans CN; font-weight: bold; font-size: 27rpx; color: #303030; line-height: 27rpx; } .enterprise-code { font-family: Source Han Sans CN; font-weight: 400; font-size: 20rpx; color: #303030; line-height: 27rpx; margin-top: 25rpx; }