Browse Source

商品详情20%

master
林一峰 7 years ago
parent
commit
d24f177ce0
  1. 10
      app/Http/Controllers/Api/GoodsController.php
  2. 20
      app/Http/Controllers/Weixin/GoodsController.php
  3. 23
      app/Http/Model/Goods.php
  4. 215
      public/css/weixin/style.css
  5. BIN
      public/images/weixin/goods_ic_cart.png
  6. BIN
      public/images/weixin/goods_ic_kefu.png
  7. BIN
      public/images/weixin/ic-bot-focus-up.png
  8. 2
      resources/views/weixin/common/footer.blade.php
  9. 222
      resources/views/weixin/goods/goodsDetail.blade.php
  10. 2
      resources/views/weixin/user/index.blade.php
  11. 1
      routes/web.php

10
app/Http/Controllers/Api/GoodsController.php

@ -14,6 +14,16 @@ class GoodsController extends CommonController
parent::__construct();
}
public function goodsDetail(Request $request)
{
//参数
$data['id'] = $request->input('id');
$res = Goods::goodsDetail($data);
return ReturnData::create(ReturnData::SUCCESS,$res);
}
public function goodsList(Request $request)
{
//参数

20
app/Http/Controllers/Weixin/GoodsController.php

@ -12,25 +12,15 @@ class GoodsController extends CommonController
}
//商品详情
public function goodsDetail(Request $request)
public function goodsDetail($id)
{
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
'id' => $id
);
$url = env('APP_API_URL')."/goods_list";
$goods_list = curl_request($url,$postdata,'GET');
$data['goods_list'] = $goods_list['data']['list'];
$url = env('APP_API_URL')."/goods_detail";
$res = curl_request($url,$postdata,'GET');
$data['post'] = $res['data'];
return view('weixin.goods.goodsDetail', $data);
}

23
app/Http/Model/Goods.php

@ -229,4 +229,27 @@ class Goods extends BaseModel
}
}
}
//获取商品详情
public static function goodsDetail(array $param)
{
extract($param); //参数:limit,offset
$model = new Goods;
if(isset($id)){$where['id'] = $id;}
if(isset($where))
{
$model = $model->where($where);
}
else
{
return false;
}
$res = $model->first();
return $res;
}
}

215
public/css/weixin/style.css

