invite.html
4.33 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
<!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; }
}
.link-field { color: #388e3c; text-decoration: underline; cursor: pointer; font-size: 1em; }
</style>
</head>
<body>
<div class="container">
<h2>绿纤邀约记录</h2>
<form id="inviteForm">
<div class="section-title">邀约记录</div>
<div class="form-group">
<label for="phoneValid">电话是否有效</label>
<select id="phoneValid" name="phoneValid" required>
<option value="">请选择</option>
<option value="有效">有效</option>
<option value="无效">无效</option>
</select>
</div>
<div class="form-group">
<label for="contactTime">联系时间</label>
<div class="desc">根据记录时间自动生成</div>
<input type="datetime-local" id="contactTime" name="contactTime" required>
</div>
<div class="form-group">
<label for="contactRecord">联系记录</label>
<div class="desc">预约时间/记录,收集关键词</div>
<textarea id="contactRecord" name="contactRecord" rows="2" placeholder="请输入联系记录"></textarea>
</div>
<div class="form-group">
<label for="appointmentLink">预约-链接</label>
<div class="desc">关联在线预约链接</div>
<span class="link-field" id="appointmentLink">点击进入预约</span>
</div>
<button type="submit">提交邀约记录</button>
</form>
</div>
<script>
// 预约链接点击跳转(可根据实际需求替换链接)
document.getElementById('appointmentLink').onclick = function() {
window.open('appointment.html', '_blank');
};
</script>
</body>
</html>