index.html 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. <style type="text/css">
  2. .n-default .msg-wrap{
  3. top:3px;
  4. right: 24px;
  5. z-index:33;
  6. }
  7. .rec_ul{
  8. display: block;
  9. overflow: hidden;
  10. list-style: none;
  11. margin: 0;
  12. padding: 0;
  13. width: 600px;
  14. }
  15. .rec_ul li{
  16. float: left;
  17. overflow: hidden;
  18. display: inline;
  19. margin: 10px;
  20. width: 260px;
  21. border-radius: 3px;
  22. }
  23. .recl_tit{
  24. position: absolute;
  25. right: 0;
  26. bottom: 6px;
  27. padding: 0 10px;
  28. height: 22px;
  29. background-color: #f2f2f2;
  30. font-size: 14px;
  31. font-weight: bold;
  32. color: #333333;
  33. line-height: 22px;
  34. border-radius: 22px 0 0 22px;
  35. }
  36. .recl_info{
  37. overflow: hidden;
  38. }
  39. .recl_box{
  40. margin: 20px auto 0;
  41. padding: 8px 0 0 13px;
  42. position: relative;
  43. left: 0;
  44. top: 0;
  45. height: 70px;
  46. background-color: #ffffff;
  47. border: 1px solid #dcdcdc;
  48. box-sizing: border-box;
  49. }
  50. .recl_mark{
  51. overflow: hidden;
  52. padding: 0 9px;
  53. position: absolute;
  54. top: 13px;
  55. right: 0;
  56. height: 22px;
  57. background-color: #fa2a2d;
  58. border-radius: 22px 0 0 22px;
  59. font-size: 12px;
  60. color: #ffffff;
  61. line-height: 22px;
  62. }
  63. .recl_money{
  64. height: 32px;
  65. font-size: 22px;
  66. color: #3a4a5a;
  67. text-align: left;
  68. line-height: 32px;
  69. }
  70. .recl_des{
  71. overflow: hidden;
  72. height: 22px;
  73. text-align: left;
  74. font-size: 0;
  75. white-space: nowrap;
  76. }
  77. .recl_des strong,
  78. .recl_des span{
  79. display: inline-block;
  80. height: 22px;
  81. font-size: 14px;
  82. font-weight: normal;
  83. line-height: 22px;
  84. }
  85. .recl_des strong{
  86. color: #3a4a5a;
  87. }
  88. .recl_des span{
  89. color: #fa2a2d;
  90. }
  91. .recl_operate{
  92. text-align: right;
  93. }
  94. .js_add_goods{
  95. margin-right: 13px;
  96. height: 48px;
  97. font-size: 40px;
  98. color: #ccc;
  99. text-align: center;
  100. line-height: 48px;
  101. }
  102. .js_goods_item{
  103. border: 1px solid #fff;
  104. }
  105. .js_goods_item.js_goods_border {
  106. border: 1px solid blue;
  107. }
  108. </style>
  109. <div class="panel panel-default panel-intro">
  110. <div class="panel-body">
  111. <div class="btn-group btn-group-lg" style="margin-bottom:15px;">
  112. <a href="{:url('admin/defaultcustomgoods/index')}?addtabs=1&business_line=0" class="btn btn-default {if isset($business_line) && $business_line == '0'}active{/if}">自定义商品</a>
  113. {if condition="$show_app_set == true"}
  114. <a href="{:url('admin/defaultcustomgoods/index')}?addtabs=1&business_line=1" class="btn btn-default {if isset($business_line) && $business_line == '1'}active{/if}">APP自定义商品</a>
  115. {/if}
  116. </div>
  117. <div class="panel panel-default">
  118. <div class="panel-heading">
  119. <h3 class="panel-title">商品设置</h3>
  120. </div>
  121. <div class="panel-body">
  122. <form role="form" class="form-horizontal nice-validator n-default" method="post">
  123. <input type="hidden" name="row[fun]" value="custom_goods">
  124. <input type="hidden" name="row[business_line]" value="{$business_line}">
  125. <div>
  126. <ul class="rec_ul js_goods_list">
  127. <li class="js_goods_item js_add_goods_item">
  128. <div class="recl_info">
  129. <div class="recl_box">
  130. <div class="js_add_goods">+</div>
  131. </div>
  132. </div>
  133. </li>
  134. </ul>
  135. </div>
  136. <div class="form-group">
  137. <div class="col-sm-offset-4 col-sm-4">
  138. <button type="submit" class="btn btn-default">提交</button>
  139. </div>
  140. </div>
  141. </form>
  142. </div>
  143. </div>
  144. </div>
  145. </div>