From 57daf0f0f8b1a2fa51164c071fa8430806cfa032 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E6=B5=A9?= <15830956848@163.com> Date: Mon, 24 Mar 2025 10:53:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9C=AC=E5=9C=B0=E6=B7=BB=E5=8A=A0=E8=BE=BE?= =?UTF-8?q?=E4=BA=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App.vue | 16 +- api/home.js | 11 + api/store.js | 2 +- config/config.js | 2 +- pages.json | 4 +- pages/product/product/shop/-shop.vue | 1 + pages/product/shopList.vue | 23 +- pages/tabbar/home/index.vue | 19 +- pages/tabbar/home/template/Talent.vue | 103 +++++++++ pages/tabbar/home/template/tpl_activity.vue | 20 ++ pages/tabbar/home/template/tpl_search.vue | 239 +++++++++++++++++++- pages/tabbar/home/views.vue | 19 +- static/shop.png | Bin 0 -> 1446 bytes static/tabbar/bei.png | Bin 0 -> 508083 bytes static/tabbar/shop.png | Bin 0 -> 1428 bytes static/tanback.png | Bin 0 -> 99452 bytes 16 files changed, 417 insertions(+), 42 deletions(-) create mode 100644 pages/tabbar/home/template/Talent.vue create mode 100644 pages/tabbar/home/template/tpl_activity.vue create mode 100644 static/shop.png create mode 100644 static/tabbar/bei.png create mode 100644 static/tabbar/shop.png create mode 100644 static/tanback.png diff --git a/App.vue b/App.vue index 0b37504d..80198fec 100644 --- a/App.vue +++ b/App.vue @@ -259,12 +259,12 @@ body { transition-duration: 300ms; } -uni-page-body, -html, -body, -page { - width: 100% !important; - height: 100% !important; - overflow: hidden; -} +// uni-page-body, +// html, +// body, +// page { +// width: 100% !important; +// height: 100% !important; +// overflow: hidden; +// } diff --git a/api/home.js b/api/home.js index a5dee697..d76ec4d5 100644 --- a/api/home.js +++ b/api/home.js @@ -12,6 +12,17 @@ export function getAdvertisement() { }); } +/** + * 像后端传递经纬度 + */ +export function postAdvertisementjw(data) { + return http.request({ + url: "/member/address/location", + method: Method.POST, + header: { "content-type": "application/x-www-form-urlencoded" }, + data + }); +} /** diff --git a/api/store.js b/api/store.js index 20e5ee2c..00e8fe4b 100644 --- a/api/store.js +++ b/api/store.js @@ -13,7 +13,7 @@ import {http, Method} from '@/utils/request.js'; */ export function getStoreList(params) { return http.request({ - url: '/store', + url: '/store/store', method: Method.GET, params, }); diff --git a/config/config.js b/config/config.js index 48013e54..807b63c3 100644 --- a/config/config.js +++ b/config/config.js @@ -7,7 +7,7 @@ export default { shareLink: "https://m-b2b2c.pickmall.cn", //分享地址,也就是在h5中默认的复制地址 appid: "wx6f10f29075dc1b0b", //小程序唯一凭证,即 AppID,可在「微信公众平台 - 设置 - 开发设置」页中获得。(需要已经成为开发者,且帐号没有异常状态) appSecret: "6dfbe0c72380dce5d49d65b3c91059b1", //可在 manifest.json 查看 - aMapKey: "d649892b3937a5ad20b76dacb2bcb5bd", //在高德中申请web端key + aMapKey: "AOHBZ-VCEL3-XX73N-O623U-FMTP6-ASBTD", //在腾讯的中申请web端key scanAuthNavigation:['https://m-b2b2c.pickmall.cn/'], //扫码认证跳转域名配置 会根据此处配置的路由进行跳转 iosAppId:"id1564638363", //AppStore的应用地址id 具体在分享->拷贝链接中查看 logo:"https://lilishop-oss.oss-cn-beijing.aliyuncs.com/4c864e133c2944efad1f7282ac8a3b9e.png", //logo地址 diff --git a/pages.json b/pages.json index f7528cd6..40e78be3 100644 --- a/pages.json +++ b/pages.json @@ -21,7 +21,7 @@ "navigationBarTitleText": "商城", "navigationStyle": "custom", // 隐藏系统导航栏 "navigationBarTextStyle": "black", - "enablePullDownRefresh":true + "enablePullDownRefresh": true } }, @@ -1084,7 +1084,7 @@ }, { "pagePath": "pages/tabbar/home/index", - "text": "商城" + "text": "本地" }, { "pagePath": "pages/tabbar/im/index", diff --git a/pages/product/product/shop/-shop.vue b/pages/product/product/shop/-shop.vue index 3220628d..94327de9 100644 --- a/pages/product/product/shop/-shop.vue +++ b/pages/product/product/shop/-shop.vue @@ -63,6 +63,7 @@ export default { }, tostorePage(val) { + console.log(val); uni.navigateTo({ url: "../product/shopPage?id=" + val.storeId, }); diff --git a/pages/product/shopList.vue b/pages/product/shopList.vue index c91daa8c..d81a8da3 100644 --- a/pages/product/shopList.vue +++ b/pages/product/shopList.vue @@ -7,21 +7,22 @@