feat(演示): 持久化 Mock 数据并打通文档库发起签署闭环
This commit is contained in:
@@ -8,6 +8,7 @@ const emit = defineEmits<{
|
||||
'update:modelValue': [value: string]
|
||||
add: []
|
||||
export: []
|
||||
reset: []
|
||||
}>()
|
||||
|
||||
function handleInput(event: Event) {
|
||||
@@ -41,6 +42,14 @@ function handleInput(event: Event) {
|
||||
<button type="button" class="tool-button secondary" @click="emit('export')">
|
||||
导出模板包
|
||||
</button>
|
||||
<button
|
||||
type="button"
|
||||
class="tool-button ghost"
|
||||
title="清除本地保存的演示文书与签署任务"
|
||||
@click="emit('reset')"
|
||||
>
|
||||
重置演示数据
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
@@ -135,6 +144,17 @@ function handleInput(event: Event) {
|
||||
background: var(--brand-l);
|
||||
}
|
||||
|
||||
.tool-button.ghost {
|
||||
color: var(--mut);
|
||||
background: #fff;
|
||||
border: 1px solid var(--line);
|
||||
}
|
||||
|
||||
.tool-button.ghost:hover {
|
||||
color: var(--ink);
|
||||
border-color: var(--mut);
|
||||
}
|
||||
|
||||
@media (max-width: 760px) {
|
||||
.library-tools {
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user