// 启用状态标签 Vue.component("label-on", { props: ["v-is-on"], template: '
已启用已停用
' }) // 文字代码标签 Vue.component("code-label", { methods: { click: function (args) { this.$emit("click", args) } }, template: `` }) Vue.component("code-label-plain", { template: `` }) // tiny标签 Vue.component("tiny-label", { template: `` }) Vue.component("tiny-basic-label", { template: `` }) // 更小的标签 Vue.component("micro-basic-label", { template: `` }) // 灰色的Label Vue.component("grey-label", { props: ["color"], data: function () { let color = "grey" if (this.color != null && this.color.length > 0) { color = "red" } return { labelColor: color } }, template: `` }) // 可选标签 Vue.component("optional-label", { template: `(可选)` }) // Plus专属 Vue.component("plus-label", { template: `Plus专属功能。` }) // 提醒设置项为专业设置 Vue.component("pro-warning-label", { template: `注意:通常不需要修改;如要修改,请在专家指导下进行。` })