<view class="data-v-d8bbe70c"><block wx:if="{{type===''}}"><ad unit-id="{{unitId}}" ad-intervals="0" data-event-opts="{{[['load',[['onAdLoad',['$event']]]],['error',[['onAdError',['$event']]]],['close',[['onAdClose',['$event']]]]]}}" bindload="__e" binderror="__e" bindclose="__e" class="data-v-d8bbe70c"></ad></block><block wx:if="{{type==='video'}}"><ad unit-id="{{unitId}}" ad-type="{{type}}" ad-theme="{{theme}}" data-event-opts="{{[['load',[['onAdLoad',['$event']]]],['error',[['onAdError',['$event']]]],['close',[['onAdClose',['$event']]]]]}}" bindload="__e" binderror="__e" bindclose="__e" class="data-v-d8bbe70c"></ad></block><block wx:if="{{type==='grid'}}"><ad unit-id="{{unitId}}" ad-theme="{{theme}}" ad-type="{{type}}" grid-opacity="0.8" grid-count="5" data-event-opts="{{[['load',[['onAdLoad',['$event']]]],['error',[['onAdError',['$event']]]],['close',[['onAdClose',['$event']]]]]}}" bindload="__e" binderror="__e" bindclose="__e" class="data-v-d8bbe70c"></ad></block><block wx:if="{{type==='rewarded-video'}}"><image class="ad-img _img data-v-d8bbe70c" src="{{picUrl}}" data-event-opts="{{[['tap',[['showRewardedVideoAd',['$event']]]]]}}" bindtap="__e"></image></block><block wx:if="{{type==='interstitial'}}"><image class="ad-img _img data-v-d8bbe70c" src="{{picUrl}}" data-event-opts="{{[['tap',[['showInterstitialAd',['$event']]]]]}}" bindtap="__e"></image></block><block wx:if="{{type==='before-video'}}"><view class="ad-video data-v-d8bbe70c"><video src="{{videoUrl}}" ad-unit-id="{{unitId}}" poster="{{picUrl}}" data-event-opts="{{[['adplay',[['onAdPlay',['$event']]]],['adload',[['onAdLoad',['$event']]]],['adclose',[['onAdClose',['$event']]]],['aderror',[['onAdError',['$event']]]]]}}" bindadplay="__e" bindadload="__e" bindadclose="__e" bindaderror="__e" class="data-v-d8bbe70c"></video></view></block></view>