123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175 |
- .link {
- width: 100%;
- height: 100%;
- display: flex;
- }
- .left {
- width: 220rpx;
- /* 这里的高度可以写也可以不写,效果还是可以实现的,不过最好还是写上吧 */
- height: calc(100vh - 120rpx);
- background-color: #e5f3f3;
- text-align: center;
- color: #333;
- overflow-y: auto;
- }
- .left .item {
- line-height: 50px;
- font-size: 34rpx;
- }
- .active {
- background: linear-gradient(to right, #46a9a4, #ffffff);
- }
- .right {
- height: calc(100vh - 120rpx);
- background-color: #f8f8f8;
- padding: 0 20rpx;
- margin-bottom: 100rpx;
- }
- .right-cont {
- padding-bottom: 30rpx;
- border-bottom: 1rpx solid #ccc;
- }
- .title {
- font-size: 36rpx;
- color: #333;
- padding-top: 60rpx;
- padding-bottom: 20rpx;
- }
- .content {
- padding: 0 5rpx 0 10rpx;
- }
- .list-item {
- font-size: 32rpx;
- color: #333;
- line-height: 50rpx;
- }
- .list-item .box {
- display: flex;
- margin-top: 20rpx;
- }
- .list-item .box .image {
- width: 200rpx;
- height: 200rpx;
- border-radius: 20rpx;
- margin-right: 20rpx;
- }
- .list-item .box .details .name {
- font-size: 30rpx;
- font-weight: 600;
- }
- .list-item .box .details .tags {
- display: flex;
- justify-content: flex-start;
- margin-top: 14rpx;
- }
- .list-item .box .details .tags .tag {
- background-color: #46a9a4;
- font-size: 24rpx;
- padding: 10rpx 20rpx;
- text-align: center;
- }
- .list-item .box .details .price {
- font-size: 30rpx;
- font-weight: 600;
- color: red;
- margin-top: 14rpx;
- }
- .list-item .box .details .count-box {
- display: flex;
- align-items: center;
- justify-content: flex-end;
- display: flex;
- align-items: center;
- justify-content: flex-end;
- margin-top: 14px;
- width: 300rpx;
- }
- .list-item .box .details .count-box .discount {
- width: 60rpx;
- height: 60rpx;
- }
- .list-item .box .details .count-box .count {
- font-size: 30rpx;
- font-weight: 600;
- margin: 0 10rpx;
- width: 54rpx;
- text-align: center;
- }
- .list-item .box .details .count-box .addcount {
- width: 60rpx;
- height: 60rpx;
- }
- .order_cart {
- position: fixed;
- bottom: 3%;
- left: 5%;
- width: 90%;
- height: 100rpx;
- background-color: rgba(28, 28, 28, 0.8);
- border-radius: 48rpx;
- padding: 0 36rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .order_cart .cart {
- width: 66rpx;
- height: 66rpx;
- }
- .order_cart .cart {
- width: 66rpx;
- height: 66rpx;
- }
- .order_cart .total_price {
- color: red;
- font-size: 36rpx;
- font-weight: 600;
- }
- .order_cart .count {
- position: absolute;
- color: #fff;
- padding: 10rxp;
- min-width: 36rpx;
- height: 36rpx;
- background: red;
- text-align: center;
- line-height: 36rpx;
- border-radius: 36%;
- top: 10rpx;
- left: 76rpx;
- }
- .order_cart .submit {
- background: #46a9a4;
- color: #ffffff;
- width: 170rpx;
- height: 72rpx;
- text-align: center;
- line-height: 72rpx;
- border-radius: 34rpx;
- }
|