Commit d96eff5e authored by 张娇(东信)'s avatar 张娇(东信)

详情页id

parent 572c51ae
......@@ -166,6 +166,8 @@
<script setup>
import { ref } from 'vue';
import { useRoute } from 'vue-router';
import { onShow } from '@dcloudio/uni-app';
import {
getProdDetail,
......@@ -177,6 +179,7 @@ import {
receiveCoupon,
} from '@/api/packageDetail';
import fab from '../../../components/fab/fab.vue';
const router = useRoute();
const imgUrl = import.meta.env.VITE_APP_IMG_URL;
// 图片
const swiperList = ref([
......@@ -215,7 +218,7 @@ function handleClick(e) {
}
function jumpPjPgae() {
xma.navigateTo({
url: `/pages/assistingAgriculture/detail/comment?shopId=${dataDetails.value.prod.shopId}&prodId=${dataDetails.value.prodPresale.prodId}`,
url: `/pages/assistingAgriculture/detail/comment?shopId=${dataDetails.value.prod.shopId}&prodId=${router.query.prodId}`,
});
}
function onChange(e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment