-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpx2dp.html
executable file
·69 lines (61 loc) · 2.32 KB
/
px2dp.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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="canonical" href="https://weather-pwa-sample.firebaseapp.com/final/">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="manifest" href="/manifest.json">
<!-- Add to home screen for Safari on iOS -->
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-title" content="开源实验室">
<link rel="apple-touch-icon" href="favicon.jpg">
<!-- Add to home screen for IE on Windows -->
<meta name="msapplication-TileImage" content="favicon.jpg">
<meta name="msapplication-TileColor" content="#2F3BA2">
<title>开源实验室-kymjs张涛</title>
<link rel="stylesheet" type="text/css" href="styles/px2dp.css">
</head>
<body>
<header class="header">
<a href="/"><button id="butBack" class="headerButton" aria-label="back"></button></a>
<h1 class="header_title">px-dp 转换器</h1>
<a href="https://kymjs.com/about"><button id="butAbout" class="headerButton" aria-label="about"></button></a>
</header>
<main class="main">
<div class="post-area" align="center">
<b><font color="#333" id="blogTime"> 原图尺寸:宽 * 高</font></b>
<div>
<form name="widthAndHeight">
<input type="text" name="mWidth" />
<b> X </b>
<input type="text" name="mHeight" />
</form>
</div>
</br>
<button id="butPlus" class="contentButton" aria-label="plus"></button>
<button id="butCompute" class="contentButton" aria-label="plus"></button>
</br>
<div class="post-list-body">
<template id="itemTemplate">
<div class="item">
<input type="number" name="px"/> px
<b><font color="#333" name="dp"> - </font></b> dp
</div>
</template>
</div>
</div>
</main>
<script src="/scripts/px2dp.js" async></script>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?12d2f5b556fafe71819af97b2ec2c5e8";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
</html>