Commit 16bca052f04c31d9e05699e5673736c94e73551b

Authored by teemitop
1 parent 3018723e

PC展示问题

@@ -138,7 +138,7 @@ class Package extends Common @@ -138,7 +138,7 @@ class Package extends Common
138 } 138 }
139 139
140 /** 140 /**
141 - * 优惠券-卡券详情 141 + * 套餐详情
142 */ 142 */
143 public function footsetdetail(){ 143 public function footsetdetail(){
144 //print_r(Request::except('file'));die; 144 //print_r(Request::except('file'));die;
@@ -150,17 +150,6 @@ class Package extends Common @@ -150,17 +150,6 @@ class Package extends Common
150 `xt-member-two-LINE`.xt_dc_dz_seller_food_set 150 `xt-member-two-LINE`.xt_dc_dz_seller_food_set
151 WHERE id = ".$data['id']." 151 WHERE id = ".$data['id']."
152 "); 152 ");
153 - switch ($rs[0]['status']) {  
154 - case '0':  
155 - $rs[0]['status'] = '已上架';  
156 - break;  
157 - case '1':  
158 - $rs[0]['status'] = '已下架';  
159 - break;  
160 - default:  
161 - # code...  
162 - break;  
163 - }  
164 $rs[0]['eff_time_end'] = $rs[0]['eff_time_end'] ? date("Y年m月d日",$rs[0]['eff_time_end']) : ''; 153 $rs[0]['eff_time_end'] = $rs[0]['eff_time_end'] ? date("Y年m月d日",$rs[0]['eff_time_end']) : '';
165 $rs[0]['eff_time_start'] = $rs[0]['eff_time_start'] ? date("Y年m月d日",$rs[0]['eff_time_start']) : ''; 154 $rs[0]['eff_time_start'] = $rs[0]['eff_time_start'] ? date("Y年m月d日",$rs[0]['eff_time_start']) : '';
166 $rs[0]['lasttime'] = $rs[0]['lasttime'] ? date("Y年m月d日",$rs[0]['lasttime']) : ''; 155 $rs[0]['lasttime'] = $rs[0]['lasttime'] ? date("Y年m月d日",$rs[0]['lasttime']) : '';
@@ -88,8 +88,8 @@ @@ -88,8 +88,8 @@
88 <div class="layui-inline"> 88 <div class="layui-inline">
89 <label class="layui-form-label">是否上架</label> 89 <label class="layui-form-label">是否上架</label>
90 <div class="layui-input-block"> 90 <div class="layui-input-block">
91 - <input type="radio" name="status" value="1" lay-skin="primary" title="是" {if $rs.total_limit eq 1} checked=""{/if}>  
92 - <input type="radio" name="status" value="0" lay-skin="primary" title="否" {if $rs.total_limit eq 0} checked=""{/if}> 91 + <input type="radio" name="status" value="1" lay-skin="primary" title="是" {if $rs.status eq 1} checked=""{/if}>
  92 + <input type="radio" name="status" value="0" lay-skin="primary" title="否" {if $rs.status eq 0} checked=""{/if}>
93 </div> 93 </div>
94 </div> 94 </div>
95 </div> 95 </div>