@tencentcloud/roomkit-electron-vue3
Version:
<h1 align="center"> TUIRoomKit</h1> Conference (TUIRoomKit) is a product suitable for multi-person audio and video conversation scenarios such as business meetings, webinars, and online education. By integrating this product, you can add room management,
60 lines (59 loc) • 2.43 kB
JavaScript
import { defineComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, toDisplayString, unref, withCtx, createTextVNode } from "vue";
import useRoomMoreHooks from "./useRoomMoreHooks.mjs";
import SvgIcon from "../common/base/SvgIcon.vue.mjs";
import copyIcon from "../common/icons/CopyIcon.vue.mjs";
import EmailIcon from "../common/icons/EmailIcon.vue.mjs";
import TuiButton from "../common/base/Button.vue.mjs";
const _hoisted_1 = { class: "more-container" };
const _hoisted_2 = { class: "more-title" };
const _hoisted_3 = { class: "more-notice" };
const _hoisted_4 = {
key: 0,
class: "more-item"
};
const _hoisted_5 = { class: "item-title" };
const _hoisted_6 = { class: "more-item" };
const _hoisted_7 = { class: "item-title" };
const _hoisted_8 = { class: "more-content" };
const _sfc_main = /* @__PURE__ */ defineComponent({
__name: "index",
setup(__props) {
const { t, onCopy, handleClick, email, isZH } = useRoomMoreHooks();
return (_ctx, _cache) => {
return openBlock(), createElementBlock("div", _hoisted_1, [
createElementVNode("div", _hoisted_2, [
createVNode(SvgIcon, {
class: "email-icon",
icon: EmailIcon
}),
createElementVNode("div", _hoisted_3, toDisplayString(unref(t)("If you have any questions, please email us.")), 1)
]),
unref(isZH) ? (openBlock(), createElementBlock("div", _hoisted_4, [
createElementVNode("div", _hoisted_5, toDisplayString(unref(t)("Join our product discussion group")), 1),
createVNode(TuiButton, {
class: "join-button",
type: "primary",
onClick: unref(handleClick)
}, {
default: withCtx(() => [
createTextVNode(toDisplayString(unref(t)("Join now")), 1)
]),
_: 1
}, 8, ["onClick"])
])) : createCommentVNode("", true),
createElementVNode("div", _hoisted_6, [
createElementVNode("div", _hoisted_7, toDisplayString(unref(t)("Our email address")), 1),
createElementVNode("div", _hoisted_8, toDisplayString(unref(email)), 1),
createVNode(SvgIcon, {
class: "copy-icon",
icon: copyIcon,
onClick: _cache[0] || (_cache[0] = ($event) => unref(onCopy)(unref(email)))
})
])
]);
};
}
});
export {
_sfc_main as default
};