forked from juo6442/moothumb
-
Notifications
You must be signed in to change notification settings - Fork 14
/
index.html
311 lines (300 loc) · 10.8 KB
/
index.html
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
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<title>动物森友会 大头菜价格预测工具</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="icon" href="favicon_32.png" sizes="32x32">
<link rel="icon" href="favicon_196.png" sizes="196x196">
<link rel="stylesheet" href="style.css" type="text/css">
<script src="predictor.js"></script>
<script src="presets.js"></script>
<script src="ui.js"></script>
</head>
<body onload="onBodyLoad();">
<header>
<h1>动物森友会 大头菜价格预测工具</h1>
<p>【投资有风险 入市需谨慎 本工具结果仅供参考】 本工具翻译自<a href="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/juo6442/moothumb">moothumb</a></p>
<noscript><p>请启用JavaScript以正常显示页面</p></noscript>
</header>
<section id="content">
<section id="priceInput">
<h2>输入价格</h2>
<form name="priceInputForm">
<section>
<label for="inlineInput">便捷输入:</label><br />
<input type="text" id="inlineInput" name="inlineInput" maxlength="70">
<input type="button" value="预测" onClick="onInlinePredictionButtonClick()">
<p class="tip">例如: 99 110/122 133/ 62/54 98/69 64</p>
</section>
<section>
<table>
<thead>
<tr>
<th></th>
<th>上午 / 下午</th>
</tr>
</thead>
<tbody id="priceInputTableBody">
<tr>
<th><label for="purchasePrice">购入价格</label></th>
<td><input type="number" id="purchasePrice" name="price" class="price" min="0" max="2000"></td>
</tr>
</tbody>
</table>
</section>
<input type="button" value="预测" onClick="onPredictionButtonClick();">
<input type="reset" value="重置输入">
</form>
</section>
<section id="predictionResult">
<h2>预测结果</h2>
<table>
<thead>
<tr>
<th colspan="2" rowspan="2">走势类型</th>
<th rowspan="2">买入价</th>
<th colspan="12">价格走势</th>
</tr>
<tr>
<th>周一AM</th>
<th>周一PM</th>
<th>周二AM</th>
<th>周二PM</th>
<th>周三AM</th>
<th>周三PM</th>
<th>周四AM</th>
<th>周四PM</th>
<th>周五AM</th>
<th>周五PM</th>
<th>周六AM</th>
<th>周六PM</th>
</tr>
<tr>
<th colspan="2">输入值</th>
<td class="realPrice" />
<td class="realPrice" />
<td class="realPrice" />
<td class="realPrice" />
<td class="realPrice" />
<td class="realPrice" />
<td class="realPrice" />
<td class="realPrice" />
<td class="realPrice" />
<td class="realPrice" />
<td class="realPrice" />
<td class="realPrice" />
<td class="realPrice" />
</tr>
</thead>
<tbody id="predictionTableBody" />
</table>
</section>
<section id="advancedSettings">
<h2>进阶设置</h2>
<p>
可调整细节参数。如果不清楚,请不要修改。
<input type="button" value="显示/隐藏" onClick="onParameterInputToggleButtonClick()">
</p>
<form name="parameterInputForm">
<section>
<p><label for="tolerance">误差范围:±</label><input type="text" size="3" name="tolerance" value="0">铃钱</p>
<label for="parameterPreset">预设:</label>
<select id="parameterPreset" name="parameterPreset" onchange="onParameterPresetChange()">
<option value="acww">欢迎来到动物之森</option>
<option value="accf">动物之森 城市人</option>
<option value="acnl">来吧!动物之森</option>
</select>
</section>
<section id="parameterInput">
<table>
<thead>
<tr>
<th>类型</th>
<th>阶段</th>
<th>变化方式</th>
<th>变化范围</th>
</tr>
</thead>
<tbody>
<tr>
<th rowspan="8">波动型</th>
<th>上涨</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>连续下跌两次</th>
<td colspan="2" class="transitionDaysCell" />
</tr>
<tr>
<th>连续下跌两次1期</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>连续下跌两次2期</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>连续下跌三次</th>
<td colspan="2" class="transitionDaysCell" />
</tr>
<tr>
<th>连续下跌三次1期</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>连续下跌三次2期</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>连续下跌三次3期</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
</tbody>
<tbody>
<tr>
<th rowspan="2">连续下跌型</th>
<th>周一上午</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>周一下午 ~ 周六下午</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
</tbody>
<tbody>
<tr>
<th rowspan="10">3期型</th>
<th>周一上午</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>上涨前</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>开始上涨</th>
<td colspan="2" class="transitionDaysCell"></td>
</tr>
<tr>
<th>上涨1期</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>上涨2期</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>上涨3期</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>上涨4期</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>上涨5期</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>上涨6期</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>上涨结束</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
</tbody>
<tbody>
<tr>
<th rowspan="11">4期型</th>
<th>周一上午</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>上涨前</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>开始上涨</th>
<td colspan="2" class="transitionDaysCell"></td>
</tr>
<tr>
<th>上涨1期</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>上涨2期</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>上涨3期</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>上涨4期</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>上涨5期</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>上涨6期</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<th>上涨结束</th>
<td class="transitionMethodCell" />
<td class="transitionAmountCell" />
</tr>
<tr>
<td colspan="4">
<label><input type="checkbox" name="fourthPeriodPeak">上涨4期时为最高</label>
</td>
</tr>
</tbody>
</table>
</section>
</form>
</section>
</section>
<footer>
<hr />
<p>Github: <a class="footerLink" href="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/nathan21hz/moothumb">https://github.com/nathan21hz/moothumb</a></p>
<hr />
<p>原作者信息</p>
<address>
<p>Twitter: <a class="footerLink" href="https://twitter.com/juo6442">@juo6442</a></p>
<p>E-mail: <a class="footerLink" href="mailto:[email protected]?subject=[뭇썸 문의]">[email protected]</a>
</address>
<p>Github: <a class="footerLink" href="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/juo6442/moothumb">https://github.com/juo6442/moothumb</a></p>
<p>とびカブ: <a class="footerLink" href="http:https://tobikabu.web.fc2.com/">http:https://tobikabu.web.fc2.com/</a></p>
</footer>
</body>
</html>