appointment.html
5.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>绿纤预约页面</title>
<style>
*, *::before, *::after { box-sizing: border-box; }
body {
font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
margin: 0;
min-height: 100vh;
background: linear-gradient(135deg, #e8f5e9 0%, #b2dfdb 100%);
}
.container {
max-width: 480px;
margin: 32px auto 0 auto;
padding: 24px 18px 18px 18px;
background: #fff;
border-radius: 18px;
box-shadow: 0 4px 24px 0 rgba(76, 175, 80, 0.10), 0 1.5px 6px 0 rgba(76, 175, 80, 0.08);
border: 1.5px solid #c8e6c9;
box-sizing: border-box;
}
h2 {
text-align: center;
color: #388e3c;
margin-bottom: 18px;
letter-spacing: 2px;
}
.form-group { margin-bottom: 18px; }
label {
display: block;
margin-bottom: 6px;
font-weight: bold;
color: #388e3c;
letter-spacing: 1px;
font-size: 1em;
}
.desc {
font-size: 0.95em;
color: #6a9c6a;
margin-bottom: 4px;
margin-top: -2px;
}
input, select, textarea {
width: 100%;
padding: 10px 12px;
border: 1.5px solid #c8e6c9;
border-radius: 8px;
font-size: 1em;
transition: border-color 0.2s, box-shadow 0.2s;
background: #f9fff9;
outline: none;
box-sizing: border-box;
}
input:focus, select:focus, textarea:focus {
border-color: #43a047;
box-shadow: 0 0 0 2px #a5d6a7;
background: #fff;
}
.readonly { background: #f0f0f0; }
.section-title {
margin: 28px 0 14px;
font-size: 1.1em;
color: #388e3c;
border-left: 5px solid #43a047;
padding-left: 10px;
background: linear-gradient(90deg, #e8f5e9 60%, #fff 100%);
border-radius: 4px;
}
button {
width: 100%;
padding: 14px;
background: linear-gradient(90deg, #43a047 60%, #66bb6a 100%);
color: #fff;
border: none;
border-radius: 8px;
font-size: 1.15em;
font-weight: bold;
letter-spacing: 2px;
box-shadow: 0 2px 8px #a5d6a7;
cursor: pointer;
transition: background 0.2s, box-shadow 0.2s;
}
button:hover, button:active {
background: linear-gradient(90deg, #388e3c 60%, #43a047 100%);
box-shadow: 0 4px 16px #a5d6a7;
}
textarea {
resize: vertical;
min-height: 48px;
max-height: 120px;
}
.flex-row { display: flex; gap: 10px; }
.flex-row > * { flex: 1; }
@media (max-width: 520px) {
.container { margin: 0; border-radius: 0; box-shadow: none; padding: 16px 4px 12px 4px; }
}
</style>
</head>
<body>
<div class="container">
<h2>绿纤预约</h2>
<form id="appointmentForm">
<div class="section-title">预约信息</div>
<div class="form-group">
<label for="store">店名</label>
<div class="desc">单据门店</div>
<select id="store" name="store" required>
<option value="">请选择门店</option>
<option value="旗舰店">旗舰店</option>
<option value="分店A">分店A</option>
<option value="分店B">分店B</option>
</select>
</div>
<div class="form-group">
<label for="inviter">邀约人</label>
<div class="desc">系统可根据ID识别邀约人/店助选择</div>
<select id="inviter" name="inviter" required>
<option value="">请选择邀约人</option>
<option value="张三">张三</option>
<option value="李四">李四</option>
<option value="王五">王五</option>
</select>
</div>
<div class="form-group">
<label for="customerName">顾客姓名</label>
<select id="customerName" name="customerName" required>
<option value="">请选择顾客</option>
<option value="会员-王女士">会员-王女士</option>
<option value="会员-李女士">会员-李女士</option>
<option value="线索池-张小姐">线索池-张小姐</option>
</select>
</div>
<div class="form-group">
<label for="customerType">顾客类型</label>
<select id="customerType" name="customerType" required>
<option value="会员">会员</option>
<option value="线索池19.9">线索池19.9</option>
</select>
</div>
<div class="form-group">
<label for="experienceProject">预约体验项目</label>
<select id="experienceProject" name="experienceProject" required>
<option value="">请选择项目</option>
<option value="A项目">A项目</option>
<option value="B项目">B项目</option>
</select>
</div>
<div class="form-group">
<label for="operator">操作人</label>
<select id="operator" name="operator" required>
<option value="">请选择操作人</option>
<option value="店助A">店助A</option>
<option value="店助B">店助B</option>
</select>
</div>
<button type="submit">提交预约</button>
</form>
</div>
</body>
</html>