diff --git a/src/pages/3/index.scss b/src/pages/3/index.scss index e859566..0de862a 100644 --- a/src/pages/3/index.scss +++ b/src/pages/3/index.scss @@ -1,3 +1,21 @@ .page { width: 100vw; } + +.page-click1 { + position: fixed; + bottom: 0; + left: 0; + z-index: 1; + width: 750rpx; + height: 230rpx; + background-color: transparent; +} + +.float1 { + position: fixed; + bottom: 0; + left: 0; + z-index: 2; + width: 100vw; +} diff --git a/src/pages/3/index.ts b/src/pages/3/index.ts index b4ca364..d3f6da3 100644 --- a/src/pages/3/index.ts +++ b/src/pages/3/index.ts @@ -1,10 +1,22 @@ const _app = getApp(); Page({ - data: {}, + data: { + float1: false, + }, onLoad() {}, - handleTap1() { - wx.navigateBack() + handlePage1() { + wx.navigateBack(); + }, + handelTap1() { + this.setData({ + float1: true, + }); + }, + handleFloat1() { + this.setData({ + float1: false, + }); }, }); diff --git a/src/pages/3/index.wxml b/src/pages/3/index.wxml index 5e24ea3..d644b81 100644 --- a/src/pages/3/index.wxml +++ b/src/pages/3/index.wxml @@ -1,2 +1,6 @@ - + + + + +