kola-web 1 day ago
parent
commit
305d7be58e
  1. 2
      project.config.json
  2. 13
      src/pages/1/index.scss
  3. 5
      src/pages/1/index.ts
  4. 1
      src/pages/1/index.wxml

2
project.config.json

@ -61,5 +61,5 @@ @@ -61,5 +61,5 @@
],
"include": []
},
"appid": "wx10d27bb39a39ff0e"
"appid": "wx96104303877e3fd9"
}

13
src/pages/1/index.scss

@ -1,13 +1,22 @@ @@ -1,13 +1,22 @@
.page {
width: 100vw;
}
.page-click1 {
.page-click0 {
position: absolute;
top: 223rpx;
left: 0;
z-index: 1;
width: 750rpx;
height: 530rpx;
height: 260rpx;
background-color: transparent;
}
.page-click1 {
position: absolute;
top: 523rpx;
left: 0;
z-index: 1;
width: 750rpx;
height: 230rpx;
background-color: transparent;
}
.page-click2 {

5
src/pages/1/index.ts

@ -15,6 +15,11 @@ Page({ @@ -15,6 +15,11 @@ Page({
start: app.globalData.start,
});
},
handelTap0() {
this.setData({
float1: true,
});
},
handelTap1() {
wx.navigateTo({
url: "/pages/3/index",

1
src/pages/1/index.wxml

@ -1,4 +1,5 @@ @@ -1,4 +1,5 @@
<image class="page" mode="widthFix" src="{{imageUrl}}psvt/1.png?t={{Timestamp}}"></image>
<view class="page-click0" catch:tap="handelTap0"></view>
<view class="page-click1" catch:tap="handelTap1"></view>
<view class="page-click2" catch:tap="handelTap2"></view>
<view class="page-click3" catch:tap="handelTap3"></view>

Loading…
Cancel
Save