diff --git a/app/Http/Controllers/Weixin/CartController.php b/app/Http/Controllers/Weixin/CartController.php new file mode 100644 index 0000000..9c1d0f4 --- /dev/null +++ b/app/Http/Controllers/Weixin/CartController.php @@ -0,0 +1,38 @@ +input('typeid', '') != ''){$data['typeid'] = $request->input('typeid');} + if($request->input('tuijian', '') != ''){$data['tuijian'] = $request->input('tuijian');} + if($request->input('keyword', '') != ''){$data['keyword'] = $request->input('keyword');} + if($request->input('status', '') != ''){$data['status'] = $request->input('status');} + if($request->input('is_promote', '') != ''){$data['is_promote'] = $request->input('is_promote');} + if($request->input('orderby', '') != ''){$data['orderby'] = $request->input('orderby');} + if($request->input('max_price', '') != ''){$data['max_price'] = $request->input('max_price');}else{$data['max_price'] = 99999;} + if($request->input('min_price', '') != ''){$data['min_price'] = $request->input('min_price');}else{$data['min_price'] = 0;} + + //商品列表 + $postdata = array( + 'limit' => 10, + 'offset' => 0 + ); + $url = env('APP_API_URL')."/goods_list"; + $goods_list = curl_request($url,$postdata,'GET'); + $data['goods_list'] = $goods_list['data']['list']; + + return view('weixin.cart.index', $data); + } + +} \ No newline at end of file diff --git a/app/Http/Controllers/Weixin/UserController.php b/app/Http/Controllers/Weixin/UserController.php new file mode 100644 index 0000000..6638239 --- /dev/null +++ b/app/Http/Controllers/Weixin/UserController.php @@ -0,0 +1,61 @@ +input('typeid', '') != ''){$data['typeid'] = $request->input('typeid');} + if($request->input('tuijian', '') != ''){$data['tuijian'] = $request->input('tuijian');} + if($request->input('keyword', '') != ''){$data['keyword'] = $request->input('keyword');} + if($request->input('status', '') != ''){$data['status'] = $request->input('status');} + if($request->input('is_promote', '') != ''){$data['is_promote'] = $request->input('is_promote');} + if($request->input('orderby', '') != ''){$data['orderby'] = $request->input('orderby');} + if($request->input('max_price', '') != ''){$data['max_price'] = $request->input('max_price');}else{$data['max_price'] = 99999;} + if($request->input('min_price', '') != ''){$data['min_price'] = $request->input('min_price');}else{$data['min_price'] = 0;} + + //商品列表 + $postdata = array( + 'limit' => 10, + 'offset' => 0 + ); + $url = env('APP_API_URL')."/goods_list"; + $goods_list = curl_request($url,$postdata,'GET'); + $data['goods_list'] = $goods_list['data']['list']; + + return view('weixin.user.index', $data); + } + + //浏览记录 + public function userGoodsHistory(Request $request) + { + if($request->input('typeid', '') != ''){$data['typeid'] = $request->input('typeid');} + if($request->input('tuijian', '') != ''){$data['tuijian'] = $request->input('tuijian');} + if($request->input('keyword', '') != ''){$data['keyword'] = $request->input('keyword');} + if($request->input('status', '') != ''){$data['status'] = $request->input('status');} + if($request->input('is_promote', '') != ''){$data['is_promote'] = $request->input('is_promote');} + if($request->input('orderby', '') != ''){$data['orderby'] = $request->input('orderby');} + if($request->input('max_price', '') != ''){$data['max_price'] = $request->input('max_price');}else{$data['max_price'] = 99999;} + if($request->input('min_price', '') != ''){$data['min_price'] = $request->input('min_price');}else{$data['min_price'] = 0;} + + //商品列表 + $postdata = array( + 'limit' => 10, + 'offset' => 0 + ); + $url = env('APP_API_URL')."/goods_list"; + $goods_list = curl_request($url,$postdata,'GET'); + $data['goods_list'] = $goods_list['data']['list']; + + return view('weixin.user.userGoodsHistory', $data); + } +} \ No newline at end of file diff --git a/app/Http/Model/UserGoodsHistory.php b/app/Http/Model/UserGoodsHistory.php new file mode 100644 index 0000000..77057ed --- /dev/null +++ b/app/Http/Model/UserGoodsHistory.php @@ -0,0 +1,100 @@ +where($where);} + + $res['count'] = $model->count(); + $res['list'] = array(); + + if($res['count']>0) + { + $res['list'] = $model->skip($offset)->take($limit)->orderBy('id','desc')->get(); + } + else + { + return false; + } + + return $res; + } + + public static function getOne(array $param) + { + extract($param); //参数 + + $where['id'] = $id; + + return self::where($where)->first(); + } + + public static function add(array $data) + { + if (!self::where($data)->first()) + { + $data['add_time'] = time(); + + return self::insertGetId($data); + } + + return false; + } + + public static function modify($where, array $data) + { + if (self::where($where)->update($data) !== false) + { + return true; + } + + return false; + } + + //删除一条记录 + public static function remove($id) + { + if (self::whereIn('id', explode(',', $id))->delete() === false) + { + return false; + } + + return true; + } + + //清空我的足迹 + public static function clear($user_id) + { + if (self::where('user_id',$user_id)->delete() === false) + { + return false; + } + + return true; + } +} \ No newline at end of file diff --git a/resources/views/home2/404.blade.php b/resources/views/home2/404.blade.php deleted file mode 100644 index cf6e77b..0000000 --- a/resources/views/home2/404.blade.php +++ /dev/null @@ -1,20 +0,0 @@ - - -您访问的页面不存在或已被删除! - - -
-

