Browse Source
Merge branch 'featrue/v.4.0' into featrue/v4.1
Merge branch 'featrue/v.4.0' into featrue/v4.1
# Conflicts: # pages/index/index.js # pages/login/index.jsfeatrue/v4.1
8 changed files with 95 additions and 12 deletions
Split View
Diff Options
-
2app.js
-
4components/popup/index.wxss
-
27pages/index/index.js
-
4pages/index/index.json
-
33pages/index/index.wxml
-
27pages/index/index.wxss
-
1pages/login/index.js
-
9utils/request.js
@ -1,16 +1,39 @@ |
|||
<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"><home id="{{TabList[2].value}}"/></swiper-item> |
|||
<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"> |
|||
<home id="{{TabList[2].value}}" /> |
|||
</swiper-item> |
|||
</swiper> |
|||
|
|||
<view class="cu-bar tabbar bg-white shadow foot" style="height:{{100 + safeBottom}}rpx;padding-bottom:{{safeBottom}}rpx"> |
|||
<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> |
|||
</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="{{'http://cdn.skyvow.cn/redpacket.png'}}" |
|||
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="color:#FFEF93;padding:12rpx 24rpx;margin-top:16rpx" catchtap="toRule" wx:if="{{visible}}">活动规则</view> |
|||
</view> |
|||
</wux-popup> |
|||
@ -0,0 +1,27 @@ |
|||
.wux-close { |
|||
width: 100%; |
|||
text-align: end; |
|||
display: inline-block; |
|||
padding-bottom: 24rpx; |
|||
} |
|||
|
|||
.wux-landscape{ |
|||
width: 100%; |
|||
max-width: 750rpx; |
|||
} |
|||
|
|||
.wux-landscape__popup { |
|||
background-color: transparent!important |
|||
} |
|||
|
|||
.wux-landscape__popup-body { |
|||
padding: 0!important |
|||
} |
|||
.wux-landscape__inner { |
|||
line-height: 1.5; |
|||
color: rgba(0,0,0,.65) |
|||
} |
|||
.wux-landscape__inner > image { |
|||
width: 100%; |
|||
max-width: 100% |
|||
} |
|||
Write
Preview
Loading…
Cancel
Save