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