@ -1,4 +1,4 @@
html, body{font-size:100%;font-family:Helvetica,STHeiti-Light,'Hiragino Sans GB','Microsoft Yahei',Arial;overflow-x:hidden;color:#232326;}
html, body{font-size:100%;font-family:Helvetica,STHeiti-Light,'Hiragino Sans GB','Microsoft Yahei',Arial;overflow-x:hidden;color:#232326;}i,em{font-style: normal;}
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,code,form,fieldset,legend,input,textarea,p,blockquote,th,td{margin:0;padding:0;}
ol, ul{list-style:none;}dl,ul{zoom:1;}.mb10{margin-bottom:10px;}.mt10{margin-top:10px;}img{border:none;border:0;margin:0;padding:0;vertical-align:middle;}
a{color:#333;text-decoration:none}.cse a,.cses{color:#008000;}.ofh{overflow:hidden}
@ -787,7 +787,220 @@ h1.arc_tit, h2.arc_tit{font-weight: normal;font-size: 1.4em;padding: 10px;}
.fui-list .ui-list-thumb{width:50px;height:50px;position:relative;margin:10px 10px 10px 0;}
.fui-list .ui-list-thumb>span{display:block;width:100%;height:100%;z-index:1;background-repeat:no-repeat;-webkit-background-size:cover;}.ui-list-thumb img{display:block;width:100%;height:100%;}
/*商品详情*/
.goods-header {
display: block;
height: auto;
padding: 10px 0 0;
-webkit-tap-highlight-color: transparent;
border-top: 1px solid #f2f2f2;
background-color: #fff;
margin-bottom: 10px;
position: relative;
}
.goods-header .title {
font-weight: normal;
padding: 0 10px;
font-size:18px;
line-height: 1.3;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
}
.goods-header .wish-add {
position: relative;
height: 12px;
line-height: 12px;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
color:#ea6f5a;
background-color: transparent;
border: 1px solid #ea6f5a;
border-radius: 3px;
font-size: 16px;
padding:4px 6px;
display: inline-block;
text-align: center;
margin:3px 10px 0 0;
}
.goods-header .wish-add-activate{color:#fff;background-color:#ea6f5a;}
.goods-header .goods-price {
padding: 10px 10px 2px;
text-align: left;
}
.goods-header .current-price {
color: #f60;
display: inline-block;
}
.goods-header .current-price span {
font-size: 16px;
display: inline-block;
vertical-align: middle;
}
.goods-header .current-price .price {
display: inline-block;
vertical-align: middle;
font-size: 20px;
}
.goods-header .btn-retail {
padding: 0 3px;
border-radius:2px;
color: #fff;
background-color: #1cbb7f;
display: inline-block;
text-align: center;
font-size: 12px;
cursor: pointer;
line-height: 1.5;
-webkit-appearance: none;
}
.goods-header .stock-detail {
position: relative;
line-height:1.5;
color: #999;
background-color: #fff;
padding:5px 10px;
}
.goods-header .stock-detail dl {display:table-cell;
margin-top: 10px;
margin-bottom: 10px;
font-size: 14px;
zoom: 1;
}
.goods-header .stock-detail dt {
display: inline-block;
}
.goods-header .stock-detail dd {
display: inline-block;
word-wrap: break-word;
}
.goods-header .goods-comment{margin-top:10px;border-top:10px solid #f1f1f1;height: 44px;line-height: 44px;padding: 0 10px 0 10px;}
.goods-header .goods-comment span{float:right;color:#999;}
.goods-content{background-color: #fff;}
.goods-content .module-title{background: #FFF;
height:44px;
line-height:44px;
position: relative;
padding: 0 10px 0 10px;
font-size:16px;
color: #666;
border-left: 3px solid #FF0036;border-bottom: 1px solid #f4f4f4;}
.goods-content .module-content{padding:10px;}
.bottom_tool_black{ width:100%; display:block; position:fixed; bottom:0;background-color:#fff;border-top:1px solid #f1f1f1;}
.bottom_tool_white { width:40%; float:left;}
.bottom_tool_white li { width:50%; float:left; text-align:center; position:relative;}
.bottom_tool_white ul li img{ margin:0 auto; display:block; margin-top:2px; width:32px; height:32px;}
.bottom_tool_white ul li p{ font-size:12px; color:#6f7375; text-align:center; width:100%; line-height:14px;}
.bottom_tool_btn {width:60%; float:left;}
.bottom_tool_btn li { width:50%; color:#fff; float:left; line-height:52px; text-align:center; font-size:16px;}
.bg_c_yellow {background-color:#ff9000;}
.bg_c_orange {background-color:#ff5000;}
.mask {
width: 100%;
height: 100%;
background: rgba(0,0,0,0.8);
display: block;
position: fixed;
top: 0;
z-index:99;
}
.pop_box {
width: 100%;
height: 100%;
display: block;
position: absolute;
top: 0;
}
.goods_info_pop{ background-color:#fff; display:block; position:fixed; z-index:100; bottom:0px; left:0; padding-bottom:20px; /*box-shadow:0 -2px 3px #a0a0a0;*/ border-top:2px solid #dcdcdc; width:100%;}
.goods_info_pop ul{ padding:0px 0 35px; display:inline-block;}
.goods_info_pop li{height:20px; line-height:20px; padding:14px 0; border-bottom:1px solid #eee; display:inline-block; float:left; text-align:center; width:100%;}
.cart_list{background-color:#fff; overflow:hidden; position:relative;/* border-bottom:1px solid #e1e1e1;*/}
.cart_list_select{ position:relative; width:20px; margin-left:10px;float:left;}
.cart_list_check{visibility:hidden;-webkit-appearance:none; width:18px; height:18px; display:none;}
.cart_list_check + label{display:block;width:16px;height:16px;border-radius:12px;border:2px solid #9fa4b6; position:relative;}
.cart_list_check:checked + label{ background-color:#ff5000; border:2px solid #ff5000;}
.cart_list_check:checked + label:after{ content:""; width:9px; height:5px; display:block; position:absolute; top:3px; left:3px; border:2px solid #fff; border-top:none; border-right:none;-webkit-transform: rotate(-45deg);-webkit-transform: rotate(-45deg);}
.cart_list_info{ display:block; margin-left:10px; height:80px; padding:10px 10px 10px 0;position:relative;overflow:hidden;}
.cart_list_name{padding:0px; width:100%; display:inline-block; float:left;height:40px;}
.cart_list_right{ width:30%;padding:0; float:right; display:inline-block; height:70px; text-align:right;}
.cart_list_img{ width:78px; height:78px; border:1px solid #e1e1e1; margin-top:10px; position:absolute; left:0; top:0px;}
.cart_list_item{padding:10px;}
.cart_goods_info{ display:block; margin-left:90px; height:80px; position:relative;}
.cart_detail_gray{font-size:12px; color:#666; width:100%;line-height:20px;}
.cart_detail_gray_name{display:block;width:100%;letter-spacing:0px;overflow:hidden;font-size:14px; font-weight:700; color:#333; height:40px;}
.cart_sum{color:#ff5000; font-size:16px; font-weight:700;}
.goods_type {
display: block;
line-height: 20px;
color: #999;
margin: 0;
white-space: nowrap;
text-overflow: ellipsis;
overflow: hidden;
}
.pop_num {
margin-left: 10px;margin-right: 10px;
height: 48px;
display: block;
border-bottom: 1px solid #e1e1e1;border-top: 1px solid #e1e1e1;
}
.pop_num span{ color:#999; display:inline-block; float:left; line-height:48px;}
.pop_sum{ display:inline-block; float:left; margin-left:15px; margin-top:5px; position:relative !important;}
.pop_btn{ margin-top:10px; margin-bottom:10px;}
.cart_num_control {
border: 1px solid #DADADA;
height: 24px;
display: inline-block;
margin: 7px 0px;
}
.cart_num_button {
width: 24px;
height: 24px;
display: inline-block;
border: 0px solid #DADADA;
text-decoration: none;
color: #585858;
font-size: 16px;
background-color: #f0f0f0;
}
.cart_num_text {
width: 24px;
text-align: center;
font-size: 12px;
height: 16px;
display: inline-block;
border: 0px solid #DADADA;
}
.registered_btn {
display: block;
margin:10px;
height: 42px;
line-height: 42px;
background-color: #ff5000;
text-align: center;
border-radius:2px;
color: #fff;
font-size: 16px;
}

BIN
public/images/weixin/goods_ic_cart.png

Binary file not shown.

After

Width: 50  |  Height: 50  |  Size: 2.1 KiB

BIN
public/images/weixin/goods_ic_kefu.png

Binary file not shown.

After

Width: 40  |  Height: 40  |  Size: 2.2 KiB

BIN
public/images/weixin/ic-bot-focus-up.png

Binary file not shown.

After

Width: 50  |  Height: 50  |  Size: 1.9 KiB

2
resources/views/weixin/common/footer.blade.php

@ -5,7 +5,7 @@
<?php $current_url = url()->current(); ?>
<a href="<?php echo route('weixin'); ?>"><li<?php if(route('weixin') == $current_url){echo ' class="on"';} ?>><img src="<?php echo env('APP_URL'); ?>/images/weixin/home_icon<?php if(route('weixin') == $current_url){echo '2';} ?>.png"><p>首页</p></li></a>
<a href="categoryList.html"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/brand_icon.png"><p>分类</p></li></a>
<a href="<?php echo route('weixin'); ?>/cart"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/car_icon.png"><p>购物车</p></li></a>
<a href="<?php echo route('weixin_cart'); ?>"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/car_icon.png"><p>购物车</p></li></a>
<a href="<?php echo route('weixin_user'); ?>"><li<?php if(route('weixin_user') == $current_url){echo ' class="on"';} ?>><img src="<?php echo env('APP_URL'); ?>/images/weixin/center_icon<?php if(route('weixin_user') == $current_url){echo '2';} ?>.png"><p>个人中心</p></li></a></ul>
</div>
</div>

222
resources/views/weixin/goods/goodsDetail.blade.php

@ -1,25 +1,201 @@
<!DOCTYPE html><html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8" /><meta name="viewport" content="width=device-width, initial-scale=1">
<title><?php echo $post["title"]; ?>_<?php echo sysconfig('CMS_WEBNAME'); ?></title>
<link rel="stylesheet" href="/css/bootstrap.min.css"><link rel="stylesheet" href="/css/style.css"><script src="/js/jquery.min.js"></script><script src="/js/bootstrap.min.js"></script></head><body>
@include('home.common.header')
<div class="container"><div class="row row-offcanvas row-offcanvas-right"><div class="col-xs-12 col-sm-9">
<div class="bread"><a href=""><?php echo sysconfig('CMS_INDEXNAME'); ?></a> > <?php echo get_cat_path($post["typeid"],'goods_type','productlist'); ?></div>
<h1 class="page-header"><?php echo $post["title"]; ?></h1>
<div class="content"><?php echo $post["body"]; ?>
<div class="dinfo"><span class="addtime"><?php echo date("Y-m-d",$post["pubdate"]); ?></span>
<br><br>下一篇:<?php if($pre){ ?><a href="<?php echo get_front_url(array("id"=>$pre['id'],"catid"=>$pre["typeid"],"type"=>'goodsdetail')); ?>"><?php echo $pre["title"]; ?></a><?php }else{echo '没有了';} ?><div class="cl"></div></div>
</div>
</div><!--/.col-xs-12.col-sm-9-->
<!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 style="background-color:#f1f1f1;">
<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>
<div class="flool tpnavf cl">
<div class="nav_list">
<ul>
<a href="<?php echo route('weixin'); ?>"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/home_icon.png"><p>首页</p></li></a>
<a href="/Weixin/index.php?m=Store&amp;a=index"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/brand_icon.png"><p>分类</p></li></a>
<a href="/Weixin/index.php?m=Cart&amp;a=index"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/car_icon.png"><p>购物车</p></li></a>
<a href="/Weixin/index.php?m=User&amp;a=index"><li><img src="<?php echo env('APP_URL'); ?>/images/weixin/center_icon.png"><p>个人中心</p></li></a></ul>
<div class="cl"></div>
</div>
</div>
<!--商品详情-start-->
<div class="goods_detail">
<!--顶部滚动广告栏-start-->
<div class="tbanner">
<!-- Swiper -->
<div class="swiper-container">
<div class="swiper-wrapper">
<div class="swiper-slide"><img src="<?php echo $post['goods_img']; ?>" alt=""></div>
</div>
<!-- Add Pagination -->
<div class="swiper-pagination swiper-pagination-white"></div>
</div>
</div>
<link rel="stylesheet" href="<?php echo env('APP_URL'); ?>/css/swiper.min.css">
<style>
.swiper-container{width:100%;height:90vw;}
.swiper-slide{text-align:center;font-size:18px;background:#fff;}
.swiper-slide img{width:100%;height:100vw;}
</style>
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/swiper.min.js"></script>
<script>
//Swiper轮播
var swiper = new Swiper('.swiper-container', {
pagination: '.swiper-pagination',
paginationClickable: true,
autoHeight: true, //enable auto height
slidesPerView: 1,
paginationClickable: true,
spaceBetween: 30,
loop: true,
centeredSlides: true,
autoplay: 3000,
autoplayDisableOnInteraction: false
});
</script>
<!--顶部滚动广告栏-end-->
<div class="goods-header">
<span class="wish-add fr wish-add-activate">收藏</span><h1 class="title"><?php echo $post['title']; ?></h1>
<div class="goods-price">
<div class="current-price">
<span>¥</span><i class="price"><?php echo $post['price']; ?></i>
</div>
<span class="btn-retail">门店有售</span>
</div>
<div class="stock-detail table-cell">
<dl>
<dt>运费:</dt>
<dd>免运费</dd>
</dl>
<dl>
<dt>库存:</dt>
<dd><?php echo $post['goods_number']; ?></dd>
</dl>
<dl>
<dt>销量:</dt>
<dd><?php echo $post['sale']; ?></dd>
</dl>
</div>
<div class="goods-comment">用户评价<span>共0条评价 ></span></div>
</div>
<div class="col-xs-12 col-sm-3 sidebar-offcanvas" id="sidebar">
<div class="panel panel-info">
<div class="panel-heading"><strong>商品详情</strong></div>
<div class="goods-content">
<div class="module-title">宝贝详情</div>
<div class="module-content"><?php echo $post['body']; ?></div>
</div>
</div>
<!--商品详情-end-->
<!-- 底部弹出层 -->
<div class="pop_box" style="display:none;" id="master">
<div class="goods_info_pop" style="padding-bottom:0px;">
<div class="cart_list" >
<div class="cart_list_info goods_list_item">
<div class="cart_list_img">
<img src="http://www.yst.com/yst/Public/kindeditor/attached/image/20160227/20160227031317_35279.png" style=" width:100%; height:100%;">
</div>
<div class="cart_goods_info">
<div class="cart_list_name">
<div class="cart_detail_gray" style=""><span style="" class="cart_detail_gray_name">1232</span></div>
<div class="cart_detail_gray" style="">
<p class="cart_sum" id="total_price1_296"><span class="attr_price">1.00</span></p>
<p class="goods_type">库存<span class="attr_storage">10</span></p>
</div>
</div>
</div> <!--cart_info-->
</div>
</div><!--item-->
<div class="pop_num">
<span>数量</span>
<div class="pop_sum">
<div class="cart_num_control pop_sum">
<input type="button" value="-" class="cart_num_button" onclick="cart_num_sub()">
<input type="text" value="1" class="cart_num_text" id="num">
<input type="button" value="+" class="cart_num_button" onclick="cart_num_add()">
</div>
</div>
</div>
<input type="hidden" id="resultid" value="">
<input type="hidden" id="storage" value="10">
<div class="registered_btn pop_btn confirmBtn" style="display:none;" onclick="dosubmit()">
<input type="hidden" name="cartType" id="cartType" value="">
<span>确定</span>
</div>
</div>
<div class="mask" onclick="masterunshow()"></div>
</div>
<script type="text/javascript" src="<?php echo env('APP_URL'); ?>/js/layer/mobile/layer.js"></script>
<script>
function mastershow(confirm)
{
/*如果已经选择属性,则弹出确定按钮,否则弹出加入购物车和立即购买按钮 */
var selectname = $("#selectname").html();
if(selectname||confirm==1||confirm==2){
$("#cartType").val(confirm);
$(".btnBox").hide();
$(".confirmBtn").show();
}else{
$(".btnBox").show();
$(".confirmBtn").hide();
}
$("#master").show();
}
function masterunshow()
{
$("#master").hide();
}
function cart_num_sub()
{
var num = $('#num').val();
if(num>1){
num = parseInt(num)-1;
$('#num').val(num);
}
}
function cart_num_add()
{
var storage = $('#storage').val();
var num = $('#num').val();
num = parseInt(num)+1;
if(storage<num){
/* jAlert("库存量不足!", alert_title); */
messageNotice("库存量不足!");
return false;
}
$('#num').val(num);
}
</script>
<ul class="list-group">
<?php if($post["litpic"]){ ?><li class="list-group-item"><img src="<?php echo $post["litpic"]; ?>" width=100% height=auto></li><?php } ?>
<li class="list-group-item"><span class="badge "> <?php echo $post["price"]; ?></span>商品价格</li>
<li class="list-group-item"><span class="badge"><del> <?php echo $post["market_price"]; ?></del></span>原价</li>
<li class="list-group-item"><span class="badge"><?php echo $post["sale"]; ?></span>销量</li>
</ul>
</div></div><!--/.sidebar-offcanvas--></div><!--/row--></div><!-- /.container -->
@include('home.common.footer')</body></html>
<!-- 底部按钮开始 -->
<div class="foohi">
<div class="bottom_tool_black">
<div class="bottom_tool_white">
<ul>
<a href="http://wpa.qq.com/msgrd?v=3&amp;uin=386092124&amp;site=qq&amp;menu=yes"><li>
<img src="<?php echo env('APP_URL'); ?>/images/weixin/goods_ic_kefu.png">
<p>客服</p>
</li></a>
<a href="<?php echo route('weixin_cart'); ?>"><li>
<img src="<?php echo env('APP_URL'); ?>/images/weixin/goods_ic_cart.png">
<p>购物车</p>
</li></a>
</ul>
</div>
<div class="bottom_tool_btn">
<ul>
<a href="javascript:mastershow(1);"><li class="bg_c_yellow">加入购物车</li></a>
<a href="javascript:mastershow(2);"><li class="bg_c_orange">立即购买</li></a>
</ul>
</div>
</div>
</div>
<!-- 底部按钮结束 -->
</body></html>

2
resources/views/weixin/user/index.blade.php

@ -1,5 +1,5 @@
<!DOCTYPE html><html><head><meta http-equiv="content-type" content="text/html;charset=utf-8"/>
<title>商城</title><meta name="keywords" content="关键词"><meta name="description" content="描述"><meta content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=0" name="viewport">
<title>个人中心</title><meta name="keywords" content="关键词"><meta name="description" content="描述"><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></head><body>

1
routes/web.php

@ -115,6 +115,7 @@ Route::group(['prefix' => 'dataapi', 'namespace' => 'Api', 'middleware' => ['web
Route::get('/arctype_list', 'ArctypeController@arctypeList');
Route::get('/arctype_detail', 'ArctypeController@arctypeDetail');
//商品
Route::get('/goods_detail', 'GoodsController@goodsDetail'); //商品列表
Route::get('/goods_list', 'GoodsController@goodsList'); //商品列表
Route::get('/goodstype_list', 'GoodsTypeController@goodsTypeList'); //商品分类列表
//地区,省市区

Loading…
Cancel
Save