Conversion.html 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=7">
  6. <title>计量单位转换</title>
  7. <link rel="stylesheet" href="styles/tip.css" type="text/css" media="screen" />
  8. <style type="text/css" media="screen">
  9. /*--copy from site.css--*/
  10. .app-single-item{
  11. *zoom:1;
  12. *display:block;
  13. margin:0 auto;
  14. width:70px;
  15. position:relative;
  16. width:200px;
  17. }
  18. .app-single-item:after{
  19. content:".";
  20. display:block;
  21. height:0;
  22. clear:both;
  23. visibility:hidden;
  24. }
  25. .app-single-item dt{
  26. width:70px;
  27. height:70px;
  28. margin-bottom:5px;
  29. margin:0 auto;
  30. position:relative;
  31. text-align:center;
  32. }
  33. .app-single-item dt img{
  34. width:64px;
  35. height:64px;
  36. padding:3px;
  37. display:block;
  38. }
  39. dl.app-single-item dt i.app-single-round{
  40. position:absolute;
  41. width:70px;
  42. height:70px;
  43. top:0;
  44. left:0;
  45. cursor:pointer;
  46. background:url("images/round_cover.png");
  47. _background:none;
  48. _filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src="images/round_cover.png",enabled=true,sizingMethod=noscale);
  49. }
  50. #app_container{
  51. position:relative;
  52. }
  53. #mask{
  54. z-index:10;
  55. }
  56. #AppAdv{
  57. z-index:11;
  58. }
  59. #LoadingTips{
  60. width:100%;
  61. height:20px;
  62. line-height:20px;
  63. text-align:center;
  64. font-size:14px;
  65. color:#c1cde0;
  66. }
  67. .mask{
  68. width:100%;
  69. height:339px;
  70. position:absolute;
  71. top:0;
  72. left:0;
  73. background:#fff;
  74. display:table;
  75. *overflow:hidden;
  76. text-align:center;
  77. }
  78. .mask-inner{
  79. display:table-cell;
  80. vertical-align:middle;
  81. text-align:center;
  82. *display:block;
  83. *position:absolute;
  84. *left:50%;
  85. *top:50%;
  86. *margin-left:-100px;
  87. *width:200px;
  88. *margin-top:-65px;
  89. }
  90. .app-adv{
  91. width:540px;
  92. margin:0 auto;
  93. position:absolute;
  94. left:50%;
  95. margin-left:-270px;
  96. height:339px;
  97. }
  98. /*.mask-inner img{
  99. *position:relative;
  100. *left:-50%;
  101. *top:-50%;
  102. }*/
  103. .adv-inner{
  104. width:540px;
  105. position:absolute;
  106. left:0;
  107. height:339px;
  108. top:0;
  109. }
  110. .adv-cont{
  111. position:absolute;
  112. top:0;
  113. left:0;
  114. }
  115. .adv-timer{
  116. width:90px;
  117. line-height:20px;
  118. color:#666;
  119. position:absolute;
  120. bottom:3px;
  121. z-index:12;
  122. font-size:12px;
  123. left:50%;
  124. margin-left:-45px;
  125. }
  126. .adv-timer .bg{
  127. width:90px;
  128. height:20px;
  129. position:absolute;
  130. top:0;
  131. left:0;
  132. background:#666;
  133. border-radius:2px;
  134. *background:url('images/adv-bg.png') no-repeat top left;
  135. opacity:0.3;
  136. filter:alpha(opacity=30);
  137. z-index:15;
  138. }
  139. .adv-timer .wd{
  140. position:relative;
  141. z-index:16;
  142. text-align:center;
  143. }
  144. </style>
  145. <script type="text/javascript">
  146. //for statistic ck and T
  147. window._ck = 'F3FFF1FF';
  148. window._T = '1314340680';
  149. var page_config = {
  150. 'start_time':+(new Date()),
  151. 'adv_type' : "4",
  152. 'sever_unavailable':15000,
  153. 'app_type': "12"
  154. };
  155. //to tell whether the app is loaded
  156. window.__app_is__loaded = false;
  157. try{
  158. window.__statistic__page = parent.__statistic__page;
  159. }catch(e){
  160. }
  161. if(!window.__statistic__page){
  162. window.__statistic__page = 'web-list'
  163. }
  164. if(window.__statistic__page=='bdother'){
  165. window.__api__key = parent.document.body.getAttribute('data-apikey');
  166. }
  167. window.bdstoken = '3c7431b879662e56ad5da7007ae25cf8';
  168. var appinfo_json = {
  169. errno : '0',
  170. bdstoken : '3c7431b879662e56ad5da7007ae25cf8',
  171. app_id:'117019',
  172. app_name:'计量单位转换',
  173. app_type: 12,
  174. is_addable : 0,
  175. is_added:0,
  176. is_app_free : 0,
  177. is_paid : 0,
  178. is_authorized :0,
  179. show_donate : 1,
  180. price : 0,
  181. height: 339,
  182. height2:0,
  183. width : 540,
  184. flash : 'images/cc09596f4c0b3c9ef547bd7e9280e928.swf',
  185. category : ['实用',''].slice(0, -1),
  186. app_address : 'http://app.baidu.com/117019',
  187. app_address_platform : 'http://app.baidu.com/117019',
  188. app_icon : 'images/3ca90bfc050f74c376e50f5ae0014f69.jpg',
  189. app_logo : 'images/70abf5712af7b021a75c6f676369f4f8.jpg',
  190. app_screenshot : [''].slice(0, -1),
  191. score : 3.6,
  192. score_num : 15,
  193. description : '计量单位转换。加入了“长度”“重量”“面积”“容量”“温度”“存储”等常用计量单位的换算。<br />\r\n加入了“长度”“重量”“面积”“容量”“温度”“存储”等常用计量单位的换算。',
  194. support_phone : '',
  195. support_email : '',
  196. developer_title : '',
  197. developer_name : '',
  198. developer_uname : ':',
  199. developer_logo : '',
  200. developer_level : '0',
  201. developer_website :'',
  202. developer_email : '',
  203. developer_introduction : '',
  204. is_online_app: '1',
  205. app_in_platform_url: 'http://app.baidu.com/widget?appid=117019',
  206. is_fullscreen: false,
  207. app_enable_coin:1,
  208. adv_type:4,
  209. promote_img:'',
  210. promote_url:'',
  211. instruction:'',
  212. tieba_url:'%B0%D9%B6%C8%D3%A6%D3%C3'
  213. };
  214. </script>
  215. <script type="text/javascript" src="scripts/app-loader.js"></script>
  216. <script type="text/javascript">
  217. var bdUser = "";
  218. window.CommunicateWidthPs = function(){
  219. var obj = baidu.url.queryToJson(location.hash.replace(/^#/,''));
  220. bdUser = obj.loginOk?decodeURIComponent(obj.loginOk):bdUser;
  221. window.ps__cid__ = obj.cid?obj.cid:window.ps__cid__;
  222. window.ps__pid__ = obj.qid?obj.qid:window.ps__pid__;
  223. };
  224. CommunicateWidthPs();
  225. </script>
  226. </head>
  227. <body>
  228. <div style="display:none;" id="includeShare">
  229. <style type="text/css">
  230. #BannerUnderRank{
  231. position:relative;
  232. margin-top:10px;
  233. }
  234. #BannerOnComment{
  235. position:relative;
  236. }
  237. #HotListAll li.app-last{
  238. border-bottom:0;
  239. }
  240. .share-list .share-kongjian {
  241. background-position: 0 2px;
  242. }
  243. .share-list .share-renren {
  244. background-position: 0 -38px;
  245. }
  246. .share-list .share-sina {
  247. background-position: 0 -58px;
  248. }
  249. .share-list .share-kaixin {
  250. background-position: 0 -78px;
  251. }
  252. .share-list .share-douban {
  253. background-position: 0 -98px;
  254. }
  255. .share-list{
  256. margin-top:5px;
  257. }
  258. .share-list a {
  259. padding:0;
  260. float: left;
  261. display:inline;
  262. height: 21px;
  263. margin: 3px 9px 0 0;
  264. overflow:hidden;
  265. width: 16px;
  266. background: url("images/fullscreen/share.png") no-repeat scroll 0 0 transparent;
  267. }
  268. .app-content{
  269. margin-top:11px;
  270. }
  271. .right .bdshare_t2 .more2,.app-tip-msg .bdshare_t2 .more2{
  272. height:18px;
  273. float:left;
  274. display:inline;
  275. margin-right:2px;
  276. width:17px;
  277. cursor:pointer;
  278. background: url("images/app_rank_list_ico.gif") no-repeat scroll 0 -328px transparent!important;
  279. padding-left:0;
  280. }
  281. #appDesc{
  282. width:990px;
  283. float:left;
  284. }
  285. .bdshare_t .more{
  286. background:url("images/is.gif") no-repeat scroll 0 6px transparent !important;
  287. position:relative;
  288. cursor:pointer;
  289. display:block;
  290. float:left;
  291. font-family:'宋体 ',Arial;
  292. height:16px;
  293. padding-bottom:3px;
  294. padding-left:22px;
  295. padding-top:6px;
  296. _padding-top:7px;
  297. }
  298. #shareMoreTips{
  299. position:absolute;
  300. zoom:1;
  301. width:94px;
  302. display:table;
  303. z-index:80000;
  304. }
  305. #shareMoreTips #bdshare,#shareMoreTips.share-select-unit,.share-select-unit{
  306. width:94px;
  307. background:url('images/share_bg.gif') no-repeat;
  308. padding:17px 0 0;
  309. }
  310. .share-select-unit a{
  311. display:inline;
  312. z-index:10000;
  313. zoom:1;
  314. padding:0;
  315. padding-left:24px;
  316. padding-top:6px;
  317. width:63px;
  318. margin-left:9px;
  319. background-repeat:no-repeat;
  320. height:20px;
  321. }
  322. #shareMoreTips .share-select-top{
  323. display:none;
  324. }
  325. #shareMoreTips .share-select-bottom{
  326. background:url('images/share_bg.gif') left bottom no-repeat;
  327. }
  328. #shareMoreTips .share-select-bottom,#shareMoreTips .share-select-top{
  329. height:10px;
  330. width:100%;
  331. z-index:10000;
  332. zoom:1;
  333. float:left;
  334. }
  335. </style>
  336. <script type="text/javascript">
  337. var shareTimer;
  338. function setSharePos(initBox){
  339. var box = baidu.g('shareMoreTips');
  340. if(!box)return;
  341. function setSelect(ts){
  342. clearTimeout(shareTimer);
  343. shareTimer = setTimeout(function(){
  344. baidu.hide(box);
  345. },ts?ts:350);
  346. };
  347. function setBox(e){
  348. var pos = baidu.dom.getPosition(e);
  349. if(e=='shareMore'){
  350. var ls = 63;
  351. }else{
  352. var ls = 58;
  353. }
  354. box.style.left = pos.left - ls + 'px';
  355. box.style.top = parseInt(pos.top) + 20 + 'px';
  356. baidu.show(box);
  357. };
  358. baidu.lang.eventCenter.addEventListener('share:open',function(e,data){
  359. setBox(data);
  360. });
  361. baidu.lang.eventCenter.addEventListener('share:close',function(e,ts){
  362. setSelect(ts);
  363. });
  364. baidu.lang.eventCenter.addEventListener('share:clearTimer',function(){
  365. clearTimeout(shareTimer);
  366. });
  367. return;
  368. baidu.on('shareTo','click',function(){
  369. setBox('shareTo');
  370. });
  371. baidu.on('shareTo','mouseout',function(){
  372. setSelect(500);
  373. });
  374. baidu.on('shareMore','click',function(){
  375. setBox('shareMore');
  376. });
  377. baidu.on('shareMore','mouseover',function(){
  378. setBox('shareMore');
  379. });
  380. baidu.on('shareMore','mouseout',function(){
  381. setSelect(500);
  382. });
  383. baidu.on(box,'mouseover',function(e){
  384. clearTimeout(shareTimer);
  385. });
  386. baidu.on(box,'mouseout',function(e){
  387. setSelect();
  388. });
  389. };
  390. </script>
  391. </div>
  392. <div id="app_container">
  393. <style>
  394. * {
  395. margin: 0;
  396. padding: 0;
  397. }
  398. #AppSandbox{
  399. margin:0 auto;
  400. }
  401. .fix-init-bug{
  402. z-index:900;
  403. width:1px;
  404. height:1px;
  405. left:0px;
  406. position:absolute;
  407. overflow:hidden;
  408. }
  409. </style>
  410. <div id="app_sandbox" class="clearfix" data-appid="117019">
  411. <div id="AppProxyCont" style="position:absolute;width:1px;height:1px;z-index:1000;">
  412. </div>
  413. <div id="AppSandbox" class="fix-init-bug">
  414. </div>
  415. </div>
  416. <div class="mask" id="mask" style="display:none;">
  417. <div class="mask-inner">
  418. <p id="LoadingTips"></p>
  419. <dl class="app-single-item">
  420. <dt>
  421. <img src="images/70abf5712af7b021a75c6f676369f4f8.jpg" alt=""/>
  422. <i class="app-single-round"></i>
  423. </dt>
  424. <dd>
  425. <img src="images/app-loading.gif" class="" alt="" />
  426. </dd>
  427. </dl>
  428. </div>
  429. </div>
  430. <div class="mask" id="AppAdv" style="display:none;">
  431. <div class="app-adv">
  432. <div class="adv-inner">
  433. <div class="adv-cont" id="AdvCont">
  434. </div>
  435. <div class="adv-timer" id="AdvTimer">
  436. <div class="bg"></div>
  437. <div class="wd">推广还剩&nbsp;&nbsp;<span id="TimerNum" style="color:#f00">5</span>&nbsp;&nbsp;秒</div>
  438. </div>
  439. </div>
  440. </div>
  441. </div>
  442. </div>
  443. <script type="text/javascript" src="scripts/flash-adapter.js"></script>
  444. <script type="text/javascript">
  445. (function() {
  446. var flash_width = 540;
  447. var flash_height = 339;
  448. var flash_url = "images/cc09596f4c0b3c9ef547bd7e9280e928.swf";
  449. window.__flash__width__reset=flash_width+'px';
  450. window.__flash__height__reset=flash_height+'px';
  451. FlashAdapter.init({
  452. flash_url: flash_url,
  453. flash_height:flash_height,
  454. flash_width:flash_width,
  455. container: "AppSandbox",
  456. proxyCont: "AppProxyCont"
  457. });
  458. })();
  459. </script>
  460. <script type="text/javascript">
  461. appinfo_json.canvas_pos = 'platform';
  462. appinfo_json.ck = 'F3FFF1FF';
  463. appinfo_json.T = '1314340680';
  464. appinfo_json.canvas_pos = 'platform';
  465. baidu.event.once(document,'mouseover',function(){
  466. StatsMgr.send({
  467. 'fm':'appua',
  468. "item":"mousein"
  469. },"v.gif");
  470. });
  471. CommunicationMgr.init(appinfo_json);
  472. if( +page_config.adv_type == 2 ){//非文库类广告默认展现
  473. if( arrBaiduAds && arrBaiduAds[545] && arrBaiduAds[545].length ){
  474. page_config.adv = eval(arrBaiduAds[545])[0];
  475. if( +page_config.app_type != 11 ){
  476. baidu.lang.eventCenter.dispatchEvent('app:showAdv' , {adv:page_config.adv});
  477. window.__has__ad__true=true;
  478. }
  479. }
  480. }
  481. try{if(parent.parent._invoke_login){
  482. baidu.lang.eventCenter.addEventListener('app:submitScoreOk',function(){
  483. setTimeout(function(){
  484. try{
  485. parent.app.score_standings.init(parent.appinfo_json);
  486. }catch(e){}
  487. },1000);
  488. });
  489. baidu.lang.eventCenter.addEventListener('app:unlogined',function(e,fn){
  490. try{
  491. parent.app.login(function(u){
  492. bdUser = u;
  493. fn && fn(u);
  494. });
  495. }catch(e){
  496. _invoke_login(function(code,uname){
  497. if(code>0){
  498. bdUser = uname;
  499. fn && fn(uname);
  500. }
  501. });
  502. }
  503. });
  504. }
  505. }catch(e){}
  506. //init share event
  507. setSharePos();
  508. // deal score share logical
  509. function shareInit(){
  510. T.sio.callByServer("scripts/bds_s_v2.js?v=20110729");
  511. };
  512. </script>
  513. <script type="text/javascript" id="bdshare_js" data="type=tools&uid=14043" ></script>
  514. <script type="text/javascript" id="bdshell_js"></script>
  515. <script type="text/javascript">
  516. new Image().src = '/appweb/history_app?appid=117019';
  517. document.getElementById('bdshell_js').src = "scripts/shell_v2.js?t=" + new Date().getHours();
  518. </script>
  519. </body>
  520. </html>