:(

-

您访问的页面不存在或已被删除!

-

返回首页

-
- \ No newline at end of file diff --git a/resources/views/home2/common/footer.blade.php b/resources/views/home2/common/footer.blade.php deleted file mode 100644 index 93bcd7b..0000000 --- a/resources/views/home2/common/footer.blade.php +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/resources/views/home2/common/header.blade.php b/resources/views/home2/common/header.blade.php deleted file mode 100644 index e2b532b..0000000 --- a/resources/views/home2/common/header.blade.php +++ /dev/null @@ -1,5 +0,0 @@ - \ No newline at end of file diff --git a/resources/views/home2/index/category.blade.php b/resources/views/home2/index/category.blade.php deleted file mode 100644 index c608b8b..0000000 --- a/resources/views/home2/index/category.blade.php +++ /dev/null @@ -1,62 +0,0 @@ - -<?php echo $post['seotitle'];if($page!=0){echo ' '.($page+1);} ?>" />" /> -@include('home.common.header')
- -

'.$post['content'].'
';} ?>
- -
$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?> -$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>" target="_blank">

..

-
人阅读
- -
- -
-

热门文章

换一换
-
- -
-

猜你喜欢

换一换
-
5,"typeid"=>$post['id'],"orderby"=>'rand()'));if($posts){foreach($posts as $row){ ?>
$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>">
'.$row['writer'].'';}elseif(!empty($row['source'])){echo ''.$row['source'].'';} ?> 阅读()
- -
- -@include('home.common.footer') \ No newline at end of file diff --git a/resources/views/home2/index/category2.blade.php b/resources/views/home2/index/category2.blade.php deleted file mode 100644 index 82dd7f2..0000000 --- a/resources/views/home2/index/category2.blade.php +++ /dev/null @@ -1,57 +0,0 @@ - -<?php echo $post['seotitle'];if($page!=0){echo ' '.($page+1);} ?>" />" /> -@include('home.common.header')
- -

-
- -
-

热门文章

换一换
-
- -
-

猜你喜欢

换一换
-
5,"typeid"=>$post['id'],"orderby"=>'rand()'));if($posts){foreach($posts as $row){ ?>
$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>">
'.$row['writer'].'';}elseif(!empty($row['source'])){echo ''.$row['source'].'';} ?> 阅读()
- -
- -@include('home.common.footer') \ No newline at end of file diff --git a/resources/views/home2/index/detail.blade.php b/resources/views/home2/index/detail.blade.php deleted file mode 100644 index 597a25d..0000000 --- a/resources/views/home2/index/detail.blade.php +++ /dev/null @@ -1,60 +0,0 @@ - -<?php if(!empty($post['seotitle'])){echo $post['seotitle'];}elseif(!empty($post['writer'])){echo $post['writertitle'].'_'.sysconfig('CMS_WEBNAME');}else{echo $post['title'].'_'.sysconfig('CMS_WEBNAME');} ?>" />" /> -@include('home.common.header')
- -
-

'.$post['writer'].' '; } ?> '.$post['source'].' '; ?>阅读: 关键词:
-
- -
-

近期文章

换一换
-
- -
-

猜你喜欢

换一换
-
5,"typeid"=>$post['typeid'],"orderby"=>'rand()'));foreach($posts as $row){ ?>
$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>">
'.$row['writer'].'';}elseif(!empty($row['source'])){echo ''.$row['source'].'';} ?> 阅读()
- -
- -@include('home.common.footer') \ No newline at end of file diff --git a/resources/views/home2/index/index.blade.php b/resources/views/home2/index/index.blade.php deleted file mode 100644 index a2de25c..0000000 --- a/resources/views/home2/index/index.blade.php +++ /dev/null @@ -1,66 +0,0 @@ - -<?php echo sysconfig('CMS_SEOTITLE'); ?> -@include('home.common.header')
- -
-11,"tuijian"=>array('<>',1)));foreach($posts as $row){ ?>
$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?> -$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>" target="_blank">

..

-
'.$row['writer'].''; }elseif(!empty($row['source'])){ echo ''.$row['source'].''; } ?>人阅读
- -
- -
- -

文章排行

换一换
-
- -

猜你喜欢

换一换
-
5,"orderby"=>'rand()'));foreach($posts as $row){ ?>
$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>">
'.$row['writer'].'';}elseif(!empty($row['source'])){echo ''.$row['source'].'';} ?> 阅读()
- -
- -
友情链接
-
5));foreach($posts as $row){ ?>webname; ?>
- -
- -@include('home.common.footer') \ No newline at end of file diff --git a/resources/views/home2/index/login.blade.php b/resources/views/home2/index/login.blade.php deleted file mode 100644 index c44253f..0000000 --- a/resources/views/home2/index/login.blade.php +++ /dev/null @@ -1,171 +0,0 @@ - -后台登录 - - -
-
-
-
-
-

后台登录

-

请输入您的用户名、密码:

-
-
- -
-
-
- -
-
-
-
- - \ No newline at end of file diff --git a/resources/views/home2/index/page.blade.php b/resources/views/home2/index/page.blade.php deleted file mode 100644 index d23563a..0000000 --- a/resources/views/home2/index/page.blade.php +++ /dev/null @@ -1,8 +0,0 @@ - -<?php if(empty($post["seotitle"])){echo $post["title"];}else{echo $post["seotitle"];} ?>_<?php echo sysconfig('CMS_WEBNAME'); ?>" />" /> -@include('home.common.header')
- -
-

-
-
@include('home.common.footer') \ No newline at end of file diff --git a/resources/views/home2/index/search.blade.php b/resources/views/home2/index/search.blade.php deleted file mode 100644 index d237f24..0000000 --- a/resources/views/home2/index/search.blade.php +++ /dev/null @@ -1,35 +0,0 @@ - - -搜索结果_<?php echo sysconfig('CMS_WEBNAME'); ?> - - -@include('home.common.header') -
- -
- -
-
>
-

搜索结果

- -
$row['id'],"catid"=>$row['typeid'],"type"=>'content')).'">'.$row[';} ?> -$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>" target="_blank">

-
- -
- -
- - -
- -
-@include('home.common.footer') \ No newline at end of file diff --git a/resources/views/home2/index/sitemap.blade.php b/resources/views/home2/index/sitemap.blade.php deleted file mode 100644 index 08412f8..0000000 --- a/resources/views/home2/index/sitemap.blade.php +++ /dev/null @@ -1,9 +0,0 @@ - - -/daily1.0 -/contact.html -300));foreach($posts as $row){ ?>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>monthly -100,"orderby"=>'rand()'));foreach($posts as $row){ ?>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>monthly - -$row['id'],"type"=>'list')); ?> - \ No newline at end of file diff --git a/resources/views/home2/index/tag.blade.php b/resources/views/home2/index/tag.blade.php deleted file mode 100644 index 2d3b5a6..0000000 --- a/resources/views/home2/index/tag.blade.php +++ /dev/null @@ -1,62 +0,0 @@ - -<?php if(empty($post["title"])){echo $post["tag"];}else{echo $post["title"];}if($page!=0){echo ' '.($page+1);} ?>" />" /> -@include('home.common.header')
- -

