update ui styles
This commit is contained in:
1 parent
d7d0672c66
commit
a42b794706
5 files changed
+45
-26
No files matched your search
@@ -14,7 +14,15 @@
|
||||
<el-menu-item :index="applicationType.PROXY">{{ $t('application.field.proxy') }}</el-menu-item>
|
||||
</el-menu>
|
||||
<el-table v-loading="loading" :data="applications" stripe>
|
||||
<el-table-column :label="$t('application.field.name')" width="200px">
|
||||
<el-table-column prop="id" :label="$t('application.field.id')" width="350px" class-name="text-center">
|
||||
<template #default="scope">
|
||||
<span>{{ scope.row.id }}</span>
|
||||
<span class="copy">
|
||||
<copy-to-clipboard :content="scope?.row?.id" />
|
||||
</span>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column :label="$t('application.field.name')" width="220px">
|
||||
<template #default="scope">
|
||||
<span v-if="scope.row.type === applicationType.API">{{ scope.row?.api?.title }}</span>
|
||||
<span v-if="scope.row.type === applicationType.PROXY">{{ scope.row?.proxy?.title }}</span>
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<el-row class="banner">
|
||||
<el-col :span="24">
|
||||
<el-row>
|
||||
<el-col :md="10" :offset="2" :xs="24" class="left">
|
||||
<el-col :md="10" :offset="2" :sm="24" :xs="24" class="left">
|
||||
<div v-if="loading" class="info">
|
||||
<el-skeleton animated>
|
||||
<template #template>
|
||||
@@ -39,7 +39,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</el-col>
|
||||
<el-col :md="10" :xs="0" class="right">
|
||||
<el-col :md="10" :sm="0" :xs="0" class="right">
|
||||
<div class="demo">
|
||||
<img src="@/assets/images/illustration.png" />
|
||||
</div>
|
||||
@@ -63,12 +63,19 @@
|
||||
<api-preview :api="api" />
|
||||
</el-col>
|
||||
<el-col :span="4" class="operations">
|
||||
<el-button v-if="!api.applied" type="primary" @click="onConfirm(api, applicationType.API)">
|
||||
{{ $t('common.button.apply') }}
|
||||
</el-button>
|
||||
<el-button v-else disabled type="primary">
|
||||
{{ $t('common.button.applied') }}
|
||||
</el-button>
|
||||
<div v-if="!api.applied">
|
||||
<el-button type="primary" @click="onConfirm(api, applicationType.API)">
|
||||
{{ $t('common.button.apply') }}
|
||||
</el-button>
|
||||
</div>
|
||||
<div v-else>
|
||||
<el-button disabled>
|
||||
{{ $t('common.button.applied') }}
|
||||
</el-button>
|
||||
<el-button type="primary" @click="$router.push('console-application-list')">
|
||||
{{ $t('common.button.buyMore') }}
|
||||
</el-button>
|
||||
</div>
|
||||
</el-col>
|
||||
</el-row>
|
||||
<el-divider v-if="apiIndex < apis.length - 1" border-style="dashed" />
|
||||
|
||||
Reference in new issue
Block a user