123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- /* nova-shop/pages/shopping-cart/index.wxss */
- page {
- background: #f6f6f6;
- }
- .collect {
- .collect_info {
- width: 93%;
- background: #ffffff;
- border-radius: 12rpx;
- margin: 20rpx auto;
- display: flex;
- .left_info {
- width: 38%;
- display: flex;
- align-items: center;
- .image {
- width: 240rpx;
- height: 240rpx;
- border-radius: 16rpx;
- }
- }
- .right_info {
- width: 58%;
- .title {
- font-size: 28rpx;
- margin: 20rpx 0;
- font-weight: 700;
- overflow: hidden;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 1;
- }
- .desc {
- font-size: 24rpx;
- margin-bottom: 20rpx;
- color: #c2c2c2;
- overflow: hidden;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- }
- .down_info {
- padding: 16rpx 0;
- display: flex;
- align-items: center;
- justify-content: space-between;
- .price {
- font-size: 34rpx;
- color: #fd3030;
- font-weight: 700;
- }
- }
-
- }
- }
- .delete {
- background: #e42929;
- color: #fff;
- height: 100%;
- padding: 100rpx 34rpx;
- }
- .bottom {
- width: 100%;
- height: 100rpx;
- }
- .box {
- width: 93%;
- margin: 20rpx auto;
- background: #ffffff;
- display: flex;
- border-radius: 20rpx;
-
- position: relative;
- .image {
- width: 240rpx;
- height: 240rpx;
- margin-right: 20rpx;
- border-radius: 20rpx;
- }
-
- .right {
-
- width: 65%;
- .title {
- margin-top: 20rpx;
- overflow: hidden; //一定要写
- text-overflow: ellipsis; //超出省略号
- display: -webkit-box; //一定要写
- -webkit-line-clamp: 1; //控制行数
- -webkit-box-orient: vertical; //一定要写
-
- }
- .price {
- color: red;
- margin-top: 20rpx;
- }
-
- .time {
- color: #c1bcbc;
- margin-top: 10rpx;
- overflow: hidden; //一定要写
- text-overflow: ellipsis; //超出省略号
- display: -webkit-box; //一定要写
- -webkit-line-clamp: 2; //控制行数
- -webkit-box-orient: vertical; //一定要写
-
- }
-
- .lecturer {
- font-size: 28rpx;
- margin-top: 20rpx;
- }
- .collection {
- position: absolute;
- right: 30rpx;
- top: 160rpx;
- padding: 10rpx 20rpx;
- background: red;
- color: #ffffff;
- border-radius: 20rpx;
- }
- }
-
- }
- }
|