@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ page { background-color: #fff; } .cart-bottom { width: 100%; height: 100rpx; position: fixed; bottom: 0px; left: 0; border-top: 2rpx solid #eee; background-color: #fff; } .cart-bottom .check-box { float: left; height: 100rpx; line-height: 100rpx; padding-left: 45rpx; } .cart-bottom .deleteGoods { float: left; height: 100rpx; line-height: 110rpx; padding-left: 10rpx; color: #666; } .cart-bottom .cart-bottom-text { padding-right: 240rpx; color: #323233; text-align: right; font-size: 24rpx; float: right; height: 100rpx; line-height: 100rpx; } .cart-bottom .cart-bottom-text view { display: inline-block; } .cart-bottom .cart-bottom-text view:last-child { color: #ee0a24; } .cart-bottom .cart-bottom-text view:last-child text { color: #ee0a24; } .cart-bottom .cart-bottom-text view:last-child text:last-child { font-size: 34rpx; padding-left: 5rpx; } .cart-bottom .btn { width: 200rpx; height: 80rpx; line-height: 80rpx; border: none; position: absolute; display: inline-block; margin: 0; padding: 0; font-size: 30rpx; text-align: center; border-radius: 50rpx; cursor: pointer; transition: opacity .2s; top: 10rpx; right: 20rpx; color: #fff; background-color: #ee0a24; background: linear-gradient(90deg, #fa955a, #ee0a24); } .wrap { width: 100%; background: #fafafa; } .list-box { display: flex; flex-wrap: wrap; flex-direction: column; background: #fafafa; } .list-box .list-item { width: 88%; height: 180rpx; margin: 0 auto; background-color: #fff; margin-bottom: 20rpx; border-radius: 10rpx; font-size: 28rpx; padding: 20rpx 20rpx; position: relative; } .list-box .list-item:first-child { margin-top: 20rpx; } .list-box .list-item .left-pic { position: absolute; left: 0; top: 0; z-index: 999; width: 240rpx; height: 220rpx; } .list-box .list-item .left-pic .item-check { float: left; width: 25rpx; height: 25px; position: relative; margin-top: 80rpx; margin-left: 15rpx; } .list-box .list-item .left-pic .pic { float: right; margin-top: 30rpx; width: 160rpx; } .list-box .list-item .left-pic .pic image { width: 160rpx; height: 160rpx; } .list-box .list-item .goods { float: right; padding-left: 240rpx; font-size: 28rpx; color: #333; } .list-box .list-item .goods .t { width: 100%; min-height: 50rpx; max-height: 80rpx; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; } .list-box .list-item .goods .m { color: #666; font-size: 26rpx; display: -webkit-box; overflow: hidden; -webkit-line-clamp: 1; -webkit-box-orient: vertical; } .list-box .list-item .goods .b { height: 60rpx; padding-top: 8rpx; } .list-box .list-item .goods .b view:first-child { float: left; line-height: 60rpx; color: red; font-size: 34rpx; } .list-box .list-item .goods .b view:last-child { float: right; }