-
Notifications
You must be signed in to change notification settings - Fork 0
/
fbpj.html
178 lines (164 loc) · 6.82 KB
/
fbpj.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
<!doctype html>
<html class="no-js">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="">
<meta name="keywords" content="">
<meta name="viewport"
content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
<title>车生活</title>
<!-- Set render engine for 360 browser -->
<meta name="renderer" content="webkit">
<!-- No Baidu Siteapp-->
<meta http-equiv="Cache-Control" content="no-siteapp"/>
<link rel="icon" type="image/png" href="assets/i/favicon.png">
<!-- Add to homescreen for Chrome on Android -->
<meta name="mobile-web-app-capable" content="yes">
<link rel="icon" sizes="192x192" href="assets/i/[email protected]">
<!-- Add to homescreen 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-precomposed" href="assets/i/[email protected]">
<!-- Tile icon for Win8 (144x144 + tile color) -->
<meta name="msapplication-TileImage" content="assets/i/[email protected]">
<meta name="msapplication-TileColor" content="#0e90d2">
<link rel="stylesheet" href="assets/css/amazeui.min.css">
<link rel="stylesheet" href="assets/css/app.css">
</head>
<body>
<header data-am-widget="header" class="am-header am-header-default">
<div class="am-header-left am-header-nav">
<a href="javascript:history.go(-1)" class="">
<i class="am-header-icon am-icon-chevron-left"></i>
</a>
</div>
<h1 class="am-header-title">
<a href="#title-link" class="">发表评价</a>
</h1>
<div class="am-header-right am-header-nav">
<a href="javascript:;" id="nav_click" class="">
<i class="am-menu-toggle-icon am-icon-th-large am-icon-sm"></i>
</a>
</div>
</header>
<!--分割空白-->
<div style="height:70px"></div>
<div class="am-list-news-bd">
<div class="am-list">
<!--缩略图在标题左边-->
<div class="am-g am-list-item-desced am-list-item-thumbed am-list-item-thumb-left" ontouchstart="this.style.background='#eeeeee'" ontouchend="this.style.background=''">
<a href="serdetail.html" class="am-detail-a">
<div class="am-u-sm-4 am-list-thumb">
<img src="assets/i/union/limo/xiche.jpg" class="am-img-thumbnail">
</div>
<div class=" am-u-sm-8 am-list-main">
<h3 class="am-list-item-hd">
人工普通洗车
</h3>
<div class="am-list-item-text am-text-truncate">
蜡水洗车,越洗越想洗,非一般的感觉
</div>
<div><span class="am-icon-rmb am-detail-price-new">18 </span>
<span class="am-icon-rmb am-detail-price-old">30</span>
<span class="am-badge am-badge-secondary am-radius">
查看详情
</span>
</div>
</div>
</a>
</div>
</div>
</div>
<div class="am-g">
<form class="am-form-control" action="">
<div class="am-u-sm-12 pingfen">
<div class="am-u-sm-3 am-text-lg ">评分</div>
<div class="am-u-sm-9 am-star-lg am-star-color">
<span class="star1 am-icon-star-o "></span>
<span class="star2 am-icon-star-o"></span>
<span class="star3 am-icon-star-o"></span>
<span class="star4 am-icon-star-o"></span>
<span class="star5 am-icon-star-o"></span>
</div>
<input type="hidden" id="star" />
</div>
<div class="am-u-sm-12 ">
<textarea id="pingjia" class="am-u-sm-12 am-center" rows="" cols="" minlength="5"></textarea>
</div>
<div class="am-u-sm-12 ">
<button class="am-btn am-btn-primary am-u-sm-6 am-btn-block" id="submit" type="submit">提交</button>
</div>
<div class="am-u-sm-6">
<div style="display: none;padding: 0.3rem;" class="am-alert am-alert-danger am-text-sm">*请先评分</div>
</div>
</form>
</div>
<script type="text/x-handlebars-template" id="amz-tpl">
{{>navbar navbar}}
</script>
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/amazeui.min.js"></script>
<script src="assets/js/handlebars.min.js"></script>
<script src="assets/js/amazeui.widgets.helper.js"></script>
<script src="assets/js/app.js"></script>
<script type="text/javascript">
$('#submit').click(function () {
var star = $(".am-icon-star").size();
if (star < 1) {
$(".am-alert").show();
return false;
}
$("#star").val(star);
var $btn = $(this)
$btn.button('loading');
setTimeout(function(){
$btn.button('reset');
}, 2000);
});
$(function() {
var $star1 = $(".star1");
var $star2 = $(".star2");
var $star3 = $(".star3");
var $star4 = $(".star4");
var $star5 = $(".star5");
$star1.hover(function(){
$star1.removeClass('am-icon-star-o').addClass('am-icon-star');
$star2.removeClass('am-icon-star').addClass('am-icon-star-o');
$star3.removeClass('am-icon-star').addClass('am-icon-star-o');
$star4.removeClass('am-icon-star').addClass('am-icon-star-o');
$star5.removeClass('am-icon-star').addClass('am-icon-star-o');
});
$star2.hover(function(){
$star1.removeClass('am-icon-star-o').addClass('am-icon-star');
$star2.removeClass('am-icon-star-o').addClass('am-icon-star');
$star3.removeClass('am-icon-star').addClass('am-icon-star-o');
$star4.removeClass('am-icon-star').addClass('am-icon-star-o');
$star5.removeClass('am-icon-star').addClass('am-icon-star-o');
});
$star3.hover(function(){
$star1.removeClass('am-icon-star-o').addClass('am-icon-star');
$star2.removeClass('am-icon-star-o').addClass('am-icon-star');
$star3.removeClass('am-icon-star-o').addClass('am-icon-star');
$star4.removeClass('am-icon-star').addClass('am-icon-star-o');
$star5.removeClass('am-icon-star').addClass('am-icon-star-o');
});
$star4.hover(function(){
$star1.removeClass('am-icon-star-o').addClass('am-icon-star');
$star2.removeClass('am-icon-star-o').addClass('am-icon-star');
$star3.removeClass('am-icon-star-o').addClass('am-icon-star');
$star4.removeClass('am-icon-star-o').addClass('am-icon-star');
$star5.removeClass('am-icon-star').addClass('am-icon-star-o');
});
$star5.hover(function(){
$star1.removeClass('am-icon-star-o').addClass('am-icon-star');
$star2.removeClass('am-icon-star-o').addClass('am-icon-star');
$star3.removeClass('am-icon-star-o').addClass('am-icon-star');
$star4.removeClass('am-icon-star-o').addClass('am-icon-star');
$star5.removeClass('am-icon-star-o').addClass('am-icon-star');
});
});
</script>
</body>
</html>