123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221 |
- .page-section {
- width: 100%;
- swiper {
- width: 100%;
- height: 562rpx;
- overflow: hidden;
- }
- .swiper-item {
- height: 100%;
- }
- .swiper-item image {
- display: block;
- width: 100%;
- height: 100%;
- }
- }
- .main-information {
- display: flex;
- flex-direction: column;
- width: 658rpx;
- padding: 32rpx 0 0 0;
- margin: 0 auto;
- .tag-list {
- display: flex;
- flex-flow: row wrap;
- align-items: center;
- text {
- min-width: 64rpx;
- height: 34rpx;
- border-radius: 10rpx;
- background: rgba(76, 173, 115, 0.2);
- line-height: 34rpx;
- font-size: 20rpx;
- color: rgba(76, 173, 115, 1);
- text-align: center;
- }
- }
- .name {
- margin-top: 30rpx;
- font-size: 48rpx;
- color: rgba(51, 51, 51, 1)
- }
- .unit-price {
- display: flex;
- align-items: center;
- margin-top: 30rpx;
- }
- .price {
- font-size: 36rpx;
- line-height: 42rpx;
- color: rgba(255, 76, 44, 1);
- }
- .unit {
- margin-left: 28rpx;
- font-size: 28rpx;
- color: rgba(153, 153, 153, 1);
- }
- }
- .goods-info {
- display: flex;
- flex-direction: column;
- padding: 44rpx 0 0 46rpx;
- .introduce {
- width: 636rpx;
- line-height: 40rpx;
- font-size: 26rpx;
- color: rgba(153, 153, 153, 1);
- word-break: break-all;
- word-wrap: break-word;
- }
- .subtitle {
- margin-top: 36rpx;
- font-size: 28rpx;
- line-height: 36rpx;
- color: rgba(51, 51, 51, 1);
- }
- .date {
- margin-top: 26rpx;
- font-size: 28rpx;
- line-height: 36rpx;
- color: rgba(153, 153, 153, 1);
- }
- }
- .goods-scroll {
- width: 100%;
- height: 136px;
- white-space: nowrap;
- font-size: 0;
- margin-top: 22px;
- .item {
- display: inline-block;
- padding-left: 20rpx;
- &:nth-of-type(1) {
- padding-left: 0;
- }
- & > view {
- display: flex;
- align-items: center;
- width: 412rpx;
- border-radius: 20rpx;
- background: rgba(255, 255, 255, 1);
- box-shadow: 0rpx 6rpx 10rpx 4rpx rgba(0, 0, 0, 0.07);
- overflow: hidden;
- }
- }
- .photo {
- width: 168rpx;
- height: 126rpx;
- image {
- display: block;
- width: 100%;
- height: 100%;
- overflow: hidden;
- }
- }
- .info {
- display: flex;
- flex-direction: column;
- width: calc(100% - 168rpx);
- padding-left: 18rpx;
- }
- .name {
- width: 100%;
- font-size: 26rpx;
- font-weight: 700;
- line-height: 36rpx;
- color: rgba(51, 51, 51, 1);
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis;
- }
- .unit-price {
- display: flex;
- align-items: center;
- margin-top: 2rpx;
- }
- .price {
- font-size: 22rpx;
- line-height: 42rpx;
- font-weight: 700;
- color: rgba(255, 76, 44, 1);
- }
- .unit {
- margin-left: 10rpx;
- font-size: 16rpx;
- line-height: 26rpx;
- color: rgba(153, 153, 153, 1);
- }
- }
- .fixed-bottom {
- position: fixed;
- left: 0;
- right: 0;
- bottom: 46rpx;
- z-index: 99;
- &:after {
- display: block;
- content: '';
- width: 100%;
- padding-bottom: constant(safe-area-inset-bottom);
- padding-bottom: env(safe-area-inset-bottom);
- }
- & > view {
- display: flex;
- justify-content: flex-end;
- align-items: center;
- padding: 0 30rpx;
- }
- button {
- width: 328rpx;
- height: 98rpx;
- border-radius: 88rpx;
- box-shadow: 0 6rpx 10rpx 4rpx rgba(0, 0, 0, 0.07);
- font-size: 32rpx;
- font-weight: 500;
- &:nth-of-type(2) {
- margin-left: 17rpx;
- }
- }
- button[type='primary'] {
- background-color: rgba(145, 179, 121, 1);
- }
- }
- .banner-box {
- .banner {
- display: block;
- width: 100%;
- }
- }
|