diff --git a/public/static/index/default/js/search.js b/public/static/index/default/js/search.js index 2c937bfc926a8e7b7ab80a6262305881124d362e..0abed37639d39288a329bca0f25c599e245f29ab 100755 --- a/public/static/index/default/js/search.js +++ b/public/static/index/default/js/search.js @@ -186,7 +186,7 @@ $(function() html += ''; html += '

'+result.data.data[i]['title']+'

'; html += '
'; - html += '

¥'+result.data.data[i]['price']+'

'; + html += '

¥'+result.data.data[i]['min_price']+'

'; html += '

销量'+result.data.data[i]['sales_count']+'

'; html += ''; diff --git a/route/index.php b/route/route.php similarity index 76% rename from route/index.php rename to route/route.php index 7af870e8e6f5df61fe9f9d147eec04e984a97178..0ed1bd5ef000cc09132a2704e15ee7dbdd0d88e9 100755 --- a/route/index.php +++ b/route/route.php @@ -10,5 +10,11 @@ // +---------------------------------------------------------------------- // 首页 -Route::get('/', 'index/index'); +// Route::get('/', 'index/index'); + +// // 商品详情 +// Route::get('goods-:id', 'index/goods/index'); + +// // 搜索 +// Route::get('search-:category_id', 'index/search/index'); ?> \ No newline at end of file