diff --git a/src/saas/AppCountryAlbum/AlbumDetail.vue b/src/saas/AppCountryAlbum/AlbumDetail.vue index 7335404d..363fccd3 100644 --- a/src/saas/AppCountryAlbum/AlbumDetail.vue +++ b/src/saas/AppCountryAlbum/AlbumDetail.vue @@ -292,8 +292,8 @@ line-height: 56px; margin-top: 16px; text-align: center; - background: rgba(255, 255, 255, 0.1); - color: #beb2ab; + background: rgba(0, 0, 0, 0.6); + color: #fff; border-radius: 28px; } diff --git a/src/saas/AppCountryAlbum/EditAlbum.vue b/src/saas/AppCountryAlbum/EditAlbum.vue index 85c275ed..07605655 100644 --- a/src/saas/AppCountryAlbum/EditAlbum.vue +++ b/src/saas/AppCountryAlbum/EditAlbum.vue @@ -115,6 +115,7 @@ this.$u.toast('删除成功') this.getAlbumList() this.getList() + uni.$emit('update') } }) }).catch(() => { diff --git a/src/saas/AppCountryAlbum/WatermarkSetting.vue b/src/saas/AppCountryAlbum/WatermarkSetting.vue index 8109fa4d..63999ab9 100644 --- a/src/saas/AppCountryAlbum/WatermarkSetting.vue +++ b/src/saas/AppCountryAlbum/WatermarkSetting.vue @@ -5,7 +5,7 @@ *选择水印后,相册只能上传该水印照片
-
+

不限

@@ -22,8 +22,8 @@

水印库

-
- +
+
@@ -42,8 +42,8 @@ return { currIndex: 0, config, - checkedList: [], list: [], + chooseIndex: -1, pageShow: false } }, @@ -51,7 +51,7 @@ onLoad (query) { if (query.value) { this.currIndex = 1 - this.checkedList = query.value.split(',') + this.chooseIndex = query.value ? Number(query.value) : -1 } this.getList() @@ -60,7 +60,7 @@ methods: { getList () { this.$loading() - this.$http.post(`/api/appalbumtemplate/list?size=100&status=1`).then(res => { + this.$http.post(`/api/appalbumtemplate/list?size=1000&status=1`).then(res => { if (res.code === 0) { this.list = res.data.records } @@ -74,20 +74,11 @@ save () { uni.$emit('change', { type: 'watermark', - value: this.checkedList.length ? this.checkedList.join(',') : '' + value: this.chooseIndex > -1 ? this.chooseIndex : '' }) uni.navigateBack({ delta: 1 }) - }, - - checked (type) { - const i = this.checkedList.indexOf(type) - if (i > -1) { - this.checkedList.splice(i, 1) - } else { - this.checkedList.push(type) - } } } }