Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
S
saas-dml
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
EzijingWeb
saas-dml
Commits
9d1a3021
提交
9d1a3021
authored
10月 23, 2024
作者:
王鹏飞
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
chore: update
上级
d78f24a5
隐藏空白字符变更
内嵌
并排
正在显示
4 个修改的文件
包含
30 行增加
和
3 行删除
+30
-3
1.mp4
public/1.mp4
+0
-0
ImageDesign.vue
src/modules/material/all/components/ImageDesign.vue
+11
-2
index.ts
src/modules/material/all/index.ts
+2
-1
Design.vue
src/modules/material/all/views/Design.vue
+17
-0
没有找到文件。
public/1.mp4
浏览文件 @
9d1a3021
No preview for this file type
src/modules/material/all/components/ImageDesign.vue
浏览文件 @
9d1a3021
...
@@ -5,6 +5,8 @@ import { uploadFileByUrl } from '@/utils/upload'
...
@@ -5,6 +5,8 @@ import { uploadFileByUrl } from '@/utils/upload'
const
ChuangKitDesign
=
defineAsyncComponent
(()
=>
import
(
'./ChuangKitDesign.vue'
))
const
ChuangKitDesign
=
defineAsyncComponent
(()
=>
import
(
'./ChuangKitDesign.vue'
))
const
route
=
useRoute
()
const
userStore
=
useUserStore
()
const
userStore
=
useUserStore
()
const
model
=
defineModel
()
const
model
=
defineModel
()
...
@@ -38,9 +40,16 @@ function onClose() {
...
@@ -38,9 +40,16 @@ function onClose() {
<
template
>
<
template
>
<div
class=
"image-design"
>
<div
class=
"image-design"
>
<el-button
type=
"primary"
@
click=
"designVisible = true"
>
打开编辑器
</el-button>
<router-link
:to=
"
{ path: 'design', query: route.query }" target="_blank">
<el-button
type=
"primary"
>
打开编辑器
</el-button>
<!--
<el-button
type=
"primary"
@
click=
"designVisible = true"
>
打开编辑器
</el-button>
-->
</router-link>
<ul>
<ul>
<li
v-for=
"item in data.list"
:key=
"item.designId"
:class=
"
{ active: item.designId === active }" @click="handleClick(item)">
<li
v-for=
"item in data.list"
:key=
"item.designId"
:class=
"
{ active: item.designId === active }"
@click="handleClick(item)">
<img
:src=
"item.thumbUrl"
/>
<img
:src=
"item.thumbUrl"
/>
</li>
</li>
</ul>
</ul>
...
...
src/modules/material/all/index.ts
浏览文件 @
9d1a3021
...
@@ -11,7 +11,8 @@ const routes: RouteRecordRaw[] = [
...
@@ -11,7 +11,8 @@ const routes: RouteRecordRaw[] = [
{
path
:
'update'
,
component
:
()
=>
import
(
'./views/Update.vue'
),
props
:
{
action
:
'update'
}
},
{
path
:
'update'
,
component
:
()
=>
import
(
'./views/Update.vue'
),
props
:
{
action
:
'update'
}
},
{
path
:
'view'
,
component
:
()
=>
import
(
'./views/Update.vue'
),
props
:
{
action
:
'view'
}
}
{
path
:
'view'
,
component
:
()
=>
import
(
'./views/Update.vue'
),
props
:
{
action
:
'view'
}
}
]
]
}
},
{
path
:
'/material/design'
,
component
:
()
=>
import
(
'./views/Design.vue'
)
}
]
]
export
{
routes
}
export
{
routes
}
src/modules/material/all/views/Design.vue
0 → 100644
浏览文件 @
9d1a3021
<
script
setup
></
script
>
<
template
>
<div
id=
"chuangkit-design-iframe"
>
<video
src=
"/1.mp4"
autoplay
></video>
</div>
</
template
>
<
style
lang=
"scss"
>
#chuangkit-design-iframe
{
background-color
:
rgba
(
0
,
0
,
0
,
0
.7
);
}
video
{
width
:
100vw
;
height
:
100vh
;
}
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论