1.商品风格切换图片圆角优化

sws 2024-08-27
v1.0.0
sws 2024-08-27 19:06:23 +08:00
parent 869d01cd9b
commit 7c1801cc0b
5 changed files with 5 additions and 6 deletions

View File

@ -1,6 +1,5 @@
.upload-content {
height: 57.4rem;
gap: 4.5rem;
.left-content {
width: 22.5rem;
.el-tree {

View File

@ -13,7 +13,7 @@
</div>
</template>
<div class="upload-content pa-20">
<div v-if="upload_type !== 'icon'" class="flex-row">
<div v-if="upload_type !== 'icon'" class="flex-row gap-40">
<div class="left-content">
<div class="flex-row align-c gap-10 mb-10">
<el-input v-model="search_filter" placeholder="请输入分类名称">
@ -297,7 +297,7 @@ watch(
get_tree();
//
get_attachment_list();
icon_index.value = -1;
}
}

View File

@ -1,8 +1,7 @@
import defaultCommon from './index';
import { online_url } from '@/utils';
const new_url = online_url();
const new_url = await online_url();
interface DefaultFooterNav {
content: {
nav_style: string;

View File

@ -329,6 +329,6 @@ export const online_url = async () => {
let temp_data = await import(import.meta.env.VITE_APP_BASE_API == '/dev-api' ? '../../temp.d' : '../../temp_pro.d');
return temp_data.default.temp_attachment_host + '/static/app/tabbar/';
} else {
return (await get_cookie('temp_attachment_host')) + '/static/app/tabbar/';
return get_cookie('attachment_host') + '/static/app/tabbar/';
}
};

View File

@ -79,6 +79,7 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
// 构建配置
build: {
target: 'esnext',
// 打包不压缩图片为base64
assetsInlineLimit: 0,
// 混淆器设置