diff --git a/application/index/controller/Help.php b/application/index/controller/Help.php index 0078374..f7caa8f 100644 --- a/application/index/controller/Help.php +++ b/application/index/controller/Help.php @@ -9,12 +9,15 @@ namespace app\index\controller; class Help extends Base { public function index(){ - $this->display(); + return $this->fetch(); } public function pro1(){ - $this->display(); + return $this->fetch(); } public function pro2(){ - $this->display(); + return $this->fetch(); + } + public function pro3(){ + return $this->fetch(); } } \ No newline at end of file diff --git a/application/index/controller/Product.php b/application/index/controller/Product.php index 3fb7dd3..0b2d0ea 100644 --- a/application/index/controller/Product.php +++ b/application/index/controller/Product.php @@ -10,7 +10,7 @@ namespace app\index\controller; class Product extends Base { public function index(){ $this->assign('pro',config('PROVINCE')); - $this->display(); + return $this->fetch(); } public function buy(){ $data = $this->request->post(); diff --git a/application/index/controller/User.php b/application/index/controller/User.php index 204953b..72d70cc 100644 --- a/application/index/controller/User.php +++ b/application/index/controller/User.php @@ -112,7 +112,7 @@ class User extends Base { $this->success('注册成功!', url('User/index'), true); } }else{ - $this->display(); + return $this->fetch(); } } @@ -140,7 +140,7 @@ class User extends Base { $this->success('密码重置成功!', url('User/index'), true); } }else{ - $this->display(); + return $this->fetch(); } } diff --git a/application/index/view/help/pro2.html b/application/index/view/help/pro2.html index 1c318a9..b34498f 100644 --- a/application/index/view/help/pro2.html +++ b/application/index/view/help/pro2.html @@ -1,5 +1,5 @@ {extend name="help/base" /} -{block name="myContent"> +{block name="content"}

引导页

帮助用户进行先前设定。

diff --git a/application/index/view/help/pro3.html b/application/index/view/help/pro3.html index 1c318a9..b34498f 100644 --- a/application/index/view/help/pro3.html +++ b/application/index/view/help/pro3.html @@ -1,5 +1,5 @@ {extend name="help/base" /} -{block name="myContent"> +{block name="content"}

引导页

帮助用户进行先前设定。

diff --git a/application/index/view/index/index.html b/application/index/view/index/index.html index 54f3250..bebc697 100644 --- a/application/index/view/index/index.html +++ b/application/index/view/index/index.html @@ -36,7 +36,7 @@

去获取Go!Pano系列产品

- + {if condition="$proNum"}
@@ -48,31 +48,31 @@ - + {volist name="proList" id="vo"} - - + {if condition="$vo['status']"} + {if condition="$vo['type'] eq 1"} - + {elseif condition="$vo['type'] eq 2"/} - + {else /} - - + {/if} + {else/} - + {/if} - + {/volist}
{$vo['proName']}已购买 立即下载已下载 购买正式版已经购买等待审核{$vo['addTime'] | date='Y-m-d H:i:s',###}
- + {else /}

~您还没有购买过任何产品~
去获取产品

-
+ {/if}
diff --git a/application/index/view/product/index.html b/application/index/view/product/index.html index e7385fd..2bb4a21 100644 --- a/application/index/view/product/index.html +++ b/application/index/view/product/index.html @@ -226,9 +226,9 @@