Browse Source

stash

NMOSD
kola-web 3 weeks ago
parent
commit
ead42aa2c4
  1. 1
      src/pages/1/index.scss
  2. 4
      src/pages/3/index.ts
  3. 1
      src/pages/4/index.scss
  4. 2
      src/pages/5/index.scss
  5. 1
      src/pages/6/index.scss
  6. 4
      src/pages/6/index.ts
  7. 10
      src/pages/7/index.scss
  8. 9
      src/pages/7/index.ts
  9. 7
      src/pages/7/index.wxml

1
src/pages/1/index.scss

@ -28,7 +28,6 @@
z-index: 2; z-index: 2;
width: 100vw; width: 100vw;
padding-bottom: 20rpx; padding-bottom: 20rpx;
background-color: #fff;
.tabbar-img { .tabbar-img {
width: 100%; width: 100%;
} }

4
src/pages/3/index.ts

@ -4,9 +4,7 @@ Page({
data: {}, data: {},
onLoad() {}, onLoad() {},
handleTap1() { handleTap1() {
wx.navigateTo({ wx.navigateBack()
url: "/pages/1/index",
});
}, },
}); });

1
src/pages/4/index.scss

@ -17,7 +17,6 @@
left: 0; left: 0;
width: 100vw; width: 100vw;
padding-bottom: 20rpx; padding-bottom: 20rpx;
background-color: #fff;
.tabbar-img { .tabbar-img {
width: 100%; width: 100%;
} }

2
src/pages/5/index.scss

@ -1,5 +1,6 @@
.page{ .page{
width: 100vw; width: 100vw;
padding-bottom: 260rpx;
} }
.tabbar { .tabbar {
@ -8,7 +9,6 @@
left: 0; left: 0;
width: 100vw; width: 100vw;
padding-bottom: 20rpx; padding-bottom: 20rpx;
background-color: #fff;
.tabbar-img { .tabbar-img {
width: 100%; width: 100%;
} }

1
src/pages/6/index.scss

@ -8,7 +8,6 @@
left: 0; left: 0;
width: 100vw; width: 100vw;
padding-bottom: 20rpx; padding-bottom: 20rpx;
background-color: #fff;
.tabbar-img { .tabbar-img {
width: 100%; width: 100%;
} }

4
src/pages/6/index.ts

@ -4,7 +4,9 @@ Page({
data: {}, data: {},
onLoad() {}, onLoad() {},
handleTap1() { handleTap1() {
wx.navigateBack(); wx.navigateTo({
url: "/pages/3/index",
})
}, },
handleTabbar1() { handleTabbar1() {

10
src/pages/7/index.scss

@ -1,8 +1,16 @@
.page { .page {
width: 100vw; width: 100vw;
min-height: 200vh; min-height: 200vh;
.page-img{ .page-img {
width: 100%; width: 100%;
height: 100%; height: 100%;
} }
} }
.float1 {
position: fixed;
bottom: 0;
left: 0;
z-index: 2;
width: 100vw;
}

9
src/pages/7/index.ts

@ -7,6 +7,8 @@ Page({
page2: false, page2: false,
page3: false, page3: false,
page4: false, page4: false,
float1: false,
}, },
onLoad() {}, onLoad() {},
handlePage1() { handlePage1() {
@ -16,12 +18,13 @@ Page({
}, },
handlePage2() { handlePage2() {
this.setData({ this.setData({
current: 2, float1: true,
}); });
}, },
handlePage3() { handleFloat1() {
this.setData({ this.setData({
current: 3, current: 2,
float1: false,
}); });
}, },
handlePage4() { handlePage4() {

7
src/pages/7/index.wxml

@ -1,5 +1,5 @@
<navigation-bar></navigation-bar> <navigation-bar></navigation-bar>
<swiper class="page" current="{{current}}"> <swiper class="page {{current==2 && 'float-page'}}" current="{{current}}">
<swiper-item> <swiper-item>
<image bind:tap="handlePage1" class="page-img" mode="widthFix" src="{{imageUrl}}nmosd/02.png?t={{Timestamp}}"></image> <image bind:tap="handlePage1" class="page-img" mode="widthFix" src="{{imageUrl}}nmosd/02.png?t={{Timestamp}}"></image>
</swiper-item> </swiper-item>
@ -7,9 +7,8 @@
<image bind:tap="handlePage2" class="page-img" mode="widthFix" src="{{imageUrl}}nmosd/07.png?t={{Timestamp}}"></image> <image bind:tap="handlePage2" class="page-img" mode="widthFix" src="{{imageUrl}}nmosd/07.png?t={{Timestamp}}"></image>
</swiper-item> </swiper-item>
<swiper-item> <swiper-item>
<image bind:tap="handlePage3" class="page-img" mode="widthFix" src="{{imageUrl}}nmosd/08.png?t={{Timestamp}}"></image>
</swiper-item>
<swiper-item>
<image bind:tap="handlePage4" class="page-img" mode="widthFix" src="{{imageUrl}}nmosd/03.png?t={{Timestamp}}"></image> <image bind:tap="handlePage4" class="page-img" mode="widthFix" src="{{imageUrl}}nmosd/03.png?t={{Timestamp}}"></image>
</swiper-item> </swiper-item>
</swiper> </swiper>
<image wx:if="{{float1}}" class="float1" mode="widthFix" src="{{imageUrl}}nmosd/08.png?t={{Timestamp}}" bind:tap="handleFloat1"></image>

Loading…
Cancel
Save