'.$post['content'].'
';} ?>
- -
$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?> -$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>" target="_blank">

..

-
人阅读
- -
- -
-

相关推荐

换一换
-
- -
-

猜你喜欢

换一换
-
5,"orderby"=>'rand()'));foreach($posts as $row){ ?>
$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>">
'.$row['writer'].'';}elseif(!empty($row['source'])){echo ''.$row['source'].'';} ?> 阅读()
- -
- -@include('home.common.footer') \ No newline at end of file diff --git a/resources/views/home2/index/tag2.blade.php b/resources/views/home2/index/tag2.blade.php deleted file mode 100644 index 419bdeb..0000000 --- a/resources/views/home2/index/tag2.blade.php +++ /dev/null @@ -1,58 +0,0 @@ - -<?php if(empty($post["title"])){echo $post["tag"];}else{echo $post["title"];}if($page!=0){echo ' '.($page+1);} ?>" />" /> -@include('home.common.header')
- -

'.$post['content'].'
';} ?>
- -

- -
-

相关推荐

换一换
-
- -
-

猜你喜欢

换一换
-
5,"orderby"=>'rand()'));foreach($posts as $row){ ?>
$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>">
'.$row['writer'].'';}elseif(!empty($row['source'])){echo ''.$row['source'].'';} ?> 阅读()
- -
- -@include('home.common.footer') \ No newline at end of file diff --git a/resources/views/home2/index/tag3.blade.php b/resources/views/home2/index/tag3.blade.php deleted file mode 100644 index 0e00325..0000000 --- a/resources/views/home2/index/tag3.blade.php +++ /dev/null @@ -1,57 +0,0 @@ - -<?php if(empty($post["title"])){echo $post["tag"];}else{echo $post["title"];}if($page!=0){echo ' '.($page+1);} ?>" />" /> -@include('home.common.header')
- -

-
- -
-

相关推荐

换一换
-
- -
-

猜你喜欢

换一换
-
5,"orderby"=>'rand()'));foreach($posts as $row){ ?>
$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>">
'.$row['writer'].'';}elseif(!empty($row['source'])){echo ''.$row['source'].'';} ?> 阅读()
- -
- -@include('home.common.footer') \ No newline at end of file diff --git a/resources/views/home2/index/tags.blade.php b/resources/views/home2/index/tags.blade.php deleted file mode 100644 index 9d9e7f5..0000000 --- a/resources/views/home2/index/tags.blade.php +++ /dev/null @@ -1,7 +0,0 @@ - -笔记本电脑相关知识_<?php echo sysconfig('CMS_WEBNAME'); ?> -@include('home.common.header')
-
-
-"tags","tagid"=>$row["id"])); ?>"> 
-
@include('home.common.footer') \ No newline at end of file diff --git a/resources/views/home3/404.blade.php b/resources/views/home3/404.blade.php deleted file mode 100644 index cf6e77b..0000000 --- a/resources/views/home3/404.blade.php +++ /dev/null @@ -1,20 +0,0 @@ - - -您访问的页面不存在或已被删除! - - -
-

