Commit 49aa0f0d authored by zhengke's avatar zhengke

修改

parent 7c4e1244
......@@ -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() {
},
......
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