#purchase {
  margin-top: 70px;
  height: calc(100% - 70px);
}

#purchase .searchRow {
  padding: 26px 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: auto;
  width: 1200px;
}

#purchase .searchRow .back {
  color: #999999;
  display: none;
  align-items: center;
  cursor: pointer;
  user-select: none;
}

#purchase .searchRow .back i {
  font-size: 12px;
  margin-right: 3px;
}

#purchase .searchRow .back span {
  font-weight: 400;
  font-size: 16px;
  line-height: 100%;
}

#purchase .listScrollBox {
  height: calc(100% - 90px);
  overflow-y: auto;
}

#purchase .listScrollBox .listContainer {
  width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px 59px;
  padding-bottom: 44px;
}

#purchase .listScrollBox .listContainer .listItem {
  width: 256px;
  height: 386px;
  position: relative;
  cursor: pointer;
  font-size: 0;
}

.listItem::before,
.listItem::after {
  position: absolute;
  display: inline-block;
  content: "";
  height: 333px;
  border: 1px solid #E5E5E5;
  z-index: 1;
  border-radius: 4px;
}

.listItem::before {
  background-color: #fff;
  left: 2px;
  top: 4px;
  z-index: 2;
  width: 242px;
  transform: skewY(1deg);
}

.listItem::after {
  background-color: #FBFBFB;
  width: 250px;
  left: 3px;
  top: 8px;
  transform: skewY(3deg);
}


.listItem img {
  position: relative;
  width: 236px;
  height: 333px;
  background: #D8D8D8;
  border-radius: 4px;
  object-fit: cover;
  z-index: 10;
  border: 1px solid #E5E5E5;
}

.listItem p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 500;
  font-size: 16px;
  color: #333649;
  margin-top: 29px;
}

.listItem:hover p {
  color: #2858f8;
}

.originImg {
  width: 1200px;
  margin: auto;
  display: none;
  margin-bottom: 16px;
  height: 78px;
}

.originImg img {
  width: 78px;
  height: 78px;
  background: #F7F7F7;
  border-radius: 6px;
  object-fit: cover;
}

.searchResultListByImg {
  width: 1200px;
  margin: auto;
  position: relative;
  font-size: 0;
}

.searchResultListByImg img {
  position: absolute;
  width: 282px;
  background: #D8D8D8;
  border-radius: 6px;
}

.empty {
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 500px;
}

.loading,
.noMore {
  display: none;
  align-items: center;
  justify-content: center;
  padding: 15px 0;
}

.loading .loadingIcon {
  display: inline-block;
  transform: rotate(1turn);
  animation: loading 1s linear infinite;
}

@keyframes loading {
  from {
    transform: rotate(0turn);
  }

  to {
    transform: rotate(1turn);
  }
}

/* 查看大图弹框 */
#previewImg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

#previewImg .preivewContainer {
  display: flex;
  align-items: center;
  width: 80vw;
  height: 90vh;
  position: relative;
}

#previewImg .preivewContainer .imgShowBox {
  flex: 1;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F5F7FA;
  border-radius: 8px 0 0 8px;
  padding: 24px;
}

#previewImg .preivewContainer .imgShowBox img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

#previewImg .preivewContainer .imgInfo {
  width: 420px;
  height: 100%;
  background-color: #fff;
  border-radius: 0 8px 8px 0;
  display: flex;
  flex-direction: column;
  padding: 24px;
}

#previewImg .preivewContainer .imgInfo .fileInfo {
  flex: 1;
}

.imgInfo .fileInfo .originFile {
  display: flex;
  align-items: flex-start;
}

.imgInfo .fileInfo .originFile .cover {
  width: 72px;
  height: 100px;
  flex-shrink: 0;
  position: relative;
  margin-right: 21px;
}

.imgInfo .fileInfo .originFile .cover::before,
.imgInfo .fileInfo .originFile .cover::after {
  content: "";
  display: inline-block;
  border-radius: 4px;
  position: absolute;
  border: 1px solid #E5E5E5;
}

.imgInfo .fileInfo .originFile .cover::before {
  top: 3px;
  left: 1px;
  z-index: 5;
  background-color: #fff;
  width: 73px;
  height: 98px;
  transform: skewY(2deg);
}

.imgInfo .fileInfo .originFile .cover::after {
  top: 6px;
  height: 97px;
  width: 72px;
  left: 6px;
  z-index: 2;
  background-color: #FBFBFB;
  transform: skewY(4deg);
}

.imgInfo .fileInfo .originFile .cover img {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  background-color: #D8D8D8;
}

.imgInfo .fileInfo .originFile p {
  flex: 1;
  padding: 11px 0;
  font-weight: 600;
  font-size: 16px;
  color: #333649;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.imgInfo .fileInfo .source {
  margin-top: 22px;
  background: #F5F7FA;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
}

.imgInfo .fileInfo .source span:nth-child(1) {
  font-weight: 400;
  font-size: 14px;
  color: #333333;
}

.imgInfo .fileInfo .source span:nth-child(2) {
  font-weight: 400;
  font-size: 14px;
  color: #999999;
}

.tools .label {
  font-weight: 400;
  font-size: 14px;
  color: #666666;
  margin-bottom: 12px;
}

.tools .toolList {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px 12px;
}

.tools .toolList .toolItem {
  width: 100%;
  height: 42px;
  border: 1px solid #E8E8E8;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.tools .toolList .toolItem:hover {
  color: #2858f8;
  border-color: #2858f8;
}

.tools .toolList .toolItem span {
  margin-left: 2px;
}

.tools .lookMore {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  background: linear-gradient(107deg, #2858F8 0%, #00B7FF 100%);
  border-radius: 6px;
  color: #fff;
}

.preivewContainer .close {
  width: 42px;
  height: 42px;
  position: absolute;
  right: -56px;
  top: 0;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.preivewContainer .close i {
  font-size: 18px;
}

.preivewContainer .prevBtn,
.preivewContainer .nextBtn {
  position: absolute;
  width: 42px;
  height: 42px;
  background-color: rgba(0, 0, 0, 0.4);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  top: calc(50% - 28px);
}

.preivewContainer .prevBtn {
  left: -56px;
}

.preivewContainer .nextBtn {
  right: -56px;
}