:(

-

您访问的页面不存在或已被删除!

-

返回首页

-
- \ No newline at end of file diff --git a/resources/views/home3/common/footer.blade.php b/resources/views/home3/common/footer.blade.php deleted file mode 100644 index 93bcd7b..0000000 --- a/resources/views/home3/common/footer.blade.php +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/resources/views/home3/common/header.blade.php b/resources/views/home3/common/header.blade.php deleted file mode 100644 index e2b532b..0000000 --- a/resources/views/home3/common/header.blade.php +++ /dev/null @@ -1,5 +0,0 @@ - \ No newline at end of file diff --git a/resources/views/home3/index/category.blade.php b/resources/views/home3/index/category.blade.php deleted file mode 100644 index 030379c..0000000 --- a/resources/views/home3/index/category.blade.php +++ /dev/null @@ -1,124 +0,0 @@ - -<?php echo $post['seotitle'];if($page!=0){echo ' '.($page+1);} ?> - - - - - - - - - - - - -
-
- -
-
-
-
-
-
- -
- - 搜 索
-
-
-
-
- - -
- -
- -
-
-
-
-
-

-
    - -
  • - -
-
-
-
-
-
-

栏目导航

-
    - [['reid','=',0]], 'orderby'=>['sortrank', 'desc']]);if($posts){foreach($posts as $row){ ?> -
  • - -
-
-
-

热门推荐

-
    -5,"tuijian"=>1));foreach($posts as $row){ ?> -
  • - -
-
-
-

联系我们

- CONTACT US -

地址:上海市xx区xx路xx广场x号
-电话:86-021-xxxxxxxx
-传真:86-021-xxxxxxxxxxxxxxxx
-邮箱:xxxxxxxxx@qq.com
-网址:www.xxxxxx.com

-
-
-
-
- - - - - - - - - - \ No newline at end of file diff --git a/resources/views/home3/index/category2.blade.php b/resources/views/home3/index/category2.blade.php deleted file mode 100644 index 82dd7f2..0000000 --- a/resources/views/home3/index/category2.blade.php +++ /dev/null @@ -1,57 +0,0 @@ - -<?php echo $post['seotitle'];if($page!=0){echo ' '.($page+1);} ?>" />" /> -@include('home.common.header')
- -

-
- -
-

热门文章

换一换
-
- -
-

猜你喜欢

换一换
-
5,"typeid"=>$post['id'],"orderby"=>'rand()'));if($posts){foreach($posts as $row){ ?>
$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>">
'.$row['writer'].'';}elseif(!empty($row['source'])){echo ''.$row['source'].'';} ?> 阅读()
- -
- -@include('home.common.footer') \ No newline at end of file diff --git a/resources/views/home3/index/detail.blade.php b/resources/views/home3/index/detail.blade.php deleted file mode 100644 index e02ec8d..0000000 --- a/resources/views/home3/index/detail.blade.php +++ /dev/null @@ -1,122 +0,0 @@ - -<?php if(!empty($post["seotitle"])){ echo $post["seotitle"]; }else{ echo $post["title"]; } ?>-您的网站名称 -"> -"> - - - - - - - - - - -
-
- -
-
-
-
-
-
- -
- - 搜 索
-
-
-
-
- -
- -
- -
- -
-
-
-
-

-
-

- -
-
-
- -
-
-

栏目导航

-
    - [['reid','=',0]], 'orderby'=>['sortrank', 'desc']]);if($posts){foreach($posts as $row){ ?> -
  • - -
-
-
-

热门推荐

-
    -5,"tuijian"=>1));foreach($posts as $row){ ?> -
  • - -
-
-
-

联系我们

- CONTACT US -

地址:上海市xx区xx路xx广场x号
-电话:86-021-xxxxxxxx
-传真:86-021-xxxxxxxxxxxxxxxx
-邮箱:xxxxxxxxx@qq.com
-网址:www.xxxxxx.com

-
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/resources/views/home3/index/index.blade.php b/resources/views/home3/index/index.blade.php deleted file mode 100644 index 46aca84..0000000 --- a/resources/views/home3/index/index.blade.php +++ /dev/null @@ -1,126 +0,0 @@ - -您的网站名称 - - - - - - - - - - - - -
-
- -
-
-
-
-
-
- -
- - 搜 索
-
-
-
-
- -
- -
- -
- -
-
-
-

公司简介

Itroduction
公司简介

XXX有限公司是于1966年为了通过试验评价技术的支援以提高产业技术而成 立的试验评价机构,是和先进(发达)国家的试验、认证机构进行交流和合作的大韩民国代表性机构。为了保护本国产业的各种认证制度日渐完善,为保护消费者安 全和环境的各种制度的重要性日趋增加,KTL为适应形势的发展,从产品开发到获得认证的整个阶段提供支援,以帮助企业提高技术能力以及拥有更强的竞争力。为了两国企业间和认证机构和客户间的有..

查看详细 >>
-
-
-
-
-
-
-
-

产品展示

- PRODUCT DISPLAY -
-4));if($posts){foreach($posts as $row){ ?> - - -
-
-
-
-
-
-
-
-
-

新闻中心

- NEWS CENTER -
    -6,"tuijian"=>array('<>',1)));foreach($posts as $row){ ?> -
  • - -
-
-
-
-
-

联系我们

- CONTACT US -

地址:上海市xx区xx路xx广场x号
-电话:86-021-xxxxxxxx
-传真:86-021-xxxxxxxxxxxxxxxx
-邮箱:xxxxxxxxx@qq.com
-网址:www.xxxxxx.com

-
-
-
-
- - - - - \ No newline at end of file diff --git a/resources/views/home3/index/login.blade.php b/resources/views/home3/index/login.blade.php deleted file mode 100644 index c44253f..0000000 --- a/resources/views/home3/index/login.blade.php +++ /dev/null @@ -1,171 +0,0 @@ - -后台登录 - - -
-
-
-
-
-

后台登录

-

请输入您的用户名、密码:

-
-
- -
-
-
- -
-
-
-
- - \ No newline at end of file diff --git a/resources/views/home3/index/page.blade.php b/resources/views/home3/index/page.blade.php deleted file mode 100644 index 7736cef..0000000 --- a/resources/views/home3/index/page.blade.php +++ /dev/null @@ -1,121 +0,0 @@ - -<?php if(!empty($post["seotitle"])){ echo $post["seotitle"]; }else{ echo $post["title"]; } ?>-您的网站名称 -"> -"> - - - - - - - - - - -
-
- -
-
-
-
-
-
- -
- - 搜 索
-
-
-
-
- -
- -
- -
- -
-
-
-
-

-
- -
-
-
- -
-
-

栏目导航

-
    - 5));if($posts){foreach($posts as $row){ ?> -
  • - -
-
-
-

新闻中心

-
    -5));if($posts){foreach($posts as $row){ ?> -
  • - -
-
-
-

联系我们

- CONTACT US -

地址:上海市xx区xx路xx广场x号
-电话:86-021-xxxxxxxx
-传真:86-021-xxxxxxxxxxxxxxxx
-邮箱:xxxxxxxxx@qq.com
-网址:www.xxxxxx.com

-
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/resources/views/home3/index/product.blade.php b/resources/views/home3/index/product.blade.php deleted file mode 100644 index 8ef5e70..0000000 --- a/resources/views/home3/index/product.blade.php +++ /dev/null @@ -1,177 +0,0 @@ - -<?php if(!empty($post["seotitle"])){ echo $post["seotitle"]; }else{ echo $post["title"]; } ?>-您的网站名称 -"> -"> - - - - - - - - - - -
-
- -
-
-
-
-
-
- -
- - 搜 索
-
-
-
-
- - -
- -
- -
- -
-
-
-
-

- - -
-
  • - -
  • - - -
-
- - - - - -
-
- - -
-

-
    - -
  • 价格:
    运营商
    容量
    颜色
    购买数量:
  • - -
-
-
- -
- -
- -
-
-

栏目导航

-
    - [['reid','=',0]], 'orderby'=>['sortrank', 'desc']]);if($posts){foreach($posts as $row){ ?> -
  • - -
-
-
-

热门推荐

-
    -5,"tuijian"=>1));foreach($posts as $row){ ?> -
  • - -
-
-
-

联系我们

- CONTACT US -

地址:上海市xx区xx路xx广场x号
-电话:86-021-xxxxxxxx
-传真:86-021-xxxxxxxxxxxxxxxx
-邮箱:xxxxxxxxx@qq.com
-网址:www.xxxxxx.com

-
-
-
-
- - - - - - - - \ No newline at end of file diff --git a/resources/views/home3/index/productcat.blade.php b/resources/views/home3/index/productcat.blade.php deleted file mode 100644 index f83b0bb..0000000 --- a/resources/views/home3/index/productcat.blade.php +++ /dev/null @@ -1,123 +0,0 @@ - -<?php echo $post['seotitle'];if($page!=0){echo ' '.($page+1);} ?> - - - - - - - - - - - - -
-
- -
-
-
-
-
-
- -
- - 搜 索
-
-
-
-
- - -
- -
- -
-
-
-
-
-

-
-
    {{ $posts->links() }}
-
-
-
-
-

栏目导航

-
    - [['pid','=',0]], 'orderby'=>['sortrank', 'desc']]);if($posts){foreach($posts as $row){ ?> -
  • - -
-
-
-

热门推荐

-
    -5,"tuijian"=>1));foreach($posts as $row){ ?> -
  • - -
-
-
-

联系我们

- CONTACT US -

地址:上海市xx区xx路xx广场x号
-电话:86-021-xxxxxxxx
-传真:86-021-xxxxxxxxxxxxxxxx
-邮箱:xxxxxxxxx@qq.com
-网址:www.xxxxxx.com

-
-
-
-
- - - - - - - - - - \ No newline at end of file diff --git a/resources/views/home3/index/search.blade.php b/resources/views/home3/index/search.blade.php deleted file mode 100644 index d237f24..0000000 --- a/resources/views/home3/index/search.blade.php +++ /dev/null @@ -1,35 +0,0 @@ - - -搜索结果_<?php echo sysconfig('CMS_WEBNAME'); ?> - - -@include('home.common.header') -
- -
- -
-
>
-

搜索结果

- -
$row['id'],"catid"=>$row['typeid'],"type"=>'content')).'">'.$row[';} ?> -$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>" target="_blank">

-
- -
- -
- - -
- -
-@include('home.common.footer') \ No newline at end of file diff --git a/resources/views/home3/index/sitemap.blade.php b/resources/views/home3/index/sitemap.blade.php deleted file mode 100644 index 08412f8..0000000 --- a/resources/views/home3/index/sitemap.blade.php +++ /dev/null @@ -1,9 +0,0 @@ - - -/daily1.0 -/contact.html -300));foreach($posts as $row){ ?>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>monthly -100,"orderby"=>'rand()'));foreach($posts as $row){ ?>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>monthly - -$row['id'],"type"=>'list')); ?> - \ No newline at end of file diff --git a/resources/views/home3/index/tag.blade.php b/resources/views/home3/index/tag.blade.php deleted file mode 100644 index 2d3b5a6..0000000 --- a/resources/views/home3/index/tag.blade.php +++ /dev/null @@ -1,62 +0,0 @@ - -<?php if(empty($post["title"])){echo $post["tag"];}else{echo $post["title"];}if($page!=0){echo ' '.($page+1);} ?>" />" /> -@include('home.common.header')
- -

