wupengfei 3 years ago
parent
commit
963a58da55

+ 1 - 0
application/store/controller/IntegralGoods.php

@@ -157,6 +157,7 @@ class IntegralGoods extends Controller
                 $goods_spec[$i]['price']        = $data['price'][$i]  >0  ? $data['price'][$i] :0;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ['price'][$i]  >0  ? $data['price'][$i] :0 ;
                 $goods_spec[$i]['integral']     = $data['integral'][$i]  >0  ? $data['integral'][$i] :0;                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ['price'][$i]  >0  ? $data['price'][$i] :0 ;
                 $goods_spec[$i]['sell_money']   = $data['sell_money'][$i] >0  ? $data['sell_money'][$i] : 0;
+                $goods_spec[$i]['seckill_money']  = $data['seckill_money'][$i] >0  ? $data['seckill_money'][$i] : 0;
                 $goods_spec[$i]['spec_exp']     = '';
                 $goods_spec[$i]['spec_key']     = '';
                 $total_num +=$goods_spec[$i]['store_num'] ;

+ 2 - 5
application/store/view/goods/form.html

@@ -221,9 +221,6 @@
                             <div class="layui-form-mid layui-word-aux">不填(或0)表示包邮</div>
                         </div>
 
-                    </div>
-
-
                     <div class="layui-form-item" >
                         <label class="layui-form-label">详情</label>
                         <div class="layui-input-block">
@@ -235,10 +232,10 @@
                         <span class="layui-btn" type='submit' id ="submit">保 存</span>
                         <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定取消编辑吗?" data-close>取消编辑</button>
                     </div>
-                </div>
-            </div>
+
         </div>
     </form>
+
 </div>
 <script src="/static/plugs/layui/layui.all.js" charset="utf-8"></script>
 <script>

+ 2 - 6
application/store/view/integral_goods/index.html

@@ -19,8 +19,7 @@
             </th>
             <th class='text-left nowrap'>商品名称</th>
             <th class='text-left nowrap'>封面</th>
-            <th class='text-left nowrap'>视频</th>
-            <th class='text-left nowrap'>售价(元)</th>
+            <th class='text-left nowrap'>积分</th>
             <th class="text-center">添加时间</th>
             <th class="text-center">操作</th>
         </tr>
@@ -42,12 +41,9 @@
             <td class='text-left nowrap'>
                 <img data-tips-image="{$vo.cover|default=''}"  src="{$vo.cover|default=''}" width="50px">
             </td>
-            <td class='text-left nowrap'>
-                <img  class="video_player"  alert="点击播放" src="{$vo.poster|default=''}" data-src="{$vo.video|default=''}" style="max-height: 100px;max-width: 150px" ></img>
-            </td>
 
             <td class='text-left nowrap'>
-                {$vo.floor_price|default=''}
+                {$vo.integral|default=''}
             </td>
 
             <td class='text-center nowrap'>{$vo.create_at|format_datetime}</td>