@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 页面左右间距 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /*文字颜色*/ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ page, view, scroll-view, swiper, button, input, textarea, label, navigator, image { box-sizing: border-box !important; } image { vertical-align: top; } .buy-list { width: 86%; padding: 10rpx 3%; margin: 30rpx auto 20rpx auto; box-shadow: 0rpx 5rpx 20rpx rgba(0, 0, 0, 0.1); border-radius: 20rpx; } .buy-list .list_top { display: flex; justify-content: space-between; padding: 10rpx; } .buy-list .list_top .tip { color: #A2A2A2; font-size: 30rpx; } .buy-list .checkbox-box { display: flex; align-items: center; } .buy-list .checkbox-box .checkbox { width: 35rpx; height: 35rpx; border-radius: 100%; border: solid 2rpx #f06c7a; display: flex; justify-content: center; align-items: center; } .buy-list .checkbox-box .checkbox .on { width: 25rpx; height: 25rpx; border-radius: 100%; background-color: #f06c7a; } .buy-list .checkbox-box .text { font-size: 28rpx; margin-left: 10rpx; } .buy-list .row { margin: 30rpx 0; } .buy-list .row .goods-info { width: 100%; display: flex; border-bottom: 1rpx solid #E0E0E0; padding-bottom: 15rpx; } .buy-list .row .goods-info .img { width: 22vw; height: 22vw; border-radius: 10rpx; overflow: hidden; flex-shrink: 0; margin-right: 10rpx; } .buy-list .row .goods-info .img image { width: 22vw; height: 22vw; } .buy-list .row .goods-info .info { width: 100%; height: 22vw; overflow: hidden; display: flex; flex-wrap: wrap; position: relative; } .buy-list .row .goods-info .info .title { width: 100%; font-size: 28rpx; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .buy-list .row .goods-info .info .spec { font-size: 22rpx; background-color: #f3f3f3; color: #a7a7a7; height: 40rpx; display: flex; align-items: center; padding: 0 10rpx; border-radius: 20rpx; margin-top: 10vm; } .buy-list .row .goods-info .info .foodnum { font-size: 26rpx; height: 40rpx; display: flex; align-items: center; padding: 0 10rpx; margin-bottom: 10vw; display: block; color: #999; padding-top: 10rpx; } .buy-list .row .goods-info .info .price-number { position: absolute; width: 100%; bottom: 0rpx; display: flex; justify-content: space-between; align-items: flex-end; font-size: 28rpx; height: 40rpx; } .buy-list .row .goods-info .info .price-number .price { color: #f06c7a; } .buy-list .row .goods-info .info .price-number .number { display: flex; justify-content: center; align-items: center; } .buy-list .row .goods-info .info .input { width: 100rpx; height: 45rpx; margin: 0 10rpx; border-bottom: 1rpx #ADADAD solid; } .buy-list .row .goods-info .info .input input { width: 80rpx; height: 40rpx; display: flex; justify-content: center; align-items: center; text-align: center; font-size: 26rpx; } .order { width: 86%; padding: 10rpx 3%; margin: 30rpx auto 20rpx auto; box-shadow: 0rpx 5rpx 20rpx rgba(0, 0, 0, 0.1); border-radius: 20rpx; } .order .row { margin: 20rpx 0; height: 40rpx; display: flex; } .order .row .left { font-size: 28rpx; } .order .row .right { margin-left: 40rpx; font-size: 26rpx; color: #999; } .order .row .right input { font-size: 26rpx; color: #999; } .blck { width: 100%; height: 100rpx; } .footer { width: 100%; padding: 0 4%; background-color: #fbfbfb; height: 100rpx; display: flex; justify-content: flex-end; align-items: center; font-size: 28rpx; position: fixed; bottom: 0rpx; z-index: 5; } .footer .settlement { width: 80%; display: flex; justify-content: flex-end; align-items: center; } .footer .settlement .sum { width: 50%; font-size: 28rpx; margin-right: 10rpx; display: flex; justify-content: flex-end; } .footer .settlement .sum .money { font-weight: 600; } .footer .settlement .btn { padding: 0 30rpx; height: 60rpx; background-color: #f06c7a; color: #fff; display: flex; justify-content: center; align-items: center; font-size: 30rpx; border-radius: 40rpx; } .detail { width: 86%; padding: 10rpx 3%; margin: 30rpx auto 20rpx auto; box-shadow: 0rpx 5rpx 20rpx rgba(0, 0, 0, 0.1); border-radius: 20rpx; } .detail .row { height: 60rpx; display: flex; justify-content: space-between; align-items: center; } .detail .row .nominal { font-size: 28rpx; } .detail .row .content { font-size: 26rpx; color: #f06c7a; }