细节优化

This commit is contained in:
gongfuxiang 2018-12-31 12:22:51 +08:00
parent af84979465
commit 3ea0a67677
3 changed files with 10 additions and 3 deletions

3
.gitignore vendored
View File

@ -3,4 +3,5 @@
.ide
*.log
*.lock
.tea
.tea
.htaccess

View File

@ -186,7 +186,7 @@ $(function()
html += '<a href="'+result.data.data[i]['goods_url']+'" target="_blank">';
html += '<p class="title fl">'+result.data.data[i]['title']+'</p>';
html += '</a>';
html += '<p class="price fl"><b>¥</b><strong>'+result.data.data[i]['price']+'</strong></p>';
html += '<p class="price fl"><b>¥</b><strong>'+result.data.data[i]['min_price']+'</strong></p>';
html += '<p class="number fl">销量<span>'+result.data.data[i]['sales_count']+'</span></p>';
html += '</div></li>';

View File

@ -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');
?>