Sin descripción
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

shop_centre.htm 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  1. <!DOCTYPE HTML>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <title>订单列表-{eyou:global name='web_name' /}</title>
  6. <meta name="renderer" content="webkit">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  8. <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" name="viewport" />
  9. <link href="{eyou:global name='web_cmspath'/}/favicon.ico" rel="shortcut icon" type="image/x-icon" />
  10. {eyou:static file="users/skin/css/bootstrap.min.css"/}
  11. {eyou:static file="users/skin/css/basic.css"/}
  12. {eyou:static file="users/skin/css/eyoucms.css"/}
  13. {eyou:static file="users/skin/css/element/index.css" /}
  14. {eyou:static file="users/skin/css/e-user.css" /}
  15. {eyou:include file="users/skin/css/diy_css.htm"/}
  16. {eyou:static file="/public/static/common/js/jquery.min.js"/}
  17. {eyou:static file="/public/plugins/layer-v3.1.0/layer.js"/}
  18. {eyou:static file="/public/static/common/js/tag_global.js"/}
  19. {eyou:static file="/public/static/common/js/mobile_global.js"/}
  20. </head>
  21. <body>
  22. <div class="ey-header-status">
  23. <div class="header-status-l">
  24. <a href="{eyou:url link='user/Users/index'/}"><i class="el-icon-arrow-left"></i></a>
  25. </div>
  26. <div class="header-status-m">商城订单</div>
  27. <div class="header-status-r">
  28. <a href="{eyou:url link='user/Shop/shop_cart_list'/}" class="cart-item" style="margin-left: auto;"> <i class="el-icon-shopping-cart-2"></i></a>
  29. </div>
  30. </div>
  31. <div class="h50"></div>
  32. <div class="oper-row" >
  33. {eyou:spstatus id="field3"}
  34. <div class="oper-row-roll">
  35. <a class="oper-row-button {if empty($field3.select_status) && $field3.access_action == 'shop_centre'}active{/if}" data-toggle="tab" href="{eyou:url link='user/Shop/shop_centre'/}"> 全部 </a>
  36. <a class="oper-row-button {eq name='$field3.select_status' value='dzf'}active{/eq}" data-toggle="tab" href="{eyou:url link='user/Shop/shop_centre' vars='select_status=dzf'/}"> 待付款 </a>
  37. <a class="oper-row-button {eq name='$field3.select_status' value='2'}active{/eq}" data-toggle="tab" href="{eyou:url link='user/Shop/shop_centre' vars='select_status=2'/}"> 待收货 </a>
  38. <a class="oper-row-button {eq name='$field3.select_status' value='3'}active{/eq}" data-toggle="tab" href="{eyou:url link='user/Shop/shop_centre' vars='select_status=3'/}"> 已完成 </a>
  39. {gt name='$php_servicemeal' value='1'}
  40. <a class="oper-row-button {if empty($field3.select_status) && $field3.access_action == 'after_service'} active {/if}" data-toggle="tab" href="{eyou:url link='user/Shop/after_service'/}"> 售后 </a>
  41. {/gt}
  42. </div>
  43. {/eyou:spstatus}
  44. </div>
  45. <div class="ey-container">
  46. <div class="ey-con clearfix" >
  47. {eyou:empty name="$eyou.field.data"}
  48. <div class="ey-row min-hg-c-102 flex flex-center">
  49. <div class="tc mt-50">
  50. <p class=""><img id='litpic_img' src="{eyou:static file='users/skin/images/null-data.png' /}"/></p>
  51. <p class="fc9">当前暂无订单记录哦~</p>
  52. </div>
  53. </div>
  54. {eyou:else/}
  55. <div class="goods-con">
  56. {eyou:sporderlist id="field" pagesize="10"}
  57. <div class="goods-item mb10">
  58. <div class="item-top">
  59. <div class="item-top-l">订单号:<a href="{$field.OrderDetailsUrl}">{$field.order_code}</a></div>
  60. <div class="item-top-r red">{$field.order_status_name}</div>
  61. </div>
  62. <div class="item-main">
  63. {eyou:spordergoods id="order_field"}
  64. <div class="item-con">
  65. <div class="item-con-l">
  66. <a href="{$field.OrderDetailsUrl}" class="pro-pic"><img src="{$order_field.litpic}"></a>
  67. </div>
  68. <div class="item-con-m">
  69. <a href="{$field.OrderDetailsUrl}">
  70. {$order_field.product_name}
  71. {eyou:eq name="$order_field.has_deleted" value="1"}
  72. <span style="color: red;">{$order_field.msg_deleted}</span>
  73. {/eyou:eq}
  74. </a>
  75. <div class="f12 fc9">
  76. {eyou:volist name='$order_field.product_spec_list' id='spec'}
  77. {$spec.value}&nbsp;
  78. {/eyou:volist}
  79. </div>
  80. <div class="price-info mt5">
  81. <span class="users_price"><i class="f12">{empty name="$field.points_shop_order"}¥{/empty}</i>{$order_field.product_price}</span>
  82. <span class="product_num"><i class="f12">x</i>{$order_field.num}</span>
  83. </div>
  84. </div>
  85. </div>
  86. {/eyou:spordergoods}
  87. </div>
  88. <div class="item-total">
  89. <div class="item-total-l">共{$field.order_total_num}件商品</div>
  90. <div class="item-total-r">
  91. {eyou:eq name="$field.order_status" value="0"}
  92. 应付款:{empty name="$field.points_shop_order"}¥{/empty}<span class="fb">{$field.order_amount}</span>
  93. {eyou:else/}
  94. 实付款:{empty name="$field.points_shop_order"}¥{/empty}<span class="fb">{$field.order_amount}</span>
  95. {/eyou:eq}
  96. </div>
  97. </div>
  98. <div class="item-bottom">
  99. <div class="item-bottom-r">
  100. {eyou:eq name="$field.order_status" value="3"}
  101. {eyou:if condition="isset($field.allow_service) && 0 == $field.allow_service"}
  102. <a href="{$field.ServiceList}" class="el-button el-button--primary is-round el-button--small">申请售后</a>
  103. {/eyou:if}
  104. {eyou:if condition="0 == $field.is_comment && !empty($usersConfig.shop_open_comment)"}
  105. <a href="{$field.AddProduct}" class="el-button el-button--primary is-round el-button--small">评价商品</a>
  106. {/eyou:if}
  107. {/eyou:eq}
  108. {eyou:eq name="$field.order_status" value="0"}
  109. <a href="JavaScript:void(0);" class="el-button is-round el-button--small" {$field.CancelOrder}>关闭订单</a>
  110. <a href="{$field.PaymentUrl}" target="_blank" class="el-button is-round el-button--primary el-button--small">立即付款</a>
  111. <!-- {eyou:eq name="is_wechat" value='2'}
  112. {eyou:else/}
  113. <a href="JavaScript:void(0);" class="el-button is-round el-button--primary el-button--small" onClick="wechatJsApiPay('{$field.order_id}', '{$field.order_code}', 2);">立即付款</a>
  114. {/eyou:eq} -->
  115. {/eyou:eq}
  116. {eyou:eq name="$field.order_status" value="1"}
  117. {eyou:eq name="$field.logistics_type" value='1'}
  118. <a href="javascript:void(0);" class="el-button is-round el-button--primary el-button--small" {$field.OrderRemind}>提醒发货</a>
  119. {eyou:else/}
  120. <a href="{$field.OrderDetailsUrl}" class="el-button is-round el-button--primary el-button--small">待核销</a>
  121. {/eyou:eq}
  122. {/eyou:eq}
  123. {eyou:eq name="$field.order_status" value="2"}
  124. {eyou:eq name="$field.prom_type" value="0"}
  125. <!-- 普通订单物流查询 -->
  126. {eyou:eq name="$is_wechat" value="1"}
  127. <a href="{$field.MobileExpressUrl}" class="el-button el-button--primary is-round el-button--small">物流查询</a>
  128. {eyou:else/}
  129. <a href="JavaScript:void(0);" class="el-button el-button--primary is-round el-button--small" {$field.LogisticsInquiry}>物流查询</a>
  130. {/eyou:eq}
  131. {/eyou:eq}
  132. <a href="javascript:void(0)" class="el-button el-button--primary is-round el-button--small" {$field.Confirm}>确认收货</a>
  133. {/eyou:eq}
  134. <a href="{$field.OrderDetailsUrl}" class="el-button is-round el-button--small">查看详情</a>
  135. {eyou:eq name="$field.order_status" value="-1"}
  136. <a href="JavaScript:void(0);" class="el-button is-disabled is-round el-button--small mg05" mg05="">已关闭</a>
  137. {/eyou:eq}
  138. </div>
  139. </div>
  140. </div>
  141. {$field.hidden}
  142. {/eyou:sporderlist}
  143. </div>
  144. </div>
  145. <div class="dataTables_paginate">
  146. <ul class="pagination">
  147. {eyou:sppageorder listitem="index,end,pre,next" listsize="2"/}
  148. </ul>
  149. </div>
  150. {/eyou:empty}
  151. <input type="hidden" id="unified_id">
  152. <input type="hidden" id="unified_number">
  153. <input type="hidden" id="transaction_type">
  154. </div>
  155. <script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.3.2.js"></script>
  156. {eyou:static file="users/skin/js/shop_centre.js"/}
  157. </body>
  158. </html>