main
wwl 2024-05-20 10:14:14 +08:00
parent e89f63d1ce
commit cd11bd5ea1
5 changed files with 8 additions and 7 deletions

View File

@ -11,5 +11,5 @@ APP_ID=wx72e9e1a93420862c
APP_MAP_KEY=1ccc1ebc947719886f0cd766d70241fe APP_MAP_KEY=1ccc1ebc947719886f0cd766d70241fe
APP_MAP_NAME=BIRKENSTOCK门店定位 APP_MAP_NAME=BIRKENSTOCK门店定位
APP_IMAGE_CDN=https://b-img-cdn.yuanyuanke.cn/ecshopx-vshop 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= APP_DIANWU_URL=

View File

@ -11,5 +11,5 @@ APP_ID=wx55ff808ba0e28b1d
APP_MAP_KEY=1ccc1ebc947719886f0cd766d70241fe APP_MAP_KEY=1ccc1ebc947719886f0cd766d70241fe
APP_MAP_NAME=oneX新零售门店定位 APP_MAP_NAME=oneX新零售门店定位
APP_IMAGE_CDN=https://b-img-cdn.yuanyuanke.cn/ecshopx-vshop 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= APP_DIANWU_URL=

View File

@ -11,5 +11,5 @@ APP_ID=wx72e9e1a93420862c
APP_MAP_KEY=1ccc1ebc947719886f0cd766d70241fe APP_MAP_KEY=1ccc1ebc947719886f0cd766d70241fe
APP_MAP_NAME=BIRKENSTOCK门店定位 APP_MAP_NAME=BIRKENSTOCK门店定位
APP_IMAGE_CDN=https://b-img-cdn.yuanyuanke.cn/ecshopx-vshop 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= APP_DIANWU_URL=

View File

@ -11,5 +11,5 @@ APP_ID=wx55ff808ba0e28b1d
APP_MAP_KEY=1ccc1ebc947719886f0cd766d70241fe APP_MAP_KEY=1ccc1ebc947719886f0cd766d70241fe
APP_MAP_NAME=oneX新零售门店定位 APP_MAP_NAME=oneX新零售门店定位
APP_IMAGE_CDN=https://b-img-cdn.yuanyuanke.cn/ecshopx-vshop 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= APP_DIANWU_URL=

View File

@ -344,7 +344,8 @@ function Home () {
const activeSwiper = (activity_info.pics || [])?.map(item => ({ const activeSwiper = (activity_info.pics || [])?.map(item => ({
type: 'image', type: 'image',
src: item, src: item,
goods: [] goods: [],
onClick: handleGoWx
})) }))
const res = await api.shop.homeSwiperList({ page: 1, pageSize: 999 }) const res = await api.shop.homeSwiperList({ page: 1, pageSize: 999 })
const list = (res?.list?.map((item) => { const list = (res?.list?.map((item) => {
@ -574,8 +575,8 @@ function Home () {
const indexUrl = 'https://mp.weixin.qq.com/s/LBXthKa-P9gNK8FCv3n1pA' const indexUrl = 'https://mp.weixin.qq.com/s/LBXthKa-P9gNK8FCv3n1pA'
const handleGoWx = () => { const handleGoWx = () => {
handleApply() // handleApply()
// Taro.navigateTo({ url: '/pages/webview?url=' + encodeURIComponent(indexUrl) }) Taro.navigateTo({ url: '/pages/webview?url=' + encodeURIComponent(indexUrl) })
} }
return ( return (
<SpPage <SpPage