Fix: 调整部分样式
This commit is contained in:
@ -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;
|
||||
|
||||
Reference in New Issue
Block a user