Compare commits

...

2 Commits

Author SHA1 Message Date
2856f2c5a1 Fix: 调整样式 2025-08-26 15:22:10 +08:00
05d4b22c6c Fix: 调整部分样式 2025-08-25 17:32:23 +08:00
4 changed files with 38 additions and 11 deletions

View File

@ -63,10 +63,6 @@ onMounted(async () => {
margin-bottom: 2rem;
}
:deep(.markdown-body h2) {
text-align: center;
}
:deep(.markdown-body ul) {
list-style-type: none;
}

View File

@ -1,5 +1,5 @@
<template>
<div class="production-detail">
<div class="page-container">
<div v-if="production">
<!-- 面包屑导航 -->
<el-breadcrumb class="breadcrumb" separator="/">
@ -27,7 +27,7 @@
<!-- 产品详细描述 -->
<div class="production-content">
<el-tabs v-model="activeName">
<el-tabs v-model="activeName" class="production-tabs">
<el-tab-pane label="产品详情" name="details">
<markdown-renderer :content="production.production_details || ''" />
</el-tab-pane>
@ -119,12 +119,12 @@ useHead({
</script>
<style scoped>
.production-detail {
.page-container {
min-height: 60vh;
}
.breadcrumb {
padding: 1rem 1rem;
padding: 2rem;
margin-bottom: 2rem;
}
@ -158,6 +158,14 @@ useHead({
margin-top: 2rem;
}
.production-tabs ::v-deep(.el-tabs__item) {
margin-left: 20px;
}
.production-tabs ::v-deep(.el-tabs__content) {
padding: 10px;
}
.production-content h2 {
color: var(--el-text-color-primary);
margin: 0;

View File

@ -96,7 +96,7 @@ onMounted(async () => {
<style scoped>
.page-container {
padding: 2rem 1rem;
padding: 2rem;
}
.page-header {

View File

@ -10,8 +10,11 @@
</el-breadcrumb-item>
</el-breadcrumb>
</div>
<div class="page-tab">
<el-segmented v-model="activeTab" class="tab" :options="options" block size="large" />
</div>
<div class="page-content">
<el-divider content-position="left">选择我们的服务</el-divider>
<!-- <el-divider content-position="left">选择我们的服务</el-divider>
<div class="button-group">
<NuxtLink :to="$localePath('/about/contact-us')">
<el-card class="card-button">
@ -22,11 +25,30 @@
联系我们
</el-card>
</NuxtLink>
</div>
<NuxtLink :to="$localePath('/about/contact-us')">
<el-card class="card-button">
<el-icon class="icon" size="80">
<ElIconService />
</el-icon>
<br>
联系我们
</el-card>
</NuxtLink>
</div> -->
</div>
</div>
</template>
<script setup lang="ts">
const activeTab = ref('faq')
const options = [
{ label: '常见问题', value: 'faq' },
{ label: '联系售后', value: 'contact-us' },
{ label: '文档资料', value: 'documents' },
]
</script>
<style scoped>
.page-container {
padding: 2rem 1rem;
@ -46,6 +68,7 @@
justify-content: left;
margin-top: 2rem;
margin-left: 2rem;
gap: 20px;
}
.card-button {