// 远程搜索选择组件样式 .remote-search-select { width: 100%; position: relative; .search-container { display: flex; gap: 10rpx; } // 搜索结果列表 .result-list { height: 400rpx; margin-top: 8rpx; border-radius: 8px; overflow-y: auto; overflow-x: hidden; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); position: absolute; left: 0rpx; right: 20rpx; // top:0; z-index: 20000; background-color: #fff; ::v-deep .u-cell { transition: background-color 0.2s ease; &:hover { background-color: #f5f7fa; } } // 滚动条样式 &::-webkit-scrollbar { width: 4px; } &::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 4px; } &::-webkit-scrollbar-thumb { background: #c1c1c1; border-radius: 4px; } &::-webkit-scrollbar-thumb:hover { background: #a8a8a8; } } // 空结果提示 .empty-result { margin-top: 8px; padding: 20px; border-radius: 8px; background-color: #fff; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); position: absolute; left: 0; right: 0; z-index: 999; } // 加载状态 .loading-state { margin-top: 8px; padding: 16px; border-radius: 8px; background-color: #fff; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); position: absolute; left: 0; right: 0; z-index: 999; display: flex; align-items: center; justify-content: center; .loading-text { margin-left: 8px; font-size: 14px; color: #909399; } } .img-preview-container { margin: 70rpx 40rpx; .image-section { transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); .image-container { display: flex; justify-content: center; align-items: center; background-color: #f0f0f0; border-radius: 8rpx; .preview-image { width: 100%; height: 100%; object-fit: contain; } } .confirm-crop-btn-container { max-height: 0; opacity: 0; overflow: hidden; display: flex; justify-content: flex-end; width: 100%; transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); &.show { max-height: 100rpx; opacity: 1; margin-top: 20rpx; margin-bottom: 10rpx; } .confirm-crop-btn { margin: 0; width: fit-content; } } } .img-result-list { transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1); max-height: 1200rpx; &.compressed { max-height: 600rpx; } ::v-deep .uni-scroll-view-content { display: grid; grid-template-columns: 1fr 1fr; gap: 20rpx; } } } .img-result-item { display: flex; flex-direction: column; align-items: center; background-color: #f8f8f8; border-radius: 10rpx; padding-bottom: 20rpx; text-align: center; } .img-result-thumb { width: 100%; height: 250rpx; object-fit: cover; } .img-result-info { width: 100%; } .img-result-title { display: block; background-color: #333; color: white; padding: 8rpx 12rpx; font-size: 22rpx; margin-bottom: 10rpx; } .img-result-desc { display: block; font-size: 24rpx; margin-bottom: 10rpx; line-height: 1.3; text-align: left; padding: 0 20rpx; } .img-result-price { display: block; font-size: 26rpx; font-weight: bold; color: #ff4d4f; text-align: left; padding: 0 20rpx; } }