failed.php 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. /* @var $this \yii\web\View */
  3. /* @var $content string */
  4. use yii\helpers\Html;
  5. use yii\helpers\Url;
  6. $this->title = '支付失败';
  7. ?>
  8. <?php $this->beginBlock('header_script'); ?>
  9. <link href="<?= STATIC_URL ?>/ui/css/plugins/dataTables/datatables.min.css" rel="stylesheet">
  10. <style>
  11. .tip {
  12. text-align: center;
  13. margin-top: 140px;
  14. }
  15. .tip i {
  16. font-size: 6em;
  17. }
  18. .tip2 {
  19. margin-top: 120px;
  20. }
  21. </style>
  22. <?php $this->endBlock(); ?>
  23. <div class="row">
  24. <div class="col-md-3">
  25. <?= $this->render('/common/_left_menu.php') ?>
  26. </div>
  27. <div class="col-md-3">
  28. <div class="tip">
  29. <button class="btn btn-outline btn-danger dim" type="button"><i class="fa fa-warning"></i>
  30. </button>
  31. <h3>支付失败</h3>
  32. </div>
  33. </div>
  34. <?php if (!empty($deposit)): ?>
  35. <div class="col-md-6">
  36. <div class="ibox tip2">
  37. <div class="ibox-title">
  38. <h5>支付信息</h5>
  39. </div>
  40. <div class="ibox-content">
  41. <p><strong>编号:</strong><?= $deposit['id'] ?></p>
  42. <p><strong>金额:</strong>¥<?= $deposit['amount'] ?></p>
  43. <p>
  44. <strong>时间:</strong><?= !empty($deposit['in_time']) ? strtotime('Y-m-d H:i:s', $deposit['in_time'] / 1000) : '' ?>
  45. </p>
  46. </div>
  47. </div>
  48. </div>
  49. <?php endif; ?>
  50. </div>