API布局格式
parent
9ca3055f7f
commit
267d30ac0f
|
@ -27,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: 400px; height: 600px;" shadow="hover">
|
||||
<el-card class="box-card" style="margin-top: 15px;width: 350px; 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>
|
||||
|
@ -478,7 +478,8 @@ export default {
|
|||
}
|
||||
})
|
||||
},
|
||||
findApiList(){
|
||||
findApiList(connectorSort){
|
||||
this.form.connectorSort = connectorSort;
|
||||
findApiList(this.form,index).then((res)=>{
|
||||
this.connectorList=res.data;
|
||||
console.log(res.data);
|
||||
|
|
Loading…
Reference in New Issue