24 changed files with 237 additions and 90 deletions
@ -1,5 +1,8 @@ |
|||||||
{ |
{ |
||||||
"component": true, |
"component": true, |
||||||
"styleIsolation": "apply-shared", |
"styleIsolation": "apply-shared", |
||||||
"usingComponents": {} |
"usingComponents": { |
||||||
|
"van-icon": "@vant/weapp/icon/index" |
||||||
|
} |
||||||
} |
} |
||||||
|
|
||||||
|
|||||||
@ -1,6 +1,9 @@ |
|||||||
<image wx:if="{{start}}" class="page" mode="widthFix" src="{{imageUrl}}nmosd/09.png?t={{Timestamp}}"></image> |
<image class="page" mode="widthFix" src="{{imageUrl}}psvt/1.png?t={{Timestamp}}"></image> |
||||||
<image wx:else class="page" mode="widthFix" src="{{imageUrl}}nmosd/010.png?t={{Timestamp}}"></image> |
<view class="page-click1" catch:tap="handelTap1"></view> |
||||||
<view class="{{start ? 'page-click2' : 'page-click1'}}" catch:tap="handelTap1"></view> |
<view class="page-click2" catch:tap="handelTap2"></view> |
||||||
<view class="{{start ? 'page-click1' : 'page-click2'}}" catch:tap="handelTap2"></view> |
<view class="page-click3" catch:tap="handelTap3"></view> |
||||||
|
<view class="page-click4" catch:tap="handelTap4"></view> |
||||||
|
|
||||||
|
<image wx:if="{{float1}}" class="float1" mode="widthFix" src="{{imageUrl}}psvt/11.png?t={{Timestamp}}" bind:tap="handleFloat1"></image> |
||||||
|
|
||||||
<tabbar current="{{1}}"></tabbar> |
<tabbar current="{{1}}"></tabbar> |
||||||
|
|||||||
@ -1,6 +1,6 @@ |
|||||||
<navigation-bar></navigation-bar> |
<navigation-bar></navigation-bar> |
||||||
<swiper class="page" current="{{current}}"> |
<swiper class="page" current="{{current}}"> |
||||||
<swiper-item> |
<swiper-item> |
||||||
<image bind:tap="handlePage1" class="page-img" mode="widthFix" src="{{imageUrl}}nmosd/011.png?t={{Timestamp}}"></image> |
<image bind:tap="handlePage1" class="page-img" mode="widthFix" src="{{imageUrl}}psvt/3.png?t={{Timestamp}}"></image> |
||||||
</swiper-item> |
</swiper-item> |
||||||
</swiper> |
</swiper> |
||||||
|
|||||||
@ -1,6 +1,36 @@ |
|||||||
<navigation-bar></navigation-bar> |
<navigation-bar></navigation-bar> |
||||||
<image class="page" mode="widthFix" src="{{imageUrl}}nmosd/013.png?t={{Timestamp}}" bind:tap="handlePage1"></image> |
<swiper class="page {{current==2 && 'float-page'}}" current="{{current}}"> |
||||||
|
<swiper-item> |
||||||
<view class="page-click1" catch:tap="handelTap1"></view> |
<image |
||||||
|
bind:tap="handlePage1" |
||||||
<image wx:if="{{float1}}" class="float1" mode="widthFix" src="{{imageUrl}}nmosd/01.png?t={{Timestamp}}" bind:tap="handleFloat1"></image> |
class="page-img" |
||||||
|
mode="widthFix" |
||||||
|
src="{{imageUrl}}psvt/14.png?t={{Timestamp}}" |
||||||
|
></image> |
||||||
|
</swiper-item> |
||||||
|
<swiper-item> |
||||||
|
<image |
||||||
|
bind:tap="handlePage2" |
||||||
|
class="page-img" |
||||||
|
mode="widthFix" |
||||||
|
src="{{imageUrl}}psvt/13.png?t={{Timestamp}}" |
||||||
|
></image> |
||||||
|
</swiper-item> |
||||||
|
<swiper-item> |
||||||
|
<image |
||||||
|
bind:tap="handlePage3" |
||||||
|
class="page-img" |
||||||
|
mode="widthFix" |
||||||
|
src="{{imageUrl}}psvt/12.png?t={{Timestamp}}" |
||||||
|
></image> |
||||||
|
</swiper-item> |
||||||
|
<swiper-item> |
||||||
|
<image |
||||||
|
bind:tap="handlePage4" |
||||||
|
class="page-img" |
||||||
|
mode="widthFix" |
||||||
|
src="{{imageUrl}}psvt/15.png?t={{Timestamp}}" |
||||||
|
></image> |
||||||
|
<view class="swiper-click1" catch:tap="handelTap1"></view> |
||||||
|
</swiper-item> |
||||||
|
</swiper> |
||||||
|
|||||||
@ -1,12 +1,16 @@ |
|||||||
.page { |
.page { |
||||||
width: 100vw; |
width: 100vw; |
||||||
|
min-height: 120vh; |
||||||
|
.page-img{ |
||||||
|
width: 100%; |
||||||
|
height: 100%; |
||||||
|
} |
||||||
} |
} |
||||||
.page-click { |
|
||||||
|
.float1 { |
||||||
position: fixed; |
position: fixed; |
||||||
top: 440rpx; |
bottom: 0; |
||||||
left: 0; |
left: 0; |
||||||
z-index: 1; |
z-index: 3; |
||||||
width: 750rpx; |
width: 100vw; |
||||||
height: 200rpx; |
|
||||||
background-color: transparent; |
|
||||||
} |
} |
||||||
|
|||||||
@ -1,4 +1,12 @@ |
|||||||
<navigation-bar></navigation-bar> |
<navigation-bar></navigation-bar> |
||||||
<image class="page" mode="widthFix" src="{{imageUrl}}nmosd/012.png?t={{Timestamp}}"></image> |
|
||||||
|
|
||||||
<tabbar current="{{2}}"></tabbar> |
<swiper class="page" current="{{current}}"> |
||||||
|
<swiper-item> |
||||||
|
<image bind:tap="handlePage1" class="page-img" mode="widthFix" src="{{imageUrl}}psvt/2.png?t={{Timestamp}}" bind:tap="handlePage1"></image> |
||||||
|
</swiper-item> |
||||||
|
</swiper> |
||||||
|
|
||||||
|
<image wx:if="{{float1}}" class="float1" mode="widthFix" src="{{imageUrl}}psvt/10.png?t={{Timestamp}}" bind:tap="handleFloat1"></image> |
||||||
|
|
||||||
|
|
||||||
|
<tabbar current="{{3}}"></tabbar> |
||||||
|
|||||||
@ -0,0 +1,19 @@ |
|||||||
|
.page { |
||||||
|
width: 100vw; |
||||||
|
} |
||||||
|
|
||||||
|
.footer { |
||||||
|
position: fixed; |
||||||
|
bottom: 0; |
||||||
|
left: 0; |
||||||
|
width: 100%; |
||||||
|
padding: 20rpx 0 60rpx; |
||||||
|
background-color: #fff; |
||||||
|
display: flex; |
||||||
|
align-items: center; |
||||||
|
justify-content: center; |
||||||
|
.btn { |
||||||
|
width: 690rpx; |
||||||
|
height: 109rpx; |
||||||
|
} |
||||||
|
} |
||||||
@ -0,0 +1,13 @@ |
|||||||
|
const _app = getApp<IAppOption>(); |
||||||
|
|
||||||
|
Page({ |
||||||
|
data: {}, |
||||||
|
onLoad() {}, |
||||||
|
handlePage1() { |
||||||
|
wx.navigateTo({ |
||||||
|
url: "/pages/1/index", |
||||||
|
}); |
||||||
|
}, |
||||||
|
}); |
||||||
|
|
||||||
|
export {}; |
||||||
@ -0,0 +1,4 @@ |
|||||||
|
<image class="page" mode="widthFix" src="{{imageUrl}}psvt/8.png?t={{Timestamp}}" bind:tap="handlePage1"></image> |
||||||
|
<view class="footer" bind:tap="handlePage1"> |
||||||
|
<image class="btn" src="{{imageUrl}}psvt/9.png?t={{Timestamp}}"></image> |
||||||
|
</view> |
||||||
Loading…
Reference in new issue