|
|
|
@ -1,5 +1,5 @@ |
|
|
|
|
import { View, Image, Text, ScrollView, Swiper, SwiperItem } from '@tarojs/components' |
|
|
|
|
import Taro, { useDidShow, useLoad, useShareAppMessage, useShareTimeline } from '@tarojs/taro' |
|
|
|
|
import Taro, { useDidShow, useDidHide, useLoad, useShareAppMessage, useShareTimeline } from '@tarojs/taro' |
|
|
|
|
import { useEffect, useState } from 'react' |
|
|
|
|
import './index.less' |
|
|
|
|
import GetPhoneNumber from '../../components/getPhoneModal' |
|
|
|
@ -194,6 +194,11 @@ export default function Home() { |
|
|
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
useDidHide(() => { |
|
|
|
|
setisGetUsePhone(false) |
|
|
|
|
setisLoginOpen(false) |
|
|
|
|
}) |
|
|
|
|
|
|
|
|
|
//用户登录后重新请求爆品
|
|
|
|
|
useEffect(() => { |
|
|
|
|
if(isGetUsePhone){ |
|
|
|
|