官網調整

This commit is contained in:
joylink_fanyuhong 2024-03-20 10:18:38 +08:00
parent 69766286ff
commit c35e68fe1d
2 changed files with 29 additions and 26 deletions

View File

@ -149,14 +149,14 @@ export default {
} }
] ]
}, },
{ // {
name: "官网微信", // name: "",
children: [ // children: [
{ // {
src: wchat // src: wchat
} // }
] // ]
} // }
]; ];
}, },
images() { images() {

View File

@ -8,6 +8,7 @@
<b-col v-for="(el, i) in productList" :key="i" class="product-box"> <b-col v-for="(el, i) in productList" :key="i" class="product-box">
<b-card <b-card
:title="el.name" :title="el.name"
style="width: 50%;"
:img-src="el.src" :img-src="el.src"
img-alt="Image" img-alt="Image"
img-top img-top
@ -27,9 +28,9 @@
<script> <script>
import eButtonGroup from "@/components/eButtonGroup/index.vue"; import eButtonGroup from "@/components/eButtonGroup/index.vue";
import product1 from "@/assets/product/化学化工.jpg"; // import product1 from "@/assets/product/.jpg";
import product2 from "@/assets/product/轨道交通.jpg"; import product2 from "@/assets/product/轨道交通.jpg";
import product3 from "@/assets/product/电力电厂.jpg"; // import product3 from "@/assets/product/.jpg";
export default { export default {
components: { components: {
@ -52,22 +53,22 @@ export default {
describe: describe:
"轨道交通是指运营车辆需要在特定轨道上行驶的一类交通工具或运输系统。" "轨道交通是指运营车辆需要在特定轨道上行驶的一类交通工具或运输系统。"
}, },
{ // {
type: "red", // type: "red",
src: product1, // src: product1,
href: "/exhibition", // href: "/exhibition",
name: "化学化工", // name: "",
describe: // describe:
"化学工业chemical industry又称化学加工工业泛指生产过程中化学方法占主要地位的过程工业。" // "chemical industry"
}, // },
{ // {
type: "blue", // type: "blue",
src: product3, // src: product3,
href: "/exhibition", // href: "/exhibition",
name: "电力电厂", // name: "",
describe: // describe:
"电力电厂是指将某种形式的原始能转化为电能以供固定设施或运输用电的动力厂。" // ""
} // }
]; ];
}, },
buttonList() { buttonList() {
@ -123,6 +124,8 @@ a {
.product-box { .product-box {
min-width:25em; min-width:25em;
margin-bottom: 2em; margin-bottom: 2em;
display: flex;
justify-content: center;
/deep/ { /deep/ {
.card { .card {
position: relative !important; position: relative !important;