This commit is contained in:
@fawn-nine
2024-05-29 15:54:19 +08:00
parent 4386f615f2
commit 92df12db8e
4 changed files with 98 additions and 17 deletions

View File

@@ -101,7 +101,7 @@
<view class="borderbb">
<view class=" main">
<view class="flexbox">
<view class="item" v-for="(item, index) in tjProList" :key="index">
<view class="item" v-for="(item, index) in tjProList" :key="index" @click="onPageJump('/pages/bookShop/commodityDetail',item.productId)">
<view class="imgcontainer">
<image :src="item.productImages" mode="aspectFit"></image>
</view>
@@ -139,7 +139,7 @@
</view>
<scroll-view class="scroll-view_H" scroll-x="true">
<!-- <view class=""> -->
<view class="item" v-for="(item, index) in seckillList" :key="index">
<view class="item" v-for="(item, index) in seckillList" :key="index" @click="onPageJump('/pages/bookShop/commodityDetail',item.productId)">
<view class="imgcontainer">
<image :src="item.productImages" mode="aspectFit"></image>
</view>
@@ -332,11 +332,11 @@
id ? ftag = id : ftag = 0
$http.request({
url: "medical/home/getMedicalLabels",
url: "curseTagList",
method: "POST", // POST、GET、PUT、DELETE具体说明查看官方文档
data: {
'id': ftag
},
// data: {
// 'id': ftag
// },
header: { //默认 无 说明:请求头
'Content-Type': 'application/json'
},
@@ -519,9 +519,9 @@
},
// 跳转
onPageJump(url) {
onPageJump(url,thatId) {
uni.navigateTo({
url: url
url: `${url}?id=${thatId}`
});
},