diff --git a/api/shop.js b/api/shop.js new file mode 100644 index 0000000..0c301c6 --- /dev/null +++ b/api/shop.js @@ -0,0 +1,14 @@ + +import request from "@/utils/request.js"; +/** + * 公共接口 ,获取商家列表,定位信息 + * +*/ +/** + * 获取主页数据 无需授权 + * +*/ +export function getIndexData() +{ + return request.get("common/home",{},{ noAuth : true}); +} \ No newline at end of file diff --git a/manifest.json b/manifest.json index 60b6fdc..e249d16 100644 --- a/manifest.json +++ b/manifest.json @@ -1,6 +1,6 @@ { "name" : "多商户商城", - "appid" : "__UNI__99FC347", + "appid" : "__UNI__496DF55", "description" : "", "versionName" : "1.0.4", "versionCode" : 127, diff --git a/pages.json b/pages.json index 09388bb..a667e30 100644 --- a/pages.json +++ b/pages.json @@ -1303,40 +1303,40 @@ }, "tabBar": { "color": "#282828", - "selectedColor": "#E93323", + "selectedColor": "#208F43", "borderStyle": "white", "backgroundColor": "#ffffff", "list": [ { "pagePath": "pages/index/index" , - "iconPath": "static/images/1-001.png", - "selectedIconPath": "static/images/1-002.png", + "iconPath": "static/images/1-1.png", + "selectedIconPath": "static/images/1-2.png", "text": "首页" }, { "pagePath": "pages/goods_cate/goods_cate" , - "iconPath": "static/images/2-001.png", - "selectedIconPath": "static/images/2-002.png", + "iconPath": "static/images/2-1.png", + "selectedIconPath": "static/images/2-2.png", "text": "分类" }, { "pagePath": "pages/shop/index", - "iconPath": "static/images/shop/index-tab.png", - "selectedIconPath": "static/images/shop/index-tab.png", + "iconPath": "static/images/3-1.png", + "selectedIconPath": "static/images/3-2.png", "text": "商家" }, { "pagePath": "pages/order_addcart/order_addcart", - "iconPath": "static/images/3-001.png", - "selectedIconPath": "static/images/3-002.png", + "iconPath": "static/images/4-1.png", + "selectedIconPath": "static/images/4-2.png", "text": "购物车" }, { "pagePath": "pages/user/index", - "iconPath": "static/images/4-001.png", - "selectedIconPath": "static/images/4-002.png", + "iconPath": "static/images/5-1.png", + "selectedIconPath": "static/images/5-2.png", "text": "我的" } ] diff --git a/pages/shop/css/shop.css b/pages/shop/css/shop.css index cce572f..14172a8 100644 --- a/pages/shop/css/shop.css +++ b/pages/shop/css/shop.css @@ -26,10 +26,10 @@ font-size: 40rpx; position: absolute; right:28rpx; - color:#3587F7; + color:var(--view-theme); } .content .top-tab .tab-location .icon-dingwei{ - color: blue; + color: var(--view-theme); font-size: 28rpx; } .content .content-map{ diff --git a/pages/shop/index.vue b/pages/shop/index.vue index 583c131..74004f1 100644 --- a/pages/shop/index.vue +++ b/pages/shop/index.vue @@ -1,6 +1,6 @@