|
@@ -33,11 +33,7 @@
|
|
|
<div class="template-list">
|
|
<div class="template-list">
|
|
|
<div v-for="(template, index) in visibleTemplates" :key="index" class="template-item"
|
|
<div v-for="(template, index) in visibleTemplates" :key="index" class="template-item"
|
|
|
@click="form.templateId = template.id">
|
|
@click="form.templateId = template.id">
|
|
|
- <el-image :src="ossResize(test_image_url, {
|
|
|
|
|
- m: 'lfit',
|
|
|
|
|
- h: 360,
|
|
|
|
|
- w: 500
|
|
|
|
|
- })" fit="contain" class="cur-p" style="width: 100%; display: block;" />
|
|
|
|
|
|
|
+ <el-image :src="test_image_url" fit="contain" class="cur-p" style="width: 100%; display: block;" />
|
|
|
<div class="select-warp" :class="form.templateId == template.id ? 'active' : ''">
|
|
<div class="select-warp" :class="form.templateId == template.id ? 'active' : ''">
|
|
|
<el-icon color="#FFFFFF">
|
|
<el-icon color="#FFFFFF">
|
|
|
<Select />
|
|
<Select />
|
|
@@ -94,7 +90,6 @@
|
|
|
|
|
|
|
|
import { ref, computed, reactive } from 'vue';
|
|
import { ref, computed, reactive } from 'vue';
|
|
|
import { Select } from '@element-plus/icons-vue'
|
|
import { Select } from '@element-plus/icons-vue'
|
|
|
-import { ossResize } from '@/utils/appfun'
|
|
|
|
|
import upload from '@/components/upload'
|
|
import upload from '@/components/upload'
|
|
|
import client from "@/stores/modules/client";
|
|
import client from "@/stores/modules/client";
|
|
|
import icpList from '@/utils/ipc'
|
|
import icpList from '@/utils/ipc'
|