林一峰
7 years ago
10 changed files with 356 additions and 17 deletions
-
24app/Http/Controllers/Weixin/GoodsController.php
-
7app/Http/Controllers/Weixin/IndexController.php
-
20app/Http/Model/Order.php
-
59resources/views/weixin/goods/categoryGoodsList.blade.php
-
209resources/views/weixin/index/category.blade.php
-
2resources/views/weixin/index/index.blade.php
-
12resources/views/weixin/order/orderDetail.blade.php
-
33resources/views/weixin/order/orderList.blade.php
-
3routes/web.php
@ -0,0 +1,59 @@ |
|||||
|
<!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8"/> |
||||
|
<title>商城</title><meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"> |
||||
|
<link href="<?php echo env('APP_URL'); ?>/css/weixin/style.css" type="text/css" rel="stylesheet"> |
||||
|
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/jquery.min.js"></script><script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/weixin/mobile.js"></script> |
||||
|
<meta name="keywords" content="关键词"><meta name="description" content="描述"></head><body> |
||||
|
|
||||
|
<div class="classreturn loginsignup"> |
||||
|
<div class="ds-in-bl return"><a href="javascript:history.back(-1);"><img src="<?php echo env('APP_URL'); ?>/images/weixin/return.png" alt="返回"></a></div> |
||||
|
<div class="ds-in-bl tit center"><span>所有分类</span></div> |
||||
|
<div class="ds-in-bl nav_menu"><a href="javascript:void(0);"><img src="<?php echo env('APP_URL'); ?>/images/weixin/class1.png" alt="菜单"></a></div> |
||||
|
</div> |
||||
|
|
||||
|
@include('weixin.common.headerNav') |
||||
|
|
||||
|
<div class="flool classlist"> |
||||
|
<div class="fl category1"> |
||||
|
<ul> |
||||
|
<li class="on"> |
||||
|
<a href="javascript:void(0);" data-id="0">数码产品</a> |
||||
|
</li> |
||||
|
<li class=""> |
||||
|
<a href="javascript:void(0);" data-id="1">家用电器</a> |
||||
|
</li> |
||||
|
<li class=""> |
||||
|
<a href="javascript:void(0);" data-id="2">电脑</a> |
||||
|
</li> |
||||
|
<li class=""> |
||||
|
<a href="javascript:void(0);" data-id="3">家具</a> |
||||
|
</li> |
||||
|
<li class=""> |
||||
|
<a href="javascript:void(0);" data-id="4">服装</a> |
||||
|
</li> |
||||
|
<li class=""> |
||||
|
<a href="javascript:void(0);" data-id="5">箱包</a> |
||||
|
</li> |
||||
|
<li class=""> |
||||
|
<a href="javascript:void(0);" data-id="6">个人化妆</a> |
||||
|
</li> |
||||
|
</ul> |
||||
|
</div> |
||||
|
<div class="fr category2"> |
||||
|
<ul class="goods_list_small"> |
||||
|
<li><a href="http://m.m99.info/cat1/youhuo1486"><img alt="1" src="images/weixin/goods_thumb_400_400.jpeg"><div class="goods_info"><p class="goods_tit">美女真空凸点诱惑</p><div class="goods_price">¥<b>100.00</b></div></div></a></li> |
||||
|
<li><a href="http://m.m99.info/cat1/youhuo1485"><img alt="2" src="images/weixin/goods_thumb_400_400.jpeg"><div class="goods_info"><p class="goods_tit">性感小骚货在床上</p><div class="goods_price">¥<b>100.00</b></div></div></a></li> |
||||
|
<li><a href="http://m.m99.info/cat1/youhuo1484"><img alt="3" src="images/weixin/goods_thumb_400_400.jpeg"><div class="goods_info"><p class="goods_tit">小野猫嫩模大尺度写真</p><div class="goods_price">¥<b>100.00</b></div></div></a></li> |
||||
|
<li><a href="http://m.m99.info/cat1/youhuo1482"><img alt="4" src="images/weixin/goods_thumb_400_400.jpeg"><div class="goods_info"><p class="goods_tit">韩国嫩模的逆天身材</p><div class="goods_price">¥<b>100.00</b></div></div></a></li> |
||||
|
<li><a href="http://m.m99.info/cat1/youhuo1481"><img alt="5" src="images/weixin/goods_thumb_400_400.jpeg"><div class="goods_info"><p class="goods_tit">推女郎林夕图片</p><div class="goods_price">¥<b>100.00</b></div></div></a></li> |
||||
|
<li><a href="http://m.m99.info/cat1/youhuo1486"><img alt="1" src="images/weixin/goods_thumb_400_400.jpeg"><div class="goods_info"><p class="goods_tit">美女真空凸点诱惑</p><div class="goods_price">¥<b>100.00</b></div></div></a></li> |
||||
|
<li><a href="http://m.m99.info/cat1/youhuo1485"><img alt="2" src="images/weixin/goods_thumb_400_400.jpeg"><div class="goods_info"><p class="goods_tit">性感小骚货在床上</p><div class="goods_price">¥<b>100.00</b></div></div></a></li> |
||||
|
<li><a href="http://m.m99.info/cat1/youhuo1484"><img alt="3" src="images/weixin/goods_thumb_400_400.jpeg"><div class="goods_info"><p class="goods_tit">小野猫嫩模大尺度写真</p><div class="goods_price">¥<b>100.00</b></div></div></a></li> |
||||
|
<li><a href="http://m.m99.info/cat1/youhuo1482"><img alt="4" src="images/weixin/goods_thumb_400_400.jpeg"><div class="goods_info"><p class="goods_tit">韩国嫩模的逆天身材</p><div class="goods_price">¥<b>100.00</b></div></div></a></li> |
||||
|
<li><a href="http://m.m99.info/cat1/youhuo1481"><img alt="5" src="images/weixin/goods_thumb_400_400.jpeg"><div class="goods_info"><p class="goods_tit">推女郎林夕图片</p><div class="goods_price">¥<b>100.00</b></div></div></a></li> |
||||
|
<li><a href="http://m.m99.info/cat1/youhuo1483"><img alt="6" src="images/weixin/goods_thumb_400_400.jpeg"><div class="goods_info"><p class="goods_tit">性感闺蜜艺术照</p><div class="goods_price">¥<b>100.00</b></div></div></a></li> |
||||
|
</ul> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
@include('weixin.common.footer') |
||||
|
</body></html> |
@ -0,0 +1,209 @@ |
|||||
|
<!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8"/> |
||||
|
<title>微商城</title><meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport"> |
||||
|
<link href="<?php echo env('APP_URL'); ?>/css/weixin/style.css" type="text/css" rel="stylesheet"> |
||||
|
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/jquery.min.js"></script> |
||||
|
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/weixin/mobile.js"></script> |
||||
|
<meta name="keywords" content="关键词"><meta name="description" content="描述"></head><body> |
||||
|
<div class="classreturn loginsignup"> |
||||
|
<div class="ds-in-bl return"><a href="javascript:history.back(-1);"><img src="<?php echo env('APP_URL'); ?>/images/weixin/return.png" alt="返回"></a></div> |
||||
|
<div class="ds-in-bl tit center"><span>所有分类</span></div> |
||||
|
<div class="ds-in-bl nav_menu"><a href="javascript:void(0);"><img src="<?php echo env('APP_URL'); ?>/images/weixin/class1.png" alt="菜单"></a></div> |
||||
|
</div> |
||||
|
|
||||
|
@include('weixin.common.headerNav') |
||||
|
|
||||
|
<div class="flool classlist"> |
||||
|
<div class="fl category1"> |
||||
|
<ul> |
||||
|
<li class="on"> |
||||
|
<a href="javascript:void(0);" data-id="0">数码产品</a> |
||||
|
</li> |
||||
|
<li class=""> |
||||
|
<a href="javascript:void(0);" data-id="1">家用电器</a> |
||||
|
</li> |
||||
|
<li class=""> |
||||
|
<a href="javascript:void(0);" data-id="2">电脑</a> |
||||
|
</li> |
||||
|
<li class=""> |
||||
|
<a href="javascript:void(0);" data-id="3">家具</a> |
||||
|
</li> |
||||
|
<li class=""> |
||||
|
<a href="javascript:void(0);" data-id="4">服装</a> |
||||
|
</li> |
||||
|
<li class=""> |
||||
|
<a href="javascript:void(0);" data-id="5">箱包</a> |
||||
|
</li> |
||||
|
<li class=""> |
||||
|
<a href="javascript:void(0);" data-id="6">个人化妆</a> |
||||
|
</li> |
||||
|
</ul> |
||||
|
</div> |
||||
|
<div class="fr category2"> |
||||
|
<div class="branchList" style=""> |
||||
|
<!--广告图-s--> |
||||
|
<div class="tp-bann" data-id="0"> |
||||
|
<a href="http://www.tp-shop.cn" target="_blank"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/57792b4ee20e3.jpg"> |
||||
|
</a> |
||||
|
</div> |
||||
|
<!--广告图-e--> |
||||
|
<!--分类-s--> |
||||
|
<div class="tp-class-list"> |
||||
|
<h4><a href="/index.php/Mobile/Goods/goodsList/id/12.html">手机配件</a></h4> |
||||
|
<ul class="tp-category"> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/100.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>电池 电源 充电器</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/102.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>贴膜,保护套</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
</ul> |
||||
|
<h4><a href="/index.php/Mobile/Goods/goodsList/id/13.html">摄影摄像</a></h4> |
||||
|
<ul class="tp-category"> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/103.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>数码相机</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/104.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>单反相机</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/105.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>摄像机</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/106.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>镜头</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/107.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>数码相框</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
</ul> |
||||
|
<h4><a href="/index.php/Mobile/Goods/goodsList/id/14.html">运营商</a></h4> |
||||
|
<ul class="tp-category"> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/108.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>选号码</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/109.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>办套餐</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/110.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>合约机</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/111.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>中国移动</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
</ul> |
||||
|
<h4><a href="/index.php/Mobile/Goods/goodsList/id/15.html">数码配件</a></h4> |
||||
|
<ul class="tp-category"> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/112.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>充值卡</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/113.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>读卡器</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/114.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>支架</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/115.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>滤镜</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
</ul> |
||||
|
<h4><a href="/index.php/Mobile/Goods/goodsList/id/16.html">娱乐影视</a></h4> |
||||
|
<ul class="tp-category"> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/116.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>音响麦克风</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/117.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>耳机/耳麦</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
</ul> |
||||
|
<h4><a href="/index.php/Mobile/Goods/goodsList/id/17.html">电子教育</a></h4> |
||||
|
<ul class="tp-category"> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/118.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>学生平板</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/119.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>点读机</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/120.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>电纸书</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/121.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>电子词典</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
<li> |
||||
|
<a href="/index.php/Mobile/Goods/goodsList/id/122.html"> |
||||
|
<img src="<?php echo env('APP_URL'); ?>/images/weixin/none2.png"> |
||||
|
<p>复读机</p> |
||||
|
</a> |
||||
|
</li> |
||||
|
</ul> |
||||
|
</div> |
||||
|
<!--分类-e--> |
||||
|
</div> |
||||
|
</div> |
||||
|
</div> |
||||
|
|
||||
|
@include('weixin.common.footer') |
||||
|
</body></html> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue