diff --git a/.env.development b/.env.development index 9c69600..786f063 100755 --- a/.env.development +++ b/.env.development @@ -11,5 +11,5 @@ APP_ID=wx72e9e1a93420862c APP_MAP_KEY=1ccc1ebc947719886f0cd766d70241fe APP_MAP_NAME=BIRKENSTOCK门店定位 APP_IMAGE_CDN=https://b-img-cdn.yuanyuanke.cn/ecshopx-vshop -APP_IMAGE_CDN_NEW=https://ecx-brikenstock-image.oss-cn-shanghai.aliyuncs.com/default_project/wxAssets +APP_IMAGE_CDN_NEW=https://image.birkenstock.net.cn/default_project/wxAssets APP_DIANWU_URL= diff --git a/.env.development.bak b/.env.development.bak index 4ce8ca0..142c858 100755 --- a/.env.development.bak +++ b/.env.development.bak @@ -11,5 +11,5 @@ APP_ID=wx55ff808ba0e28b1d APP_MAP_KEY=1ccc1ebc947719886f0cd766d70241fe APP_MAP_NAME=oneX新零售门店定位 APP_IMAGE_CDN=https://b-img-cdn.yuanyuanke.cn/ecshopx-vshop -APP_IMAGE_CDN_NEW=https://ecx-brikenstock-image.oss-cn-shanghai.aliyuncs.com/default_project/wxAssets +APP_IMAGE_CDN_NEW=https://image.birkenstock.net.cn/default_project/wxAssets APP_DIANWU_URL= diff --git a/.env.production b/.env.production index 9879ff2..1727294 100755 --- a/.env.production +++ b/.env.production @@ -11,5 +11,5 @@ APP_ID=wx72e9e1a93420862c APP_MAP_KEY=1ccc1ebc947719886f0cd766d70241fe APP_MAP_NAME=BIRKENSTOCK门店定位 APP_IMAGE_CDN=https://b-img-cdn.yuanyuanke.cn/ecshopx-vshop -APP_IMAGE_CDN_NEW=https://ecx-brikenstock-image.oss-cn-shanghai.aliyuncs.com/default_project/wxAssets +APP_IMAGE_CDN_NEW=https://image.birkenstock.net.cn/default_project/wxAssets APP_DIANWU_URL= diff --git a/.env.production.bak b/.env.production.bak index 4ce8ca0..142c858 100755 --- a/.env.production.bak +++ b/.env.production.bak @@ -11,5 +11,5 @@ APP_ID=wx55ff808ba0e28b1d APP_MAP_KEY=1ccc1ebc947719886f0cd766d70241fe APP_MAP_NAME=oneX新零售门店定位 APP_IMAGE_CDN=https://b-img-cdn.yuanyuanke.cn/ecshopx-vshop -APP_IMAGE_CDN_NEW=https://ecx-brikenstock-image.oss-cn-shanghai.aliyuncs.com/default_project/wxAssets +APP_IMAGE_CDN_NEW=https://image.birkenstock.net.cn/default_project/wxAssets APP_DIANWU_URL= diff --git a/src/pages/index.js b/src/pages/index.js index 537b8f2..b1d4f57 100755 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -344,7 +344,8 @@ function Home () { const activeSwiper = (activity_info.pics || [])?.map(item => ({ type: 'image', src: item, - goods: [] + goods: [], + onClick: handleGoWx })) const res = await api.shop.homeSwiperList({ page: 1, pageSize: 999 }) const list = (res?.list?.map((item) => { @@ -574,8 +575,8 @@ function Home () { const indexUrl = 'https://mp.weixin.qq.com/s/LBXthKa-P9gNK8FCv3n1pA' const handleGoWx = () => { - handleApply() - // Taro.navigateTo({ url: '/pages/webview?url=' + encodeURIComponent(indexUrl) }) + // handleApply() + Taro.navigateTo({ url: '/pages/webview?url=' + encodeURIComponent(indexUrl) }) } return (