index.wxss 4.22 KB
/* stylelint-disable-next-line */
page {
    background-color: #ebebeb;
}

.container {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #ebebeb;
}

/* 顶部TAB切换 START */
.tab-bar-container {
    display: flex;
    position: fixed;
    left: 0;
    top: 0;
    flex-direction: row;
    align-items: center;
    width: 100%;
    height: 88rpx;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
}

.tab-bar-item {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 33.3%;
    height: 40rpx;
    text-align: center;
}

.tab-bar-item text {
    font-family: PingFang-SC-Medium;
    font-weight: bold;
    margin-left: 4rpx;
    font-size: 28rpx;
    color: #B0B0B0 ;
}

.tab-bar-item text.selected {
    color: #444444;
}

.tab-bar-item image {
    height: 30rpx;
    width: 30rpx;
}

.tab-bar-item:nth-child(n + 2) {
  height: 30rpx;
  border-left: 2rpx solid #e0e0e0;
}

/* END */

/* 限定发售列表 START */
.list-wrapper {
    width: 100%;
}

/* 顶部底部留出的空白区 */
.list-wrapper .list-top-blank,
.list-wrapper .list-foot-blank {
    width: 100%;
    height: 88rpx;
    text-align: center;
    line-height: 88rpx;
    font-size: 30rpx;
    color: #ccc;
}

/* 列表外层容器 */
.list-wrapper .list-container {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
}

/* 列表元素容器 */
.list-wrapper .list-container .item-container {
    display: flex;
    flex-direction: column;
    width: 750rpx;
    margin-bottom: 20rpx;
    position: relative;
}

/* 列表item大图 */
.item-container image {
    width: 100%;
    height: 470rpx;
    margin: 0;
    padding: 0;
}

.list-wrapper .list-container .rank {
  position: absolute;
  width: 90rpx;
  height: 38rpx;
  top: 30rpx;
  left: 30rpx;
}

.list-wrapper .list-container .app_only {
  position: absolute;
  width: 100rpx;
  height: 100rpx;
  top: 0rpx;
  right: 0rpx;
}

.list-wrapper .list-container .sold_out {
  position: absolute;
  width: 200rpx;
  height: 200rpx;
  top: 40rpx;
  right: 40rpx;
}

/* 列表item文字及价格等信息容器 */
.item-container .item-content {
    display: flex;
    width: 100%;
    flex-direction: column;
    background-color: #fff;
    line-height: 42rpx;
    font-size: 30rpx;
}

/* 列表item标题文字 */
.item-content .item-name {
  padding: 36rpx 30rpx 0rpx 40rpx;
  margin-bottom: 22rpx;
  font-family: PingFang-SC-Regular;
  font-size: 14px;
  color: #222222;
  letter-spacing: -0.34px;
  /* 以下样式为控制 行数超过2行后显示... */
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

/* 价格及时间容器 */
.item-content .item-info {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

/* 价格 */
.item-info .item-price {
  padding: 0 0 10rpx 40rpx;
  font-family: PingFang-SC-Semibold;
  font-weight: bolder;
  font-size: 18px;
  color: #D0021B;
  letter-spacing: -0.43px;
}

/* 发售时间 */
.item-info .item-date {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    background-color: white;
    line-height: 40rpx;
    width: 220rpx;
    height: 60rpx;
    border: 1rpx solid #222222;
    margin-right: 30rpx;
    margin-bottom: 20rpx;
}

/* 发售时间内文字 */
.item-info .item-date text {
  /* padding: 0 14rpx 0 2rpx; */
  font-family: PingFang-SC-Bold;
  font-weight: bold;
  font-size: 14px;
  color: #222222;
  letter-spacing: 0;
}

/* END */

.rule-bg {
  opacity: 0.6;
  background-color: #000000;
  border-radius: 50%;
  width: 92rpx;
  height: 92rpx;
  right: 40rpx;
  bottom: 170rpx;
  float: right;
  position: fixed;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.rule-text {
  width: 52rpx;
  font-family: PingFang-SC-Regular;
  font-size: 13px;
  color: #FFFFFF;
  letter-spacing: 0;
  text-align: center;
  line-height: 16px;
}

.my-code-button {
  position: fixed;
  bottom: 0;
  width: 100%;
  height: 88rpx;
  text-align: center;
  font-size: 30rpx;
  line-height: 88rpx;
  background-color: #fff;
  border-top: 1rpx solid #E0E0E0;
}