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

page {
    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 {
    margin-left: 4rpx;
    font-size: 28rpx;
    color: #afafaf;
}

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

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

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

/* 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;
}

/* 列表外层容器 */
.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: 690rpx;
    margin-top: 30rpx;
    margin-bottom: 10rpx;
}

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

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

/* 列表item标题文字 */
.item-content .item-name {
     padding: 20rpx 30rpx 22rpx 30rpx;
}

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

/* 价格 */
.item-info .item-price {
    padding: 0 0 40rpx 30rpx;
}

/* 发售时间 */
.item-info .item-date {
    display: flex;
    flex-direction: row;
    background-color: #444;
    line-height: 40rpx;
    height: 40rpx;
    border-radius: 20rpx;
    margin-right: 30rpx;
}

/* 发售时间内文字 */
.item-info .item-date text {
    color: #fff;
    font-size: 24rpx;
    padding: 0 14rpx 0 2rpx;
}

/* 发售时间小图标 */
.item-info .item-date image {
    width: 24rpx;
    height: 24rpx;
    padding: 8rpx;
}

/* END */

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