gorw_up_details.html
5.42 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
<script type="text/javascript" src="__PUBLIC__/js/rem_new.js"></script>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>成长值明细_{$tpshop_config.shop_info_store_title}</title>
<include file="public/header" />
<link rel="stylesheet" href="__STATIC__/css/public.css?v=__CSSVERSION__">
<link rel="stylesheet" href="__STATIC__/css/gorw_up_details.css?v=__CSSVERSION__">
<script src="__STATIC__/js/grow_up_detal.js?v=__CSSVERSION__"></script>
<script type="text/javascript" src="__STATIC__/js/jquery.js"></script>
<script type="text/javascript" src="__STATIC__/js/layer.js"></script>
<style>
.xc-grow-top{background:rgba(0, 0, 0, 0) url(__STATIC__/images/weixin/gorw_up_val/grow_backdrop.jpg) no-repeat scroll center center / cover }
.xc-mongolia{
position: fixed;
top: 0rem;
left: 0rem;
width: 100%;
height: 100%;
z-index: 100;
background: rgba(0,0,0,0.5);
}
.data_btn{ margin: 0 auto; width: 92%; height: 0.4rem; border-radius: 0.08rem; margin-top: 0.3rem;
background:#fe527e; line-height: 0.4rem; color: #fff; text-align: center }
.xc_input{ width: 2.32rem; height: 0.35rem;border-radius: 0.05rem;}
.xc_sx.clicked .word{ color:#19f;}
.xc_sx.clicked .box{
transform:rotate(180deg);border-bottom:0.18rem solid #19f;top:0.07rem;
}
.close_pop{position: relative; bottom:-0.5rem; color: #fff; text-align: center; line-height:0.25rem;
left: 50%; margin-left: -0.15rem;
width: 0.25rem; height: 0.25rem; border-radius: 50%; border: 1px solid #fff}
.negative{
top: -0.04rem;
}
</style>
<body>
<div class="xc-grow-top">
<div class=" white explain-frame">
<div class="fs028 fc">当前成长值</div>
<div class="fs045 fc" id="cz_val">{$cz_data.GradeSum}</div>
<if condition="$need_money">
<div class="fs028 distance-val fc" id="need_cz" >距离下一等级会员还需{$need_money}</div>
</if>
</div>
<div class=" xc-card flex-space-between">
<img onclick='goto(this)' ind="0" class="card" src="__STATIC__/images/weixin/gorw_up_val/grow_coupon.jpg"/>
<img onclick='goto(this)' ind="1" class="card" src="__STATIC__/images/weixin/gorw_up_val/coupon.jpg"/>
<img onclick='goto(this)' ind="2" class="card" src="__STATIC__/images/weixin/gorw_up_val/grow_privilege.jpg"/>
</div>
<div class="xc_gorw_frame" >
<div class="xc-screen-frame flex jc_sb">
<div class="fs028">成长值明细</div>
<div>
<div class="flex three-level-word" >
<div class="flex ai_center" onclick="reset()">
<text class="fs028">重置</text>
<img class="reset_img" src='__STATIC__/images/weixin/reset.png' style='width:0.30rem; height:0.30rem'/>
</div>
<div class="xc_sx flex" onclick="choice_time(this)">
<text id="screen" class="fs028 word" style='margin-left: 0.15rem;'>筛选</text>
<div class="box negative" style='position:relative;'></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="s_select_time"
style="width: 100%;height: 100%;display: none">
<div class="xc-mongolia"></div>
<div class="xc-time-frame" >
<div class="flex jc_center" style="width: 90%;margin:0 auto;padding-top: 0.3rem;">
<div class="t_left" style="position: relative; left:-0.1rem">
<p><text style="margin-left: 0.1rem">开始时间</text></p>
<p style="margin-top: 0.1rem">
<label for="party" >
<input placeholder="Date" type="date"class="xc-stime xc_input"
id="start_time" onfocus="(this.type='date')" name="start" value=""/>
</label>
</p>
</div>
<div class="t_left" style="margin-left: 0.2rem">
<p><text style="margin-left: 0.1rem">结束时间</text></p>
<p style="margin-top: 0.1rem">
<label for="party" >
<input placeholder="Date" type="date" class="xc-etime xc_input"
id="end_time" onfocus= "(this.type='date')" min="{$tyear}" max="{$hyear}" name="end" value=""/>
</label>
</p>
</div>
</div>
<div class="data_btn" onclick="show_submit()">确定</div>
<input id="start" type="hidden" value="{$start}">
<input id="end" type="hidden" value="{$end}">
<div onclick="close_the_pop()" class="close_pop">✕</div>
</div>
</div>
<!--成长值明细列表 -->
<div class="xc-list-frame"></div>
<div class="no_text" style="display: none;">无成长值数据</div>
</body>
</html>
<script>
var stoid="{:I('stoid')}";
var user_id="{$tpshop_config['user_id']}";
var apihost="{$mini_host}";
function choice_time(ob) {
if(!$(ob).hasClass("clicked")){
$(ob).addClass("clicked")
$("#s_select_time").show();
var start0=$("#start").val();
var end0=$("#end").val();
$("#start_time").val(start0)
$("#end_time").val(end0)
}else{
$(ob).removeClass("clicked negative")
$("#s_select_time").hide();
}
}
function close_the_pop() {
$("#s_select_time").hide();
$(".xc_sx ").removeClass("clicked");
}
</script>