postsDetail.wxss 2.16 KB
/* packageDiscovery/pages/postsDetail/postsDetail.wxss */
page {
  background-color: #FFF !important;
}

.layout {
  padding: 24rpx var(--margin) 40rpx;
}

.title {
  padding: 16rpx 0 20rpx;
  display: flex;
  align-items: center;
}

.title .icon {
  width: 72rpx;
  height: 72rpx;
  margin-right: 16rpx;
  border-radius: 100%;
  overflow: hidden;
}

.title .info {
  width: calc(100% - 88rpx);
  font-weight: 500;
  font-size: var(--margin);
}

.title .info .time {
  color: #B1B1B3;
  font-size: 20rpx;
}

.preview-box {
  display: grid;
  grid-template-columns: repeat(3, 218rpx);
  gap: 16rpx;
}

.preview-item {
  height: 218rpx;
  border-radius: var(--borderRadius);
  overflow: hidden;
}
.preview-item .video{
  width: 100%;
  height: 100%;
}

.remark {
  padding: 20rpx 0 var(--margin);
}

.goods {
  height: 120rpx;
  background: #F7F8FA;
  border-radius: var(--borderRadius);
  display: flex;
  align-items: center;
  box-sizing: border-box;
  padding: 0 16rpx;
}

.goods .icon {
  width: 88rpx;
  height: 88rpx;
  border-radius: var(--borderRadius);
  overflow: hidden;
  margin-right: 16rpx;
}

.goods .info {
  width: calc(100% - 104rpx);
}

.goods .info .name {
  font-size: 24rpx;
  font-weight: 500;
}

.goods .info .price {
  display: flex;
  align-items: center;
  font-size: 22rpx;
  color: #C9CACC;
  margin-top: var(--borderRadius);
}

.goods .info .price .now {
  font-size: 28rpx;
  color: var(--btnColor);
  display: flex;
  align-items: baseline;
  margin-right: 6rpx;
}

.goods .info .price .unit {
  font-size: 20rpx;
}

.line {
  width: 100%;
  height: 2rpx;
  background-color: #EFF0F2;
  margin: var(--margin) 0;
}

.employee {
  width: calc(100% + 64rpx);
  margin-left: -32rpx;
  height: 100rpx;
  background: rgba(252, 91, 50, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  padding: 0 60rpx;
  color: var(--btnColor);
}

.employee .info,
.employee .phone {
  display: flex;
  align-items: center;
}

.employee .info .icon{
  width: 72rpx;
  height: 72rpx;
  border-radius: 100%;
  overflow: hidden;
  margin-right: 20rpx;
}
.employee .phone .icon{
  width: 56rpx;
  height: 56rpx;
  margin-right: var(--borderRadius);
}