微调
This commit is contained in:
@@ -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}`
|
||||
});
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user