/*公共*/ .date-time { color: #808080; /* 浅灰色 */ font-size: 1.2em; /* 放大字体 */ font-weight: bold; /* 加粗字体 */ } /*---------------------------------------------------------*/ /* 分发模态框基础样式 */ .DistributeModal { display: none; /* 初始隐藏 */ position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); /* 半透明背景 */ justify-content: center; align-items: center; } .DistributeModal-content { background-color: white; padding: 20px; width: 400px; max-width: 90%; border-radius: 10px; box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); position: relative; text-align: center; } /* 关闭按钮 */ .DistributeModal-close { position: absolute; top: 10px; right: 15px; font-size: 24px; color: #333; cursor: pointer; } /* 分发模态框上、下两个部分的样式 */ .DistributeModal-section { margin-bottom: 20px; padding: 15px; border: 1px solid #ccc; /* 细边框 */ border-radius: 5px; box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* 阴影效果 */ } /* 输入框样式 */ .DistributeModal-email-input-wrapper { display: flex; align-items: center; margin-bottom: 10px; } .DistributeModal-email-input { flex: 1; padding: 10px; border: 1px solid #ccc; border-radius: 15px; background-color: #f5f5f5; /* iOS 风格背景 */ box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); font-size: 16px; font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; } /* 删除按钮样式 */ .DistributeModal-remove-email-btn { background-color: #ff3b30; /* iOS 风格红色按钮 */ color: white; border: none; border-radius: 50%; width: 25px; height: 25px; display: flex; justify-content: center; align-items: center; cursor: pointer; flex-shrink: 0; /* 确保按钮不会缩小 */ } .DistributeModal-remove-email-btn:hover { background-color: #d32f2f; /* 更深的红色 */ } /* 布局:将新增邮箱和确认分发按钮放在一行 */ .DistributeModal-email-button-wrapper { display: flex; justify-content: space-between; /* 按钮之间均匀分布 */ gap: 5px; /* 将按钮之间的间距缩小为 5px */ margin-bottom: 10px; /* 与输入框部分保持一定距离 */ } /* 按钮样式 */ .DistributeModal-button { background-color: #007aff; /* iOS风格的蓝色按钮 */ color: white; padding: 10px; border: none; border-radius: 5px; cursor: pointer; margin-top: 10px; flex: 1; /* 使按钮占据相同宽度 */ } .DistributeModal-button:hover { background-color: #0056b3; } /* 复选框容器样式 */ .DistributeModal-checkbox-wrapper { display: flex; justify-content: space-between; margin-top: 10px; } /* 复选框标签样式 */ .DistributeModal-checkbox-label { display: flex; align-items: center; font-size: 16px; color: #333; cursor: pointer; } /* 隐藏默认复选框 */ .DistributeModal-checkbox { appearance: none; -webkit-appearance: none; position: absolute; opacity: 0; } /* 自定义复选框样式 */ .DistributeModal-checkbox-custom { width: 40px; height: 20px; background-color: #ccc; border-radius: 10px; position: relative; transition: background-color 0.3s; } /* 复选框选中后的样式 */ .DistributeModal-checkbox:checked + .DistributeModal-checkbox-custom { background-color: #007aff; /* iOS 风格的蓝色 */ } /* 滑动的圆点 */ .DistributeModal-checkbox-custom::before { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; background-color: white; border-radius: 50%; transition: transform 0.3s; } /* 复选框选中后,圆点移动 */ .DistributeModal-checkbox:checked + .DistributeModal-checkbox-custom::before { transform: translateX(20px); } /* 分发用户 */ /* 布局:将新增下拉框和确认用户分发按钮放在一行 */ .DistributeModal-user-button-wrapper { display: flex; justify-content: space-between; /* 按钮均匀分布 */ gap: 10px; /* 间距 */ margin-bottom: 10px; } /* iOS 风格下拉框样式 */ .distributeUser-select { flex: 1; /* 使下拉框占据剩余空间 */ max-width: 80%; /* 确保下拉框不会占据过多空间 */ padding: 5px; border-radius: 10px; background-color: #f5f5f5; /* iOS 风格浅色背景 */ border: 1px solid #ccc; font-size: 14px; -webkit-appearance: none; /* 移除默认下拉箭头样式 */ appearance: none; margin-right: 10px; /* 留出与关闭按钮的间距 */ } .distributeUser-select-wrapper { display: flex; align-items: center; margin-bottom: 10px; } /* 自定义下拉箭头 */ .distributeUser-select-wrapper::after { content: '▼'; position: absolute; right: 10px; top: 50%; transform: translateY(-50%); pointer-events: none; /* 让箭头不可点击 */ } /*分发历史模态框----------*/ /* 模态框背景 */ /* 模态框背景 */ .distributionHistory-modal { display: none; /* 默认隐藏 */ position: fixed; z-index: 999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.5); /* 半透明黑色背景 */ } /* 模态框内容 */ .distributionHistory-modal-content { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background-color: #ffffff; border-radius: 12px; /* 圆角 */ box-shadow: 0 0 10px rgba(0, 0, 0, 0.2); width: 90%; max-width: 500px; padding: 20px; /* 内边距 */ border: 4px solid #02556e; } /* 关闭按钮 */ .distributionHistory-modal-close { color: #888; float: right; font-size: 24px; font-weight: bold; cursor: pointer; } /* 标题 */ .distributionHistory-modal h2 { margin: 0; font-size: 20px; font-weight: bold; text-align: center; } /* 用户记录和邮箱记录容器 */ .distributionHistory-user-content, .distributionHistory-email-content { margin-top: 15px; /* 上外边距 */ margin-bottom: 15px; /* 下外边距 */ border: 1px solid #02556e; /* 边框 */ border-radius: 8px; /* 圆角 */ padding: 10px; /* 内边距 */ background-color: #ffffff; /* 背景色 */ } /* 记录内容样式 */ .distributionHistoryModal-record { padding: 10px; border-bottom: 1px solid #eee9e9; } /* 最后一个记录没有底部边框 */ /* .distributionHistoryModal-record:last-child { border-bottom: none; } */ /* 无记录提示 */ .distributionHistoryModal-no-record { text-align: center; color: #999; padding: 10px; }