diff --git a/home/controllers/h5/market/sylive/Biz.php b/home/controllers/h5/market/sylive/Biz.php index 0013d498..745feb5a 100644 --- a/home/controllers/h5/market/sylive/Biz.php +++ b/home/controllers/h5/market/sylive/Biz.php @@ -276,7 +276,6 @@ class Biz extends Admin { $pay_status = 1; $url = '/h5/market/sylive/act?skey='.$skey; $stat_url = '/h5/market/sylive/stic?skey='.$skey; - $text_cn = ''; if($way==2 && in_array($this->group_id,[2,3])){ $where = [ 'activityId' => $val['activityId'], @@ -294,10 +293,8 @@ class Biz extends Admin { $pay_status = 0; if($this->group_id==3){ $url = $stat_url = ''; - $text_cn = '请联系店长'; }else{ $url = $stat_url = '/h5/market/sylive/biz/pay?skey='.$skey; - $text_cn = '开通'; } } } @@ -309,7 +306,6 @@ class Biz extends Admin { 'stat_url' => $stat_url, 'state' => $state, 'pay_status' => $pay_status, - 'text_cn' => $text_cn ]; $lists[] = $temp; } diff --git a/home/views/h5/market/sylive/biz/index.php b/home/views/h5/market/sylive/biz/index.php index 1a668f0f..2c9ea8c0 100644 --- a/home/views/h5/market/sylive/biz/index.php +++ b/home/views/h5/market/sylive/biz/index.php @@ -22,15 +22,15 @@
- {{item.title}} - + {{item.title}} +
数据
- + {{item.time}} - {{item.text_cn}} - + 开通 +
@@ -129,6 +129,17 @@ } },'json') }, + gourl(url){ + if(url){ + window.location = url + }else{ + mDialog.msg({ + duration: 250, + pause: 2000, + content: '请联系管理员', + }); + } + } }, })