diff --git a/api/store.js b/api/store.js index 48c921d..3945c17 100644 --- a/api/store.js +++ b/api/store.js @@ -211,13 +211,21 @@ export function getEvaluationDetail(id) { } /** - * 品牌列表 + * 品牌列表/brandByName */ export function getBrands() { return request.get("/brand", {}, { login: false }); } +/** + * 商品品牌列表 + */ +export function getBrandByName() { + return request.get("/brandByName", {}, { + login: false + }); +} // <<<<<<< HEAD // /** // * 添加收藏 diff --git a/pages/shop/brands/brandAll/index.vue b/pages/shop/brands/brandAll/index.vue index e3d5ccb..9b63d02 100644 --- a/pages/shop/brands/brandAll/index.vue +++ b/pages/shop/brands/brandAll/index.vue @@ -12,41 +12,87 @@ - - - + + + + 搜索 + + + + + + + + {{key}} + + + + + + {{item.brandName}} + + + + + + + + {{b}} + + +