/* pages/beerDetail/beerDetail.wxss */ .img-box{ width: 750rpx; height: 680rpx; position: relative; } .img-box-swiper{ width: 750rpx; height: 680rpx; } .box-swiper-item>image{ width: 750rpx; height: 680rpx; } .swiper-num{ position: absolute; bottom: 24rpx; right: 24rpx; width: 56rpx; height: 36rpx; background: rgba(0,0,0,0.6); border-radius: 12px; font-size: 22rpx; color: #FFFFFF; line-height: 36rpx; text-align: center; } .name-box{ width: 750rpx; height: 152rpx; position: relative; } .name-box>text:nth-child(1){ position: absolute; top: 44rpx; left: 40rpx; width: auto; height: 52rpx; font-size: 38rpx; font-weight: 500; color: rgba(0, 0, 0, 0.87); line-height: 52rpx; } .name-box>text:nth-child(2){ position: absolute; top: 104rpx; left: 40rpx; width: auto; height: 48rpx; font-size: 28rpx; font-weight: 400; color: rgba(0, 0, 0, 0.4); line-height: 48rpx; } .card-box{ width: 750rpx; height: 164rpx; display: flex; flex-direction: row; justify-content: space-between; } .card-item{ height: 164rpx; width: 224rpx; display: flex; flex-direction: column; justify-content: space-between; align-items: center; text-align: center; } .card-item>image:nth-child(1){ width: 48rpx; height: 48rpx; } .card-item>text:nth-child(2){ width: 224rpx; height: 44rpx; font-size: 30rpx; font-weight: 400; color: rgba(0, 0, 0, 0.87); line-height: 44rpx; } .card-item>text:nth-child(3){ width: 224rpx; height: 32rpx; font-size: 24rpx; font-weight: 400; color: rgba(0, 0, 0, 0.4); line-height: 32rpx; } .introduce-box{ width: 670rpx; height: auto; padding: 46rpx 40rpx 48rpx; border-bottom: 24rpx solid #F5F5F5; display: flex; flex-direction: column; } .introduce-box>view:nth-child(1){ width: 670rpx; height: 48rpx; display: flex; flex-direction: row; align-items: center; margin-bottom: 48rpx; } .introduce-box>view:nth-child(1)>text:nth-child(1){ width: 6rpx; height: 30rpx; background: rgba(15, 13, 13, 0.87); margin-right: 16rpx; } .introduce-box>view:nth-child(1)>text:nth-child(2){ width: auto; height: 48rpx; font-size: 34rpx; font-weight: 500; color: rgba(0, 0, 0, 0.87); line-height: 48rpx; text-align: left; } .introduce-view{ width: 670rpx; height: auto; font-size: 30rpx; font-weight: 400; color: rgba(0, 0, 0, 0.6); line-height: 54rpx; } .params-view{ width: 670rpx; height: auto; display: flex; flex-direction: row; margin-bottom: 36rpx; } .params-view>text:nth-child(1){ width: 120rpx; height: auto; font-size: 30rpx; font-weight: 400; color: rgba(0, 0, 0, 0.6); line-height: 44rpx; margin-right: 80rpx; text-align: justify; text-align-last: justify; } .params-view>text:nth-child(2){ width: 470rpx; height: auto; font-size: 30rpx; font-weight: 400; color: rgba(0, 0, 0, 0.6); line-height: 44rpx; } .beer-box{ width: 670rpx; height: 88rpx; display: flex; flex-direction: row; } .beer-box>image:nth-child(1){ margin-right: 24rpx; width: 88rpx; height: 88rpx; border-radius: 50%; } .beer-name{ width: auto; height: 84rpx; display: flex; flex-direction: column; } .beer-name>text:nth-child(1){ width: auto; height: 52rpx; font-size: 34rpx; font-weight: 500; color: rgba(0, 0, 0, 0.87); line-height: 52rpx; text-align: left; } .beer-name>text:nth-child(2){ width: auto; height: 32rpx; font-size: 24rpx; font-weight: 400; color: rgba(0, 0, 0, 0.4); line-height: 32rpx; text-align: left; } .beer-btn{ margin: 14rpx 0 14rpx auto; width: 128rpx; height: 56rpx; border-radius: 28px; border: 1px solid rgba(0, 0, 0, 0.87); font-size: 26rpx; font-weight: 400; color: rgba(0, 0, 0, 0.87); line-height: 56rpx; text-align: center; } .btn-view{ width: 750rpx; height: 112rpx; background: #FFFFFF; position: fixed; bottom: 0; z-index: 999; display: flex; flex-direction: row; /* justify-content: center; */ align-items: center; border-top: 0.5px solid #F5F5F5; padding-bottom: env(safe-area-inset-bottom); } .touch-view{ width: 112rpx; height: 112rpx; display: flex; flex-direction: column; align-items: center; } .touch-img{ width: 112rpx; height: 60rpx; display: flex; position: relative; justify-content: center; } .touch-img cover-image:nth-child(1){ width: 48rpx; height: 48rpx; margin-top: auto; } .touch-img cover-view:nth-child(2){ position: absolute; top: 8rpx; right: 24rpx; width: auto; min-width: 24rpx; /* padding: 0 6rpx; */ height: 24rpx; line-height: 24rpx; background: #FF5700; border-radius: 50%; font-size: 18rpx; font-family: PingFangSC-Semibold, PingFang SC; font-weight: 600; color: #FFFFFF; border: 1px solid #FFFFFF; text-align: center; } .touch-text{ width: auto; height: 28rpx; font-size: 20rpx; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: rgba(0,0,0,0.87); line-height: 28rpx; margin-top: 12rpx; } .add-btn{ width: 220rpx; height: 80rpx; line-height: 80rpx; border-radius: 40px; border: 1px solid rgba(0, 0, 0, 0.87); font-size: 28rpx; font-weight: 500; color: rgba(0, 0, 0, 0.87); text-align: center; margin-right: 24rpx; margin-left: auto; } .buy-btn{ width: 220rpx; height: 80rpx; line-height: 80rpx; border-radius: 40px; border: 1px solid rgba(0, 0, 0, 0.87); font-size: 28rpx; font-weight: 500; color: #fff; background: rgba(0, 0, 0, 0.87); text-align: center; margin-right: 24rpx; } .block{ width:750rpx; height:112rpx; padding-bottom: env(safe-area-inset-bottom); } .nosale-bg{ position: fixed; top: 0; z-index: 1000; width: 100vw; height: 100vh; display: flex; background-color: rgba(0,0,0,0.6); } .nosale-view{ width: 590rpx; height: 654rpx; background: #FFFFFF; border-radius: 16px; display: flex; flex-direction: column; justify-content: center; align-items: center; margin: auto; position: relative; } .nosale-view>image:nth-child(1){ width: 48rpx; height: 48rpx; position: absolute; top: 32rpx; right: 32rpx; } .nosale-view>image:nth-child(2){ width: 334rpx; height: 244rpx; } .nosale-view>text:nth-child(3){ width: auto; height: 52rpx; font-size: 19px; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: rgba(0,0,0,0.87); line-height: 52rpx; margin: 34rpx auto 16rpx; } .nosale-view>text:nth-child(4){ width: auto; height: 42rpx; font-size: 30rpx; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: rgba(0,0,0,0.6); line-height: 42rpx; margin-bottom: 56rpx; } .nosale-view>text:nth-child(5){ width: 458rpx; height: 90rpx; line-height: 90rpx; text-align: center; background: #FF5700; border-radius: 24px; font-size: 34rpx; font-family: PingFangSC-Medium, PingFang SC; font-weight: 500; color: #FFFFFF; } .charts-box{ width: 750rpx; height: auto; border-bottom: 24rpx solid #F5F5F5; } .charts { width: 750rpx; height: 500rpx; } .chart-tips{ width: 750rpx; height: 50rpx; display: flex; flex-direction: row; justify-content: center; align-items: center; padding-bottom: 64rpx; } .charts-tip{ display: flex; flex-direction: row; align-items: center; } .charts-tip>span:nth-child(1){ width: 40rpx; height: 10rpx; background: #FFA100; border-radius: 6px; margin-right: 16rpx; } .charts-tip>span:nth-child(2){ width: auto; height: 32rpx; font-size: 26rpx; font-family: PingFangSC-Regular, PingFang SC; font-weight: 400; color: rgba(0,0,0,0.6); line-height: 32rpx; }