Commit 8c25b61e authored by zhengke's avatar zhengke

云盘

parent 39687ba8
......@@ -18,6 +18,9 @@ page {
src: url("https://im.oytour.com/tripfont/a5cf6c61491d0b1aed95c0f9d0737140.woff2") format("woff2");
font-display: swap;
}
*{
font-family: PingFang SC;
}
.el-table.tableHBEbeef5 th.el-table__cell {
background-color: #ebeef5;
}
......
......@@ -19,10 +19,11 @@ class AliyunUpload {
return ''
}
}
static UploadAvatar = async (file: any, filepath: string) => {
static UploadAvatar = async (file: any, filepath: string,parms:any) => {
try {
const formData = new FormData();
formData.append('file', file);
if(parms) formData.append('parms', parms);
const response = await fetch(`${domainManager().UploadUrl}/Upload?filePath=${encodeURIComponent(filepath)}`, {
method: 'POST',
body: formData,
......
......@@ -58,7 +58,7 @@
</div>
</el-tab-pane>
<el-tab-pane label="本地图" name="2">
<FileInput @change="files => insertImageElement(files)">
<!-- <FileInput @change="files => insertImageElement(files)">
<div class="upload-box">
<img v-if="imgPath" :src="imgPath" style="height: 200px;"/>
<div v-else>
......@@ -68,7 +68,8 @@
<p><em>点击上传图片</em></p>
</div>
</div>
</FileInput>
</FileInput> -->
<CloudDisk></CloudDisk>
</el-tab-pane>
<el-tab-pane label="图片地址" name="3">
<div class="row wrap q-mt-md">
......@@ -105,9 +106,10 @@ import SpiderResource from '@/views/Editor/CanvasTool/SpiderResource.vue'
import type { PPTImageElement, SlideBackground } from '@/types/slides'
import FileInput from '@/components/FileInput.vue'
import BuyProduct from '@/components/User/BuyProduct.vue'
import CloudDisk from '@/components/CloudDisk/index.vue'
const showVisible = ref(true)
const activeName = ref("1")
const activeName = ref("2")
const imgVisibleStore = useScreenStore()
const imageFile = ref({})
......
......@@ -91,7 +91,7 @@
</el-select>
</div>
</div>
<div class="row nowrap" style="flex-shrink: 0;width: 201px;">
<div class="row nowrap" style="flex-shrink: 0;width: 205px;">
<div>
<el-button class="q-ml-lg q-mb-lg" type="primary" size="default" style="color: #ffff;" @click="search">
<el-icon size="18px">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment