snapshootShare.wxss 4.9 KB
/* pages/snapshootShare/snapshootShare.wxss */
.snapshoot-container {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.snapshoot-page {
  position: fixed;
  left: 0rpx;
  top: 0rpx;
  width: 750rpx;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6); 
  flex-direction: column;
  z-index: 9999;
}

.snapshoot-container .snapshoot-content {
  margin-top: 20rpx;
  margin-left: 105rpx;
  width: 540rpx;
  height: 1000rpx;
  background-color: white;
  flex-direction: column;
}

.snapshoot-container .snapshoot-content .snapshoot {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.snapshoot-container .snapshoot-content .snapshoot .img-bg {
  width: 100%;
  height: 168rpx;
}

.snapshoot-container .snapshoot-content .snapshoot .snapshoot-shopinfo {
    margin-top: -50rpx; 
    width: 460rpx;
    height: 460rpx;
    background-color: white;
    box-shadow:5px 5px 3px lightgray; 
    border: 0.5rpx solid #e5e5e5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.snapshoot-container .snapshoot-content .snapshoot .snapshoot-shopinfo .img-logo {
  margin-top: 30rpx;
  width: 172rpx;
  height: 172rpx;
}

.snapshoot-container .snapshoot-content .snapshoot .snapshoot-shopinfo  .shop-name {
  margin-top: 36rpx;
  font-size: 28rpx;
  font-weight: bold;
  text-align: center;
}

.snapshoot-container .snapshoot-content .snapshoot .snapshoot-shopinfo  .shop-intro {
  margin-top: 61rpx;
  font-size: 20rpx;
  font-weight: bold;
  text-align: left;
  width: 401rpx;
  height: 60rpx;
  line-height:30rpx; 
  display: -webkit-box;
  overflow: hidden;
  text-overflow:ellipsis; 
  white-space: pre-wrap;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.snapshoot .shop-miniqr {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.yoho-logo {
  width: 160rpx;
  height: 29rpx;
  margin-top: 21rpx;
  margin-bottom: 30rpx;
}

.snapshoot .shop-miniqr .shop-qrcode {
  width: 150rpx;
  height: 150rpx;
  margin-top: 90rpx;
}

.product-qrcode {
  width: 180rpx;
  height: 180rpx;
  margin-top: 21rpx;
  margin-bottom: 20rpx;
}

.snapshoot-container .snapshoot-save {
  width: 260rpx;
  height: 88rpx;
  background-color: #d0021b;
  border-radius: 10rpx;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.snapshoot-container .snapshoot-cancel {
  margin-left: 20rpx;
  width: 260rpx;
  height: 88rpx;
  background-color: white;
  border-radius: 10rpx;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center
  }

.img {
  width: 41rpx;
  height: 38rpx;
}

.text {
  font: 28rpx;
  color: white;
  text-align: center;
}

.cancel-text {
  font: 28rpx;
  color: black;
  text-align: center;
}

.snapshoot-tips {
  margin-top: 16rpx;
  font-size: 16rpx;
  color: #444444;
}

.snapshoot-title {
  font-size: 25rpx;
  margin-top: 40rpx;
  margin-bottom: 30rpx;
}


/*商品  */
.product-img-bg {
  width: 100%;
  height: 268rpx;
}

.snapshoot-productinfo {
    width: 460rpx;
    height: 310rpx;
    background-color: white;
    /* box-shadow:5px 5px 3px rgba(0, 0, 0, 0.05);  */
    /* border: 0.5rpx solid #e5e5e5; */
    display: flex;
    flex-direction: column;
    align-items: center;
}


.product-defaultImage {
  width: 100%;
  height: 100%
}

.product-info-content {
  width: 100%;
  height: 180rpx;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.product-name {
  width: 80%;
  color: #444444;
  text-align: center;
  font-size: 19rpx;
  margin-top: 30rpx;
  margin-bottom: 20rpx;
  line-height: 32rpx;
  display: -webkit-box;
  overflow: hidden;
  text-overflow:ellipsis;
  white-space: pre-wrap;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-price {
  color: white;
  text-align: center;
  font-size: 34rpx;
}

.product-tips {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  margin-top: 10rpx;
}

.product-tips-img {
  width: 18rpx;
  height: 18rpx;
}

.product-tips-text {
  font-size: 16rpx;
  color: #b0b0b0;
  margin-left: 10rpx;
}


.product-miniqr {
  /* margin-top: -20; */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.snapshoot-bottom {
  margin-left: 105rpx;
  margin-top: 20rpx;
  width: 540rpx;
  height: 88rpx;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}

.list-title {
  width: 80%;
  height: 70rpx;
  margin-top: 30rpx;
  color: white;
  text-align: center;
  font-size: 26rpx;
  line-height: 35rpx;
  display: -webkit-box;
  overflow: hidden;
  text-overflow:ellipsis; 
  white-space: pre-wrap;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.list-content {
  margin-top: 20rpx; 
  color: white;
  text-align: center;
  font-size: 14rpx;
}
 /* .snapshoot-container .snapshoot-content .snapshoot-canvas {
  width: 750rpx;
  height: 1206rpx;
  background-color: white;
}  */