viewActivity.wxss 4.38 KB
/* packageIndex/pages/servicerAdviser/viewActivity/viewActivity.wxss */

.swiper-box {
  width: 100vw;
  height: 100vh;
  position: relative;
}

.swiper-box swiper {
  width: 100%;
  height: 100%;
}

.swiper-box .produceVideo {
  position: absolute;
  top: 50%;
  width: 100%;
  height: 100%;
}

.swiper-box .producePic {
  position: absolute;
  top: 50%;
}

.swiper-box .goods-info {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.9);
  padding: 20rpx 40rpx;
  box-sizing: border-box;
  color: #fff;
  font-size: 24rpx;
}

.swiper-box .goods-info .name {
  margin-top: 0;
  font-size: 28rpx;
  color: #FFFFFF;
  letter-spacing: 2rpx;
}

/* 添加的样式 */
.goods-content {
  position: relative;
  display: flex;
  background: rgba(255, 255, 255, .08);
  border-radius: 8rpx;
}

.goods-content .goods-img {
  width: 100rpx;
  height: 100rpx;
  margin-right: 12rpx;
}

.goods-text {
  padding: 14rpx 20rpx;
}

.goods-content .goods-title {
  font-size: 24x;
  color: #FFFFFF;
  letter-spacing: 1.72rpx;
  margin-bottom: 4rpx;
}

.goods-content .goods-price {
  display: flex;
  align-items: baseline;
  font-size: 28rpx;
  color: #DF2121;
  letter-spacing: 2rpx;
  margin-right: 20rpx;
}

.goods-content .goods-price .goods-oldPrice {
  font-size: 24rpx;
  color: #999999;
  letter-spacing: 1.72rpx;
  text-decoration: line-through;
}

.goods-content .goods-arrow {
  position: absolute;
  top: 50%;
  right: 30rpx;
  transform: translateY(-50%);
  width: 10rpx;
  height: 20rpx;
}

.swiper-box .goods-info>view {
  margin-top: 20rpx;
}

.more {
  display: flex;
  align-items: center;
}

.more::after {
  content: '';
  display: inline-block;
  width: 12rpx;
  height: 12rpx;
  border-left: 2rpx solid #fff;
  border-bottom: 2rpx solid #fff;
  margin-left: 24rpx;
  transform: rotate(-45deg);
}

.details .title {
  height: 112rpx;
  display: flex;
  align-items: center;
  padding-left: 40rpx;
  font-size: 28rpx;
  color: #333;
}

.details .title image {
  width: 36rpx;
  height: 36rpx;
  margin-right: 8rpx;
}

.btn-group {
  position: absolute;
  top: 142rpx;
  right: 20rpx;
  width: 120rpx;
}

.btn-group .user {
  width: 92rpx;
  height: 92rpx;
  position: relative;
  margin-bottom: 120rpx;
}

.btn-group .user .follow {
  position: absolute;
  width: 40rpx;
  height: 40rpx;
  bottom: -20rpx;
  border-radius: 100%;
  background: #ff6226;
}

.btn-group .user .follow::before,
.btn-group .user .follow::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: #fff;
  border-radius: 2rpx;
  transform: translate(-50%, -50%);
}

.btn-group .user .follow::before {
  width: 4rpx;
  height: 20rpx;
}

.btn-group .user .follow::after {
  height: 4rpx;
  width: 20rpx;
}

.btn-group image {
  border-radius: 100%;
}

.user image {
  width: 120rpx;
  height: 120rpx;
}

.btn image {
  width: 100rpx;
  height: 100rpx;
}

.btn .btn-share {
  width: 60rpx;
  height: 72rpx;
}

.btn-group .btn {
  margin-bottom: 64rpx;
  /* margin: 40rpx 0 0 6rpx; */
  font-size: 24rpx;
  color: #fff;
  letter-spacing: 2rpx;
  text-align: center;
  text-shadow: 0 4rpx 8rpx rgba(0, 0, 0, 0.50);
}

/* .btn-group .btn image {
  width: 80rpx;
  height: 80rpx;
} */

.fixed-box {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 998;
}

.fixed-box .bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.30);
}

.fixed-box .qr-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgb(255, 255, 255, .95);
  border-radius: 4rpx;
  width: 546rpx;
  height: 888rpx;
  text-align: center;
  font-size: 24rpx;
  color: #646464;
}

.fixed-box .qr-box .icon {
  display: block;
  width: 100rpx;
  height: 100rpx;
  border-radius: 100%;
  margin: 46rpx auto 4rpx;
}

.fixed-box .qr-box .name {
  font-size: 32rpx;
  color: #333333;
  letter-spacing: 1px;
  margin-top: 102rpx;
}

.fixed-box .qr-box .qr {
  display: block;
  /* margin: 70rpx auto 16rpx; */
  margin: 48rpx auto 12rpx;
  width: 400rpx;
  height: 560rpx;
}
.fixed-box .qr-box .close{
  position: absolute;
  top: 24rpx;
  right: 24rpx;
  width: 30rpx;
  height: 30rpx;
}