This commit is contained in:
c
2025-03-12 20:11:03 +08:00
commit 70b7c82c97
1178 changed files with 148185 additions and 0 deletions
@@ -0,0 +1,35 @@
<template>
<toolbarTool type="button" @change="change" :active="active" :disabled="disabled" :tooltip="{content: '看广告解锁'}">
<uni-icons custom-prefix="editor-icon" type="icon-unlock" size="18px" style="padding: 3px;"></uni-icons>
</toolbarTool>
</template>
<script>
import ToolbarTool from "./base.vue";
export default {
name: "tool-unlock-content",
emits: ['change'],
props: {
active: Boolean,
disabled: Boolean
},
components: {
ToolbarTool
},
methods: {
change () {
this.$emit('change', {
type: 'unlockContent',
value: undefined
})
}
}
}
</script>
<style scoped>
// #ifdef H5
@import '@/uni_modules/uni-cms/common/style/editor-icon.css';
// #endif
</style>