Files
2023-11-17 20:55:32 +08:00

51 lines
1.1 KiB
Vue
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!--
@name: 新品首发
@author: kahu4
@date: 2023-10-27 14:42
@descriptionindex
@update: 2023-10-27 14:42
-->
<script setup>
import Recommend from "@/components/Recommend/index.vue";
import UvIcon from "@/uni_modules/uv-icon/components/uv-icon/uv-icon.vue";
import { useRouter } from "@/hooks/useRouter";
const {push} = useRouter()
const goToProductMore = () => {
push({url: '/pages/goodsList/goodsList'})
}
</script>
<template>
<Recommend ref="recommendRef" :more="false">
<template #head>
<view class="head flex flex-ai__center flex-jc__sb">
<view class="left">
商品推荐
</view>
<view class="right flex flex-ai__center flex-jc__end" @click="goToProductMore">
查看更多
<uv-icon name="arrow-right" color="#999" size="14" />
</view>
</view>
</template>
</Recommend>
</template>
<style
scoped
lang="scss"
>
.head{
margin-top: 20rpx;
.left{
font-size: 32rpx;
color: #333333;
}
.right{
font-size: 24rpx;
color: #999999;
}
}
</style>