-
Notifications
You must be signed in to change notification settings - Fork 0
/
stick_single_title_header.html
66 lines (58 loc) · 2.4 KB
/
stick_single_title_header.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
<!DOCTYPE HTML>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1.0, user-scalable=no" />
<link rel="stylesheet" href="css/ui-tab.css">
<link rel="stylesheet" href="css/ui-base.css">
<link rel="stylesheet" href="css/ui-box.css">
<link rel="stylesheet" href="css/ui-color.css">
<link rel="stylesheet" href="css/ui-res.css">
<link rel="stylesheet" href="css/ui-365.css">
<link rel="stylesheet" href="css/ui-single.css">
<script src="js/zepto.min.js"></script>
<script src="js/beihai365_comman.js"></script>
<script src="js/beihai365_global.js"></script>
</head>
<!-- 添加标题 -->
<body class="bg365 um-vp">
<header id="header" class="read-header">
<div class="ub ub-ac" onclick="stopPP(event);">
<div class="read-header-left ub ub-ac ub-f1" onclick="colse();">
<span class="read-header-back"></span>
<span class="read-header-title js-title">创建新帖单</span>
</div>
<div class="sing_right ub ub-ac">
<p class="js-save-title sing_save" onclick="sub()" ontouchstart="zy_touch(click_opacity)">
保存
</p>
</div>
</div>
</header>
<script>
window.uexOnload = function() {
if (uexWidgetOne.iOS7Style) {
$("#header").css({
"padding-top" : "1.25rem"
});
$(".header_single").css({
"padding-top" : "1.25rem"
});
}
init();
}
function sub() {
uexWindow.evaluateScript("single-title", 0, "_submit();");
}
function colse() {
uexWindow.evaluateScript("single-title", 0, "uexWindow.close('-1');");
}
function init() {
if (localStorage.ifedit == 'edit') {
$('.js-title').html('修改标题');
}
}
</script>
</body>
</html>