|
@ -3,7 +3,7 @@ |
|
|
<div style="display:flex;justify-content:space-around;flex-wrap:wrap;padding-top:40px"> |
|
|
<div style="display:flex;justify-content:space-around;flex-wrap:wrap;padding-top:40px"> |
|
|
<el-image |
|
|
<el-image |
|
|
class="header-img-box-list" |
|
|
class="header-img-box-list" |
|
|
:src="item.url" |
|
|
|
|
|
|
|
|
:src="(item.url && item.url.slice(0, 4) !== 'http')?path+item.url:item.url" |
|
|
v-for="(item,key) in picList" |
|
|
v-for="(item,key) in picList" |
|
|
:key="key" |
|
|
:key="key" |
|
|
@click.native="chooseImg(item.url,target,targetKey)" |
|
|
@click.native="chooseImg(item.url,target,targetKey)" |
|
@ -17,6 +17,7 @@ |
|
|
</template> |
|
|
</template> |
|
|
|
|
|
|
|
|
<script> |
|
|
<script> |
|
|
|
|
|
const path = process.env.VUE_APP_BASE_API |
|
|
import { getFileList } from "@/api/fileUploadAndDownload"; |
|
|
import { getFileList } from "@/api/fileUploadAndDownload"; |
|
|
export default { |
|
|
export default { |
|
|
props: { |
|
|
props: { |
|
@ -26,7 +27,8 @@ export default { |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
drawer: false, |
|
|
drawer: false, |
|
|
picList: [] |
|
|
|
|
|
|
|
|
picList: [], |
|
|
|
|
|
path:path |
|
|
}; |
|
|
}; |
|
|
}, |
|
|
}, |
|
|
methods: { |
|
|
methods: { |
|
|