接口修改15
This commit is contained in:
parent
8eb1087997
commit
29629e840a
@ -18,7 +18,7 @@ class StoreProduct extends Model
|
||||
{
|
||||
$rows = empty($param['limit']) ? get_config('app . page_size') : $param['limit'];
|
||||
$order = empty($param['order']) ? 'product_id desc' : $param['order'];
|
||||
$list = self::where($where)->field('product_id,mer_id,store_name,store_info,keyword,brand_id,cate_id,unit_name,sort,sales,price,cost,ot_price,stock,is_hot,is_benefit,temp_id,spec_type,image,slider_image,once_max_count,once_min_count,integral_rate,integral_total,integral_price_total,labels,delivery_free,type,extend,pay_limit,svip_price_type,svip_price,mer_svip_status,param_temp_id')->order($order)->paginate($rows, false, ['query' => $param]);
|
||||
$list = self::where($where)->order($order)->paginate($rows, false, ['query' => $param]);
|
||||
return $list;
|
||||
}
|
||||
|
||||
|
@ -68,10 +68,10 @@
|
||||
<td>
|
||||
<div class="layui-upload">
|
||||
<button type="button" class="layui-btn layui-btn-sm" id="upload_btn_thumb">
|
||||
上传缩略图(尺寸:428x270)
|
||||
上传缩略图(尺寸:750x750)
|
||||
</button>
|
||||
<div class="layui-upload-list" id="upload_box_thumb"
|
||||
style="width: 428px; height:270px; overflow: hidden;">
|
||||
style=" overflow: hidden;">
|
||||
<img src=""
|
||||
onerror="javascript:this.src='{__GOUGU__}/gougu/images/nonepic600x360.jpg';this.onerror=null;"
|
||||
width="100" style="max-width: 100%; height:66px;"/>
|
||||
@ -90,7 +90,7 @@
|
||||
</button>
|
||||
|
||||
<div class="layui-upload-list" id="upload_box_thumb2"
|
||||
style="width: 428px; height:270px; overflow: hidden;">
|
||||
style="overflow: hidden;">
|
||||
<input type="hidden" name="slider_image" value="">
|
||||
</div>
|
||||
</div>
|
||||
|
@ -67,10 +67,10 @@
|
||||
<td>
|
||||
<div class="layui-upload">
|
||||
<button type="button" class="layui-btn layui-btn-sm" id="upload_btn_thumb">
|
||||
上传缩略图(尺寸:428x270)
|
||||
上传缩略图(尺寸:750x750)
|
||||
</button>
|
||||
<div class="layui-upload-list" id="upload_box_thumb"
|
||||
style="width: 428px; height:270px; overflow: hidden;">
|
||||
style=" overflow: hidden;">
|
||||
<img src="{$detail.image}"
|
||||
onerror="javascript:this.src='{__GOUGU__}/gougu/images/nonepic600x360.jpg';this.onerror=null;"
|
||||
width="100" style="max-width: 100%; height:66px;"/>
|
||||
@ -85,10 +85,10 @@
|
||||
<td>
|
||||
<div class="layui-upload">
|
||||
<button type="button" class="layui-btn layui-btn-sm" id="upload_btn_thumb2">
|
||||
上传缩略图(尺寸:428x270)
|
||||
上传缩略图(尺寸:750x750)
|
||||
</button>
|
||||
<div class="layui-upload-list" id="upload_box_thumb2"
|
||||
style="width: 428px; height:270px; overflow: hidden;">
|
||||
style=" overflow: hidden;">
|
||||
{volist name='detail.slider_image_arr' id='vo'}
|
||||
{if $vo}
|
||||
<img src="{$vo}"
|
||||
|
@ -64,7 +64,7 @@
|
||||
<!-- 上传缩略图(尺寸:428x270)-->
|
||||
<!-- </button>-->
|
||||
<div class="layui-upload-list" id="upload_box_thumb"
|
||||
style="width: 428px; height:270px; overflow: hidden;">
|
||||
style="overflow: hidden;">
|
||||
<img src="{$detail.image}"
|
||||
onerror="javascript:this.src='{__GOUGU__}/gougu/images/nonepic600x360.jpg';this.onerror=null;"
|
||||
width="100" style="max-width: 100%; height:66px;"/>
|
||||
@ -82,7 +82,7 @@
|
||||
<!-- 上传缩略图(尺寸:428x270)-->
|
||||
<!-- </button>-->
|
||||
<div class="layui-upload-list" id="upload_box_thumb2"
|
||||
style="width: 428px; height:270px; overflow: hidden;">
|
||||
style="overflow: hidden;">
|
||||
{volist name='detail.slider_image_arr' id='vo'}
|
||||
{if $vo}
|
||||
<img src="{$vo}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user