Commit f634a69e by chenwq

音乐

1 parent 117d05c4
......@@ -78,6 +78,11 @@
<glsx-combi-form class="edit-form-container" ref="serviceEditFormRef" :isEdit="true" :isBlock="false" :formRef="editChildRef" :formObj="editForm" :formData="serviceEditFormData" :formRules="editRule"></glsx-combi-form>
</div>
</template>
<template slot="activityMusic">
<el-upload class="upload-demo" action="" accept="audio/mp3, audio/m4a" :http-request="handleMusicUpload" :on-change="handleMusicChange" :on-remove="handleRemove" :before-remove="beforeRemove" :limit="1" :on-exceed="handleExceed" :file-list="fileList">
<el-button class="el-icon-plus" size="small" type="default">背景音乐</el-button>
</el-upload>
</template>
<template slot="fictitious">
<div class="fictitious" id="fictitious">
<el-form-item label="参团:" prop="fictitiousGroupQuantity" labelWidth="60px">
......@@ -462,7 +467,9 @@ export default {
},
{
label: '音乐文件',
tips: '活动页背景音乐'
name: 'activityMusic',
tips: '活动页背景音乐',
// addHtml: 'activityMusic'
},
{
label: '预估销量',
......@@ -721,6 +728,15 @@ export default {
return this.limitPriceForInput(val, 5, 0, 0, maxValue)
},
// 音乐
handleMusicUpload() {
console.log('???')
},
handleMusicChange(file) {
console.log(file)
},
// 表单设置
handleDescribeAdd() {
this.formDescribeList.push({
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!