李志伟 il y a 3 ans
Parent
révision
03c84715e5

+ 1
- 1
src/pages/details/foodDetails/foodDetails.jsx Voir le fichier

@@ -243,7 +243,7 @@ export default withLayout((props) => {
243 243
                   ))}
244 244
                 </view>
245 245
                 <view class="adContainer">
246
-                  <Ad unit-id="adunit-e6c9885420df0aff" ad-type="video" ad-theme="white" />
246
+                  <Ad unit-id="adunit-a0f97bb7ec8ec7bb" ad-intervals="30" />
247 247
                 </view>
248 248
                 <view
249 249
                   style={{

+ 2
- 2
src/pages/details/mjDetails/sceneryDetails.jsx Voir le fichier

@@ -14,7 +14,7 @@ import SpinBox from "@/components/Spin/SpinBox";
14 14
 import TabIcon from '@/components/HorTabbar/TabIcon'
15 15
 import { useState, useEffect } from 'react'
16 16
 import { getTouristDetail, getExtendContent, getRecommendList } from '@/services/home'
17
-import { Swiper, SwiperItem, Button, View,Ad } from '@tarojs/components';
17
+import { Swiper, SwiperItem, Button, View, Ad } from '@tarojs/components';
18 18
 import useSave from "@/utils/hooks/useSave"
19 19
 import useLike from "@/utils/hooks/useLike"
20 20
 import Cards from '@/components/foodCards/foodCards.jsx'
@@ -157,7 +157,7 @@ export default withLayout((props) => {
157 157
             </view>
158 158
           </view>
159 159
           <view class="adContainer">
160
-            <Ad unit-id="adunit-e6c9885420df0aff" ad-type="video" ad-theme="white" />
160
+            <Ad unit-id="adunit-a0f97bb7ec8ec7bb" ad-intervals="30" />
161 161
           </view>
162 162
           <view style={{ position: 'relative', display: extend == '' ? 'none' : '' }}>
163 163
             <view className='title'>