纸通宝小程序
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

44 lines
1.9 KiB

<wxs module="index" src="./index.wxs"></wxs>
<swiper current="{{pageIndex}}" duration="0" style="height:{{fragment}}rpx">
<swiper-item catchtouchmove="stopTouchMove">
<article id="{{TabList[0].value}}" />
</swiper-item>
<swiper-item catchtouchmove="stopTouchMove">
<mall id="{{TabList[1].value}}" />
</swiper-item>
<swiper-item catchtouchmove="stopTouchMove">
<agent id="{{TabList[2].value}}" />
</swiper-item>
<swiper-item catchtouchmove="stopTouchMove">
<home id="{{TabList[3].value}}" />
</swiper-item>
</swiper>
<view class="cu-bar tabbar bg-white shadow foot"
style="height:{{100 + safeBottom}}rpx;padding-bottom:{{safeBottom}}rpx">
<view wx:for="{{TabList}}" wx:key="index" class="action" bindtap="onNavChange" data-tab="{{item.index}}">
<view class="cuIcon-cu-image">
<image mode="aspectFill" src="{{index.tabImage(pageIndex, item.index)}}"></image>
</view>
<view class="{{pageIndex == item.index?'text-blue':'text-gray'}}">{{item.name}}</view>
</view>
</view>
<wux-popup wux-class="wux-landscape" wux-content-class="wux-landscape__popup" wux-body-class="wux-landscape__popup-body"
hasHeader="{{ false }}" hasFooter="{{ false }}" visible="{{ landInfo }}" mask="{{ true }}" bind:close="onClose">
<view class="wux-close" bindtap="onClose" wx:if="{{visible}}">
<text class="cuIcon-roundclose text-white" style="font-size:64rpx"></text>
</view>
<view class="wux-landscape__inner">
<wux-image width="{{654}}" height="{{680}}" nuit="{{'rpx'}}" src="{{landInfo.picUrl}}"
bind:load="onImageLoad" bind:click="onImageClick">
<view class="flex flex-center" slot="loading" style="height:654rpx;width:680rpx">
<text class="icon--refresher"></text>
</view>
</wux-image>
<view class="text-df" style="margin-top:16rpx" wx:if="{{visible && landInfo.ruleRedirectInfo}}">
<text style="color:#FFEF93;padding:12rpx 24rpx;" catchtap="toRule">活动规则</text>
</view>
</view>
</wux-popup>