'.$post['content'].'
';} ?>
- -
$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?> -$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>" target="_blank">

..

-
人阅读
- -
- -
-

相关推荐

换一换
-
- -
-

猜你喜欢

换一换
-
5,"orderby"=>'rand()'));foreach($posts as $row){ ?>
$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>">
'.$row['writer'].'';}elseif(!empty($row['source'])){echo ''.$row['source'].'';} ?> 阅读()
- -
- -@include('home.common.footer') \ No newline at end of file diff --git a/resources/views/home3/index/tag2.blade.php b/resources/views/home3/index/tag2.blade.php deleted file mode 100644 index 419bdeb..0000000 --- a/resources/views/home3/index/tag2.blade.php +++ /dev/null @@ -1,58 +0,0 @@ - -<?php if(empty($post["title"])){echo $post["tag"];}else{echo $post["title"];}if($page!=0){echo ' '.($page+1);} ?>" />" /> -@include('home.common.header')
- -

'.$post['content'].'
';} ?>
- -

- -
-

相关推荐

换一换
-
- -
-

猜你喜欢

换一换
-
5,"orderby"=>'rand()'));foreach($posts as $row){ ?>
$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>">
'.$row['writer'].'';}elseif(!empty($row['source'])){echo ''.$row['source'].'';} ?> 阅读()
- -
- -@include('home.common.footer') \ No newline at end of file diff --git a/resources/views/home3/index/tag3.blade.php b/resources/views/home3/index/tag3.blade.php deleted file mode 100644 index 0e00325..0000000 --- a/resources/views/home3/index/tag3.blade.php +++ /dev/null @@ -1,57 +0,0 @@ - -<?php if(empty($post["title"])){echo $post["tag"];}else{echo $post["title"];}if($page!=0){echo ' '.($page+1);} ?>" />" /> -@include('home.common.header')
- -

-
- -
-

相关推荐

换一换
-
- -
-

猜你喜欢

换一换
-
5,"orderby"=>'rand()'));foreach($posts as $row){ ?>
$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>"><?php echo $row['title']; ?>$row['id'],"catid"=>$row['typeid'],"type"=>'content')); ?>">
'.$row['writer'].'';}elseif(!empty($row['source'])){echo ''.$row['source'].'';} ?> 阅读()
- -
- -@include('home.common.footer') \ No newline at end of file diff --git a/resources/views/home3/index/tags.blade.php b/resources/views/home3/index/tags.blade.php deleted file mode 100644 index 9d9e7f5..0000000 --- a/resources/views/home3/index/tags.blade.php +++ /dev/null @@ -1,7 +0,0 @@ - -笔记本电脑相关知识_<?php echo sysconfig('CMS_WEBNAME'); ?> -@include('home.common.header')
-
-
-"tags","tagid"=>$row["id"])); ?>"> 
-
@include('home.common.footer') \ No newline at end of file diff --git a/resources/views/weixin/cart/index.blade.php b/resources/views/weixin/cart/index.blade.php new file mode 100644 index 0000000..9dc4333 --- /dev/null +++ b/resources/views/weixin/cart/index.blade.php @@ -0,0 +1,169 @@ + +购物车 - 商城 + + + + +
+
返回
+
购物车
+ +
+ + +
+ +
+ +
+ +
+
+
+ + + + + + +
+ +
+
+
+ +

