diff --git a/common/js/api.js b/common/js/api.js index fcc8d04..e066182 100644 --- a/common/js/api.js +++ b/common/js/api.js @@ -92,4 +92,13 @@ export default { orderfindWiningUser(data) { //获取免单订单 return uni.api.get("/order/findWiningUser", data); }, + indexlist(data) { //商品列表(今日上新/热榜/咖啡饮品) + return uni.api.get("/distirict/productCate", data); + }, + productproductInfo(data) { //商品详情 + return uni.api.get("/product/productInfo", data); + }, + distirictcomShopList(data) { //通用门店列表 + return uni.api.get("/distirict/comShopList", data); + }, } \ No newline at end of file diff --git a/components/navseat.vue b/components/navseat.vue index cd0a55d..846bd7d 100644 --- a/components/navseat.vue +++ b/components/navseat.vue @@ -70,7 +70,7 @@ position: -webkit-sticky; position: sticky; top: 0; - z-index: 999999; + z-index: 9999; .active { background: rgba(249, 249, 249, 1); diff --git a/pages.json b/pages.json index 034c8d0..04ee92a 100644 --- a/pages.json +++ b/pages.json @@ -60,6 +60,12 @@ "navigationStyle": "custom" } }, + { + "path": "pages/product/generalstore", + "style": { + "navigationBarTitleText": "通用门店" + } + }, { "path": "pages/login/login", "style": { diff --git a/pages/index/components/todaylist.vue b/pages/index/components/todaylist.vue index 8d79afe..321634f 100644 --- a/pages/index/components/todaylist.vue +++ b/pages/index/components/todaylist.vue @@ -14,7 +14,7 @@ + :key="index" @click="clickproduct(item)"> @@ -50,7 +50,7 @@ + :key="index" @click="clickproduct(item)"> @@ -101,6 +101,9 @@ } }, methods:{ + clickproduct(item){ + uni.pro.navigateTo('product/index',item) + }, jrtoday(e){ if(e == 0){ uni.pro.navigateTo('index/jtoday') diff --git a/pages/index/hotlist.vue b/pages/index/hotlist.vue index 98fbcf6..ae8f41c 100644 --- a/pages/index/hotlist.vue +++ b/pages/index/hotlist.vue @@ -1,9 +1,9 @@