Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pptist
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
pptist
Commits
8c25b61e
Commit
8c25b61e
authored
Jun 03, 2024
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
云盘
parent
39687ba8
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
5 deletions
+11
-5
common.css
src/assets/styles/common.css
+3
-0
aliyun.ts
src/utils/upload/aliyun.ts
+2
-1
UploadPicture.vue
src/views/Editor/CanvasTool/UploadPicture.vue
+5
-3
Index.vue
src/views/TemplateCenter/Index.vue
+1
-1
No files found.
src/assets/styles/common.css
View file @
8c25b61e
...
...
@@ -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
;
}
...
...
src/utils/upload/aliyun.ts
View file @
8c25b61e
...
...
@@ -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
,
...
...
src/views/Editor/CanvasTool/UploadPicture.vue
View file @
8c25b61e
...
...
@@ -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
({})
...
...
src/views/TemplateCenter/Index.vue
View file @
8c25b61e
...
...
@@ -91,7 +91,7 @@
</el-select>
</div>
</div>
<div
class=
"row nowrap"
style=
"flex-shrink: 0;width: 20
1
px;"
>
<div
class=
"row nowrap"
style=
"flex-shrink: 0;width: 20
5
px;"
>
<div>
<el-button
class=
"q-ml-lg q-mb-lg"
type=
"primary"
size=
"default"
style=
"color: #ffff;"
@
click=
"search"
>
<el-icon
size=
"18px"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment