优化部分细节(同步更新)
This commit is contained in:
parent
8e606598dd
commit
cd7a8e8df2
@ -104,7 +104,7 @@
|
|||||||
</el-footer>
|
</el-footer>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<HentaiSearch v-model:is-querying="isQuerying" @close="closeQueryPanel"></HentaiSearch>
|
<HentaiSearch v-model:is-querying="isQuerying" @close="isQuerying = false"></HentaiSearch>
|
||||||
|
|
||||||
<el-dialog title="配置" v-model="isConfig">
|
<el-dialog title="配置" v-model="isConfig">
|
||||||
<div>
|
<div>
|
||||||
@ -383,10 +383,6 @@ function resetLocalQuery(){
|
|||||||
param.value = ""
|
param.value = ""
|
||||||
}
|
}
|
||||||
|
|
||||||
function closeQueryPanel(){
|
|
||||||
isQuerying.value = false
|
|
||||||
}
|
|
||||||
|
|
||||||
function deleteGallery(){
|
function deleteGallery(){
|
||||||
store.dispatch("deleteGallery", chosenGallery.value.gid)
|
store.dispatch("deleteGallery", chosenGallery.value.gid)
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2,6 +2,7 @@
|
|||||||
import {computed, ref, watch} from "vue";
|
import {computed, ref, watch} from "vue";
|
||||||
import store from "../store/index.js";
|
import store from "../store/index.js";
|
||||||
let props = defineProps(['currentGallery', 'isOnlineReading'])
|
let props = defineProps(['currentGallery', 'isOnlineReading'])
|
||||||
|
let emit = defineEmits(['close'])
|
||||||
let isShowUp = ref()
|
let isShowUp = ref()
|
||||||
let onlineReadingScrollbar = ref()
|
let onlineReadingScrollbar = ref()
|
||||||
let links = ref()
|
let links = ref()
|
||||||
@ -40,6 +41,7 @@ function jump(targetIndex){
|
|||||||
|
|
||||||
function closeDialog(){
|
function closeDialog(){
|
||||||
onlineReadingScrollbar.value.setScrollTop(0)
|
onlineReadingScrollbar.value.setScrollTop(0)
|
||||||
|
emit("close")
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -110,7 +110,7 @@
|
|||||||
</el-form>
|
</el-form>
|
||||||
</el-dialog>
|
</el-dialog>
|
||||||
|
|
||||||
<OnlineReader :current-gallery="currentGallery" :isOnlineReading="isOnlineReading"/>
|
<OnlineReader :current-gallery="currentGallery" :isOnlineReading="isOnlineReading" @close="isOnlineReading = false"/>
|
||||||
|
|
||||||
<span v-show="!loadComplete" class="side">请输入授权码后再查看</span>
|
<span v-show="!loadComplete" class="side">请输入授权码后再查看</span>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user