edit.html 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  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">{:__('Nickname')}:</label>
  4. <div class="col-xs-12 col-sm-8">
  5. <input id="c-nickname" class="form-control" type="text" readonly="readonly" value="{$row.nickname|htmlentities}">
  6. </div>
  7. </div>
  8. <div class="form-group">
  9. <label class="control-label col-xs-12 col-sm-2">{:__('Mobile')}:</label>
  10. <div class="col-xs-12 col-sm-8">
  11. <input id="c-mobile" class="form-control" type="text" readonly="readonly" value="{$row.mobile|htmlentities}">
  12. </div>
  13. </div>
  14. <div class="form-group">
  15. <label class="control-label col-xs-12 col-sm-2">{:__('avatar')}:</label>
  16. <div class="col-xs-12 col-sm-2 col-lg-2 col-md-2">
  17. <a href="{$row.avatar}" data-url="{$row.avatar}" target="_blank" class="thumbnail">
  18. <img src="{$row.avatar}" onerror="this.src='/LwhJtcNoFE.php/ajax/icon?suffix=png';this.onerror=null;" class="img-responsive">
  19. </a>
  20. </div>
  21. </div>
  22. <div class="form-group">
  23. <label class="control-label col-xs-12 col-sm-2">{:__('Goods_name')}:</label>
  24. <div class="col-xs-12 col-sm-8">
  25. <input id="c-goods_name" class="form-control" type="text" readonly="readonly" value="{$row.goods_name|htmlentities}">
  26. </div>
  27. </div>
  28. <div class="form-group">
  29. <label class="control-label col-xs-12 col-sm-2">{:__('Goods_image')}:</label>
  30. <div class="col-xs-12 col-sm-2 col-lg-2 col-md-2">
  31. <a href="{$row.goods_image}" data-url="{$row.goods_image}" target="_blank" class="thumbnail">
  32. <img src="{$row.goods_image}" onerror="this.src='/LwhJtcNoFE.php/ajax/icon?suffix=png';this.onerror=null;" class="img-responsive">
  33. </a>
  34. </div>
  35. </div>
  36. <div class="form-group">
  37. <label class="control-label col-xs-12 col-sm-2">{:__('Goods_coin_price')}:</label>
  38. <div class="col-xs-12 col-sm-8">
  39. <input id="c-goods_coin_price" class="form-control" type="number" readonly="readonly" value="{$row.goods_coin_price|htmlentities}">
  40. </div>
  41. </div>
  42. <div class="form-group">
  43. <label class="control-label col-xs-12 col-sm-2">{:__('Goods_rmb_price')}:</label>
  44. <div class="col-xs-12 col-sm-8">
  45. <input id="c-goods_rmb_price" class="form-control" type="number" readonly="readonly" value="{$row.goods_rmb_price|htmlentities}">
  46. </div>
  47. </div>
  48. <div class="form-group">
  49. <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
  50. <div class="col-xs-12 col-sm-8">
  51. <input id="c-status" class="form-control" readonly="readonly" value="{$row.status_text|htmlentities}">
  52. </div>
  53. </div>
  54. <div class="form-group">
  55. <label class="control-label col-xs-12 col-sm-2">{:__('Exchange_time')}:</label>
  56. <div class="col-xs-12 col-sm-8">
  57. <input id="c-exchange_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" type="text" readonly="readonly" value="{:$row.exchange_time?datetime($row.exchange_time):''}">
  58. </div>
  59. </div>
  60. <div class="form-group">
  61. <label class="control-label col-xs-12 col-sm-2">{:__('Delivery_time')}:</label>
  62. <div class="col-xs-12 col-sm-8">
  63. <input id="c-delivery_time" class="form-control" type="number" readonly="readonly" value="{$row.delivery_time|htmlentities}">
  64. </div>
  65. </div>
  66. <div class="form-group">
  67. <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
  68. <div class="col-xs-12 col-sm-8">
  69. <input id="c-create_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" type="text" readonly="readonly" value="{:$row.create_time?datetime($row.create_time):''}">
  70. </div>
  71. </div>
  72. <div class="form-group layer-footer">
  73. <label class="control-label col-xs-12 col-sm-2"></label>
  74. <div class="col-xs-12 col-sm-8">
  75. <button type="reset" class="btn btn-primary btn-embossed btn-close" onclick="Layer.closeAll();">{:__('Close')}</button>
  76. </div>
  77. </div>
  78. </form>