511 lines
9.6 KiB
Plaintext
511 lines
9.6 KiB
Plaintext
@charset "UTF-8";
|
||
/**
|
||
* 这里是uni-app内置的常用样式变量
|
||
*
|
||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
*
|
||
*/
|
||
/**
|
||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
*
|
||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
*/
|
||
/* 颜色变量 */
|
||
/* 行为相关颜色 */
|
||
/* 文字基本颜色 */
|
||
/* 背景颜色 */
|
||
/* 边框颜色 */
|
||
/* 尺寸变量 */
|
||
/* 文字尺寸 */
|
||
/* 图片尺寸 */
|
||
/* Border Radius */
|
||
/* 水平间距 */
|
||
/* 垂直间距 */
|
||
/* 透明度 */
|
||
/* 文章场景相关 */
|
||
.flex-container {
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
height: 50px;
|
||
}
|
||
.list-box {
|
||
background-color: #fff;
|
||
color: #333;
|
||
}
|
||
.item-box {
|
||
padding: 20rpx;
|
||
border-bottom: 1rpx solid #eee;
|
||
}
|
||
.flex-box {
|
||
display: flex;
|
||
align-items: center;
|
||
position: relative;
|
||
}
|
||
.flex-shop {
|
||
width: 120rpx;
|
||
height: 120rpx;
|
||
}
|
||
.flex-title {
|
||
font-size: 30rpx;
|
||
margin-left: 10rpx;
|
||
max-width: 75%;
|
||
overflow: hidden;
|
||
height: 40rpx;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
.flex-postion {
|
||
display: flex;
|
||
align-items: center;
|
||
position: absolute;
|
||
right: 0;
|
||
}
|
||
.flex-postion image {
|
||
width: 20rpx;
|
||
height: 26rpx;
|
||
}
|
||
.flex-postion label {
|
||
font-size: 24rpx;
|
||
color: #9b9b9b;
|
||
margin-left: 10rpx;
|
||
}
|
||
.m-nearbylist {
|
||
position: absolute;
|
||
width: 100%;
|
||
height: 100%;
|
||
}
|
||
.flex-info {
|
||
display: flex;
|
||
flex-direction: column;
|
||
justify-content: center;
|
||
}
|
||
.flex-info view {
|
||
margin: 10rpx 0 0 0;
|
||
font-size: 28rpx;
|
||
}
|
||
.flex-info-box {
|
||
display: flex;
|
||
align-items: flex-start;
|
||
}
|
||
.flex-info label {
|
||
display: inline-block;
|
||
vertical-align: top;
|
||
word-wrap: break-word;
|
||
width: 520rpx;
|
||
}
|
||
.flex-info image {
|
||
width: 40rpx;
|
||
height: 40rpx;
|
||
position: absolute;
|
||
right: 10rpx;
|
||
}
|
||
.flex-info-title {
|
||
flex-basis: 145rpx;
|
||
}
|
||
.open_ba {
|
||
width: 80%;
|
||
margin: 0 auto;
|
||
}
|
||
.open_dl {
|
||
width: 34%;
|
||
height: 79rpx;
|
||
background: #33cc66;
|
||
border-radius: 20rpx;
|
||
text-align: center;
|
||
color: #fff;
|
||
margin: 79rpx auto 0 auto;
|
||
line-height: 75rpx;
|
||
}
|
||
.nearbylist-item {
|
||
padding: 20rpx 30rpx;
|
||
border-bottom: 1px solid #eee;
|
||
background: white;
|
||
}
|
||
.nearbylist-item:last-child {
|
||
border: none;
|
||
}
|
||
.item-info {
|
||
position: relative;
|
||
font-size: 28rpx;
|
||
}
|
||
.item-name {
|
||
display: inline-block;
|
||
font-size: 30rpx;
|
||
}
|
||
.item-phone {
|
||
line-height: 45rpx;
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
.item-distance {
|
||
float: right;
|
||
font-size: 26rpx;
|
||
color: #bbb;
|
||
}
|
||
.item-address {
|
||
position: relative;
|
||
font-size: 26rpx;
|
||
color: #bbb;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
display: -webkit-box;
|
||
-webkit-box-orient: vertical;
|
||
-webkit-line-clamp: 1;
|
||
margin-right: 40rpx;
|
||
line-height: 40rpx;
|
||
}
|
||
.item-info::after {
|
||
content: " ";
|
||
display: inline-block;
|
||
height: 12rpx;
|
||
width: 12rpx;
|
||
border-width: 4rpx 4rpx 0 0;
|
||
border-color: #c8c8cd;
|
||
border-style: solid;
|
||
-webkit-transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
|
||
transform: matrix(0.71, 0.71, -0.71, 0.71, 0, 0);
|
||
top: -4rpx;
|
||
position: absolute;
|
||
top: 72%;
|
||
right: 4rpx;
|
||
padding: 3rpx;
|
||
}
|
||
.m-nearbylist {
|
||
height: 100%;
|
||
position: absolute;
|
||
}
|
||
.uni-media-list-logo {
|
||
width: 140rpx;
|
||
height: 140rpx;
|
||
}
|
||
.uni-media-list-body {
|
||
height: auto;
|
||
justify-content: space-around;
|
||
}
|
||
.uni-media-list-text-top {
|
||
height: 74rpx;
|
||
font-size: 28rpx;
|
||
overflow: hidden;
|
||
}
|
||
.uni-media-list-text-bottom {
|
||
display: flex;
|
||
flex-direction: row;
|
||
justify-content: space-between;
|
||
}
|
||
.uni-media-list-text-bottom text {
|
||
width: 400rpx;
|
||
}
|
||
.uni-media-list-text-bottom image {
|
||
width: 20rpx;
|
||
height: 26rpx;
|
||
}
|
||
.uni-media-list-text-bottom label {
|
||
font-size: 24rpx;
|
||
color: #9b9b9b;
|
||
margin-left: 10rpx;
|
||
}
|
||
.uni-list-cell {
|
||
position: auto;
|
||
}
|
||
.m-nearbylist {
|
||
top: 88rpx;
|
||
}
|
||
.order-list {
|
||
background-color: #f5f5f5;
|
||
width: 100%;
|
||
}
|
||
.order-list .list {
|
||
width: 100%;
|
||
margin: 0 auto;
|
||
}
|
||
.order-list .list .onorder {
|
||
width: 100%;
|
||
height: 50vw;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-content: center;
|
||
flex-wrap: wrap;
|
||
}
|
||
.order-list .list .onorder image {
|
||
width: 20vw;
|
||
height: 20vw;
|
||
border-radius: 100%;
|
||
}
|
||
.order-list .list .onorder .text {
|
||
width: 100%;
|
||
height: 60rpx;
|
||
font-size: 28rpx;
|
||
color: #444;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
}
|
||
.order-list .list .row {
|
||
width: calc(100% - 40rpx);
|
||
padding: 10rpx 20rpx;
|
||
border-radius: 10rpx;
|
||
background-color: #fff;
|
||
margin-bottom: 30rpx;
|
||
}
|
||
.order-list .list .row .type {
|
||
font-size: 26rpx;
|
||
color: #ec652f;
|
||
height: 50rpx;
|
||
display: flex;
|
||
align-items: center;
|
||
}
|
||
.order-list .list .row .order-info {
|
||
width: 100%;
|
||
height: 100rpx;
|
||
padding: 10rpx 0;
|
||
display: flex;
|
||
}
|
||
.order-list .list .row .order-info .left {
|
||
flex-shrink: 0;
|
||
width: 13vw;
|
||
height: 13vw;
|
||
}
|
||
.order-list .list .row .order-info .left image {
|
||
width: 13vw;
|
||
height: 13vw;
|
||
border-radius: 10rpx;
|
||
}
|
||
.order-list .list .row .order-info .is-rest {
|
||
position: relative;
|
||
}
|
||
.order-list .list .row .order-info .is-rest .is-rest-bg {
|
||
position: absolute;
|
||
bottom: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 36rpx;
|
||
background: #000;
|
||
opacity: 0.5;
|
||
z-index: 2;
|
||
}
|
||
.order-list .list .row .order-info .is-rest .is-rest-tips {
|
||
position: absolute;
|
||
bottom: 0;
|
||
width: 100%;
|
||
line-height: 36rpx;
|
||
font-size: 24rpx;
|
||
color: #fff;
|
||
text-align: center;
|
||
z-index: 3;
|
||
}
|
||
.order-list .list .row .order-info .right {
|
||
width: 100%;
|
||
position: relative;
|
||
padding: 0 18rpx 0;
|
||
}
|
||
.order-list .list .row .order-info .right .name {
|
||
width: 100%;
|
||
height: 50rpx;
|
||
font-size: 28rpx;
|
||
-webkit-box-orient: vertical;
|
||
-webkit-line-clamp: 1;
|
||
overflow: hidden;
|
||
display: flex;
|
||
justify-content: space-between;
|
||
}
|
||
.order-list .list .row .order-info .right .spec {
|
||
color: #a7a7a7;
|
||
font-size: 22rpx;
|
||
}
|
||
.order-list .list .row .order-info .right .price-number {
|
||
position: absolute;
|
||
width: 100%;
|
||
display: flex;
|
||
justify-content: space-between;
|
||
font-size: 22rpx;
|
||
color: #333;
|
||
display: flex;
|
||
align-items: flex-end;
|
||
}
|
||
.order-list .list .row .order-info .right .price-number .price {
|
||
font-size: 24rpx;
|
||
margin-right: 5rpx;
|
||
}
|
||
.order-list .list .row .detail {
|
||
display: flex;
|
||
justify-content: flex-end;
|
||
align-items: flex-end;
|
||
height: 60rpx;
|
||
font-size: 26rpx;
|
||
}
|
||
.order-list .list .row .detail .sum {
|
||
padding: 0 8rpx;
|
||
display: flex;
|
||
align-items: flex-end;
|
||
}
|
||
.order-list .list .row .detail .sum .price {
|
||
font-size: 30rpx;
|
||
}
|
||
.order-list .list .row .btns {
|
||
height: 80rpx;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: flex-end;
|
||
}
|
||
.order-list .list .row .btns view {
|
||
min-width: 120rpx;
|
||
height: 50rpx;
|
||
padding: 0 20rpx;
|
||
border-radius: 50rpx;
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
font-size: 28rpx;
|
||
margin-left: 20rpx;
|
||
}
|
||
.order-list .list .row .btns .default {
|
||
border: solid 1rpx #ccc;
|
||
color: #666;
|
||
}
|
||
.order-list .list .row .btns .pay {
|
||
border: solid 1rpx #ec652f;
|
||
color: #ec652f;
|
||
}
|
||
.u-font {
|
||
font-size: 24rpx;
|
||
color: #bfbfbf;
|
||
padding: 0 10rpx;
|
||
margin-top: 4rpx;
|
||
}
|
||
.evaluation-rate {
|
||
color: #ffb400;
|
||
}
|
||
.store-name {
|
||
width: 290rpx;
|
||
display: -webkit-box;
|
||
-webkit-box-orient: vertical;
|
||
-webkit-line-clamp: 1;
|
||
overflow: hidden;
|
||
font-weight: bold;
|
||
}
|
||
.u-activity {
|
||
padding: 0 6rpx;
|
||
border: solid 2rpx #ec652f;
|
||
border-radius: 8%;
|
||
font-size: 16rpx;
|
||
color: #ec652f;
|
||
text-align: center;
|
||
margin: 0 10rpx;
|
||
}
|
||
.product-item {
|
||
width: 100%;
|
||
height: 260rpx;
|
||
margin-top: 20rpx;
|
||
display: flex;
|
||
justify-content: flex-start;
|
||
}
|
||
.item-s {
|
||
width: 31%;
|
||
height: 100%;
|
||
border-radius: 10rpx;
|
||
}
|
||
.item-s .p-bottom {
|
||
bottom: 70rpx;
|
||
padding: 10rpx;
|
||
}
|
||
.item-s .p-image {
|
||
width: 27vw;
|
||
height: 25vw;
|
||
}
|
||
.item-s .p-image image {
|
||
width: 27vw;
|
||
height: 25vw;
|
||
border-radius: 10rpx;
|
||
}
|
||
.item-s .p-image .flag {
|
||
position: relative;
|
||
z-index: 2;
|
||
width: 50px;
|
||
height: 20px;
|
||
left: 21px;
|
||
font-size: 10px;
|
||
line-height: 20px;
|
||
text-align: center;
|
||
color: #fff;
|
||
}
|
||
.item-s .p-image .flag-reduction {
|
||
background-color: #e50dbb;
|
||
z-index: 8;
|
||
float: left;
|
||
}
|
||
.item-s .p-name {
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
font-size: 20rpx;
|
||
line-height: 1;
|
||
}
|
||
.item-s .p-price {
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
}
|
||
.item-s .p-price .p-left {
|
||
font-size: 24rpx;
|
||
color: #db384c;
|
||
}
|
||
.item-s .p-price .p-right {
|
||
font-size: 20rpx;
|
||
color: #bfbfbf;
|
||
margin-left: 10rpx;
|
||
text-decoration: line-through;
|
||
}
|
||
.scroll-view_S {
|
||
width: 100%;
|
||
height: 100rpx;
|
||
background: whitesmoke;
|
||
white-space: nowrap;
|
||
}
|
||
.scroll-view-item_S {
|
||
height: 60rpx;
|
||
display: inline-block;
|
||
padding: 20rpx;
|
||
line-height: 60rpx;
|
||
}
|
||
.nav-text {
|
||
width: 100%;
|
||
height: 24rpx;
|
||
font-size: 16rpx;
|
||
color: #333333;
|
||
line-height: 24rpx;
|
||
text-align: center;
|
||
overflow: hidden;
|
||
white-space: nowrap;
|
||
text-overflow: ellipsis;
|
||
}
|
||
.m-navbar-item {
|
||
padding: 20rpx 0;
|
||
font-size: 24rpx;
|
||
}
|
||
.m-navbar-item:after {
|
||
border: none;
|
||
}
|
||
.m-navbar-item.m-navbar-item-on {
|
||
background-color: #f5f5f5;
|
||
font-weight: bold;
|
||
font-size: 30rpx;
|
||
}
|
||
.m-navbar-item.m-navbar-item-on::before {
|
||
content: " ";
|
||
position: absolute;
|
||
left: 0;
|
||
bottom: 0;
|
||
right: 0;
|
||
height: 6rpx;
|
||
border-bottom: 6rpx solid #f30213;
|
||
color: #cccccc;
|
||
-webkit-transform-origin: 0 100%;
|
||
transform-origin: 0 100%;
|
||
-webkit-transform: scaleY(0.5);
|
||
transform: scaleY(0.5);
|
||
z-index: 3;
|
||
}
|
||
|