1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-31 22:18:07 +08:00

feat: 修改应用商店样式

This commit is contained in:
zhengkunwang223 2023-02-14 15:33:23 +08:00 committed by zhengkunwang223
parent e162cc6b68
commit f4bd649126
4 changed files with 4 additions and 6 deletions

View File

@ -1,16 +1,14 @@
.app-card { .install-card {
height: 140px; height: 140px;
margin-top: 10px; margin-top: 10px;
cursor: pointer; cursor: pointer;
padding: 10px; padding: 10px;
.icon { .icon {
// margin-top: 10px;
margin-left: 20px; margin-left: 20px;
} }
.a-detail { .a-detail {
// margin-top: 10px;
height: 100%; height: 100%;
width: 100%; width: 100%;

View File

@ -59,7 +59,7 @@
<el-row :gutter="5"> <el-row :gutter="5">
<el-col v-for="(installed, index) in data" :key="index" :span="12"> <el-col v-for="(installed, index) in data" :key="index" :span="12">
<div class="app-card"> <div class="install-card">
<el-row :gutter="24"> <el-row :gutter="24">
<el-col :span="4"> <el-col :span="4">
<div class="icon"> <div class="icon">

View File

@ -92,7 +92,7 @@
</el-table-column> </el-table-column>
<el-table-column :label="$t('file.mode')" prop="mode"> <el-table-column :label="$t('file.mode')" prop="mode">
<template #default="{ row }"> <template #default="{ row }">
<el-link :underline="false" @click="openMode(row)">{{ row.mode }}</el-link> <el-link :underline="false" @click="openMode(row)" type="primary">{{ row.mode }}</el-link>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('file.user')" prop="user" show-overflow-tooltip></el-table-column> <el-table-column :label="$t('file.user')" prop="user" show-overflow-tooltip></el-table-column>

View File

@ -37,7 +37,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
open: viteEnv.VITE_OPEN, open: viteEnv.VITE_OPEN,
proxy: { proxy: {
'/api/v1': { '/api/v1': {
target: 'http://172.16.10.181:9999/', target: 'http://localhost:9999/',
changeOrigin: true, changeOrigin: true,
}, },
}, },