fix: 去除接口测试数据

This commit is contained in:
张云杰 2025-11-09 22:26:35 +08:00
parent ccdb2ac1f3
commit 4c582da621
2 changed files with 17 additions and 17 deletions

View File

@ -176,11 +176,11 @@ const getCaseData = async () => {
caseList.value = resLs caseList.value = resLs
} else { } else {
caseList.value = [ caseList.value = [
{ // {
name: '某科技园区智能管理系统',pic: 'https://picsum.photos/id/42/600/400', // name: '',pic: 'https://picsum.photos/id/42/600/400',
remark: '为占地500亩的科技园区提供了全套智能管理解决方案包括智能安防、停车管理、能源监控等系统。', // remark: '500',
typeName: '智慧园区',typeId: 1 // typeName: '',typeId: 1
} // // } //
] ]
} }
} }

View File

@ -8,7 +8,7 @@
<h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold mb-4 text-glow">客户对我们的评价</h2> <h2 class="text-[clamp(1.5rem,3vw,2.5rem)] font-bold mb-4 text-glow">客户对我们的评价</h2>
<p class="text-gray-400 text-lg">听听我们的客户怎么说他们的满意是我们前进的动力</p> <p class="text-gray-400 text-lg">听听我们的客户怎么说他们的满意是我们前进的动力</p>
</div> </div>
<div class="grid md:grid-cols-3 gap-8"> <div class="grid md:grid-cols-3 gap-8">
<!-- 评价1 --> <!-- 评价1 -->
<div class="bg-dark/60 border border-primary/20 rounded-xl p-8 card-hover" v-for="(item,index) in commentList" :key="'commentitem' + index"> <div class="bg-dark/60 border border-primary/20 rounded-xl p-8 card-hover" v-for="(item,index) in commentList" :key="'commentitem' + index">
@ -31,7 +31,7 @@
{{item.content}} {{item.content}}
</p> </p>
</div> </div>
<!-- 评价2 --> <!-- 评价2 -->
<!-- <div class="bg-dark/60 border border-primary/20 rounded-xl p-8 card-hover"> <!-- <div class="bg-dark/60 border border-primary/20 rounded-xl p-8 card-hover">
<div class="flex items-center mb-6"> <div class="flex items-center mb-6">
@ -52,7 +52,7 @@
"应急指挥系统在几次突发事件中发挥了关键作用,反应迅速,调度高效。明君科技的技术支持也非常及时,解决问题能力强,是可靠的合作伙伴。" "应急指挥系统在几次突发事件中发挥了关键作用,反应迅速,调度高效。明君科技的技术支持也非常及时,解决问题能力强,是可靠的合作伙伴。"
</p> </p>
</div> --> </div> -->
<!-- 评价3 --> <!-- 评价3 -->
<!-- <div class="bg-dark/60 border border-primary/20 rounded-xl p-8 card-hover"> <!-- <div class="bg-dark/60 border border-primary/20 rounded-xl p-8 card-hover">
<div class="flex items-center mb-6"> <div class="flex items-center mb-6">
@ -111,14 +111,14 @@ const getCommentData = async () => {
commentList.value = resLs commentList.value = resLs
} else { } else {
commentList.value = [ commentList.value = [
{ // {
id: 1790, // id: 1790,
name: '张经理',avatar: 'https://picsum.photos/id/64/100/100', // name: '',avatar: 'https://picsum.photos/id/64/100/100',
remark: '某科技园区', // remark: '',
starShow: 5, // starShow: 5,
starShowHalf: false, // starShowHalf: false,
content: '"明君科技为我们园区提供的智能管理系统非常出色,不仅提升了管理效率,也为入驻企业提供了更好的服务体验。他们的技术团队专业且负责,值得信赖。"',star: 4.5 // content: '""',star: 4.5
} // // } //
] ]
} }
} }
@ -126,4 +126,4 @@ const getCommentData = async () => {
</script> </script>
<style lang="scss"> <style lang="scss">
</style> </style>