@tencentcloud/roomkit-web-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,
49 lines (48 loc) • 2.16 kB
JavaScript
import { defineComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, unref, toDisplayString, withCtx, createTextVNode } from "vue";
import { IconEmail, TUIButton, IconCopy } from "@tencentcloud/uikit-base-component-vue3";
import useRoomMoreHooks from "./useRoomMoreHooks.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: "indexPC",
setup(__props) {
const { t, onCopy, handleClick, email, isZH } = useRoomMoreHooks();
return (_ctx, _cache) => {
return openBlock(), createElementBlock("div", _hoisted_1, [
createElementVNode("div", _hoisted_2, [
createVNode(unref(IconEmail), { class: "email-icon" }),
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(unref(TUIButton), { 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(unref(IconCopy), {
class: "copy-icon",
onClick: _cache[0] || (_cache[0] = ($event) => unref(onCopy)(unref(email)))
})
])
]);
};
}
});
export {
_sfc_main as default
};