|
@@ -8,7 +8,7 @@
|
|
|
</van-nav-bar>
|
|
</van-nav-bar>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="container">
|
|
<div class="container">
|
|
|
- <van-button class="selecBtn" size="small" @click="selectImage">
|
|
|
|
|
|
|
+ <van-button class="selecBtn" size="small" @click="selectImage" v-show="Object.keys(groupedImages).length > 0">
|
|
|
{{ isLongPressing ? "取消" : "选择" }}
|
|
{{ isLongPressing ? "取消" : "选择" }}
|
|
|
</van-button>
|
|
</van-button>
|
|
|
|
|
|
|
@@ -131,6 +131,7 @@ export default class Resout extends Vue {
|
|
|
this.images = [];
|
|
this.images = [];
|
|
|
this.pagination.page = 1;
|
|
this.pagination.page = 1;
|
|
|
this.hasMore = true;
|
|
this.hasMore = true;
|
|
|
|
|
+ this.isLongPressing = false;
|
|
|
this.getDataInfioList();
|
|
this.getDataInfioList();
|
|
|
// 监听滚动事件
|
|
// 监听滚动事件
|
|
|
window.addEventListener('scroll', this.handleScroll);
|
|
window.addEventListener('scroll', this.handleScroll);
|
|
@@ -407,7 +408,7 @@ export default class Resout extends Vue {
|
|
|
width: 50px;
|
|
width: 50px;
|
|
|
position: absolute;
|
|
position: absolute;
|
|
|
right: 20px;
|
|
right: 20px;
|
|
|
- top: 14px;
|
|
|
|
|
|
|
+ top: 56px;
|
|
|
border-radius: 8px;
|
|
border-radius: 8px;
|
|
|
background-color: #2484F2;
|
|
background-color: #2484F2;
|
|
|
color: #fff;
|
|
color: #fff;
|
|
@@ -416,6 +417,7 @@ export default class Resout extends Vue {
|
|
|
|
|
|
|
|
.image-groups {
|
|
.image-groups {
|
|
|
flex: 1;
|
|
flex: 1;
|
|
|
|
|
+ padding-top:15px;
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
.image-group {
|
|
.image-group {
|