Permalink
Browse files

web version homepage

  • Loading branch information...
1 parent accbb48 commit bb97ddfb7875cc28f48334b85dc6f98dbbfaecc4 @Diablohu committed Feb 14, 2016
View
@@ -0,0 +1,6 @@
+<!DOCTYPE html><html><head><title>TP计算器 - 是谁呼叫舰队</title><base target="_self"><meta name="Robots" content="all"><meta name="keywords" content="是谁呼叫舰队,呼叫舰队,谁在呼叫舰队,是谁在呼叫舰队,舰娘,舰C,舰COLLE,舰队收藏"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="HandheldFriendly" content="true"><meta name="mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><meta charset="UTF-8"><link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"><link rel="icon" href="/favicon.png" sizes="16x16 32x32 64x64 128x128" type="image/png"><link rel="apple-touch-icon" href="/favicon.png"><link rel="manifest" href="/manifest.json?20160101"><script type="text/javascript" src="/!/assets/libs.min.js?20160101"></script><script type="text/javascript" src="/!/assets/js.min.js?20160213"></script><link rel="stylesheet" type="text/css" href="/!/assets/css.min.css?20160213"></head><body><div id="layout"><input type="checkbox" id="view-mobile-menu"><nav><div class="pages"><h1 class="button home"><a href="/">是谁呼叫舰队</a></h1><a class="button" href="/fleets/" mod-state="BETA">舰队</a><a class="button" href="/ships/">舰娘</a><a class="button" href="/equipments/">装备</a><a class="button" href="/arsenal/">改修工厂</a><a class="button" href="/entities/">声优&amp;画师</a><a class="button" href="/calctp/">TP计算</a></div><section class="options"><a class="donate" icon="heart4" href="/donate/"></a></section><span class="title"><label for="view-mobile-menu"><i></i></label><span></span></span></nav><main><div class="page-container" page="calctp"><h2 data-content="TP计算器">TP计算器</h2><p>TP - 运输点数 (Transportation Points)</p><form class="tpcalculator"><fieldset class="count_ships"><legend>舰种数量</legend><p><label><span>驱逐舰 / DD</span> <input name="dd" type="number"></label></p><p><label><span>轻巡洋舰 / CL</span> <input name="cl" type="number"></label></p><p><label><span>航空巡洋舰 / CAV</span> <input name="cav" type="number"></label></p><p><label><span>航空战列舰 / BBV</span> <input name="bbv" type="number"></label></p><p><label><span>水上机母舰 / AV</span> <input name="av" type="number"></label></p><p><label><span>登陆突击舰 / LHA</span> <input name="lha" type="number"></label></p><p><label><span>舰队油船 / AO</span> <input name="ao" type="number"></label></p></fieldset><fieldset class="count_equipments"><legend>装备数量</legend><p><label><span data-tip="[[EQUIPMENT::75]]">鼓筒(运输用)</span> <input name="e75" type="number"></label></p><p><label><span data-tip="[[EQUIPMENT::68]]">大发登陆艇</span> <input name="e68" type="number"></label></p></fieldset><fieldset class="result"><legend>TP结果</legend><span>A胜: <span class="result_a">0</span> | S胜: <span class="result_s">0</span></span></fieldset></form><p>关于运输作战的游戏机制可<a class="link" href="http://kancolle.diablohu.com/guide/mechanism/transport/">访问此处查询</a>。</p><p>感谢NGA论坛的<a class="link" href="http://bbs.ngacn.cc/nuke.php?func=ucp&uid=13838394">欧米嘉·风焰</a>提供的算法 (<a class="link" href="http://bbs.ngacn.cc/read.php?tid=8741165">算法讨论/验证/样本收集</a>)</p><p>目前算法仍在验证阶段,如果你有计算不准确的案例,请访问上面提供的链接进行汇报。</p></div></main></div><script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+ga('create', 'UA-63582858-3', 'auto');
+ga('send', 'pageview');</script></body></html>
@@ -1381,16 +1381,25 @@ dev_output_filters.page_home = function(html, updates){
let searchRes
,scrapePtrn = /\{\{[ ]*content::WhatsNew[ ]*\}\}/gi
+ ,updateIndex = 0
- ,section = $('<section class="update_journal" data-version-'+updates[0]['type']+'="'+updates[0]['version']+'"/>')
+ ,section = $('<section class="update_journal" data-version-'+updates[updateIndex]['type']+'="'+updates[updateIndex]['version']+'"/>')
.html('<h3>'
+ '新内容'
- + '<small>'+(updates[0]['date'] ? updates[0]['date'] : 'WIP')+'</small>'
+ + '<small>'+(updates[updateIndex]['date'] ? updates[updateIndex]['date'] : 'WIP')+'</small>'
+ '</h3>'
)
try{
$(_frame.app_main.page['about'].journal_parse(updates[0]['journal'])).appendTo( section )
}catch(e){}
+
+ while( section.text().length < 200 ){
+ updateIndex++
+ let _update = updates[updateIndex]
+ section
+ .append( $(`<h3>新内容<small>${_update['date'] ? _update['date'] : 'WIP'}</small></h3>`) )
+ .append( _frame.app_main.page['about'].journal_parse(_update['journal']) )
+ }
while( (searchRes = scrapePtrn.exec(html)) !== null ){
try{
@@ -110,16 +110,25 @@ dev_output_filters.page_home = function(html, updates){
let searchRes
,scrapePtrn = /\{\{[ ]*content::WhatsNew[ ]*\}\}/gi
+ ,updateIndex = 0
- ,section = $('<section class="update_journal" data-version-'+updates[0]['type']+'="'+updates[0]['version']+'"/>')
+ ,section = $('<section class="update_journal" data-version-'+updates[updateIndex]['type']+'="'+updates[updateIndex]['version']+'"/>')
.html('<h3>'
+ '新内容'
- + '<small>'+(updates[0]['date'] ? updates[0]['date'] : 'WIP')+'</small>'
+ + '<small>'+(updates[updateIndex]['date'] ? updates[updateIndex]['date'] : 'WIP')+'</small>'
+ '</h3>'
)
try{
$(_frame.app_main.page['about'].journal_parse(updates[0]['journal'])).appendTo( section )
}catch(e){}
+
+ while( section.text().length < 200 ){
+ updateIndex++
+ let _update = updates[updateIndex]
+ section
+ .append( $(`<h3>新内容<small>${_update['date'] ? _update['date'] : 'WIP'}</small></h3>`) )
+ .append( _frame.app_main.page['about'].journal_parse(_update['journal']) )
+ }
while( (searchRes = scrapePtrn.exec(html)) !== null ){
try{
@@ -4,13 +4,15 @@ <h2 data-content="是谁呼叫舰队">是谁呼叫舰队<small>Who Calls the Fle
<div class="col col-66">
{{ content::WhatsNew }}
- <p>完整更新文档请<a class="link" href="https://github.com/Diablohu/WhoCallsTheFleet/blob/master/CHANGELOG.md" target="_blank">访问此处查询</a></p>
+ <p>完整更新文档请<a class="link" href="https://github.com/Diablohu/WhoCallsTheFleet/wiki/CHANGELOG-%E6%9B%B4%E6%96%B0%E5%8E%86%E5%8F%B2" target="_blank">访问此处查询</a></p>
</div>
<div class="col col-33">
<h3>客户端</h3>
- <p>是谁呼叫舰队提供完整独立的离线客户端,适用于Windows与Mac OS X系统</p>
- <p><a href="https://github.com/Diablohu/WhoCallsTheFleet/blob/master/README.md" target="_blank">下载客户端</a></p>
+ <h5><br/>Windows / OS X</h5>
+ <p><a href="https://github.com/Diablohu/WhoCallsTheFleet/blob/master/README.md" target="_blank">下载App</a></p>
+ <h5><br/>iOS / Android</h5>
+ <p>是谁呼叫舰队针对手机与平板设备进行了优化适配,可通过浏览器菜单将本站固定到主屏幕上。</p>
</div>
<div class="col col-33">
View
@@ -0,0 +1,6 @@
+<!DOCTYPE html><html><head><title>是谁呼叫舰队</title><base target="_self"><meta name="Robots" content="all"><meta name="keywords" content="是谁呼叫舰队,呼叫舰队,谁在呼叫舰队,是谁在呼叫舰队,舰娘,舰C,舰COLLE,舰队收藏"><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=edge"><meta name="viewport" content="width=device-width,initial-scale=1"><meta name="HandheldFriendly" content="true"><meta name="mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><meta charset="UTF-8"><link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"><link rel="icon" href="/favicon.png" sizes="16x16 32x32 64x64 128x128" type="image/png"><link rel="apple-touch-icon" href="/favicon.png"><link rel="manifest" href="/manifest.json?20160101"><script type="text/javascript" src="/!/assets/libs.min.js?20160101"></script><script type="text/javascript" src="/!/assets/js.min.js?20160213"></script><link rel="stylesheet" type="text/css" href="/!/assets/css.min.css?20160213"></head><body><div id="layout"><input type="checkbox" id="view-mobile-menu"><nav><div class="pages"><h1 class="button home"><a href="/">是谁呼叫舰队</a></h1><a class="button" href="/fleets/" mod-state="BETA">舰队</a><a class="button" href="/ships/">舰娘</a><a class="button" href="/equipments/">装备</a><a class="button" href="/arsenal/">改修工厂</a><a class="button" href="/entities/">声优&amp;画师</a><a class="button" href="/calctp/">TP计算</a></div><section class="options"><a class="donate" icon="heart4" href="/donate/"></a></section><span class="title"><label for="view-mobile-menu"><i></i></label><span></span></span></nav><main><div class="page-container" page="home"><div class="cols"><h2 data-content="是谁呼叫舰队">是谁呼叫舰队<small>Who Calls the Fleet</small></h2><div class="col col-66"><section class="update_journal" data-version-app="0.11.0"><h3>新内容<small>2016-02-12</small></h3><p><strong>舰娘</strong></p><ul><li>详情页中切换立绘功能强化<ul><li>新增“前一张”和“后一张”按钮</li><li>现在可以通过鼠标滚轮进行切换</li></ul></li><li>更新初始装备<ul><li><a href="/ships/452/" data-shipid="452" data-infos="[[SHIP::452]]">[驱逐舰] 冲波</a> / <a href="/ships/359/" data-shipid="359" data-infos="[[SHIP::359]]">[驱逐舰] 冲波・改</a></li><li><a href="/ships/423/" data-shipid="423" data-infos="[[SHIP::423]]">[防空驱逐舰] 初月</a> / <a href="/ships/357/" data-shipid="357" data-infos="[[SHIP::357]]">[防空驱逐舰] 初月・改</a></li><li><a href="/ships/448/" data-shipid="448" data-infos="[[SHIP::448]]">[重巡洋舰] 扎拉</a> / <a href="/ships/358/" data-shipid="358" data-infos="[[SHIP::358]]">[重巡洋舰] 扎拉・改</a></li></ul></li><li>更新声优/画师<ul><li><a href="/ships/423/" data-shipid="423" data-infos="[[SHIP::423]]">[防空驱逐舰] 初月</a> - 声优 <a href="/entities/18/" data-entityid="18" data-infos="[[ENTITY::18]]">中岛 爱</a>,画师 <a href="/entities/37/" data-entityid="37" data-infos="[[ENTITY::37]]">shizuma yoshinori</a></li><li><a href="/ships/448/" data-shipid="448" data-infos="[[SHIP::448]]">[重巡洋舰] 扎拉</a> - 声优 <a href="/entities/60/" data-entityid="60" data-infos="[[ENTITY::60]]">赤崎 千夏</a>,画师 <a href="/entities/54/" data-entityid="54" data-infos="[[ENTITY::54]]">JiJi</a></li></ul></li></ul><p><strong>TP计算器</strong></p><ul><li>更新计算公式<ul><li>现在会估算BBV的TP值</li></ul></li></ul></section><p>完整更新文档请<a class="link" href="https://github.com/Diablohu/WhoCallsTheFleet/blob/master/CHANGELOG.md" target="_blank">访问此处查询</a></p></div><div class="col col-33"><h3>客户端</h3><p>是谁呼叫舰队提供完整独立的离线客户端,适用于Windows与Mac OS X系统</p><p><a href="https://github.com/Diablohu/WhoCallsTheFleet/blob/master/README.md" target="_blank">下载客户端</a></p></div><div class="col col-33"><h3>支持</h3><p>如果在使用的过程中遇到了问题,可以在这里创建反馈:<a href="https://github.com/Diablohu/WhoCallsTheFleet/issues" target="_blank">GitHub项目</a></p></div><div class="col col-33 mod-author"><h3>作者</h3><p><img src="/!/assets/images/diablohu.jpg" alt="Diablohu"> <strong>Diablohu</strong><br>前端工程师</p><p><a href="http://diablohu.com" target="_blank">Diablohu.com</a> | <a href="http://weibo.com/diablohu" target="_blank" icon="weibo">@Diablohu</a> | <a href="https://twitter.com/Diablohu" target="_blank" icon="twitter">@Diablohu</a></p></div><div class="col col-33"><h3>捐助</h3><p>如果你认为我做的这款工具对你来说是有价值的(或是赞美大波胡的[ ]),想支持并鼓励我继续进行更多功能的免费开发,那你可以资助我,无论金额大小,哪怕是一套煎饼……</p><p>您可以向我的支付宝账号付款进行捐助,支付宝账号:diablohudream@gmail.com</p></div></div></div></main></div><script>(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+ga('create', 'UA-63582858-3', 'auto');
+ga('send', 'pageview');</script></body></html>
View
@@ -1,7 +1,7 @@
{
"name": "WhoCallsTheFleet",
"main": "app/main.html",
- "version": "0.11.0",
+ "version": "0.11.1",
"description": "An offline guidebook for KanColle. Based on NW.JS",
"repository": {
"type": "git",
@@ -83,9 +83,9 @@
"package.json"
],
"dataVersion": {
- "app": "0.11.0.1",
- "app-db": "1.11.0.0",
- "pics": "1.11.0.0"
+ "app": "0.11.1.0",
+ "app-db": "1.11.1.0",
+ "pics": "1.11.1.0"
},
"buildDir": "N:\\nwbuild\\build",
"winIco": "L:\\Projects\\Apps-nw.js\\WhoCallsTheFleet\\source\\appicon.ico",

0 comments on commit bb97ddf

Please sign in to comment.