purchased.html 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. {include file="layout/header" /}
  2. <style type="text/css">
  3. </style>
  4. <!-- banner -->
  5. <section class="wthree-row" id="pricing">
  6. <div class="container" style="font-size: 18px; font-weight: 800; margin-top: 20px; text-align: center; height: 100px; line-height: 5; background: #ebebeb;">
  7. 恭喜您!购买成功!
  8. </div>
  9. <div class="container" style="color: #595959; font-size: 18px; margin-top: 40px; display: flex;">
  10. <span style="width: 50%; text-align: right;">订单编号:</span>
  11. {$data->orderID}
  12. </div>
  13. <div class="container" style="color: #595959; font-size: 18px; margin-top: 10px; display: flex;">
  14. <span style="width: 50%; text-align: right;">购买服务:</span>
  15. {$data->product}
  16. </div>
  17. <div class="container" style="color: #595959; font-size: 18px; margin-top: 10px; display: flex;">
  18. <span style="width: 50%; text-align: right;">到期时间:</span>
  19. {$data->userProduct_maturityTime}
  20. </div>
  21. <div class="container" style="color: #595959; font-size: 18px; margin-top: 10px; display: flex;">
  22. <span style="width: 50%; text-align: right; ">购买金额:</span>
  23. <span style="color: #FF2929">¥{$data->order_money}</span>
  24. </div>
  25. <div class="container" style="color: #595959; font-size: 18px; display: flex; justify-content: center; margin-top: 40px; margin-bottom: 60px">
  26. <div style="display: flex; justify-content: center">
  27. <div onclick="loadUrl(1)" style="border: 2px solid #afafaf; padding: 5px 25px; margin-right: 20px; cursor:pointer;">返回首页</div>
  28. <div onclick="loadUrl(2)" style="border: 2px solid #afafaf; padding: 5px 25px; cursor:pointer;">继续购买</div>
  29. </div>
  30. </div>
  31. </section>
  32. <script>
  33. const myHost = "http://" + window.location.host;
  34. function loadUrl(value) {
  35. if (value == 1) {
  36. window.location.href = myHost + "/home/index/index.html";
  37. } else {
  38. window.location.href = myHost + "/home/product/product.html";
  39. }
  40. }
  41. </script>
  42. {include file="layout/footer" /}