/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .time-id.data-v-1cf27b2a { font-size: 20px; color: #ff6700; font-weight: 700; } .tab-menu.data-v-1cf27b2a { display: flex; justify-content: space-around; padding: 10px 0; background-color: #5e7dec; color: #9cb0f4; } .tab-item.data-v-1cf27b2a { padding: 10px; cursor: pointer; } .tab-item.active.data-v-1cf27b2a { color: #fff; font-weight: bold; } .fixed-buttons.data-v-1cf27b2a { position: fixed; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; background-color: #fff; padding: 10px; box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); } .button-container.data-v-1cf27b2a { display: flex; flex-direction: column; align-items: center; margin-right: 10px; } .button-container text.data-v-1cf27b2a { margin-top: 5px; } .fixed-font.data-v-1cf27b2a { font-size: 12px; } .refresh-button.data-v-1cf27b2a { width: 60%; background-color: pink; border-radius: 15px; color: #fff; background-color: #5e7dec; } .button-text.data-v-1cf27b2a { color: #fff; font-size: 12px; } .text.data-v-1cf27b2a { font-size: 12px; color: #333; } .popup-content.data-v-1cf27b2a { padding: 20px; border-radius: 8px; background-color: #fff; } .modal-header.data-v-1cf27b2a { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .tab-button.data-v-1cf27b2a { background-color: transparent; border: none; font-size: 16px; cursor: pointer; padding: 5px 10px; } .tab-button.active.data-v-1cf27b2a { color: #007AFF; border-bottom: 2px solid #007AFF; } .modal-title.data-v-1cf27b2a { font-size: 18px; font-weight: bold; } .modal-close.data-v-1cf27b2a { font-size: 16px; cursor: pointer; } .modal-body.data-v-1cf27b2a { padding: 10px 0; } .modal-item.data-v-1cf27b2a { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; } .modal-label.data-v-1cf27b2a { font-size: 15px; font-weight: bold; } .modal-value.data-v-1cf27b2a { font-size: 14px; color: #333; } .arrow.data-v-1cf27b2a { margin-left: 10px; } .modal-list.data-v-1cf27b2a { display: grid; grid-template-columns: 1fr 1fr; /* 创建两列,每列占据相等的空间 */ gap: 10px; padding: 10px 10px 10px 0; border-radius: 5px; } .item.data-v-1cf27b2a { background-color: #f1f1f1; padding: 10px; border-radius: 5px; text-align: center; cursor: pointer; font-size: 14px; } .item.selected.data-v-1cf27b2a { background-color: #eef6ff; color: #80a6da; } .tips.data-v-1cf27b2a { font-size: 12px; color: #c8c8c8; } .order-card.data-v-1cf27b2a { background-color: #fff; border-radius: 12px; /* 增大圆角 */ padding: 10px; /* 增大内边距 */ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.16); /* 更深的阴影 */ width: 90%; margin: 0 auto; margin-bottom: 20px; transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out; /* 添加过渡效果 */ } .order-card.data-v-1cf27b2a:hover { transform: translateY(-4px); /* 当鼠标悬停时稍微提升 */ box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* 更大的阴影当悬停 */ } /* 修改前 */ .order-card.data-v-1cf27b2a:last-child { margin-bottom: 100px; } /* 修改后 */ .order-card.data-v-1cf27b2a:last-child { margin-bottom: 100px !important; /* 添加 !important 确保优先级 */ } .delivery-info.data-v-1cf27b2a { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; } .time.data-v-1cf27b2a, .price.data-v-1cf27b2a { font-size: 16px; /* 增大字体大小 */ } .price.data-v-1cf27b2a { color: #ff6700; font-weight: bold; } .address-info.data-v-1cf27b2a { margin-bottom: 15px; border-bottom: 1px solid #e0e0e0; /* 添加底部边框 */ padding-bottom: 10px; } .address-item.data-v-1cf27b2a { display: flex; align-items: center; margin-bottom: 10px; } .circle.data-v-1cf27b2a { width: 24px; /* 稍微增大圆形 */ height: 24px; background-color: #ff6700; color: #fff; display: flex; justify-content: center; align-items: center; border-radius: 50%; margin-right: 12px; font-size: 12px; /* 调整文本大小 */ font-weight: bold; } .distance.data-v-1cf27b2a { color: #666; font-size: 14px; margin-right: 12px; } .address-name.data-v-1cf27b2a { color: #333; font-size: 16px; font-weight: 600; } .button-container.data-v-1cf27b2a { text-align: center; /* 增加按钮顶部间距 */ } .order-button.data-v-1cf27b2a { background-color: #5e7dec; color: #fff; padding: 12px 24px; /* 增大按钮尺寸 */ border-radius: 6px; /* 圆滑按钮边缘 */ font-size: 16px; cursor: pointer; transition: background-color 0.3s ease-in-out; /* 添加过渡效果 */ width: 85%; } .order-button.data-v-1cf27b2a:hover { background-color: #4a69bd; /* 改变悬停颜色 */ } .content.data-v-1cf27b2a { padding-bottom: 50px; /* 根据底部按钮高度调整 */ }