Compare commits

...

2 Commits

Author SHA1 Message Date
chaiyapeng 463bbd70d5 Merge remote-tracking branch 'origin/master' 2024-09-03 20:18:01 +08:00
chaiyapeng 3661954b1a API布局格式 2024-09-03 20:17:55 +08:00
1 changed files with 172 additions and 152 deletions

View File

@ -1,19 +1,35 @@
<template> <template>
<div> <div>
<!-- <el-button type="primary">+申请新数据</el-button>--> <el-container style="height: 1000px; border: 1px solid #eee">
<el-aside width="180px">
<el-menu :default-openeds="['1', '3']">
<el-menu-item-group>
<span style="font-weight: bold;font-size: 25px;">全部类型</span>
</el-menu-item-group>
<el-menu-item-group>
<el-link type="primary" style="font-weight: bold;font-size: 20px;">电子商务</el-link>
</el-menu-item-group>
<el-menu-item-group>
<el-link type="primary" style="font-weight: bold;font-size: 20px;">应用开发</el-link>
</el-menu-item-group>
<el-menu-item-group>
<el-link type="primary" style="font-weight: bold;font-size: 20px;">生活服务</el-link>
</el-menu-item-group>
</el-menu>
</el-aside>
<el-container>
<el-main>
<el-form label-width="40px" :model="form"> <el-form label-width="40px" :model="form">
<el-form-item> <el-form-item>
<input v-model="form.connectorName" style="padding: 10px 10px;float: initial"> <input v-model="form.connectorName" style="padding: 10px 10px;float: initial" placeholder=>
<button @click="findApiList" style="padding: 10px 10px">查询</button> <el-button @click="findApiList" style="padding: 10px 10px">查询</el-button>
<span style="font-weight: bold;font-size: 20px;">全部类型</span>
<el-button style="font-weight: bold;font-size: 20px;" type="text">电子商务</el-button>
<el-button style="font-weight: bold;font-size: 20px;" type="text">应用开发</el-button>
<el-button style="font-weight: bold;font-size: 20px;" type="text">生活服务</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>
<el-row :gutter="50"> <el-row :gutter="50">
<el-col :span="7" v-for="connector in connectorList" :key="connector.connectorId" v-if="connectorList.length !== 0"> <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: 500px; height: 600px;" shadow="hover"> <el-card class="box-card" style="margin-top: 15px;width: 450px; height: 600px;" shadow="hover">
<div slot="header" class="clearfix"> <div slot="header" class="clearfix">
<h1 style="font-weight: bold">{{connector.connectorName}}</h1> <h1 style="font-weight: bold">{{connector.connectorName}}</h1>
<el-button type="primary" style="float: right; padding: 10px 10px" @click="buy(connector)"></el-button> <el-button type="primary" style="float: right; padding: 10px 10px" @click="buy(connector)"></el-button>
@ -200,6 +216,10 @@
<el-button type="primary" @click="buyInterface()"> </el-button> <el-button type="primary" @click="buyInterface()"> </el-button>
</div> </div>
</el-dialog> </el-dialog>
</el-main>
</el-container>
</el-container>
<!-- <el-button type="primary">+申请新数据</el-button>-->
</div> </div>
</template> </template>