diff --git a/api/admin.js b/api/admin.js index dd05455..07201fc 100644 --- a/api/admin.js +++ b/api/admin.js @@ -246,4 +246,10 @@ export function getAdminInfo(merId) { */ export function updateAdminInfo(data,merId) { return request.post(`server/${merId}/store/update`, data, { login: true }); +} +/** + * 获取商户修改配置 + */ +export function getAdminConfig(merId) { + return request.get(`server/${merId}/store/service`,{}, { login: true }); } \ No newline at end of file diff --git a/manifest.json b/manifest.json index 3ff5b23..38062d3 100644 --- a/manifest.json +++ b/manifest.json @@ -2,7 +2,7 @@ "name" : "铸源商城", "appid" : "__UNI__496DF55", "description" : "", - "versionName" : "1.0.4", + "versionName" : "1.0.5", "versionCode" : 127, "transformPx" : false, /* 5+App特有相关 */ @@ -86,7 +86,7 @@ "maps" : { "amap" : { "appkey_ios" : "f868a24eddab123b4e3a2cadb78b6fba", - "appkey_android" : "a4fc891e60ccdf388ce0996cc833aca1", + "appkey_android" : "b6c88d12b305ff5535bfdd92da78cdfe", "name" : "amapKPWKfVew" } }, @@ -100,7 +100,7 @@ "amap" : { "__platform__" : [ "ios", "android" ], "appkey_ios" : "f868a24eddab123b4e3a2cadb78b6fba", - "appkey_android" : "a4fc891e60ccdf388ce0996cc833aca1", + "appkey_android" : "b6c88d12b305ff5535bfdd92da78cdfe", "name" : "amapKPWKfVew" } }, diff --git a/pages.json b/pages.json index 5d5982c..883f69d 100644 --- a/pages.json +++ b/pages.json @@ -1,4 +1,5 @@ { + "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/guide/index", @@ -103,6 +104,16 @@ } } }, + { + "path": "pages/shop/location/index", + "style": { + "enablePullDownRefresh": false, + "navigationStyle": "custom", + "app-plus": { + "scrollIndicator": false //禁用原生导航栏 + } + } + }, { "path": "pages/news_list/index", "style": { @@ -676,7 +687,7 @@ { "path": "shopInfo/index", "style": { - "navigationBarTitleText": "商家信息" + "navigationBarTitleText": "基本信息" } }, { @@ -1310,6 +1321,10 @@ ] } ], + "easycom" : { + "^u-(.*)" : "@/uni_modules/uview-ui/components/u-$1/u-$1.vue", + "^uv-(.*)" : "@climblee/uv-ui/components/uv-$1/uv-$1.vue" + }, "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "加载中...", @@ -1373,4 +1388,5 @@ }] }, "sitemapLocation": "sitemap.json" + } \ No newline at end of file diff --git a/pages/admin/shopInfo/index.vue b/pages/admin/shopInfo/index.vue index b034e34..b798cd3 100644 --- a/pages/admin/shopInfo/index.vue +++ b/pages/admin/shopInfo/index.vue @@ -73,17 +73,27 @@ - 提货点营业日期 + 提供服务 + + + + + + + + 营业日期 - 提货点营业时间 + 营业时间 {{time}} @@ -137,7 +147,7 @@ + + \ No newline at end of file diff --git a/pages/shop/search/index.vue b/pages/shop/search/index.vue index 53a2699..4a30ca6 100644 --- a/pages/shop/search/index.vue +++ b/pages/shop/search/index.vue @@ -160,7 +160,7 @@ is_trader: '', filter_params: '', page:1, - limit:30 + limit:10 }, price: 0, stock: 0, @@ -229,12 +229,14 @@ type_id:4,// 固定不变 category_id:this.id, //拿 lst 里面的 id keyword:this.where.keyword, + page:this.where.page, + limit:this.where.limit, } shopNearby(data1).then((res)=>{ console.log('res: ',res); if(res.data){ - this.productList=res.data.list - console.log('this.productList: ',this.productList); + this.productList=res.data.list; + that.$set(that.where, 'page', that.where.page + 1); } }) }, @@ -477,9 +479,10 @@ }, onReachBottom() { if (this.productList.length > 0) { - this.get_product_list(''); + this.search(); + // this.get_product_list(''); } else { - this.get_host_product(); + // this.get_host_product(); } }, onPullDownRefresh(){ diff --git a/pages/shop_details/index.vue b/pages/shop_details/index.vue index 094751d..cfcf662 100644 --- a/pages/shop_details/index.vue +++ b/pages/shop_details/index.vue @@ -1,6 +1,6 @@