Files
2025-06-13 21:16:12 +08:00

36 lines
709 B
Vue

<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>