processingController.vue
802 Bytes
<template>
<div class="processing-container">
<van-button type="default" size="normal" style="margin-right: 10px;" @click="handleBack">返回</van-button>
<!--icon="plus"-->
<van-button type="primary" size="normal" @click="handleScreenshot">截图反馈</van-button>
</div>
</template>
<script setup>
const props = defineProps(['originUser']) // processing origin
const emit = defineEmits(['screenshot', 'back'])
function handleScreenshot(type) {
console.log('onClickIcon', type)
emit('screenshot')
}
function handleBack() {
console.log('handleBack')
emit('back')
}
</script>
<style lang="less" scoped>
.processing-container {
display: flex;
padding: 10px;
position: fixed;
width: 100%;
bottom: 0px;
> button {
flex: 1;
border-radius: 8px;
}
}
</style>