Bez popisu
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_under_order.htm 18KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276
  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/eyoucms.css" /}
  12. {eyou:static file="users/skin/css/basic.css" /}
  13. <!-- 新样式 2020-12-8 -->
  14. {eyou:static file="users/skin/css/element/index.css" /}
  15. {eyou:static file="users/skin/css/e-user.css" /}
  16. {eyou:include file="users/skin/css/diy_css.htm"/}
  17. <style type="text/css">
  18. .tabs {
  19. display: flex;
  20. justify-content: center;
  21. }
  22. .tab {
  23. flex: 1;
  24. text-align: center;
  25. height: 38px;
  26. line-height: 38px;
  27. font-size: 15px;
  28. color: #000;
  29. background: #f0f0f0;
  30. border-top-right-radius: 4px;
  31. border-top-left-radius: 4px;
  32. }
  33. .tab.active {
  34. background: #ffc169;
  35. color: #fff;
  36. }
  37. .tabContent {
  38. display: none;
  39. padding: 10px;
  40. }
  41. .tabContent.active {
  42. display: block;
  43. }
  44. </style>
  45. {eyou:static file="/public/static/common/js/jquery.min.js"/}
  46. {eyou:static file="/public/plugins/layer-v3.1.0/layer.js"/}
  47. {eyou:static file="/public/static/common/js/tag_global.js"/}
  48. {eyou:static file="/public/static/common/js/mobile_global.js"/}
  49. </head>
  50. <body>
  51. {eyou:include file="users/users_header.htm" /}
  52. <div class="ey-header-status">
  53. <div class="header-status-l"><a href="javascript:history.go(-1);"><i class="el-icon-arrow-left"></i></a></div>
  54. <div class="header-status-m">提交订单</div>
  55. <div class="header-status-r"><a href="{eyou:url link='user/Users/index' /}"><i class="el-icon-user"></i></a></div>
  56. </div>
  57. <div class="h50"></div>
  58. <div class="ey-container">
  59. <div class="el-row">
  60. <div data-plugin="selectable" data-selectable="selectable">
  61. <form name='theForm' id="theForm" method="post">
  62. {eyou:spsubmitorder id="field"}
  63. <div class="el-row p10 bgfff mt10">
  64. {eyou:empty name="$field.PromType"}
  65. {eyou:if condition="!empty($field.onlyVerify)"}
  66. <div class="column-title">
  67. <div class="column-name" {$field.selectVerify}>到店自提</div>
  68. </div>
  69. {eyou:elseif condition="!empty($field.onlyDelivery)"/}
  70. <div class="column-title">
  71. <div class="column-name" {$field.selectDelivery}>快递配送</div>
  72. </div>
  73. {eyou:elseif condition="!empty($field.allLogisticsType)"/}
  74. <div class="tabs">
  75. <div class="tab active" {$field.selectDelivery}>快递配送</div>
  76. <div class="tab" {$field.selectVerify}>到店自提</div>
  77. </div>
  78. {/eyou:if}
  79. <div class="tabContents">
  80. <!-- 到店自提 -->
  81. <div class="ey-row-box" {$field.selectVerifyID}>
  82. <div class="wb100 pt10 pb20">
  83. <a href="JavaScript:void(0);" onclick="selectVerifyStore(false);" class="wb100 f16 block">请选择自提门店<span class="fr"><i class="el-icon-arrow-right"></i></span></a>
  84. </div>
  85. </div>
  86. <div {$field.selectVerifyInfo} style="display: none;">
  87. <ul class="address-con pd0">
  88. <li class="el-col el-col-24" >
  89. <div class="address-item flex box" onclick="selectVerifyStore(false);">
  90. <div class="address-item-l">
  91. <div class="txt-row f16 fb"><span id="verify_store_name"></span></div>
  92. <div class="txt-row"><span id="verify_prov_city_area"></span></div>
  93. <div class="txt-row"><span class="info" id="verify_store_address"></span></div>
  94. </div>
  95. <div class="address-item-r">
  96. <i class="el-icon-arrow-right"></i>
  97. </div>
  98. </div>
  99. </li>
  100. </ul>
  101. <div class="mt5">
  102. <div class="el-row block">
  103. <input class="form-control wb100" type="text" name="buyer" placeholder="预留姓名">
  104. </div>
  105. <div class="el-row block mt10">
  106. <input class="form-control wb100" type="text" name="phone" autocomplete="off" maxlength="11" onkeyup="this.value=this.value.replace(/[^\d]/g, '');" onpaste="this.value=this.value.replace(/[^\d]/g, '');" placeholder="预留手机号">
  107. </div>
  108. </div>
  109. </div>
  110. <!-- 到店自提 end -->
  111. <!-- 快递配送 -->
  112. {eyou:empty name="$field.ShopAddressInfo"}
  113. <div class="ey-row-box mt20" {$field.selectDeliveryID}>
  114. <div class="wb100 pt10 pb20">
  115. <a href="JavaScript:void(0);" {$field.goAddressList} class="wb100 f16 block">请设置收货地址<span class="fr"><i class="el-icon-arrow-right"></i></span></a>
  116. </div>
  117. </div>
  118. {eyou:else/}
  119. <ul class="address-con" {$field.selectDeliveryAddress}>
  120. {eyou:volist name='$field.ShopAddressInfo' id='addr_field'}
  121. <input type="hidden" name="addr_id" id="addr_id" value="{$addr_field.addr_id}">
  122. <li class="el-col el-col-24" {$addr_field.ul_il_id}>
  123. <div class="address-item flex" {$field.goAddressList}>
  124. <div class="address-item-l">
  125. <div class="txt-row f16">
  126. <span id="addr_consignee">{$addr_field.consignee}</span>
  127. <span id="addr_mobile">{$addr_field.mobile}</span>
  128. </div>
  129. <div class="txt-row"><span id="addr_Info">{$addr_field.Info}</span></div>
  130. <div class="txt-row"><span class="info" id="addr_address">{$addr_field.address}</span></div>
  131. </div>
  132. <div class="address-item-r">
  133. <i class="el-icon-arrow-right"></i>
  134. </div>
  135. </div>
  136. </li>
  137. {/eyou:volist}
  138. </ul>
  139. {/eyou:empty}
  140. <!-- 快递配送 end -->
  141. </div>
  142. {eyou:if condition="empty($field.onlyVerify) && !empty($field.shop_prompt)"}
  143. <!-- [商城中心]-[商城配置]-[商家提示] -->
  144. <div class="ey-row pd0 bgfff" id="shop_prompt">
  145. <div class="el-row">
  146. <div class="red">温馨提示:{$field.shop_prompt}</div>
  147. </div>
  148. </div>
  149. {/eyou:if}
  150. {eyou:else/}
  151. <div class="ey-row bgfff">
  152. <!-- 虚拟商品提示信息 -->
  153. <div class="el-row">
  154. <div class="red"> 该商品为虚拟商品,仅支持在线支付且无需选择收货地址及运费计算。若商品是充值类商品,请将您的手机号或需充值的卡号填入留言中。 </div>
  155. </div>
  156. </div>
  157. {/eyou:empty}
  158. </div>
  159. <div class="el-row p10 bgfff mt10">
  160. <div class="column-title"><div class="column-name">商品信息</div></div>
  161. <div class="mt20 mb10 order-goods goods-con">
  162. <div class="goods-item">
  163. <div class="item-main">
  164. <!-- 获取订单商品 -->
  165. {eyou:spordergoods id="shop_field"}
  166. <div class="item-con">
  167. <div class="item-con-l"><a href="{$shop_field.arcurl}" class="pro-pic"><img src="{$shop_field.litpic}"></a></div>
  168. <div class="item-con-m">
  169. <a href="{$shop_field.arcurl}">{$shop_field.title}</a>
  170. <div class="info mt5">{$shop_field.product_spec}</div>
  171. <div class="price-info mt5"><span class="users_price"><i class="f12">¥</i>{$shop_field.users_price}</span><span class="product_num"><i class="f12">x</i>{$shop_field.product_num}</span></div>
  172. </div>
  173. </div>
  174. {$shop_field.ProductHidden}
  175. {/eyou:spordergoods}
  176. </div>
  177. </div>
  178. </div>
  179. </div>
  180. {notempty name="$field.TotalAmount"}
  181. <div class="el-row p10 bgfff mt10">
  182. <div class="column-title">
  183. <div class="column-name">{eyou:eq name="$field.use_pay_type" value="0"}未开启支付方式{eyou:else/}支付方式{/eyou:eq}</div>
  184. </div>
  185. {$field.PayTypeHidden}
  186. <div class="pay-type">
  187. <div class="li_div">
  188. <div class="pay-con pt10 pb10">
  189. <!-- 支付API列表,套板请务必将整块代码一起复制,包含隐藏域 -->
  190. {eyou:sppayapilist id='vo'}
  191. {eyou:notempty name="$vo.pay_id"}
  192. <label class="radio-label pt10 pb10 pl0 e-label mb0 radio-label-flex phpSelectPayRadio" data-id="{$vo.pay_id}" data-type="zxzf_{$vo.pay_mark}" onclick="selectPayType(this);">
  193. <span><img class="pay_img" src="{$vo.pay_img}" alt="{$vo.pay_name}">{$vo.pay_name} </span>
  194. <input class="radio" type="radio" name='pay_id' value="{$vo.pay_id}" {eyou:eq name="$key" value="0"} checked {/eyou:eq}>
  195. <span class="check-mark ri0"></span>
  196. </label>
  197. {/eyou:notempty}
  198. {$vo.hidden}
  199. {/eyou:sppayapilist}
  200. <input type="hidden" id="PayID">
  201. <input type="hidden" id="PayMark">
  202. <input type="hidden" id="PayType">
  203. <!-- END -->
  204. {eyou:if condition="empty($field.shop_open_offline) && empty($field.PromType) && empty($field.onlyVerify)"}
  205. <label class="radio-label pt10 pb10 pl0 mb0 e-label radio-label-flex phpSelectPayRadio" data-type="hdfk_payOnDelivery" onclick="selectPayType(this);">
  206. <span><img class="pay_img" src="{eyou:static file='users/skin/images/hdfk.png' /}" alt="货到付款">货到付款 </span>
  207. <input class="radio" type="radio" name='pay_id' value="0">
  208. <span class="check-mark ri0"></span>
  209. </label>
  210. {/eyou:if}
  211. {eyou:eq name="$field.pay_balance_open" value="1"}
  212. <label class="radio-label pt10 pb10 pl0 mb0 e-label radio-label-flex phpSelectPayRadio" data-type="yezf_balance" onclick="selectPayType(this);">
  213. <span><img class="pay_img" src="{eyou:static file='users/skin/images/pay_yiyou.png' /}" alt="余额支付">余额支付 <span class="fc9 f14">可用{$field.UsersMoney} 元</span></span>
  214. <input class="radio" type="radio" name='pay_id' value="0">
  215. <span class="check-mark ri0"></span>
  216. </label>
  217. {/eyou:eq}
  218. </div>
  219. </div>
  220. </div>
  221. </div>
  222. {/notempty}
  223. <div class="el-row p10 bgfff mt10">
  224. <div class="column-title">
  225. <div class="column-name">留言备注</div>
  226. </div>
  227. <div class="mt10 mb10">
  228. <textarea class="el-textarea__inner" rows="3" name="message" placeholder="给商家留言,选填"></textarea>
  229. </div>
  230. </div>
  231. <div class="el-row p10 bgfff mt10">
  232. <div class="order-cell pt10">
  233. <div class="tit">商品金额</div>
  234. <div class="box"><span class="unit">¥</span><span class="money">{$field.TotalAmount}</span></div>
  235. </div>
  236. <div class="order-cell">
  237. <div class="tit">快递费用</div>
  238. <div class="box"><span class="money">{$field.Shipping}</span></div>
  239. </div>
  240. </div>
  241. <div class="h50"></div>
  242. <div class="shopcar-footer">
  243. {$field.TotalAmountOld}
  244. <div class="shopcar-footer-l">共{$field.TotalNumber}件商品 <span class="ml10 price">合计:<i>¥</i><em {$field.TotalAmountId}>{$field.TotalAmount}</em></span></div>
  245. <div class="shopcar-footer-r">
  246. {eyou:eq name="is_wechat" value='2'}
  247. <input type="button" name="submit" value="提交订单" class="el-button el-button--primary el-button--medium" {$field.ShopPaymentPage}>
  248. {eyou:else/}
  249. <input type="button" name="submit" value="提交订单" class="el-button el-button--primary el-button--medium" {$field.wechatJsApiPay}>
  250. {/eyou:eq}
  251. </div>
  252. </div>
  253. {$field.TokenValue}
  254. {$field.hidden}
  255. {/eyou:spsubmitorder}
  256. </form>
  257. </div>
  258. </div>
  259. <input type="hidden" id="unified_id">
  260. <input type="hidden" id="unified_number">
  261. <input type="hidden" id="transaction_type">
  262. </div>
  263. {eyou:static file="users/skin/js/shop_under_order.js"/}
  264. </body>
  265. </html>