refactor: 确立独立子工程架构 (backend, admin, mpuniapp) 并同步更新 AGENTS.md 规范

这个提交包含在:
wikiboss
2026-09-20 17:05:22 +08:00
父节点 de3cf8b870
当前提交 9fa1d1fbd0
共有 1679 个文件被更改,包括 204798 次插入 和 16817 次删除

查看文件

@@ -0,0 +1,73 @@
<template>
<view class="popup-root" :class="['popup-'+type, isOpen ? 'open' : 'close']" @click="clickMask">
<view @click.stop class="popup-box">
<slot></slot>
</view>
</view>
</template>
<script setup lang="uts">
const props = withDefaults(defineProps<{
maskClick ?: boolean
type ?: string
}>(), {
maskClick: true,
type: "center"
})
const emit = defineEmits(['close', 'clickMask'])
const isOpen = ref(false)
function open() {
isOpen.value = true;
}
function close() : void {
isOpen.value = false;
emit('close');
}
function clickMask() {
if (props.maskClick == true) {
emit('clickMask');
close();
}
}
defineExpose({
open,
close
})
</script>
<style>
.popup-root {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
flex: 1;
background-color: rgba(0, 0, 0, 0.4);
justify-content: center;
align-items: center;
z-index: 99;
display: none;
}
.popup-bottom {
justify-content: flex-end;
align-items: center;
}
.popup-box {
width: 100%;
justify-content: center;
align-items: center;
}
.popup-root.open {
display: flex;
}
</style>

文件差异内容过多而无法显示 加载差异