New file |
| | |
| | | import http from "@/http"; |
| | | |
| | | export default { |
| | | getRegionList: (params) => { |
| | | return http.get('/sccg/sccg_region/list', params); |
| | | }, |
| | | |
| | | } |
| | |
| | | <template> |
| | | <div class="my-upload"> |
| | | <div v-if="pictureList.length > 0" class="image-box"> |
| | | <div v-for="image in pictureList" class="image-box-item"> |
| | | <div v-for="image in pictureList" :class="{ 'image-box-item': true, 'image-box-item-cover': isShowUpload }"> |
| | | <span v-if="isShowUpload" @click="handleDeletePicture(image)" class="image-delete-icon el-icon-delete"></span> |
| | | <el-image :key="image" class="image-content" :src="image"></el-image> |
| | | </div> |
| | |
| | | |
| | | .image-box-item { |
| | | position: sticky; |
| | | margin: 0 10px; |
| | | } |
| | | |
| | | .image-box-item:hover { |
| | | .image-box-item-cover:hover { |
| | | .image-content { |
| | | box-shadow: #ffffff; |
| | | opacity: 0.5; |