edit.html 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. <form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
  2. <div class="form-group">
  3. <label class="control-label col-xs-12 col-sm-2">{:__('Box_name')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-name" class="form-control" type="text" readonly="readonly" value="{$row.box_name|htmlentities}">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Image')}:</label>
  10. <div class="col-xs-12 col-sm-2 col-lg-2 col-md-2">
  11. <a href="{$row.image}" data-url="{$row.image}" target="_blank" class="thumbnail">
  12. <img src="{$row.image}" onerror="this.src='/LwhJtcNoFE.php/ajax/icon?suffix=png';this.onerror=null;" class="img-responsive">
  13. </a>
  14. </div>
  15. </div>
  16. <div class="form-group">
  17. <label class="control-label col-xs-12 col-sm-2">{:__('Coin_price')}:</label>
  18. <div class="col-xs-12 col-sm-8">
  19. <input id="c-coin_price" class="form-control" type="number" readonly="readonly" value="{$row.coin_price|htmlentities}">
  20. </div>
  21. </div>
  22. <div class="form-group">
  23. <label class="control-label col-xs-12 col-sm-2">{:__('Rmb_price')}:</label>
  24. <div class="col-xs-12 col-sm-8">
  25. <input id="c-rmb_price" class="form-control" step="0.01" type="number" readonly="readonly" value="{$row.rmb_price|htmlentities}">
  26. </div>
  27. </div>
  28. <div class="form-group">
  29. <label class="control-label col-xs-12 col-sm-2">{:__('Num')}:</label>
  30. <div class="col-xs-12 col-sm-8">
  31. <input id="c-num" class="form-control" type="number" readonly="readonly" value="{$row.num|htmlentities}">
  32. </div>
  33. </div>
  34. <div class="form-group">
  35. <label class="control-label col-xs-12 col-sm-2">{:__('Coin_amount')}:</label>
  36. <div class="col-xs-12 col-sm-8">
  37. <input id="c-coin_amount" class="form-control" type="number" readonly="readonly" value="{$row.coin_amount|htmlentities}">
  38. </div>
  39. </div>
  40. <div class="form-group">
  41. <label class="control-label col-xs-12 col-sm-2">{:__('Rmb_amount')}:</label>
  42. <div class="col-xs-12 col-sm-8">
  43. <input id="c-rmb_amount" class="form-control" step="0.01" type="number" readonly="readonly" value="{$row.rmb_amount|htmlentities}">
  44. </div>
  45. </div>
  46. <div class="form-group">
  47. <label class="control-label col-xs-12 col-sm-2">{:__('User nickname')}:</label>
  48. <div class="col-xs-12 col-sm-8">
  49. <input id="c-user_nickname" class="form-control" type="text" readonly="readonly" value="{$row.userinfo.nickname|htmlentities}">
  50. </div>
  51. </div>
  52. <div class="form-group">
  53. <label class="control-label col-xs-12 col-sm-2">{:__('User mobile')}:</label>
  54. <div class="col-xs-12 col-sm-8">
  55. <input id="c-user_mobile" class="form-control" type="text" readonly="readonly" value="{$row.userinfo.mobile|htmlentities}">
  56. </div>
  57. </div>
  58. <div class="form-group">
  59. <label class="control-label col-xs-12 col-sm-2">{:__('User avatar')}:</label>
  60. <div class="col-xs-12 col-sm-2 col-lg-2 col-md-2">
  61. <a href="{$row.userinfo.avatar}" data-url="{$row.userinfo.avatar}" target="_blank" class="thumbnail">
  62. <img src="{$row.userinfo.avatar}" onerror="this.src='/LwhJtcNoFE.php/ajax/icon?suffix=png';this.onerror=null;" class="img-responsive img-circle">
  63. </a>
  64. </div>
  65. </div>
  66. <div class="form-group">
  67. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_method')}:</label>
  68. <div class="col-xs-12 col-sm-8">
  69. <input id="c-pay_method" class="form-control" type="text" readonly="readonly" value="{$row.pay_method|__|htmlentities}">
  70. </div>
  71. </div>
  72. <div class="form-group">
  73. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_coin')}:</label>
  74. <div class="col-xs-12 col-sm-8">
  75. <input id="c-pay_coin" class="form-control" type="number" readonly="readonly" value="{$row.pay_coin|htmlentities}">
  76. </div>
  77. </div>
  78. <div class="form-group">
  79. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_rmb')}:</label>
  80. <div class="col-xs-12 col-sm-8">
  81. <input id="c-pay_rmb" class="form-control" step="0.01" type="number" readonly="readonly" value="{$row.pay_rmb|htmlentities}">
  82. </div>
  83. </div>
  84. <div class="form-group">
  85. <label class="control-label col-xs-12 col-sm-2">{:__('Out_trade_no')}:</label>
  86. <div class="col-xs-12 col-sm-8">
  87. <input id="c-out_trade_no" class="form-control" type="text" readonly="readonly" value="{$row.out_trade_no|htmlentities}">
  88. </div>
  89. </div>
  90. <div class="form-group">
  91. <label class="control-label col-xs-12 col-sm-2">{:__('Transaction_id')}:</label>
  92. <div class="col-xs-12 col-sm-8">
  93. <input id="c-transaction_id" class="form-control" type="text" readonly="readonly" value="{$row.transaction_id|htmlentities}">
  94. </div>
  95. </div>
  96. <div class="form-group">
  97. <label class="control-label col-xs-12 col-sm-2">{:__('Pay_time')}:</label>
  98. <div class="col-xs-12 col-sm-8">
  99. <input id="c-pay_time" class="form-control" type="text" readonly="readonly" value="{:$row.pay_time_text}">
  100. </div>
  101. </div>
  102. <div class="form-group">
  103. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  104. <div class="col-xs-12 col-sm-8">
  105. <input id="c-status" class="form-control" type="text" readonly="readonly" value="{:$row.status_text}">
  106. </div>
  107. </div>
  108. <div class="form-group">
  109. <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
  110. <div class="col-xs-12 col-sm-8">
  111. <input id="c-create_time" class="form-control" type="text" value="{:$row.create_time_text}" readonly="readonly">
  112. </div>
  113. </div>
  114. <div class="form-group layer-footer">
  115. <label class="control-label col-xs-12 col-sm-2"></label>
  116. <div class="col-xs-12 col-sm-8">
  117. <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
  118. </div>
  119. </div>
  120. </form>