Authored by lore-w

订单确认页面基础

{{> layout/simple-header}}
<div class="order-save-page yoho-page clearfix">
{{# orderSave}}
<div class="order-edit"></div>
<div class="order-pay"></div>
{{/ orderSave}}
</div>
{{> layout/footer}}
\ No newline at end of file
... ...
... ... @@ -87,4 +87,12 @@
<script>
seajs.use('js/product/hotrank');
</script>
{{/if}}
{{!-- 订单保存--}}
{{#if orderSavePage}}
<script>
seajs.use('js/order/save');
</script>
{{/if}}
\ No newline at end of file
... ...
/**
* @description: 订单保存
* @time: 2015/12/21
*/
... ...
... ... @@ -81,4 +81,4 @@ a:focus {
}
}
@import "home/index", "product/index", "guang/index", "passport/index";
@import "home/index", "product/index", "guang/index", "passport/index", "order/index";
... ...
@import "save";
\ No newline at end of file
... ...
.order-save-page {
width: 990px;
margin: 40px auto;
// 填写订单
.order-edit {
width: 100%;
}
//
.order-pay {
width: 100%;
}
}
\ No newline at end of file
... ...
<?php
use Action\AbstractAction;
class SaveController extends AbstractAction
{
/**
* 订单确认
*/
public function indexAction()
{
$data = array(
'orderSavePage' => true
);
$this->_view->display('index', $data);
}
}
\ No newline at end of file
... ...
... ... @@ -4,7 +4,7 @@ application.directory = APPLICATION_PATH "/application"
;;website library
application.library = ROOT_PATH "/library"
;;模块配置
application.modules = "Index,Product,Passport"
application.modules = "Index,Product,Passport,Order"
;;加载
application.bootstrap = APPLICATION_PATH "/application/Bootstrap.php"
;;view文件的扩展名
... ...