<view class="home-push-wrap"><popup vue-id="1100afea-1" show="{{isPopup}}" width="{{width}}" height="{{height}}" backgroundColor="{{backgroundColor}}" boxShadow="{{boxShadow}}" padding="{{0}}" data-event-opts="{{[['^hidePopup',[['hidePopupFunc']]]]}}" bind:hidePopup="__e" bind:__l="__l" vue-slots="{{['default']}}"><view class="{{['home-push',type==1||type==3?'home-push-bg':'']}}"><block wx:if="{{type==1}}"><view class="image-text"><view class="pic"><image src="{{form.file_path}}" mode="aspectFill"></image></view><view class="title">{{form.title}}</view><view class="des">{{form.remark}}</view><view class="btns"><button type="primary" data-event-opts="{{[['tap',[['jumpPage',['$0'],['form.link.url']]]]]}}" bindtap="__e">{{form.des}}</button></view></view></block><block wx:if="{{type==2}}"><view data-event-opts="{{[['tap',[['jumpPage',['$0'],['form.link.url']]]]]}}" class="image-only" bindtap="__e"><view class="pic"><image src="{{form.file_path}}" mode="aspectFill"></image></view></view></block><block wx:if="{{type==3}}"><view class="cuopon"><block wx:if="{{form.file_path!=null&&form.file_path!=''}}"><view class="cuopon-title d-c-c"><image src="{{form.file_path}}" mode="aspectFill"></image></view></block><view class="list"><block wx:for="{{coupon}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item"><view class="info"><view class="num"><text class="f30">{{item.name}}</text></view></view><view class="explan"><text class="name">{{item.type}}</text></view></view></block></view><view class="btns"><button type="primary" data-event-opts="{{[['tap',[['getCoupon']]]]}}" bindtap="__e">立即领取</button></view></view></block></view><view data-event-opts="{{[['tap',[['hidePopupFunc',[true]]]]]}}" class="close-btns" bindtap="__e"><text class="icon iconfont icon-guanbi"></text></view></popup></view>
|