代码提交

This commit is contained in:
黄少君
2023-11-17 20:55:32 +08:00
parent 35b43ffd97
commit c3e62f8922
73 changed files with 1808 additions and 781 deletions

View File

@ -1,11 +1,6 @@
<template>
<layout class="replys">
<uv-navbar
:fixed="false"
title="评价"
left-arrow
@leftClick="goBack"
/>
<Header :scroll-top="scrollTop">评价</Header>
<view class="replys">
<view class="tabs">
<view
class="item"
@ -29,21 +24,27 @@
/>
</view>
<Empty
:iconSrc="emptyIcon"
:iconSrc="emptyReply"
v-else
>
暂无评论~
</Empty>
</layout>
</view>
<ReturnTop :scroll-top="scrollTop" />
</template>
<script setup>
import { ref } from 'vue'
import { onLoad } from '@dcloudio/uni-app'
import { replyList } from '@/api/goods'
import Header from '@/components/Header/index.vue'
import Empty from '@/components/Empty/index.vue'
import { useRouter } from "@/hooks/useRouter";
import emptyIcon from '@/static/images/icon-dpj.png'
import { emptyReply } from "@/utils/images";
import ReturnTop from "@/components/ReturnTop/index.vue";
import { useScroll } from "@/hooks/useScroll";
const {scrollTop} = useScroll()
const replyListData = ref([])
const total = ref(0)
@ -131,4 +132,7 @@ onLoad((option) => {
}
}
}
page {
background: #ffffff;
}
</style>