view_comment.html
7.14 KB
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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<script type="text/javascript" src="__PUBLIC__/js/rem_new.js"></script>
<!DOCTYPE html >
<html>
<head>
<meta charset="UTF-8">
<title>查看评价</title>
<include file="public/header"/>
<include file="public/menu"/>
<include file="public/navBall"/>
<style type="text/css">
.jsstar {
list-style: none;
margin: 0px;
padding: 0px;
height: 30px;
position: relative;
top: -7px;
}
.jsstar li {
padding: 0px;
float: left;
width: 25px;
height: 25px;
margin-right: 5px;
background: url(__STATIC__/images/star_rating.png) 0 0px no-repeat;
background-size: auto 50px
}
.jsstar span {
font-size: 14px;
line-height: 30px;
margin-left: 10px;
color: #F00;
vertical-align: top;
display: none;
}
/*修改评价框 20170512*/
.contentBox {
border-radius: 5px;
background: #fff;
position: relative;
width: 95%;
margin: 0 auto;
}
.pj dl dd textarea {
width: 98%;
height: 140px;
display: block;
border: 0;
background: none;
font-size: 16px;
line-height: 24px;
resize: none;
padding: 2%;
word-break: break-all;
}
.dtBox {
height: 1.6rem;
font-size: 0;
}
@media (max-width: 480px ) {
.dtBox {
height: 100px;
}
.pj dl dd textarea {
height: 100px;
}
}
@media (max-width: 480px ) {
.pingfen {
padding: 10px 20px;
}
}
.delete {
width: 15px;
position: relative;
right: 12px;
top: -29px;
}
textarea::-webkit-input-placeholder { /* Chrome/Opera/Safari */
font-size: 12px;
}
textarea::-moz-placeholder { /* Firefox 19+ */
font-size: 12px;
}
textarea:-ms-input-placeholder { /* IE 10+ */
font-size: 12px;
}
textarea:-moz-placeholder { /* Firefox 18- */
font-size: 12px;
}
</style>
<link rel="stylesheet" href="__STATIC__/css/my_evaluate.css?v=__CSSVERSION__">
<body>
<!--<form id="add_comment" method="post" enctype="multipart/form-data" onSubmit="return validate_comment()">-->
<form name="add_comment" id="add_comment" autocomplete="off" method="" enctype="multipart/form-data"
style="border-top:3px solid rgb(238,238,238);">
<input type="hidden" name="order_id" value="{$order_goods.order_id}">
<input type="hidden" name="goods_id" value="{$order_goods.goods_id}">
<div class="pj">
<dl>
<dt class="dtBox">
<img src="{:getimg($goods.original_img,NOIMG,0,1)}" onerror="this.src='__WEBPUBLIC__/miniapp/images/no_cate_def.png'" class="disib" style="width: 100%;"/>
<div class="dis_vm"></div>
</dt>
<dd>
<div style="width: 100%;height:50%">
<div class="goods_name ellipsis-2">{$goods.goods_name}</div>
</div>
<div style="width: 100%;height: 50%" class="flex ai_fe jc_sb">
<strong class="fr fs17">
<text class="fs11">¥</text>
{$order_goods.goods_price}</strong>
<dix class="fs14">x1</dix>
</div>
</dd>
</dd>
</dl>
<ul style="background-color: rgb(255,255,255);!important;border-top:3px solid rgb(238,238,238);padding-top: 20px;padding-bottom:25px;">
<div class="contentBox" style="max-height: 50px;overflow: hidden;">
<view id="content_13" name="content">{$comment.content}</view>
</div>
<div style="margin-top: 20px!important;margin:0 auto;width: 95%;">
<if condition="$comment['source_type'] eq 1">
<foreach name="$comment['weapp_img']" key="key" item="w_img">
<img src="{$w_img}" style="width: 55px;height: 55px;margin-right: 7px;"/>
</foreach>
</else>
<foreach name="$comment['img']" key="key" item="img">
<img src="{$img}" style="width: 55px;height: 55px;margin-right: 7px;"/>
<div>{$img}</div>
</foreach>
</if>
</div>
</ul>
<div class="pingfen">
<div class="score fs14">宝贝评分</div>
<ul>
<li class="fl fs12">描述相符</li>
<ul class="jsstar "><span></span>
<img src="__STATIC__/images/stars{$comment.goods_rank}.png" style="display: block;float: left;height: 20px;
">
<!-- <input name="goods_rank" value="0" type="hidden">-->
<!-- <li title="1"></li>-->
<!-- <li title="2"></li>-->
<!-- <li title="3"></li>-->
<!-- <li title="4"></li>-->
<!-- <li title="5"></li>-->
</ul>
<div class="clear"></div>
</ul>
<ul>
<li class="fl fs12">物流服务</li>
<ul class="jsstar "><span></span>
<img src="__STATIC__/images/stars{$comment.deliver_rank}.png"
style="display: block;float: left;height: 20px;">
</ul>
<div class="clear"></div>
</ul>
<ul>
<li class="fl fs12">服务态度</li>
<ul class="jsstar"><span></span>
<img src="__STATIC__/images/stars{$comment.service_rank}.png"
style="display: block;float: left;height: 20px;">
</ul>
</ul>
</div>
</div>
<div class="p_main">
<span style=" display:block; width:90%; overflow:hidden; margin:auto; margin-top:20px;">
<input value="评价其他" class="m_pingjia tac" onclick="go_other()" type="button" style="height: 40px;"/>
<div></div>
</span>
<if condition="$is_ceremony">
<a href="__WXD_LB_URL__GiftPackage/EvaluateGift?orderNumber={$order_goods['order_id']}&actId={$ceremony['id']}&actType=2&giftBagId={$ceremony['giftBagId']}&storeId={$user['store_id']}&userId={$user['user_id']}&orderType=1&orderGoodsId={$order_goods['goods_id']}">
<span style=" display:block; width:90%; overflow:hidden; margin:auto;">
<input value="点击领取礼品" class="m_pingjia tac" onclick="submit_form()" type="button"
style="background-color: rgb(255,176,63)!important;height: 40px;"/>
</span>
</a>
</if>
</div>
</form>
</body>
<script>
function go_other() {
window.location.href="";
}
</script>
</html>