411 lines
6.3 KiB
Plaintext
411 lines
6.3 KiB
Plaintext
page {
|
|
height: 100%;
|
|
}
|
|
|
|
.container {
|
|
background: url(https://si.geilicdn.com/img-310900000167962321710a026860-unadjust_750_686.png) top no-repeat,
|
|
linear-gradient(90deg, #fea044, #f9565d 63%, #e63378);
|
|
background-size: 100% auto;
|
|
min-height: 100%;
|
|
}
|
|
|
|
/* 头部区域 */
|
|
|
|
.header {
|
|
padding: 30rpx 30rpx;
|
|
}
|
|
|
|
.header .item-touch {
|
|
color: #fff;
|
|
font-size: 24rpx;
|
|
padding: 7rpx 20rpx;
|
|
background: rgba(0, 0, 0, 0.17);
|
|
border-radius: 22rpx;
|
|
}
|
|
|
|
/* 内容区域 */
|
|
|
|
.content {
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
padding: 10rpx 30rpx 60rpx 30rpx;
|
|
}
|
|
|
|
/* 砍价信息 */
|
|
|
|
.infos-wrap {
|
|
background: #fff;
|
|
box-shadow: 0 4rpx 40rpx 0 rgba(144, 52, 52, 0.1);
|
|
padding: 0 30rpx 40rpx;
|
|
border-radius: 16rpx;
|
|
}
|
|
|
|
.infos-top {
|
|
position: relative;
|
|
top: -42rpx;
|
|
margin-bottom: -22rpx;
|
|
}
|
|
|
|
.infos-img {
|
|
width: 120rpx;
|
|
height: 120rpx;
|
|
padding: 8rpx;
|
|
background: #fff;
|
|
overflow: hidden;
|
|
margin: 0 auto;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.infos-img image {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.infos-name {
|
|
margin: 8rpx auto 0;
|
|
width: 80%;
|
|
font-size: 26rpx;
|
|
color: #9a9a9a;
|
|
text-align: center;
|
|
line-height: 32rpx;
|
|
}
|
|
|
|
.infos-prompt {
|
|
text-align: center;
|
|
font-size: 30rpx;
|
|
color: #222;
|
|
line-height: 48rpx;
|
|
margin-bottom: 30rpx;
|
|
}
|
|
|
|
.infos-item {
|
|
margin-top: 40rpx;
|
|
display: flex;
|
|
}
|
|
|
|
.infos-item-img {
|
|
flex: none;
|
|
width: 180rpx;
|
|
height: 180rpx;
|
|
}
|
|
|
|
.infos-item-img image {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.infos-item-info {
|
|
margin-left: 25rpx;
|
|
flex: auto;
|
|
}
|
|
|
|
.infos-item-name {
|
|
font-size: 28rpx;
|
|
color: #404040;
|
|
line-height: 40rpx;
|
|
height: 80rpx;
|
|
}
|
|
|
|
.infos-item-stock {
|
|
/* margin-top: 8rpx; */
|
|
}
|
|
|
|
.infos-item-stock .stock-widget {
|
|
display: inline-block;
|
|
min-width: 100rpx;
|
|
padding: 0 20rpx;
|
|
background-image: linear-gradient(-90deg, #fe9c3f, #fb6253 99%);
|
|
border-radius: 40rpx;
|
|
height: 40rpx;
|
|
font-size: 24rpx;
|
|
color: #fff;
|
|
line-height: 40rpx;
|
|
}
|
|
|
|
.infos-item-price {
|
|
font-size: 0;
|
|
margin-top: 12rpx;
|
|
}
|
|
|
|
.infos-item-price .price1 {
|
|
font-size: 24rpx;
|
|
line-height: 32rpx;
|
|
}
|
|
|
|
.infos-item-price .price2 {
|
|
margin-left: 4rpx;
|
|
font-size: 36rpx;
|
|
line-height: 40rpx;
|
|
}
|
|
|
|
.infos-item-price .price3 {
|
|
margin-left: 10rpx;
|
|
font-size: 24rpx;
|
|
color: #9a9a9a;
|
|
line-height: 32rpx;
|
|
text-decoration: line-through;
|
|
}
|
|
|
|
/* 分割线 */
|
|
|
|
.connect {
|
|
position: relative;
|
|
height: 20rpx;
|
|
}
|
|
|
|
.connect-ring {
|
|
position: absolute;
|
|
top: -28rpx;
|
|
height: 76rpx;
|
|
width: 20rpx;
|
|
padding: 8rpx 6rpx;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.connect-ring text {
|
|
position: relative;
|
|
z-index: 8;
|
|
display: block;
|
|
height: 100%;
|
|
width: 100%;
|
|
background: #fff;
|
|
border-radius: 20rpx;
|
|
}
|
|
|
|
.connect-ring:after, .connect-ring:before {
|
|
content: "";
|
|
position: absolute;
|
|
z-index: 6;
|
|
left: 0;
|
|
height: 20rpx;
|
|
width: 20rpx;
|
|
border-radius: 20rpx;
|
|
}
|
|
|
|
.connect-ring.bgf-ring--left {
|
|
left: 20rpx;
|
|
}
|
|
|
|
.connect-ring.bgf-ring--left:before {
|
|
top: 0;
|
|
background: #f4914e;
|
|
}
|
|
|
|
.connect-ring.bgf-ring--left:after {
|
|
bottom: 0;
|
|
background: #f4914e;
|
|
}
|
|
|
|
.connect-ring.bgf-ring--right {
|
|
right: 20rpx;
|
|
}
|
|
|
|
.connect-ring.bgf-ring--right:before {
|
|
top: 0;
|
|
background: #e03e71;
|
|
}
|
|
|
|
.connect-ring.bgf-ring--right:after {
|
|
bottom: 0;
|
|
background: #e03e71;
|
|
}
|
|
|
|
/* 砍价进度 */
|
|
|
|
.bargain-wrap {
|
|
position: relative;
|
|
background: #fff;
|
|
padding: 40rpx 30rpx 30rpx;
|
|
box-shadow: 0 4rpx 40rpx 0 rgba(144, 52, 52, 0.1);
|
|
border-radius: 16rpx;
|
|
}
|
|
|
|
.bargain-info {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 28rpx;
|
|
color: #404040;
|
|
line-height: 40rpx;
|
|
}
|
|
|
|
.bargain-info .focal {
|
|
margin: 0 5rpx;
|
|
}
|
|
|
|
.bargain-p {
|
|
margin-top: 40rpx;
|
|
min-height: 32rpx;
|
|
}
|
|
|
|
.bargain-people {
|
|
font-size: 24rpx;
|
|
color: #9a9a9a;
|
|
text-align: center;
|
|
line-height: 32rpx;
|
|
}
|
|
|
|
/* 进度条 */
|
|
|
|
.bgn__process {
|
|
position: relative;
|
|
padding: 30rpx 0;
|
|
}
|
|
|
|
.bgn__process-bottom {
|
|
z-index: 1;
|
|
overflow: hidden;
|
|
background-image: linear-gradient(0deg, #f0f2f7, #e8ebf3);
|
|
}
|
|
|
|
.bgn__process-bottom, .bgn__process-process {
|
|
position: relative;
|
|
height: 30rpx;
|
|
border-radius: 30rpx;
|
|
}
|
|
|
|
.bgn__process-process {
|
|
background-image: linear-gradient(90deg, #ffc108, #fde586);
|
|
background: #ffc108;
|
|
}
|
|
|
|
.bgn__process-process.process--ani:after {
|
|
content: "";
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 32rpx;
|
|
top: 50%;
|
|
left: 0;
|
|
margin-top: -16rpx;
|
|
}
|
|
|
|
/* 操作按钮 */
|
|
|
|
.btn-container .btn-item {
|
|
color: #fff;
|
|
height: 80rpx;
|
|
line-height: 80rpx;
|
|
text-align: center;
|
|
font-size: 30rpx;
|
|
border-radius: 15rpx;
|
|
flex: 1;
|
|
}
|
|
|
|
.btn-item__buy {
|
|
width: 240rpx;
|
|
margin-right: 30rpx;
|
|
background-image: linear-gradient(90deg, #fa9e1b, #fe5b1b);
|
|
box-shadow: #fe5b1b 0 22rpx 48rpx -22rpx;
|
|
}
|
|
|
|
.btn-item__buy.complete {
|
|
width: 360rpx;
|
|
animation: btn_anim 0.9s linear infinite;
|
|
transform-origin: center;
|
|
}
|
|
|
|
.btn-item__main {
|
|
width: 320rpx;
|
|
background-image: linear-gradient(90deg, #fe316c, #fd584e);
|
|
box-shadow: #fd584e 0 22rpx 48rpx -22rpx;
|
|
animation: btn_anim 0.9s linear infinite;
|
|
transform-origin: center;
|
|
}
|
|
|
|
.btn-item-long {
|
|
width: 460rpx;
|
|
}
|
|
|
|
/* 按钮动画 */
|
|
|
|
@keyframes btn_anim {
|
|
0% {
|
|
-webkit-transform: scale(1);
|
|
transform: scale(1);
|
|
}
|
|
|
|
40% {
|
|
-webkit-transform: scale(1.05);
|
|
transform: scale(1.05);
|
|
}
|
|
}
|
|
|
|
/* 好友助力榜 */
|
|
|
|
.records-container {
|
|
margin-top: 44rpx;
|
|
}
|
|
|
|
.records {
|
|
position: relative;
|
|
color: #404040;
|
|
box-shadow: 0 4rpx 40rpx 0 rgba(0, 0, 0, 0.08);
|
|
}
|
|
|
|
.records-back {
|
|
position: absolute;
|
|
left: -14rpx;
|
|
right: -14rpx;
|
|
top: -14rpx;
|
|
height: 28rpx;
|
|
border-radius: 28rpx;
|
|
z-index: 1;
|
|
background: #cb272d;
|
|
}
|
|
|
|
.records-content {
|
|
position: relative;
|
|
z-index: 2;
|
|
background: #fff;
|
|
padding: 40rpx 30rpx;
|
|
}
|
|
|
|
.records-h2 {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
height: 60rpx;
|
|
align-items: center;
|
|
}
|
|
|
|
.records-h2 text {
|
|
position: relative;
|
|
font-weight: 700;
|
|
font-size: 34rpx;
|
|
line-height: 48rpx;
|
|
}
|
|
|
|
.friend-help {
|
|
overflow: hidden;
|
|
padding: 40rpx 0 20rpx;
|
|
transition: max-height 0.6s ease-out;
|
|
/* max-height: 280rpx; */
|
|
}
|
|
|
|
.records-left, .records-item {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-bottom: 10rpx;
|
|
}
|
|
|
|
.records-left image {
|
|
width: 80rpx;
|
|
height: 80rpx;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.records-left text {
|
|
display: inline-block;
|
|
margin-left: 14rpx;
|
|
}
|
|
|
|
.records-left text, .records-right {
|
|
font-size: 28rpx;
|
|
line-height: 40rpx;
|
|
}
|
|
|
|
.records-right .red {
|
|
color: #e53a40;
|
|
}
|