修改跳转地址

This commit is contained in:
Gaoxs
2020-09-03 11:43:50 +08:00
parent d25006ef62
commit 3289e30dad
5 changed files with 17 additions and 10 deletions

View File

@ -3,7 +3,8 @@
<view class="sh-title-card mb10">
<view class="title-box">
<image class="title-bg" src="@/static/images/title1.png" mode="aspectFill"></image>
<view class="title-text" :style="{ color: detail.color }">为你推荐</view>
<view class="title-text">为你推荐</view>
<!-- <view class="title-text" :style="{ color: detail.color }">为你推荐</view> -->
</view>
</view>
<view class="hot-goods mx20 mb10" v-if="benefit.length">

View File

@ -1,5 +1,5 @@
<template>
<view class="min-goods" @tap="jump('/pages/goods/detail/index', { id: detail.id })">
<view class="min-goods" @tap="jump('/pages/activity/GroupDetails/index', { id: detail.id })">
<view class="img-box">
<view class="tag" >{{ detail.people}}人团</view>
<image class="img" :src="detail.image" mode="widthFix"></image>
@ -26,8 +26,11 @@ export default {
computed: {},
methods: {
// 路由跳转
jump(path, parmas) {
this.$Router.push({ path: path, query: parmas });
jump(path, query) {
this.$yrouter.push({
path,
query
});
}
}
};