实现魔方装修动态的更改地址链接
This commit is contained in:
parent
3f6d84a67b
commit
8907015c31
@ -9,9 +9,7 @@
|
||||
<!-- <view class="item" @click="sheep.$router.go('/pages/goods/sales', {
|
||||
activityType: 'recommendBest',
|
||||
});"> -->
|
||||
<view class="item" @click="sheep.$router.go('/pages/index/page', {
|
||||
id: '19',
|
||||
});">
|
||||
<view class="item" @click="sheep.$router.go(`${props.data.list[0].url}`);">
|
||||
<view class="nei">
|
||||
<view class="l">
|
||||
<view class="t">今日推荐</view>
|
||||
@ -21,7 +19,7 @@
|
||||
<image
|
||||
src="https://zysc.fjptzykj.com:3000/shangcheng/40a7582be7aeb5a6047415ab3a6728439a2798a4752ffcc1c063d66a534aa630.png"
|
||||
class="img"></image>
|
||||
|
||||
|
||||
</view>
|
||||
</view>
|
||||
<view class="r">
|
||||
@ -34,9 +32,7 @@
|
||||
<!-- <view class="item" @click="sheep.$router.go('/pages/goods/sales', {
|
||||
activityType: 'recommendHot',
|
||||
});"> -->
|
||||
<view class="item" @click="sheep.$router.go('/pages/index/page', {
|
||||
id: '21',
|
||||
});">
|
||||
<view class="item" @click="sheep.$router.go(`${props.data.list[1].url}`);">
|
||||
<view class="nei">
|
||||
<view class="l">
|
||||
<view class="t">热门榜单</view>
|
||||
@ -58,9 +54,7 @@
|
||||
<!-- <view class="item" @click="sheep.$router.go('/pages/goods/sales', {
|
||||
activityType: 'recommendNew',
|
||||
});"> -->
|
||||
<view class="item" @click="sheep.$router.go('/pages/index/page', {
|
||||
id: '22',
|
||||
});">
|
||||
<view class="item" @click="sheep.$router.go(`${props.data.list[2].url}`);">
|
||||
<view class="nei">
|
||||
<view class="l">
|
||||
<view class="t">首发新品</view>
|
||||
@ -82,9 +76,7 @@
|
||||
<!-- <view class="item" @click="sheep.$router.go('/pages/goods/sales', {
|
||||
activityType: 'recommendGood',
|
||||
});"> -->
|
||||
<view class="item" @click="sheep.$router.go('/pages/index/page', {
|
||||
id: '23',
|
||||
});">
|
||||
<view class="item" @click="sheep.$router.go(`${props.data.list[3].url}`);">
|
||||
<view class="nei">
|
||||
<view class="l">
|
||||
<view class="t">促销单品</view>
|
||||
@ -119,7 +111,15 @@
|
||||
showMenuTools,
|
||||
closeMenuTools
|
||||
} from '@/sheep/hooks/useModal';
|
||||
|
||||
// 接受参数
|
||||
const props = defineProps({
|
||||
data: {
|
||||
type: Object,
|
||||
default: {},
|
||||
}
|
||||
});
|
||||
|
||||
console.log("====++++=====",props.data)
|
||||
const show = computed(() => sheep.$store('modal').menu);
|
||||
|
||||
function onClick(item) {
|
||||
@ -175,10 +175,12 @@
|
||||
// margin-top: 10px;
|
||||
padding-bottom: 10px;
|
||||
padding-top: 10px;
|
||||
|
||||
&>.t {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding:0 10px;
|
||||
padding: 0 10px;
|
||||
|
||||
.left-font {
|
||||
color: rgba(252, 60, 62);
|
||||
font-size: 17px;
|
||||
@ -197,14 +199,15 @@
|
||||
|
||||
.new-list {
|
||||
// width: 100%;
|
||||
margin-right:10px;
|
||||
margin-right: 10px;
|
||||
|
||||
.item {
|
||||
float: left;
|
||||
width: 50%;
|
||||
|
||||
.nei {
|
||||
margin: 10px;
|
||||
margin-right:0;
|
||||
margin-right: 0;
|
||||
margin-bottom: 0;
|
||||
background: white;
|
||||
border-radius: 10px;
|
||||
|
Loading…
Reference in New Issue
Block a user