/*
  @name: inspection.css
  @description: inspection.css
  @author: Leopold-Sze
  @time: 2020-12-09 14:30:26
*/

/*商品列表容器*/
.container {
  width: 1020px;
  min-height: 590px;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  position: relative;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}
/*商品模板*/
.goods {
  width: 480px;
  background-color: #fff;
  border-radius: 2px;
  padding: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  margin: 10px 0;
  cursor: pointer;
  -webkit-box-shadow: 0 0 20px #ccc;
  box-shadow: 0 0 20px #ccc;
}
.goods__info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.good__info__image {
  width: 140px;
  height: 140px;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.good__info__image img {
  width: 140px;
  height: 140px;
  border-radius: 5px;
}
.goods__info__detail {
  width: 320px;
  height: 140px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.goods__info__detail h4 {
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 18px;
  -ms-flex-item-align: start;
  align-self: flex-start;
}
.goods__info__detail > span {
  color: #777;
}
.goods__info__detail > span:nth-of-type(2n+1) {
  -ms-flex-preferred-size: 45%;
  flex-basis: 45%;
}
.goods__info__detail > span:nth-of-type(2n) {
  -ms-flex-preferred-size: 55%;
  flex-basis: 55%;
}
.goods__info__detail .realPrice {
  font-size: 20px;
  color: #FF6600;
}
.goods__info__detail .commission {
  color: #FF6F0F;
}
.goods__info__detail .coupon {
  padding: 2px 15px;
  background-color: #FF451B;
  color: #fff;
  border-radius: 3px;
  position: relative;
}
.goods__info__detail .coupon:before {
  content: '';
  position: absolute;
  left: 5px;
  top: 50%;
  margin-top: -4px;
  margin-left: -10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
}
.goods__info__detail .coupon:after {
  content: '';
  position: absolute;
  right: 5px;
  top: 50%;
  margin-top: -4px;
  margin-right: -10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #fff;
}
.goods__info__detail .left {
  color: #333;
}
.goods__video {
  margin: 10px auto 0;
  text-align: center;
  border: 1px solid #ccc;
}
.goods__video video {
  width: 480px;
  height: 240px;
}
.goods__material {
  width: 480px;
  margin: 10px auto 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.goods__material img {
  width: 130px;
  height: 130px;
  border-radius: 8px;
  margin-right: 40px;
}
.modal {
  width: 130px;
  height: 130px;
  position: relative;
}
.modal span {
  border-radius: 8px;
  background-color: #333;
  opacity: 0.65;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  color: #fff;
  font-size: 26px;
  text-align: center;
  line-height: 130px;
}
.el-pagination {
  -ms-flex-preferred-size: 100%;
  flex-basis: 100%;
  margin: 20px auto;
  text-align: center;
}
/*图片预览*/
.preview {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #333;
  opacity: 0.7;
  z-index: 20;
  text-align: center;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.previewImage {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  z-index: 21;
}
.previewImage img {
  max-width: 800px;
  max-height: 800px;
}
/*加载效果*/
.itemLoading {
  width: 100%;
  text-align: center;
  margin: 20px auto 0;
  color: #aaa;
}
/*添加商品弹窗*/
.dialog {
  min-width: 520px;
}

element.style {
  font-size: 14px;
}
* {
  margin: 0;
  padding: 0;
}
[v-cloak] {
  display: none;
}
.list__btn {
  color: #333;
  cursor: pointer;
  padding: 0 15px;
}
.list__btn:hover {
  color: #2453a8;
}
.list__btn.on {
  color: #4982f0;
  padding-bottom: 11px;
  border-bottom: 2px solid #4982f0;
}
.share__content {
  margin-top: 10px;
}
.share__content p {
  width: 480px;
  height: 60px;
  overflow-y: auto;
  font-size: 15px;
  text-align: justify;
  line-height: 20px;
}