API布局格式

master
chaiyapeng 2024-09-03 21:59:54 +08:00
parent 65b5614ea6
commit 93c142f8b1
1 changed files with 7 additions and 3 deletions

View File

@ -6,8 +6,12 @@
<el-menu-item-group>
<span style="font-weight: bold;font-size: 25px;">全部类型</span>
</el-menu-item-group>
<el-menu-item-group v-for="i in connectSort" :key="i.value" :label="i.connectorSort" :value="i.connectorSort" :disabled="item.disabled">>
<el-link type="primary" style="font-weight: bold;font-size: 20px;" v-model="connectSort.connectorSort"></el-link>
<el-menu-item-group >
<el-link type="primary" style="font-weight: bold;font-size: 20px;" v-for="(connectSort, index) in connectSort"
:key="index"
:href="connectSort.connectorSort">
{{ connectSort.connectorSort }}
</el-link>
</el-menu-item-group>
</el-menu>
</el-aside>
@ -23,7 +27,7 @@
</el-form>
<el-row :gutter="50">
<el-col :span="7" v-for="connector in connectorList" :key="connector.connectorId" v-if="connectorList.length !== 0">
<el-card class="box-card" style="margin-top: 15px;width: 450px; height: 600px;" shadow="hover">
<el-card class="box-card" style="margin-top: 15px;width: 400px; height: 600px;" shadow="hover">
<div slot="header" class="clearfix">
<h1 style="font-weight: bold">{{connector.connectorName}}</h1>
<el-button type="primary" style="float: right; padding: 10px 10px" @click="buy(connector)"></el-button>