From 13a4a48c1d71802102386e9b0f31dcbff1321f21 Mon Sep 17 00:00:00 2001 From: zhengchanglong Date: Wed, 25 Sep 2019 18:10:23 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B6=85=E7=BA=A7=E7=AD=BEH5=E6=97=A0=E8=AE=A2?= =?UTF-8?q?=E5=8D=95=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Mobile/Controller/SsgController.class.php | 2 +- Application/Mobile/View/Ssg/order.html | 48 ++++++++++-------- Public/Mobile/images/ssg/no-order.png | Bin 0 -> 3508 bytes 3 files changed, 29 insertions(+), 21 deletions(-) create mode 100644 Public/Mobile/images/ssg/no-order.png diff --git a/Application/Mobile/Controller/SsgController.class.php b/Application/Mobile/Controller/SsgController.class.php index 3369a77d2..9432f4630 100644 --- a/Application/Mobile/Controller/SsgController.class.php +++ b/Application/Mobile/Controller/SsgController.class.php @@ -108,7 +108,7 @@ class SsgController extends BaseController { } - $order_list = M("game_supersign a","tab_")->field("a.order_id, b.game_name, b.icon, b.id as game_id, a.pay_status, a.user_id")->join("tab_game b on a.game_id=b.id")->where(array( + $order_list = M("game_supersign a","tab_")->field("a.order_id, b.game_name, b.icon, b.id as game_id, a.pay_status, a.user_id")->join("left join tab_game b on a.game_id=b.id")->where(array( 'a.user_id' => $user['user_id'], ))->order("a.id")->select(); // pp($order_list); diff --git a/Application/Mobile/View/Ssg/order.html b/Application/Mobile/View/Ssg/order.html index 5a13ef474..f98a4119e 100644 --- a/Application/Mobile/View/Ssg/order.html +++ b/Application/Mobile/View/Ssg/order.html @@ -11,6 +11,10 @@ .order-search li dl .order-status{ background-image: url("__IMG__/ssg/order-status.png"); } + .order-search .no-order{ + background-image: url("__IMG__/ssg/no-order.png"); + } + @@ -19,26 +23,30 @@ 订单查询