| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255 |
- @charset "UTF-8";
- /* 页面左右间距 */
- /* 文字尺寸 */
- /*文字颜色*/
- /* 边框颜色 */
- /*颜色*/
- /* 图片加载中颜色 */
- /* 行为相关颜色 */
- /* 功能栏字体大小 */
- /*功能栏左侧小图标*/
- .container {
- padding-bottom: 134rpx;
- background-color: #f8f6f6;
- /* 空白页 */
- }
- .container .empty {
- position: fixed;
- left: 0;
- top: 0;
- width: 100%;
- height: 100vh;
- padding-bottom: 100rpx;
- display: flex;
- justify-content: center;
- flex-direction: column;
- align-items: center;
- background: #fff;
- }
- .container .empty .emptyImg {
- width: 300rpx;
- height: 250rpx;
- margin-bottom: 30rpx;
- }
- .container .empty .empty-tips {
- display: flex;
- font-size: 26rpx;
- color: #c0c4cc;
- }
- .container .empty .empty-tips .navigator {
- color: #5dbc7c;
- margin-left: 16rpx;
- }
- .box {
- max-height: 700rpx;
- position: relative;
- background: #ffffff;
- border-radius: 20rpx 20rpx 0rpx 0rpx;
- }
- .box .top {
- height: 90rpx;
- width: 100%;
- display: flex;
- justify-content: space-between;
- align-items: center;
- padding: 0 30rpx 0 36rpx;
- }
- .box .top .top-left {
- display: flex;
- justify-content: flex-start;
- align-items: center;
- }
- .box .top .top-left .quan {
- width: 24rpx;
- height: 24rpx;
- border: 1px solid #ee2f72;
- border-radius: 50%;
- position: relative;
- flex-shrink: 0;
- }
- .box .top .top-left .quan .qzq {
- position: absolute;
- top: 50%;
- left: 50%;
- margin: -8rpx 0 0 -8rpx;
- width: 12rpx;
- height: 12rpx;
- background: #ee2f72;
- border-radius: 50%;
- }
- .box .top .top-left .top-font {
- margin-left: 10rpx;
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #333333;
- }
- .box .top .top-right {
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #999999;
- display: flex;
- align-items: center;
- }
- .box .top .top-right image {
- width: 28rpx;
- height: 28rpx;
- }
- .box .top .top-right .right-clear {
- margin-left: 6rpx;
- }
- .box .scoroll {
- max-height: 600rpx;
- }
- .db {
- width: 750rpx;
- height: 150rpx;
- }
- /* 购物车列表项 */
- .cart-item {
- position: relative;
- display: flex;
- padding: 18rpx 29rpx 60rpx 30rpx;
- border-top: 1px solid #eeeeee;
- }
- .cart-item .image-wrapper {
- width: 160rpx;
- height: 160rpx;
- flex-shrink: 0;
- position: relative;
- }
- .cart-item .image-wrapper image {
- border-radius: 2rpx;
- }
- .cart-item .checkbox {
- position: absolute;
- left: -16rpx;
- top: -16rpx;
- z-index: 8;
- font-size: 44rpx;
- line-height: 1;
- padding: 4rpx;
- color: #c0c4cc;
- background: #fff;
- border-radius: 50px;
- }
- .cart-item .item-right {
- display: flex;
- flex-direction: column;
- flex: 1;
- overflow: hidden;
- position: relative;
- padding-left: 30rpx;
- }
- .cart-item .item-right .title,
- .cart-item .item-right .price {
- font-size: 30rpx;
- color: #ee2f72;
- height: 40rpx;
- line-height: 40rpx;
- }
- .cart-item .item-right .attr {
- font-size: 26rpx;
- color: #909399;
- height: 50rpx;
- line-height: 50rpx;
- }
- .cart-item .item-right .price {
- height: 50rpx;
- line-height: 50rpx;
- }
- .cart-item .item-right .step {
- margin-top: 20rpx;
- }
- .cart-item .item-num {
- position: absolute;
- bottom: 60rpx;
- right: 30rpx;
- }
- .cart-item .item-num .munbox {
- width: 144rpx;
- height: 44rpx;
- }
- .cart-item .item-num .munbox input {
- display: inline-block;
- text-align: center;
- }
- .cart-item .item-num .munbox image {
- flex-shrink: 0;
- width: 44rpx;
- height: 44rpx;
- }
- /* 底部栏 */
- .action-section {
- position: fixed;
- bottom: 0;
- z-index: 1000;
- display: flex;
- align-items: center;
- width: 100%;
- height: 100rpx;
- background: #ffffff;
- }
- .action-section .total-box {
- width: 490rpx;
- height: 100rpx;
- background: #fff6e1;
- padding-left: 50rpx;
- display: flex;
- align-items: center;
- }
- .action-section .total-box .bg {
- position: relative;
- width: 56rpx;
- height: 58rpx;
- }
- .action-section .total-box .bg image {
- width: 100%;
- height: 100%;
- }
- .action-section .total-box .bg .num {
- position: absolute;
- top: -10rpx;
- right: -10rpx;
- min-width: 30rpx;
- padding: 0 5rpx;
- display: inline-block;
- height: 30rpx;
- background: #ff7144;
- border-radius: 50%;
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #ffffff;
- text-align: center;
- line-height: 30rpx;
- }
- .action-section .total-box .total-price {
- font-size: 24rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #ee2f72;
- margin-left: 30rpx;
- }
- .action-section .total-box .total-price text {
- font-size: 32rpx;
- }
- .action-section .confirm-btn {
- border-radius: 0;
- width: 260rpx;
- height: 100rpx;
- background: #ee2f72;
- text-align: center;
- line-height: 100rpx;
- font-size: 38rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #ffffff;
- }
- /* 复选框选中状态 */
- .action-section .checkbox.checked,
- .cart-item .checkbox.checked {
- color: #ee2f72;
- }
|