dlgroupteam.html
5.55 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
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
{template 'public/header'}
{template 'public/comhead'}
<link rel="stylesheet" type="text/css" href="../addons/zh_cjdianc/template/public/ygcsslist.css">
<style type="text/css">
.ba_f{
background: #fff;
}
.ba_e{
background: #f7f7f7;
}
.pa{
padding: 30px;
}
.pa_1{
padding: 0 20px;
}
.pa_10{
padding: 10px 20px;
}
.wei{
font-weight: bold;
}
.bor_bottom{
border: 1px solid #e5e5e5;
}
.mar_l{
margin-left: 20px;
}
.dis_in{
display: inline-block;
vertical-align: middle;
}
.t_c{
text-align: center;
}
.progess>text{
display: inline-block;
vertical-align: middle;
}
.mar_t{
margin-top: 20px;
}
.circular{
width: 70px;
height: 70px;
line-height: 70px;
color: #fff;
font-size: 12px;
border-radius: 50%;
background: rgb(68,171,247);
}
.line{
width: 35%;
height: 4px;
background: #f7f7f7;
animation: two 2s;
}
.line_0{
/*background:rgb(68,171,247);*/
width: 35%;
height: 4px;
animation: first 2s;
}
@keyframes first
{
from {width : 0;}
to {width: 35%;background:rgb(68,171,247);}
}
@keyframes two
{
from {width : 0;}
to {width: 35%;background:#f7f7f7;}
}
.shopInfo{
width: 100%;
height: auto;
border: 1px solid #e5e5e5;
}
.shopInfo>div{
width: 49%;
}
.shopInfo>div p:nth-child(1){
width: 100%;
height: 30px;
line-height: 50px;
}
.shopInfo>div p:nth-child(2){
width: 100%;
height: 50px;
line-height: 50px;
}
.shopInfo>div p img{
width: 40px;
height: 40px;
}
.group_info img{
width: 50px;
height: 50px;
}
.group_info>div{
padding: 10px 0;
}
.group_info>div text:nth-child(1){
width: 100px;
display: inline-block;
}
.fail{
background: red;
padding: 5px 10px;
border-radius: 5px;
color: #fff;
}
.succ{
background: rgb(68,171,247);
padding: 5px 10px;
border-radius: 5px;
color: #fff;
}
.ing{
background: orange;
padding: 5px 10px;
border-radius: 5px;
color: #fff;
}
.staff_info>div img{
width: 50px;
height: 50px;
}
.staff_info>div:nth-child(1){
width: 20%;
}
.staff_info>div:nth-child(2){
width: 20%;
}
.staff_info>div:nth-child(3){
width: 20%;
}
.staff_info>div:nth-child(4){
width: 10%;
}
.staff_info>div:nth-child(5){
width: 20%;
}
.color_r{
color: red;
}
</style>
<ul class="nav nav-tabs">
<span class="ygxian"></span>
<div class="ygdangq">当前位置:</div>
</ul>
<!-- 拼团详情 -->
<div class="ba_f pa mar_t">
<!-- 拼团中 -->
{if $group['state']==1}
<div class="t_c progess">
<text class="circular">发起拼团</text><text class="line line_0"></text><text class="circular">拼团中</text><text class="line"></text><text class="circular">拼团成功</text>
</div>
{/if}
<!-- 拼团成功或者失败 -->
{if $group['state']==2}
<div class="t_c progess">
<text class="circular">发起拼团</text><text class=" line_0"></text><text class="circular">拼团中</text><text class="line_0"></text><text class="circular">拼团成功</text>
</div>
{/if}
{if $group['state']==3}
<div class="t_c progess">
<text class="circular">发起拼团</text><text class=" line_0"></text><text class="circular">拼团中</text><text class="line_0"></text><text class="circular">拼团失败</text>
</div>
{/if}
<!-- 商品信息 -->
<div class="shopInfo mar_t">
<div class="dis_in pa_1">
<p>商品图</p>
<p>
<img class="store_list_img" src="{$group['goods_logo']}" alt=""/>
</p>
</div>
<div class="dis_in pa_1">
<p>商品名称</p>
<p>
{$group['goods_name']}
</p>
</div>
</div>
<!-- 拼团信息 -->
<div class="pa_1 mar_t bor_bottom group_info">
<div>
<text>团长昵称</text>
<text class="mar_l">{$group['nick_name']}</text>
</div>
<div>
<text>团长头像</text>
<img src="{$group['img']}" class="mar_l" alt="">
</div>
<div>
<text>团状态</text>
{if $group['state']==1}
<text class="mar_l ing">拼团中</text>
{elseif $group['state']==2}
<text class="mar_l succ">拼团成功</text>
{elseif $group['state']==3}
<text class="mar_l fail">拼团失败</text>
{/if}
</div>
<div>
<text>团ID</text>
<text class="mar_l">{$group['id']}</text>
</div>
<div>
<text>团购进度</text>
<text class="mar_l">{$group['yg_num']}/{$group['kt_num']}</text>
</div>
</div>
<!-- 订单信息 -->
{loop $order $key $item}
<div class="group_staff mar_t bor_bottom">
<div>
<div class="pa_10 ba_e">
<text class="wei">{php echo date('Y-m-d H:i:s',$item['time'])}</text>
<text class="mar_l">订单编号 :{$item['order_num']}</text>
</div>
<div class="pa_10 staff_info">
<div class="dis_in">
<img src="{$item['logo']}" alt="">
</div>
<div class="dis_in">
{$item['nick_name']}
</div>
<div class="dis_in">
{if $item['pay_type']==1}
微信支付
{elseif $item['pay_type']==2}
余额支付
{/if}
</div>
<div class="dis_in">
{$item['money']}
</div>
<div class="dis_in">
<a href="{php echo $this->createWebUrl2('dlgrouporderinfo', array('id' => $item['id']))}" >查看详情</a>
</div>
<div class="dis_in color_r">
{if $item['state']==1}
未付款
{elseif $item['state']==2}
已付款
{elseif $item['state']==3}
已完成
{elseif $item['state']==4}
已关闭
{elseif $item['state']==5}
已失效
{/if}
</div>
</div>
</div>
</div>
{/loop}
</div>
<script type="text/javascript">
$(function(){
$("#frame-11").show();
$("#yframe-11").addClass("wyactive");
$(".line_0").css('background','rgb(68,171,247)')
function animation(){
}
})
</script>
{template 'common/footer'}