232 lines
6.4 KiB
HTML
232 lines
6.4 KiB
HTML
<!DOCTYPE html>
|
||
<html lang="zh-CN">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||
<title>成长值详情弹窗 - Axure原型</title>
|
||
<style>
|
||
* {
|
||
margin: 0;
|
||
padding: 0;
|
||
box-sizing: border-box;
|
||
}
|
||
|
||
body {
|
||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
||
background-color: #f5f5f5;
|
||
padding: 20px;
|
||
}
|
||
|
||
/* 模态背景遮罩 */
|
||
.modal-overlay {
|
||
position: fixed;
|
||
top: 0;
|
||
left: 0;
|
||
width: 100%;
|
||
height: 100%;
|
||
background-color: rgba(0, 0, 0, 0.5);
|
||
display: flex;
|
||
justify-content: center;
|
||
align-items: center;
|
||
z-index: 1000;
|
||
}
|
||
|
||
/* 弹窗容器 */
|
||
.dialog-container {
|
||
background: white;
|
||
border: 1px dashed #ccc;
|
||
border-radius: 4px;
|
||
width: 90%;
|
||
max-width: 480px;
|
||
max-height: 90vh;
|
||
overflow-y: auto;
|
||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
|
||
}
|
||
|
||
/* 弹窗头部 */
|
||
.dialog-header {
|
||
position: relative;
|
||
padding: 20px 24px 16px;
|
||
border-bottom: 1px dashed #e5e5e5;
|
||
}
|
||
|
||
.dialog-title {
|
||
font-size: 18px;
|
||
font-weight: 500;
|
||
color: #333;
|
||
text-align: center;
|
||
margin: 0;
|
||
}
|
||
|
||
/* 关闭按钮 */
|
||
.close-button {
|
||
position: absolute;
|
||
top: 16px;
|
||
right: 20px;
|
||
width: 24px;
|
||
height: 24px;
|
||
background: white;
|
||
border: 1px dashed #ccc;
|
||
border-radius: 2px;
|
||
cursor: pointer;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-size: 16px;
|
||
color: #666;
|
||
line-height: 1;
|
||
}
|
||
|
||
.close-button:hover {
|
||
background-color: #f5f5f5;
|
||
}
|
||
|
||
/* 弹窗内容 */
|
||
.dialog-content {
|
||
padding: 24px;
|
||
}
|
||
|
||
/* 详情项目 */
|
||
.detail-item {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
padding: 12px 0;
|
||
border-bottom: 1px dashed #f0f0f0;
|
||
}
|
||
|
||
.detail-item:last-child {
|
||
border-bottom: none;
|
||
}
|
||
|
||
.detail-label {
|
||
font-size: 14px;
|
||
color: #666;
|
||
font-weight: normal;
|
||
min-width: 120px;
|
||
text-align: left;
|
||
}
|
||
|
||
.detail-value {
|
||
font-size: 14px;
|
||
color: #333;
|
||
font-weight: normal;
|
||
text-align: right;
|
||
flex: 1;
|
||
}
|
||
|
||
/* 绿色正值样式 */
|
||
.positive-value {
|
||
color: #52c41a !important;
|
||
font-weight: 500;
|
||
}
|
||
|
||
/* 金额样式 */
|
||
.amount-value {
|
||
font-weight: 500;
|
||
}
|
||
|
||
/* 响应式设计 */
|
||
@media (max-width: 480px) {
|
||
.dialog-container {
|
||
width: 95%;
|
||
margin: 10px;
|
||
}
|
||
|
||
.dialog-content {
|
||
padding: 20px;
|
||
}
|
||
|
||
.detail-item {
|
||
flex-direction: column;
|
||
align-items: flex-start;
|
||
gap: 4px;
|
||
}
|
||
|
||
.detail-label {
|
||
min-width: auto;
|
||
}
|
||
|
||
.detail-value {
|
||
text-align: left;
|
||
}
|
||
}
|
||
|
||
/* Axure风格说明文本 */
|
||
.axure-note {
|
||
position: fixed;
|
||
bottom: 20px;
|
||
left: 20px;
|
||
background: white;
|
||
border: 1px dashed #ccc;
|
||
padding: 10px;
|
||
font-size: 12px;
|
||
color: #666;
|
||
max-width: 300px;
|
||
}
|
||
</style>
|
||
</head>
|
||
<body>
|
||
<!-- 模态背景遮罩 -->
|
||
<div class="modal-overlay">
|
||
<!-- 弹窗容器 -->
|
||
<div class="dialog-container">
|
||
<!-- 弹窗头部 -->
|
||
<div class="dialog-header">
|
||
<h2 class="dialog-title">成长值详情</h2>
|
||
<button class="close-button">×</button>
|
||
</div>
|
||
|
||
<!-- 弹窗内容 -->
|
||
<div class="dialog-content">
|
||
<div class="detail-item">
|
||
<span class="detail-label">变化原因:</span>
|
||
<span class="detail-value">订单消费</span>
|
||
</div>
|
||
|
||
<div class="detail-item">
|
||
<span class="detail-label">变化时间:</span>
|
||
<span class="detail-value">2025-07-24 17:20</span>
|
||
</div>
|
||
|
||
<div class="detail-item">
|
||
<span class="detail-label">成长值增加:</span>
|
||
<span class="detail-value positive-value">+35</span>
|
||
</div>
|
||
|
||
<div class="detail-item">
|
||
<span class="detail-label">订单编号:</span>
|
||
<span class="detail-value">ORD9296</span>
|
||
</div>
|
||
|
||
<div class="detail-item">
|
||
<span class="detail-label">订单总金额:</span>
|
||
<span class="detail-value amount-value">¥89.99</span>
|
||
</div>
|
||
|
||
<div class="detail-item">
|
||
<span class="detail-label">订单时间:</span>
|
||
<span class="detail-value">2025-07-24 17:20</span>
|
||
</div>
|
||
|
||
<div class="detail-item">
|
||
<span class="detail-label">订单归属据点:</span>
|
||
<span class="detail-value">美食餐厅</span>
|
||
</div>
|
||
|
||
<div class="detail-item">
|
||
<span class="detail-label">成长值变化:</span>
|
||
<span class="detail-value positive-value">+35</span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
|
||
<!-- Axure风格说明 -->
|
||
<div class="axure-note">
|
||
<strong>Axure RP 原型</strong><br>
|
||
成长值详情弹窗<br>
|
||
线框图风格演示
|
||
</div>
|
||
</body>
|
||
</html> |