3 lines
579 B
Vue
3 lines
579 B
Vue
<template><span class="preview-identity" title="仅使用本机生成的演示数据,不连接业务后台"><i aria-hidden="true"></i>本地只读<span>预览</span></span></template>
|
|
<style scoped>.preview-identity{display:inline-flex;align-items:center;gap:3px;font-size:12px;color:var(--el-text-color-regular);white-space:nowrap}.preview-identity i{width:7px;height:7px;background:#1b916b;border-radius:50%;margin-right:4px}html[data-admin-ui='v2'] .preview-identity i{background:var(--el-color-primary)}@media(max-width:520px){.preview-identity span{display:none}}</style>
|