|
@@ -8,7 +8,7 @@ import {
|
8
|
8
|
} from "@/services/home";
|
9
|
9
|
import { getVerifyTargetList } from "@/services/payOrder";
|
10
|
10
|
import { useState, useEffect, useRef } from "react";
|
11
|
|
-import { Button, Swiper, SwiperItem, View } from "@tarojs/components";
|
|
11
|
+import { Button, Swiper, SwiperItem, View, Ad } from "@tarojs/components";
|
12
|
12
|
import { compressImage } from '@/utils'
|
13
|
13
|
import Star from "@/components/Star/Star.jsx";
|
14
|
14
|
import NoData from '@/components/NoData'
|
|
@@ -78,11 +78,6 @@ export default withLayout((props) => {
|
78
|
78
|
}
|
79
|
79
|
}, [router.params.enterType, router.params.scene])
|
80
|
80
|
|
81
|
|
-
|
82
|
|
-
|
83
|
|
-
|
84
|
|
-
|
85
|
|
-
|
86
|
81
|
//本店指南
|
87
|
82
|
const [extend, setExtend] = useState([]);
|
88
|
83
|
|
|
@@ -159,7 +154,7 @@ export default withLayout((props) => {
|
159
|
154
|
</view>
|
160
|
155
|
}
|
161
|
156
|
|
162
|
|
- <SpinBox loading={loading} className='index-container' style={{ padding: '0 30rpx', background: '#F8F8F8' }}>
|
|
157
|
+ <SpinBox loading={loading} className='index-container' style={{ padding: '0 30rpx', background: '#F8F8F8' }}>
|
163
|
158
|
<scroll-view
|
164
|
159
|
scrollY={isScroll}
|
165
|
160
|
style={{ height: '100%' }}
|
|
@@ -229,6 +224,9 @@ export default withLayout((props) => {
|
229
|
224
|
</view>
|
230
|
225
|
</view>
|
231
|
226
|
</view>
|
|
227
|
+ <view class="adContainer">
|
|
228
|
+ <Ad unit-id="adunit-e6c9885420df0aff" ad-type="video" ad-theme="white" />
|
|
229
|
+ </view>
|
232
|
230
|
{
|
233
|
231
|
spackage == '' && extend == "" ?
|
234
|
232
|
<NoData /> :
|