Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
49aa0f0d
Commit
49aa0f0d
authored
Oct 19, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
7c4e1244
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
addimageText.vue
src/pages/teacher/contribution/addimageText.vue
+15
-6
No files found.
src/pages/teacher/contribution/addimageText.vue
View file @
49aa0f0d
...
...
@@ -79,8 +79,12 @@
<q-btn-group
push
>
<q-btn-dropdown
push
label=
"图片"
>
<q-list>
<q-item
clickable
v-close-popup
@
click=
"onItemClick"
>
<q-item
clickable
v-close-popup
>
<el-upload
:action=
"importFileUrl2"
:multiple=
"false"
:on-success=
"successUpload"
:show-file-list=
"false"
accept=
"image/gif,image/jpeg,image/png,image/jpg,image/bmp"
>
本地上传
</el-upload>
</q-item>
<q-item
clickable
v-close-popup
@
click=
"onItemClick"
>
从图片库选择
...
...
@@ -93,8 +97,8 @@
<q-btn
push
label=
"小程序"
/>
</q-btn-group>
</div>
<q-input
clearable
standout=
"bg-primary text-white"
v-model=
"Name"
label=
"标题"
maxlength=
"64"
style=
"margin-top: 20px;"
/>
<q-input
clearable
standout=
"bg-primary text-white"
v-model=
"author"
label=
"作者"
maxlength=
"8"
<q-input
clearable
filled
v-model=
"Name"
label=
"标题"
maxlength=
"64"
style=
"margin-top: 20px;"
/>
<q-input
clearable
filled
v-model=
"author"
label=
"作者"
maxlength=
"8"
style=
"margin-top: 20px;"
/>
<div
style=
"margin-top: 20px;"
>
...
...
@@ -109,7 +113,6 @@
<
script
>
import
contributionUE
from
'./ue/contributionUE'
export
default
{
meta
:
{
title
:
"新增/修改图文"
...
...
@@ -127,8 +130,8 @@
config
:
{
initialFrameWidth
:
null
,
initialFrameHeight
:
300
,
},
importFileUrl2
:
this
.
domainManager
().
UploadFileUrl2
,
}
},
...
...
@@ -137,6 +140,12 @@
},
methods
:
{
successUpload
(
file
)
{
console
.
log
(
file
,
'file'
);
if
(
file
.
Code
==
1
)
{
}
},
onItemClick
()
{
},
...
...
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