This commit is contained in:
parent
ea5e45b584
commit
98727fb651
|
@ -171,7 +171,7 @@
|
|||
:show-file-list="false"
|
||||
:on-success="handleAvatarSuccess"
|
||||
>
|
||||
<div v-if="anchors.img_zip">
|
||||
<div v-if="anchors.img_zip.length">
|
||||
<div v-for="(item, index) in anchors.img_zip" class="img-box">
|
||||
<i
|
||||
@click.stop="handleClose('img_zip', index)"
|
||||
|
@ -192,7 +192,7 @@
|
|||
</div>
|
||||
<i v-else class="el-icon-plus avatar-uploader-icon" />
|
||||
</el-upload>
|
||||
<span>{{ anchors.img_zip }}</span>
|
||||
<!-- <span>{{ anchors.img_zip }}</span> -->
|
||||
<div style="color: red">(请上传zip格式的文件图片)</div>
|
||||
</el-form-item>
|
||||
<el-form-item label="上传行程">
|
||||
|
@ -220,7 +220,7 @@
|
|||
/>
|
||||
</div>
|
||||
<i v-else class="el-icon-plus avatar-uploader-icon" /> -->
|
||||
<div v-if="anchors.trip_zip">
|
||||
<div v-if="anchors.trip_zip.length">
|
||||
<div v-for="(item, index) in anchors.trip_zip" class="img-box">
|
||||
<i
|
||||
@click.stop="handleClose('trip_zip', index)"
|
||||
|
@ -241,7 +241,7 @@
|
|||
</div>
|
||||
<i v-else class="el-icon-plus avatar-uploader-icon" />
|
||||
</el-upload>
|
||||
<span>{{ anchors.trip_zip }}</span>
|
||||
<!-- <span>{{ item }}</span> -->
|
||||
<span style="color: red">(本行程请上传,ppt,word,pdf格式的文件)</span>
|
||||
</el-form-item>
|
||||
</el-form>
|
||||
|
@ -324,7 +324,7 @@
|
|||
inactive-color="#ff4949"
|
||||
/>
|
||||
</el-form-item>
|
||||
<el-form-item label="上传图片">
|
||||
<!-- <el-form-item label="上传图片">
|
||||
<el-upload
|
||||
class="avatar-uploader"
|
||||
action="admin/upload/index"
|
||||
|
@ -352,8 +352,8 @@
|
|||
</el-upload>
|
||||
<span>{{ anchors.img_zip }}</span>
|
||||
<div style="color: red">(请上传zip格式的文件图片)</div>
|
||||
</el-form-item>
|
||||
<el-form-item label="上传行程">
|
||||
</el-form-item> -->
|
||||
<!-- <el-form-item label="上传行程">
|
||||
<el-upload
|
||||
class="avatar-uploader"
|
||||
action="admin/upload/index"
|
||||
|
@ -381,7 +381,7 @@
|
|||
</el-upload>
|
||||
<span>{{ anchors.trip_zip }}</span>
|
||||
<div style="color: red">(本行程请上传,ppt,word,pdf格式的文件)</div>
|
||||
</el-form-item>
|
||||
</el-form-item> -->
|
||||
</el-form>
|
||||
<div slot="footer" class="dialog-footer">
|
||||
<el-button v-loading="loading" type="primary" @click="onSave"
|
||||
|
@ -435,7 +435,7 @@ export default {
|
|||
// this.onChange()
|
||||
},
|
||||
methods: {
|
||||
checkIfUrlContainsImage(url) {
|
||||
checkIfUrlContainsImage(url = "") {
|
||||
const imageExtensions = [
|
||||
".jpg",
|
||||
".jpeg",
|
||||
|
|
Loading…
Reference in New Issue