From b859b6311431b65f39bad45bb90ac80d115fa314 Mon Sep 17 00:00:00 2001 From: devil_gong Date: Tue, 25 Sep 2018 18:50:24 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=A2=E5=8D=95=E7=A1=AE=E8=AE=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Home/Controller/BuyController.class.php | 20 ++++++++ .../Home/View/Default/Buy/Index.html | 20 +++++--- service/Public/Common/Css/Common.css | 5 +- service/Public/Common/Js/Common.js | 21 +++++++-- service/Public/Home/Default/Css/Buy.css | 10 ++-- service/Public/Home/Default/Css/Common.css | 1 + service/Public/Home/Default/Js/Buy.js | 46 +++++++++++++++++++ service/Public/Home/Default/Js/Goods.js | 18 ++++---- 8 files changed, 116 insertions(+), 25 deletions(-) diff --git a/service/Application/Home/Controller/BuyController.class.php b/service/Application/Home/Controller/BuyController.class.php index acd9bcf2d..e2e3ea63e 100644 --- a/service/Application/Home/Controller/BuyController.class.php +++ b/service/Application/Home/Controller/BuyController.class.php @@ -79,6 +79,7 @@ class BuyController extends CommonController $this->assign('base', $base); $this->assign('goods_list', $ret['data']); + $this->assign('params', $params); $this->display('Index'); } else { $this->assign('msg', isset($ret['msg']) ? $ret['msg'] : L('common_param_error')); @@ -89,5 +90,24 @@ class BuyController extends CommonController $this->display('/Public/TipsError'); } } + + /** + * 订单添加 + * @author Devil + * @blog http://gong.gg/ + * @version 1.0.0 + * @date 2018-09-25 + * @desc description + */ + public function Add() + { + if(IS_POST) + { + print_r($_POST); + } else { + $this->assign('msg', L('common_unauthorized_access')); + $this->display('/Public/TipsError'); + } + } } ?> \ No newline at end of file diff --git a/service/Application/Home/View/Default/Buy/Index.html b/service/Application/Home/View/Default/Buy/Index.html index e3de1d3c4..8851fdc58 100644 --- a/service/Application/Home/View/Default/Buy/Index.html +++ b/service/Application/Home/View/Default/Buy/Index.html @@ -27,7 +27,7 @@