.search_wrap{ width: 670rpx; height: 72rpx; margin: 24rpx auto; background: #F7F7F7; border-radius: 8rpx; padding: 0 40rpx; display: flex; align-items: center; background-color: #F7F7F7; image{ width: 28rpx; height: 28rpx; margin-right: 16rpx; } } .app { height: 100%; width: 100%; .home_content{ height: 100%; } } .home_top{ position: fixed; z-index: 9999; width: 100%; background-color: #fff; } .main_content{ height: 100%; padding-top: 120rpx; .query_wrap_scroll{ width: 750rpx; padding: 0 40rpx; } .query_wrap { display: flex; .item { margin-right: 36rpx; height: 88rpx; display: flex; flex-shrink: 0; align-items: center; justify-content: center; color: #666666; .name { margin-right: 6rpx; } } } .query_param { position: absolute; z-index: 999; background-color: #fff; width: 100%; .list { width: 100%; display: flex; flex-wrap: wrap; max-height: 400rpx; overflow: auto; padding: 30rpx 40rpx; .item { width: 202rpx; height: 72rpx; text-align: center; line-height: 70rpx; background: #F7F7F7; border-radius: 8rpx; font-size: 26rpx; color: #333333; white-space: nowrap; overflow: hidden; //文本超出隐藏 text-overflow: ellipsis; margin-right: 24rpx; margin-bottom: 24rpx; &:nth-of-type(3n) { margin-right: 0; } } .active { color: var(--themeColor); background: rgba(176, 135, 113, 0.08); } } .btns { display: flex; .btn { flex: 1; height: 88rpx; background: #E5E5E5; color: #666666; display: flex; justify-content: center; align-items: center; } .sub { background: var(--themeColor); color: #fff; } } } .shade{ position: absolute; width: 100%; height: 100%; background-color: rgba(0,0,0,.5); z-index: 99; } .status { display: flex; padding: 0rpx 40rpx; align-items: center; height: 100rpx; .active { color: var(--themeColor); } .separate { margin: 0 12rpx; width: 1rpx; height: 28rpx; background-color: #333333; } } .goods_list{ box-sizing: border-box; padding: 12rpx 40rpx; height: calc( 100% - 188rpx); .item{ width: 100%; margin-bottom: 32rpx; .img_wrap{ width: 100%; height: 376rpx; border-radius: 8rpx; overflow: hidden; position: relative; .img{ width: 100%; height: 100%; } .new{ width: 72rpx; position: absolute; left: 0; top: 0; z-index: 10; } } .content{ display: flex; justify-content: space-between; padding: 0 10rpx; } .name{ margin: 12rpx 0 8rpx; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: 1; } .info{ display: flex; align-items: center; color: #666666; margin-left: 12rpx; .icon{ width: 28rpx; margin-right: 8rpx; } .num{ margin-right: 28rpx; } .primary{ color: var(--themeColor); } } } } }