fix: 产品页面完善,增加空白布局与布局切换
This commit is contained in:
@@ -3,7 +3,13 @@ import type { Product } from '@/api/products/products';
|
||||
import { ArrowDown, CircleCheck } from '@element-plus/icons-vue';
|
||||
import { computed, ref } from 'vue';
|
||||
import { products } from '@/data/products';
|
||||
import { useDesignStore } from '@/stores';
|
||||
|
||||
const designStore = useDesignStore();
|
||||
|
||||
onMounted(() => {
|
||||
designStore._setLayout('blankPage');
|
||||
});
|
||||
const productsSection = ref<HTMLElement | null>(null);
|
||||
|
||||
function scrollToProducts() {
|
||||
@@ -174,6 +180,8 @@ const comparisonData = computed(() => {
|
||||
|
||||
<style scoped lang="scss">
|
||||
.products-page {
|
||||
height: 100vh;
|
||||
overflow: auto;
|
||||
color: #333;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user