|
@@ -1,41 +1,34 @@
|
|
|
<template>
|
|
<template>
|
|
|
<el-row class="movie-list">
|
|
<el-row class="movie-list">
|
|
|
<el-row style="padding-right: 5px; padding-left: 5px; padding-bottom: 5px">
|
|
<el-row style="padding-right: 5px; padding-left: 5px; padding-bottom: 5px">
|
|
|
- <el-col :md="24" style="padding-right: 5px; padding-left: 5px; padding-bottom: 5px">
|
|
|
|
|
- <el-card class="box-card">
|
|
|
|
|
- <div class="text item">
|
|
|
|
|
- <el-button style="float: left; padding: 3px 0" type="text" @click="onReturnAlbum">返回相册稿件列表</el-button>
|
|
|
|
|
- </div>
|
|
|
|
|
- </el-card>
|
|
|
|
|
- </el-col>
|
|
|
|
|
|
|
+ <el-card class="box-card" style="padding-right: 5px; padding-left: 5px; padding-bottom: 5px">
|
|
|
|
|
+ <div slot="header" class="clearfix">
|
|
|
|
|
+ <span>添加图片</span>
|
|
|
|
|
+ <el-button style="float: right; padding: 10px" type="text" @click="onReturnAlbum">返回相册稿件列表</el-button>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div class="text item">
|
|
|
|
|
+ <el-upload
|
|
|
|
|
+ :action="actionUrl"
|
|
|
|
|
+ :headers="imgHeaders"
|
|
|
|
|
+ :data="imgData"
|
|
|
|
|
+ :file-list="uploadImages"
|
|
|
|
|
+ :multiple="true"
|
|
|
|
|
+ :limit="limit"
|
|
|
|
|
+ :with-credentials="true"
|
|
|
|
|
+ list-type="picture-card"
|
|
|
|
|
+ :before-upload="handleBeforeUpload"
|
|
|
|
|
+ :on-success="handleOnSuccess"
|
|
|
|
|
+ :on-error="handleOnError"
|
|
|
|
|
+ :on-remove="handleOnRemove"
|
|
|
|
|
+ :on-preview="handleOnPreview"
|
|
|
|
|
+ >
|
|
|
|
|
+ <i class="el-icon-plus" />
|
|
|
|
|
+ </el-upload>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </el-card>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
- <el-row>
|
|
|
|
|
- <el-col :md="8">
|
|
|
|
|
- <el-row style="padding-right: 5px; padding-left: 5px; padding-bottom: 5px">
|
|
|
|
|
- <el-card class="box-card">
|
|
|
|
|
- <div class="text item">
|
|
|
|
|
- <el-upload
|
|
|
|
|
- :action="actionUrl"
|
|
|
|
|
- :headers="imgHeaders"
|
|
|
|
|
- :data="imgData"
|
|
|
|
|
- :file-list="uploadImages"
|
|
|
|
|
- :multiple="true"
|
|
|
|
|
- :limit="limit"
|
|
|
|
|
- :with-credentials="true"
|
|
|
|
|
- list-type="picture-card"
|
|
|
|
|
- :before-upload="handleBeforeUpload"
|
|
|
|
|
- :on-success="handleOnSuccess"
|
|
|
|
|
- :on-error="handleOnError"
|
|
|
|
|
- :on-remove="handleOnRemove"
|
|
|
|
|
- :on-preview="handleOnPreview"
|
|
|
|
|
- >
|
|
|
|
|
- <i class="el-icon-plus" />
|
|
|
|
|
- </el-upload>
|
|
|
|
|
- </div>
|
|
|
|
|
- </el-card>
|
|
|
|
|
- </el-row>
|
|
|
|
|
- </el-col>
|
|
|
|
|
- <el-col :md="16">
|
|
|
|
|
|
|
+ <el-row style="padding-right: 5px; padding-left: 5px; padding-bottom: 5px">
|
|
|
|
|
+ <el-col :md="24">
|
|
|
<div v-if="data !== null">
|
|
<div v-if="data !== null">
|
|
|
<el-col
|
|
<el-col
|
|
|
v-for="(image, index) in data.images"
|
|
v-for="(image, index) in data.images"
|