forked from ivangift/nikkiup2u3
-
Notifications
You must be signed in to change notification settings - Fork 7
/
index.html
311 lines (308 loc) · 11.4 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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>奇迹暖暖在线配装器</title>
<script type='text/javascript' charset="UTF-8" src='jquery.js'></script>
<script type='text/javascript' charset="UTF-8" src='jquery.floatThead.min.js'></script>
<script type='text/javascript' charset="UTF-8" src='wardrobe.js'></script>
<script type='text/javascript' charset="UTF-8" src='scoring.js'></script>
<script type='text/javascript' charset="UTF-8" src='levels.js'></script>
<script type='text/javascript' charset="UTF-8" src='model.js'></script>
<script type='text/javascript' charset="UTF-8" src='pattern.js'></script>
<script type='text/javascript' charset="UTF-8" src='nikki.js'></script>
<script type='text/javascript'>
var googletag = googletag || {};
googletag.cmd = googletag.cmd || [];
(function() {
var gads = document.createElement('script');
gads.async = true;
gads.type = 'text/javascript';
var useSSL = 'https:' == document.location.protocol;
gads.src = (useSSL ? 'https:' : 'http:') +
'//www.googletagservices.com/tag/js/gpt.js';
var node = document.getElementsByTagName('script')[0];
node.parentNode.insertBefore(gads, node);
})();
</script>
<script type='text/javascript'>
googletag.cmd.push(function() {
googletag.defineSlot('/17828477/noogler_201307/noogler_yfchen', [728, 90], 'div-gpt-ad-1433922605968-0').addService(googletag.pubads());
googletag.pubads().enableSingleRequest();
googletag.enableServices();
});
</script>
<style>
table
{
font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
font-size: 12px;
background: #fff;
margin: 10px 20px;
border-collapse: collapse;
text-align: center;
table-layout: fixed;
}
th
{
font-size: 14px;
font-weight: normal;
color: #039;
padding: 10px 8px;
border-bottom: 2px solid #6678b1;
}
th.score {
width: 55px;
}
th.name {
width: 100px;
}
th.category {
width: 110px;
}
th.top {
width: 75px;
}
td
{
color: #669;
padding: 4px 4px 4px 4px;
}
table.mainTable td.own.deps .button {
background-color: #fee;
}
table.mainTable td.own .button
{
padding-left:20px;
background-position: 5px 8px;
background-repeat: no-repeat;
background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAAU0lEQVR42mNgoAHgZ2FjO8/MxjafaMUs7Oz/QZiQJhTFYAzkg2VAOqEcfgKK+SGKUQXlcSoGAQxJdIxqMw7r8ShmIOhmokKFCMVwTdCw5qdatAMAai8zEfxslWsAAAAASUVORK5CYII=);
background-color: #efe;
}
.button {
position: relative;
overflow: visible;
display: inline-block;
padding: 0.5em 1em;
border: 1px solid #d4d4d4;
margin: 0;
text-decoration: none;
text-align: center;
text-shadow: 1px 1px 0 #fff;
color: #333;
white-space: nowrap;
cursor: pointer;
outline: none;
background-color: #ececec;
background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#f4f4f4), to(#ececec));
background-image: -moz-linear-gradient(#f4f4f4, #ececec);
background-image: -ms-linear-gradient(#f4f4f4, #ececec);
background-image: -o-linear-gradient(#f4f4f4, #ececec);
background-image: linear-gradient(#f4f4f4, #ececec);
-moz-background-clip: padding; /* for Firefox 3.6 */
background-clip: padding-box;
border-radius: 0.2em;
/* IE hacks */
zoom: 1;
*display: inline;
}
tbody tr:hover td
{
color: #009;
background: #eee;
}
td.S {
color: #FB3;
}
td.A {
color: #F0A;
}
td.B {
color: #A66;
}
td.C {
color: #38F;
}
td.negative {
text-decoration: line-through;
}
div.facet {
margin-left:10px;
}
div.announcement {
max-width: 800px;
}
div.weightContainer {
display: inline-block;
}
ul.tabs {
margin: 0;
padding: 0;
list-style: none;
height: 32px;
border-bottom: 1px solid #999;
border-left: 1px solid #999;
width: 100%;
}
ul.tabs li {
float: left;
margin: 0;
padding: 0;
height: 31px;
line-height: 31px;
border: 1px solid #999;
border-left: none;
margin-bottom: -1px;
background: #F0F0F0;
overflow: hidden;
position: relative;
}
ul.tabs li a {
text-decoration: none;
color: #000;
display: block;
font-size: 1.2em;
padding: 0 10px;
border: 1px solid #fff;
outline: none;
}
ul.tabs li a:hover {
background: #ccc;
}
html ul.tabs li.active, html ul.tabs li.active a:hover {
background: #fff;
border-bottom: 1px solid #fff;
}
#category_container div {
display:none;
}
#category_container div.active {
display:block;
}
[tooltip]:after {
margin-left: 5px;
position : absolute;
content : attr(tooltip);
opacity : 0;
z-index: 255;
white-space: pre;
text-align: left;
background-color: #cfc;
}
[tooltip]:hover:after {
opacity : 1;
padding: 10px;
}
td.deps [tooltip]:after {
background-color: #fcc;
}
</style>
</head>
<body>
<div class='announcement'>
Nikki's wardrobe. By Ivan's workshop<br/>
服装数据来自jillhx@贴吧 20150818<br/>
设计图数据来自amy_翡翠@贴吧 20150817<br/>
Update 20150819:<br/>
<ul>
<li>衣柜数据更新到了jillhx的20150818版本,共计:2359,占比96.6%</li>
<li>设计图数据使用了amy_翡翠的20150817版本(抱大腿拿到的特供版)</li>
<li>现在可以看到每件衣服的心级了</li>
<li>已经获得的物品会根据是否已经完成所有的进化/定制/制作显示不同的颜色。绿色表示已经全部完成,红色表示尚未完成。
桌面用户可以把鼠标浮在名字上看到底缺了啥,由于数据可能不全,请小心使用。</li>
</ul>
衣服信息纠错请去<a href="http://tieba.baidu.com/p/3860789814">jillhx的新衣柜楼</a>汇报<br/>
功能错误或者有新需求请去<a href="http://tieba.baidu.com/p/3792563906">主贴</a>汇报<br/>
<strong style="color:red">友情提示:七夕每天的关卡都不一样,请密切关注贴吧流水喵(微博@流水空城)的攻略</strong><br/>
</div>
<hr/>
<div id='filtersTop'>
<form name="filter_form">
<div>
<input type="radio" name="mode" value="filtering" onClick="changeMode(true)" checked/> 筛选
<input type="radio" name="mode" value="ranking" onClick="changeMode(false)" /> 计分
<select id="theme" onChange="changeTheme()" style="display: none"></select>
<span id="tagInfo"></span>
</div>
<div class='facet'>
<div>
<input type="radio" name="simple" value="0" onClick="changeFilter()" /> 皆可
<input type="radio" name="simple" value="1" onClick="changeFilter()" /> 简约
<input type="radio" name="simple" value="-1" onClick="changeFilter()" /> 华丽
<div class='weightContainer' style="display: none" id = "simpleWeightContainer">
权重 <input type="text" id="simpleWeight" name="simpleWeight" value="1" onChange="changeFilter()" />
</div>
</div>
<div>
<input type="radio" name="cute" value="0" onClick="changeFilter()" /> 皆可
<input type="radio" name="cute" value="1" onClick="changeFilter()" /> 可爱
<input type="radio" name="cute" value="-1" onClick="changeFilter()" /> 成熟
<div class='weightContainer' style="display: none" id = "cuteWeightContainer">
权重 <input type="text" id="cuteWeight" name="cuteWeight" value="1" onChange="changeFilter()" />
</div>
</div>
<div>
<input type="radio" name="active" value="0" onClick="changeFilter()" /> 皆可
<input type="radio" name="active" value="1" onClick="changeFilter()" /> 活泼
<input type="radio" name="active" value="-1" onClick="changeFilter()" /> 优雅
<div class='weightContainer' style="display: none" id = "activeWeightContainer">
权重 <input type="text" id="activeWeight" name="activeWeight" value="1" onChange="changeFilter()" />
</div>
</div>
<div>
<input type="radio" name="pure" value="0" onClick="changeFilter()" /> 皆可
<input type="radio" name="pure" value="1" onClick="changeFilter()" /> 清纯
<input type="radio" name="pure" value="-1" onClick="changeFilter()" /> 性感
<div class='weightContainer' style="display: none" id = "pureWeightContainer">
权重 <input type="text" id="pureWeight" name="pureWeight" value="1" onChange="changeFilter()" />
</div>
</div>
<div>
<input type="radio" name="cool" value="0" onClick="changeFilter()" /> 皆可
<input type="radio" name="cool" value="1" onClick="changeFilter()" /> 清凉
<input type="radio" name="cool" value="-1" onClick="changeFilter()" /> 保暖
<div class='weightContainer' style="display: none" id = "coolWeightContainer">
权重 <input type="text" id="coolWeight" name="coolWeight" value="1" onChange="changeFilter()" />
</div>
</div>
</div>
<div>
<input type="checkbox" name="inventory" value="own" onClick="onChangeUiFilter()" checked />拥有
<span id='inventoryCount'> </span>
<input type="checkbox" name="inventory" value="missing" onClick="onChangeUiFilter()" checked /> 没有
</div>
</form>
</div>
<hr>
<div id='shoppingCartContainer'>
已选择的衣服 <input type="checkbox" id="accessoriesHelper" checked />自动选择饰品 <button onclick="clearShoppingCart()">清空购物车</button>
<div id='shoppingCart'>
</div>
</div>
<hr>
<div id='category_container'>
</div>
<div id = "clothes"></div>
<hr>
导入批量衣服,请先选择要导入的类别,然后在文本框内输入编号,用空格、逗号或者换行隔开。不知道编号在哪儿的请点<a href="http://tieba.baidu.com/p/3808711082" target="_blank">这里</a>
<div id = "import">
<select id="importCate" onChange="clearImport()"></select> <br/>
<textarea id="importData" rows=5 style="width:600px"></textarea>
<button onClick="doImport()">导入</button>
</div>
<hr>
<p>我拥有的服装 (复制衣橱文本框内容以备份衣橱)</p>
<textarea id="myClothes" rows=10 style="width:600px"></textarea>
<br/>
<button onClick="loadCustomInventory()">Update inventory</button>
<br/>
<hr>
<div id = 'log'></div>
以下为广告,别点,我是用来统计流量的
<!-- /17828477/noogler_201307/noogler_yfchen -->
<div id='div-gpt-ad-1433922605968-0' style='height:90px; width:728px;'>
<script type='text/javascript'>
googletag.cmd.push(function() { googletag.display('div-gpt-ad-1433922605968-0'); });
</script>
</div>
</body>
</html>