sjgroupteam.html 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. {template 'public/header'}
  2. {template 'public/comhead'}
  3. <link rel="stylesheet" type="text/css" href="../addons/zh_tcwq/template/public/ygcsslist.css">
  4. <style type="text/css">
  5. .ba_f{
  6. background: #fff;
  7. }
  8. .ba_e{
  9. background: #f7f7f7;
  10. }
  11. .pa{
  12. padding: 30px;
  13. }
  14. .pa_1{
  15. padding: 0 20px;
  16. }
  17. .pa_10{
  18. padding: 10px 20px;
  19. }
  20. .wei{
  21. font-weight: bold;
  22. }
  23. .bor_bottom{
  24. border: 1px solid #e5e5e5;
  25. }
  26. .mar_l{
  27. margin-left: 20px;
  28. }
  29. .dis_in{
  30. display: inline-block;
  31. vertical-align: middle;
  32. }
  33. .t_c{
  34. text-align: center;
  35. }
  36. .progess>text{
  37. display: inline-block;
  38. vertical-align: middle;
  39. }
  40. .mar_t{
  41. margin-top: 20px;
  42. }
  43. .circular{
  44. width: 70px;
  45. height: 70px;
  46. line-height: 70px;
  47. color: #fff;
  48. font-size: 12px;
  49. border-radius: 50%;
  50. background: rgb(68,171,247);
  51. }
  52. .line{
  53. width: 35%;
  54. height: 4px;
  55. background: #f7f7f7;
  56. animation: two 2s;
  57. }
  58. .line_0{
  59. /*background:rgb(68,171,247);*/
  60. width: 35%;
  61. height: 4px;
  62. animation: first 2s;
  63. }
  64. @keyframes first
  65. {
  66. from {width : 0;}
  67. to {width: 35%;background:rgb(68,171,247);}
  68. }
  69. @keyframes two
  70. {
  71. from {width : 0;}
  72. to {width: 35%;background:#f7f7f7;}
  73. }
  74. .shopInfo{
  75. width: 100%;
  76. height: auto;
  77. border: 1px solid #e5e5e5;
  78. }
  79. .shopInfo>div{
  80. width: 30%;
  81. }
  82. .shopInfo>div p:nth-child(1){
  83. width: 100%;
  84. height: 30px;
  85. line-height: 50px;
  86. }
  87. .shopInfo>div p:nth-child(2){
  88. width: 100%;
  89. height: 50px;
  90. line-height: 50px;
  91. }
  92. .shopInfo>div p img{
  93. width: 40px;
  94. height: 40px;
  95. }
  96. .group_info img{
  97. width: 50px;
  98. height: 50px;
  99. }
  100. .group_info>div{
  101. padding: 10px 0;
  102. }
  103. .group_info>div text:nth-child(1){
  104. width: 100px;
  105. display: inline-block;
  106. }
  107. .fail{
  108. background: red;
  109. padding: 5px 10px;
  110. border-radius: 5px;
  111. color: #fff;
  112. }
  113. .succ{
  114. background: rgb(68,171,247);
  115. padding: 5px 10px;
  116. border-radius: 5px;
  117. color: #fff;
  118. }
  119. .ing{
  120. background: orange;
  121. padding: 5px 10px;
  122. border-radius: 5px;
  123. color: #fff;
  124. }
  125. .staff_info>div img{
  126. width: 50px;
  127. height: 50px;
  128. }
  129. .staff_info>div:nth-child(1){
  130. width: 20%;
  131. }
  132. .staff_info>div:nth-child(2){
  133. width: 20%;
  134. }
  135. .staff_info>div:nth-child(3){
  136. width: 20%;
  137. }
  138. .staff_info>div:nth-child(4){
  139. width: 10%;
  140. }
  141. .staff_info>div:nth-child(5){
  142. width: 20%;
  143. }
  144. .color_r{
  145. color: red;
  146. }
  147. </style>
  148. <ul class="nav nav-tabs">
  149. <span class="ygxian"></span>
  150. <div class="ygdangq">当前位置:</div>
  151. </ul>
  152. <!-- 拼团详情 -->
  153. <div class="ba_f pa mar_t">
  154. <!-- 拼团中 -->
  155. {if $group['state']==1}
  156. <div class="t_c progess">
  157. <text class="circular">发起拼团</text><text class="line line_0"></text><text class="circular">拼团中</text><text class="line"></text><text class="circular">拼团成功</text>
  158. </div>
  159. {/if}
  160. <!-- 拼团成功或者失败 -->
  161. {if $group['state']==2}
  162. <div class="t_c progess">
  163. <text class="circular">发起拼团</text><text class=" line_0"></text><text class="circular">拼团中</text><text class="line_0"></text><text class="circular">拼团成功</text>
  164. </div>
  165. {/if}
  166. {if $group['state']==3}
  167. <div class="t_c progess">
  168. <text class="circular">发起拼团</text><text class=" line_0"></text><text class="circular">拼团中</text><text class="line_0"></text><text class="circular">拼团失败</text>
  169. </div>
  170. {/if}
  171. <!-- 商品信息 -->
  172. <div class="shopInfo mar_t">
  173. <div class="dis_in pa_1">
  174. <p>商家名称</p>
  175. <p>
  176. {$group['store_name']}
  177. </p>
  178. </div>
  179. <div class="dis_in pa_1">
  180. <p>商品图</p>
  181. <p>
  182. <img class="store_list_img" src="{media $group['goods_logo']}" alt=""/>
  183. </p>
  184. </div>
  185. <div class="dis_in pa_1">
  186. <p>商品名称</p>
  187. <p>
  188. {$group['goods_name']}
  189. </p>
  190. </div>
  191. </div>
  192. <!-- 拼团信息 -->
  193. <div class="pa_1 mar_t bor_bottom group_info">
  194. <div>
  195. <text>团长昵称</text>
  196. <text class="mar_l">{$group['nick_name']}</text>
  197. </div>
  198. <div>
  199. <text>团长头像</text>
  200. <img src="{$group['img']}" class="mar_l" alt="">
  201. </div>
  202. <div>
  203. <text>团状态</text>
  204. {if $group['state']==1}
  205. <text class="mar_l ing">拼团中</text>
  206. {elseif $group['state']==2}
  207. <text class="mar_l succ">拼团成功</text>
  208. {elseif $group['state']==3}
  209. <text class="mar_l fail">拼团失败</text>
  210. {/if}
  211. </div>
  212. <div>
  213. <text>团ID</text>
  214. <text class="mar_l">{$group['id']}</text>
  215. </div>
  216. <div>
  217. <text>团购进度</text>
  218. <text class="mar_l">{$group['yg_num']}/{$group['kt_num']}</text>
  219. </div>
  220. </div>
  221. <!-- 订单信息 -->
  222. {loop $order $key $item}
  223. <div class="group_staff mar_t bor_bottom">
  224. <div>
  225. <div class="pa_10 ba_e">
  226. <text class="wei">{php echo date('Y-m-d H:i:s',$item['time'])}</text>
  227. <text class="mar_l">订单编号 :{$item['order_num']}</text>
  228. </div>
  229. <div class="pa_10 staff_info">
  230. <div class="dis_in">
  231. <img src="{media $item['logo']}" alt="">
  232. </div>
  233. <div class="dis_in">
  234. {$item['nick_name']}
  235. </div>
  236. <div class="dis_in">
  237. {if $item['pay_type']==1}
  238. 微信支付
  239. {elseif $item['pay_type']==2}
  240. 余额支付
  241. {/if}
  242. </div>
  243. <div class="dis_in">
  244. {$item['money']}
  245. </div>
  246. <div class="dis_in">
  247. <a href="{php echo $this->createWebUrl2('sjgrouporderinfo', array('id' => $item['id']))}" >查看详情</a>
  248. </div>
  249. <div class="dis_in color_r">
  250. {if $item['state']==1}
  251. 未付款
  252. {elseif $item['state']==2}
  253. 已付款
  254. {elseif $item['state']==3}
  255. 已完成
  256. {elseif $item['state']==4}
  257. 已关闭
  258. {elseif $item['state']==5}
  259. 已失效
  260. {/if}
  261. </div>
  262. </div>
  263. </div>
  264. </div>
  265. {/loop}
  266. </div>
  267. <script type="text/javascript">
  268. $(function(){
  269. $("#frame-4").show();
  270. $("#yframe-4").addClass("wyactive");
  271. $(".line_0").css('background','rgb(68,171,247)')
  272. function animation(){
  273. }
  274. })
  275. </script>{template 'common/footer'}