wupengfei 3 years ago
parent
commit
5bcc47042e
1 changed files with 29 additions and 27 deletions
  1. 29 27
      application/market/view/goods/form.html

+ 29 - 27
application/market/view/goods/form.html

@@ -4,33 +4,35 @@
         height: 60%;
     }
 </style>
-<div class="layui-input-block">
-    <table class="layui-table margin-top-10" lay-skin="line">
-        <thead>
-        <tr>
-            <th class='text-left nowrap'>名称</th>
-            <th class='text-left nowrap'>图片</th>
-            <th class='text-left nowrap'>数量</th>
-            <th class='text-left nowrap'>圆币</th>
-        </tr>
-        </thead>
-        <tbody class="no_html">
-        {foreach :json_decode($vo.pro_info,true) as $sk=>$sv}
-        <tr class="no_detail">
-            <td class='text-left nowrap'>
-                <input class='layui-input' readonly style="background-color: #e6e6e6" value="{$sv['case_name']}"/>
-            </td>
-            <td class='text-left nowrap'><img  src="{$vo.case_cover|default=''}" width="30px"></td>
-            <td class='text-left nowrap'>
-                <input class='layui-input'  readonly style="background-color: #e6e6e6" value="{$sv['num']}"/>
-            </td>
-            <td class='text-left nowrap'>
-                <input class='layui-input'  readonly style="background-color: #e6e6e6" value="{$sv['crystal']}"/>
-            </td>
-        </tr>
-        {/foreach}
-        </tbody>
-    </table>
+<div class="layui-card-body">
+    <div class="layui-input-block">
+        <table class="layui-table margin-top-10" lay-skin="line">
+            <thead>
+            <tr>
+                <th class='text-left nowrap'>名称</th>
+                <th class='text-left nowrap'>图片</th>
+                <th class='text-left nowrap'>数量</th>
+                <th class='text-left nowrap'>圆币</th>
+            </tr>
+            </thead>
+            <tbody class="no_html">
+            {foreach :json_decode($vo.pro_info,true) as $sk=>$sv}
+            <tr class="no_detail">
+                <td class='text-left nowrap'>
+                    <input class='layui-input' readonly style="background-color: #e6e6e6" value="{$sv['case_name']}"/>
+                </td>
+                <td class='text-left nowrap'><img  src="{$vo.case_cover|default=''}" width="30px"></td>
+                <td class='text-left nowrap'>
+                    <input class='layui-input'  readonly style="background-color: #e6e6e6" value="{$sv['num']}"/>
+                </td>
+                <td class='text-left nowrap'>
+                    <input class='layui-input'  readonly style="background-color: #e6e6e6" value="{$sv['crystal']}"/>
+                </td>
+            </tr>
+            {/foreach}
+            </tbody>
+        </table>
+    </div>
 </div>
 
 <script>