This commit is contained in:
2024-08-22 01:01:35 +08:00
parent faa008ae28
commit b43246074a
9 changed files with 183 additions and 19 deletions

View File

@@ -8,6 +8,22 @@ Page({
},
jumpPage(e) {
let jumpType = e.currentTarget.dataset.jumptype;
console.log(jumpType == 2);
if (jumpType == 2) {
wx.navigateTo({
url: "/pages/details/details?id=1"
})
}
// wx.navigateTo({
// url: this.data.category[index].url
// })
},
/**
* 生命周期函数--监听页面加载
*/

View File

@@ -1,7 +1,5 @@
{
"usingComponents": {
"navigation-bar": "/components/navigation-bar/navigation-bar",
"index-nav-bar": "/components/index-nav-bar/index-nav-bar",
"list-nav-bar": "/components/list-nav-bar/list-nav-bar"
}
}

View File

@@ -5,7 +5,7 @@
<scroll-view style="height: 100%;overflow:hidden;" scroll-y type="list">
<view class="container">
<view class="card">
<view class="card" bind:tap="jumpPage" data-jumpType="2">
<view class="card-header">
<view class="dot"></view>
<text class="title">超出焊接时间</text>
@@ -18,7 +18,7 @@
</view>
<view class="card">
<view class="card" bind:tap="jumpPage" data-jumpType="2">
<view class="card-header">
<view class="dot"></view>
<text class="title">超出焊接时间</text>
@@ -31,7 +31,7 @@
</view>
<view class="card">
<view class="card" bind:tap="jumpPage" data-jumpType="2">
<view class="card-header">
<view class="dot"></view>
<text class="title">超出焊接时间</text>
@@ -44,7 +44,7 @@
</view>
<view class="card">
<view class="card" bind:tap="jumpPage" data-jumpType="2">
<view class="card-header">
<view class="dot"></view>
<text class="title">超出焊接时间</text>
@@ -57,7 +57,7 @@
</view>
<view class="card">
<view class="card" bind:tap="jumpPage" data-jumpType="2">
<view class="card-header">
<view class="dot"></view>
<text class="title">超出焊接时间</text>
@@ -70,7 +70,7 @@
</view>
<view class="card">
<view class="card" bind:tap="jumpPage" data-jumpType="2">
<view class="card-header">
<view class="dot"></view>
<text class="title">超出焊接时间</text>
@@ -83,7 +83,7 @@
</view>
<view class="card">
<view class="card" bind:tap="jumpPage" data-jumpType="2">
<view class="card-header">
<view class="dot"></view>
<text class="title">超出焊接时间</text>
@@ -96,7 +96,7 @@
</view>
<view class="card">
<view class="card" bind:tap="jumpPage" data-jumpType="2">
<view class="card-header">
<view class="dot"></view>
<text class="title">超出焊接时间</text>
@@ -109,7 +109,7 @@
</view>
<view class="card">
<view class="card" bind:tap="jumpPage" data-jumpType="2">
<view class="card-header">
<view class="dot"></view>
<text class="title">超出焊接时间</text>
@@ -122,7 +122,7 @@
</view>
<view class="card">
<view class="card" bind:tap="jumpPage" data-jumpType="2">
<view class="card-header">
<view class="dot"></view>
<text class="title">超出焊接时间</text>
@@ -135,7 +135,7 @@
</view>
<view class="card">
<view class="card" bind:tap="jumpPage" data-jumpType="2">
<view class="card-header">
<view class="dot"></view>
<text class="title">超出焊接时间</text>