This commit is contained in:
yanran200730
2022-05-25 14:10:30 +08:00
parent efabc73bb8
commit cf813ed8ef
6 changed files with 25 additions and 2 deletions

View File

@@ -109,7 +109,7 @@
return this.$u.toast('请选择相片') return this.$u.toast('请选择相片')
} }
this.$confirm('确定删除该数据').then(() => { this.$confirm('确定删除这些图片').then(() => {
this.$http.post(`/api/appalbumphoto/delete?ids=${this.chooseImg}`).then(res => { this.$http.post(`/api/appalbumphoto/delete?ids=${this.chooseImg}`).then(res => {
if (res.code == 0) { if (res.code == 0) {
this.$u.toast('删除成功') this.$u.toast('删除成功')

View File

@@ -76,7 +76,7 @@
}, },
remove () { remove () {
this.$confirm('确定删除该数据').then(() => { this.$confirm('确定删除该图片').then(() => {
this.$http.post(`/api/appalbumphoto/delete?ids=${this.id}`).then(res => { this.$http.post(`/api/appalbumphoto/delete?ids=${this.id}`).then(res => {
if (res.code == 0) { if (res.code == 0) {
this.$u.toast('删除成功') this.$u.toast('删除成功')

View File

@@ -157,6 +157,11 @@
image { image {
display: block; display: block;
width: 100%; width: 100%;
margin-bottom: 10px;
&:last-child {
margin-bottom: 20px;
}
} }
} }

View File

@@ -159,9 +159,15 @@
.imgs { .imgs {
margin-top: 20px; margin-top: 20px;
image { image {
display: block; display: block;
width: 100%; width: 100%;
margin-bottom: 10px;
&:last-child {
margin-bottom: 20px;
}
} }
} }

View File

@@ -175,9 +175,15 @@
.imgs { .imgs {
margin-top: 20px; margin-top: 20px;
image { image {
display: block; display: block;
width: 100%; width: 100%;
margin-bottom: 10px;
&:last-child {
margin-bottom: 20px;
}
} }
} }

View File

@@ -161,9 +161,15 @@
.imgs { .imgs {
margin-top: 20px; margin-top: 20px;
image { image {
display: block; display: block;
width: 100%; width: 100%;
margin-bottom: 10px;
&:last-child {
margin-bottom: 20px;
}
} }
} }