Commit 16bca052f04c31d9e05699e5673736c94e73551b

Authored by teemitop
1 parent 3018723e

PC展示问题

... ... @@ -138,7 +138,7 @@ class Package extends Common
}
/**
* 优惠券-卡券详情
* 套餐详情
*/
public function footsetdetail(){
//print_r(Request::except('file'));die;
... ... @@ -150,17 +150,6 @@ class Package extends Common
`xt-member-two-LINE`.xt_dc_dz_seller_food_set
WHERE id = ".$data['id']."
");
switch ($rs[0]['status']) {
case '0':
$rs[0]['status'] = '已上架';
break;
case '1':
$rs[0]['status'] = '已下架';
break;
default:
# code...
break;
}
$rs[0]['eff_time_end'] = $rs[0]['eff_time_end'] ? date("Y年m月d日",$rs[0]['eff_time_end']) : '';
$rs[0]['eff_time_start'] = $rs[0]['eff_time_start'] ? date("Y年m月d日",$rs[0]['eff_time_start']) : '';
$rs[0]['lasttime'] = $rs[0]['lasttime'] ? date("Y年m月d日",$rs[0]['lasttime']) : '';
... ...
... ... @@ -88,8 +88,8 @@
<div class="layui-inline">
<label class="layui-form-label">是否上架</label>
<div class="layui-input-block">
<input type="radio" name="status" value="1" lay-skin="primary" title="是" {if $rs.total_limit eq 1} checked=""{/if}>
<input type="radio" name="status" value="0" lay-skin="primary" title="否" {if $rs.total_limit eq 0} checked=""{/if}>
<input type="radio" name="status" value="1" lay-skin="primary" title="是" {if $rs.status eq 1} checked=""{/if}>
<input type="radio" name="status" value="0" lay-skin="primary" title="否" {if $rs.status eq 0} checked=""{/if}>
</div>
</div>
</div>
... ...