dev_review V2.5.0
yujialong 1 year ago
parent 266ec21e9b
commit 905701ae7b
  1. 4
      src/views/course/contentSettings.vue
  2. 2
      src/views/order/AddOrder.vue
  3. 18
      src/views/shop/addProduct/index.vue

@ -151,7 +151,7 @@
</span>
</el-dialog>
<el-dialog title="添加小节1"
<el-dialog title="添加小节"
:visible.sync="sectionVisible"
width="540px"
@close="closeSection"
@ -175,7 +175,7 @@
<el-button size="small"><img src="@/assets/img/upload.png"
alt=""> 上传资源</el-button>
<div slot="tip"
class="el-upload__tip">视频请上传MP4格式大小不超过30Moffice文件大小不要超过10M</div>
class="el-upload__tip">视频请上传MP4格式大小不超过150Moffice文件大小不要超过10M</div>
</el-upload>
<el-progress v-if="showProgress"
:stroke-width="3"

@ -2819,7 +2819,7 @@ export default {
const orderRepeat = this.orderRepeat
this.$post(this.api.getOrderOtherTime, {
customerId: this.form.customerId,
id: row.dataOrCourseId,
id: row.mallId,
startTime: date.getFullYear() + '-' + (date.getMonth() + 1) + '-' + date.getDate(),
endTime: row.endTime,
authority: row.authority

@ -74,7 +74,8 @@
prop="categoryId">
<el-input placeholder="请输入产品名称"
v-model.trim="form.mall.productName"
id="focus-el"></el-input>
id="focus-el"
maxlength="20"></el-input>
</el-form-item>
<el-form-item label="分类标签"
@ -200,7 +201,8 @@
<el-form-item label="匹配课程"
prop="briefIntroduction">
<el-input placeholder="请输入匹配课程"
v-model="form.mall.matchingCourse"></el-input>
v-model="form.mall.matchingCourse"
maxlength="30"></el-input>
</el-form-item>
</el-col>
<el-col :span="6"
@ -222,7 +224,8 @@
<el-form-item label="适用场景"
prop="briefIntroduction">
<el-input placeholder="请输入适用场景"
v-model="form.mall.applicationScenario"></el-input>
v-model="form.mall.applicationScenario"
maxlength="50"></el-input>
</el-form-item>
<el-form-item v-if="isPython"
class="req"
@ -244,9 +247,9 @@
accept=".jpg,.png,.jpeg"
:before-remove="beforeCoverRemove"
:on-change="file => changeFile(file, 1)"
:limit="1"
:auto-upload="false"
:action="api.fileupload"
:show-file-list="false"
:headers="headers"
name="file">
<img v-if="form.mall.coverDrawing"
@ -303,6 +306,7 @@
:on-change="file => changeFile(file, 3)"
:auto-upload="false"
:limit="1"
:on-exceed="handleExceed"
:action="api.fileupload"
:headers="headers"
:file-list="appletList"
@ -512,7 +516,8 @@
label="产品简介"
prop="briefIntroduction">
<el-input v-model="form.mall.productIntroduction"
type="textarea"></el-input>
type="textarea"
maxlength="200"></el-input>
</el-form-item>
<el-form-item class="req"
label="详情介绍"
@ -1482,6 +1487,9 @@ export default {
})
})
},
handleExceed (files, fileList) {
Util.warningMsg(`当前限制选择 1 个文件,如需更换,请删除上一个文件再重新选择!`);
},
beforeCoverRemove () {
this.form.mall.coverDrawing = ''

Loading…
Cancel
Save