diff --git a/application/index/controller/Index.php b/application/index/controller/Index.php index 95d3b0b..88b4bcf 100755 --- a/application/index/controller/Index.php +++ b/application/index/controller/Index.php @@ -230,7 +230,7 @@ class Index extends Controller $data[$k]['son']=db('activity')->where('parentid',$v['id'])->order('id asc')->select(); //获取每一期的数据 foreach ($data[$k]['son'] as $k1=>$v1){ - $data[$k]['son'][$k1]['order']=db('order')->where(['aid'=>$v1['id'],'status'=>2])->select(); + $data[$k]['son'][$k1]['order']=db('order')->where(['aid'=>$v1['id']])->select(); } } diff --git a/application/index/view/index/myorder.html b/application/index/view/index/myorder.html index 2291d6f..4b95c8f 100644 --- a/application/index/view/index/myorder.html +++ b/application/index/view/index/myorder.html @@ -22,7 +22,10 @@
手机
-
{{itemSon1.name}}
+
+ 未缴费 + 已缴费 + {{itemSon1.name}}
{{itemSon1.school}}
{{itemSon1.grade}}
{{itemSon1.money}}