|
|
|
|
3
|
import { RichText } from '@tarojs/components'
|
3
|
import { RichText } from '@tarojs/components'
|
4
|
import request, { apis } from '@/utils/request'
|
4
|
import request, { apis } from '@/utils/request'
|
5
|
import { useModel } from '@/store'
|
5
|
import { useModel } from '@/store'
|
6
|
-import GetUserPhone from '@/components/GetUserPhone/index'
|
|
|
7
|
import toolclass from '@/utils/toolclass.js'
|
6
|
import toolclass from '@/utils/toolclass.js'
|
8
|
import '@/assets/css/reset.less'
|
7
|
import '@/assets/css/reset.less'
|
9
|
import '@/assets/css/iconfont.less'
|
8
|
import '@/assets/css/iconfont.less'
|
|
|
|
|
13
|
|
12
|
|
14
|
const { user } = useModel('user')
|
13
|
const { user } = useModel('user')
|
15
|
const [DataLock, setDataLock] = useState(false)
|
14
|
const [DataLock, setDataLock] = useState(false)
|
16
|
- const [ShowGetUserPhoneLayer, setShowGetUserPhoneLayer] = useState(false)
|
|
|
17
|
const [HasJoin, setHasJoin] = useState(null)
|
15
|
const [HasJoin, setHasJoin] = useState(null)
|
18
|
const [CurrnetHuoDongId] = useState(Current.router.params.id) // 当前活动id
|
16
|
const [CurrnetHuoDongId] = useState(Current.router.params.id) // 当前活动id
|
19
|
const [ActivityDetail, setActivityDetail] = useState(null) // 活动详情
|
17
|
const [ActivityDetail, setActivityDetail] = useState(null) // 活动详情
|
|
|
|
|
68
|
return (
|
66
|
return (
|
69
|
<view className='HuoDongDetail'>
|
67
|
<view className='HuoDongDetail'>
|
70
|
|
68
|
|
71
|
- {/* 获取用户手机号授权 */}
|
|
|
72
|
- <GetUserPhone Show={ShowGetUserPhoneLayer} Close={() => { setShowGetUserPhoneLayer(false) }}></GetUserPhone>
|
|
|
73
|
-
|
|
|
74
|
<view className='BannerLayer'></view>
|
69
|
<view className='BannerLayer'></view>
|
75
|
{
|
70
|
{
|
76
|
ActivityDetail !== null &&
|
71
|
ActivityDetail !== null &&
|