重庆电信手机卡电话卡语音卡选靓号3G4G卡内部5折卡低资费(飞)

+ + +
+ +

合约套餐:乐享4G套餐59元

+
+

+ + 54.28 +

+ +
+ - + + + + + +
+
+
+
+ + +
+
+
+ + + + + + +
+ +
+
+
+ +

重庆电信手机卡电话卡语音卡选靓号3G4G卡内部5折卡低资费(飞)

+ + +
+ +

合约套餐:乐享4G套餐59元

+
+

+ + 54.28 +

+ +
+ - + + + + + +
+
+
+
+ + +
+
+
+ + + + 全选 +
+
+ 去结算 +
+
+

总计:919.08

+
+
+
+ + +
+ + +
+
+ +

购物车暂无商品

+ 去逛逛 +
+
+

+ +
+ +
+ +
+
+ + + \ No newline at end of file diff --git a/resources/views/weixin/common/footer.blade.php b/resources/views/weixin/common/footer.blade.php index e4045ec..1413647 100644 --- a/resources/views/weixin/common/footer.blade.php +++ b/resources/views/weixin/common/footer.blade.php @@ -4,8 +4,8 @@ +
  • 购物车

  • +
  • 个人中心

  • \ No newline at end of file diff --git a/resources/views/weixin/index/index.blade.php b/resources/views/weixin/index/index.blade.php index 9f27696..c210768 100644 --- a/resources/views/weixin/index/index.blade.php +++ b/resources/views/weixin/index/index.blade.php @@ -201,5 +201,31 @@ function messageNotice(message) + +
    + + +
    + + @include('weixin.common.footer') \ No newline at end of file diff --git a/resources/views/weixin/user/index.blade.php b/resources/views/weixin/user/index.blade.php new file mode 100644 index 0000000..ec3988e --- /dev/null +++ b/resources/views/weixin/user/index.blade.php @@ -0,0 +1,302 @@ + +商城 + + +
    +
    + +
    +
    + +
    +
    +
    + 15280719357 +
    + +
    +
    + + + + +
    +
    + +
    + +
    + +
    +
    + +
    +
    +
    +
    + + 我的订单 +
    + +
    +
    +
    + + + + +
    +
    +
    +
    + + 我的钱包 +
    + +
    +
    +
    + + + + +
    +
    + +
    +
    + +@include('weixin.common.footer') + \ No newline at end of file diff --git a/resources/views/weixin/user/userGoodsHistory.blade.php b/resources/views/weixin/user/userGoodsHistory.blade.php new file mode 100644 index 0000000..36975ba --- /dev/null +++ b/resources/views/weixin/user/userGoodsHistory.blade.php @@ -0,0 +1,35 @@ + +商城 + + +
    +
    返回
    +
    我的足迹
    + +
    + +
    + +
    + +@include('weixin.common.footer') + \ No newline at end of file diff --git a/routes/web.php b/routes/web.php index bf3afa7..729f71d 100644 --- a/routes/web.php +++ b/routes/web.php @@ -56,17 +56,22 @@ Route::group(['namespace' => 'Home'], function () { Route::group(['prefix' => 'weixin', 'namespace' => 'Weixin'], function () { Route::get('/', 'IndexController@index')->name('weixin'); Route::get('/page404', 'IndexController@page404')->name('weixin_page404'); //404页面 - Route::get('/tags', 'IndexController@tags')->name('weixin_tags'); Route::get('/search', 'IndexController@search')->name('weixin_search'); //搜索页面 Route::get('/p/{id}', 'IndexController@detail')->name('weixin_article_detail'); //文章详情页 Route::get('/cat{cat}', 'IndexController@category')->name('weixin_article_category'); //分类页 - Route::get('/tag{tag}', 'IndexController@tag')->name('weixin_tag'); //标签页 Route::get('/page/{id}', 'IndexController@page')->name('weixin_singlepage'); //单页 + Route::get('/goods/{id}', 'IndexController@goods')->name('weixin_goods_detail'); //商品详情页 Route::get('/goodslist', 'GoodsController@goodslist')->name('weixin_goods_list'); //产品分类页 - Route::get('/goodstype{cat}', 'IndexController@goodstype')->name('weixin_goodstype'); //产品分类页 - Route::get('/sitemap.xml', 'IndexController@sitemap')->name('weixin_sitemap');//sitemap - + + Route::get('/user', 'UserController@index')->name('weixin_user'); + Route::get('/user_goods_history', 'UserController@userGoodsHistory')->name('weixin_user_goods_history'); + + Route::get('/cart', 'CartController@index')->name('weixin_cart'); + + Route::get('/user_address_list', 'AddressController@index')->name('weixin_user_address_list'); + + Route::get('/test', 'IndexController@test')->name('weixin_test'); //测试 });