@ndscnj/roomkit-web-vue3 25.12.24151 → 25.12.24153
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/RoomFooter/VoteControl/MoreControlPC.vue.mjs +5 -5
- package/es/components/RoomVote/index.d.ts +17 -1
- package/es/components/RoomVote/indexPC.vue.d.ts +10 -1
- package/es/components/RoomVote/indexPC.vue.mjs +1 -1
- package/es/components/RoomVote/indexPC.vue2.mjs +6 -2
- package/es/index.mjs +9 -9
- package/lib/components/RoomFooter/VoteControl/MoreControlPC.vue.js +5 -5
- package/lib/components/RoomVote/index.d.ts +17 -1
- package/lib/components/RoomVote/indexPC.vue.d.ts +10 -1
- package/lib/components/RoomVote/indexPC.vue.js +1 -1
- package/lib/components/RoomVote/indexPC.vue2.js +5 -1
- package/lib/index.js +9 -9
- package/package.json +1 -1
- package/src/TUIRoom/components/RoomFooter/VoteControl/MoreControlPC.vue +5 -5
- package/src/TUIRoom/components/RoomFooter/voteControl.vue +3 -0
- package/src/TUIRoom/components/RoomVote/indexPC.vue +4 -1
|
@@ -17,22 +17,22 @@ const _hoisted_1 = {
|
|
|
17
17
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
18
18
|
__name: "MoreControlPC",
|
|
19
19
|
setup(__props) {
|
|
20
|
-
const moreControlConfig = roomService.getComponentConfig("
|
|
20
|
+
const moreControlConfig = roomService.getComponentConfig("MoreControl");
|
|
21
21
|
const { t, basicStore, sidebarName } = useControl();
|
|
22
22
|
function toggleMoreSidebar() {
|
|
23
|
-
if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "
|
|
23
|
+
if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "more") {
|
|
24
24
|
basicStore.setSidebarOpenStatus(false);
|
|
25
25
|
basicStore.setSidebarName("");
|
|
26
26
|
return;
|
|
27
27
|
}
|
|
28
28
|
basicStore.setSidebarOpenStatus(true);
|
|
29
|
-
basicStore.setSidebarName("
|
|
29
|
+
basicStore.setSidebarName("more");
|
|
30
30
|
}
|
|
31
31
|
return (_ctx, _cache) => {
|
|
32
32
|
return unref(moreControlConfig).visible ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
33
33
|
createVNode(IconButton, {
|
|
34
|
-
"is-active": unref(sidebarName) === "
|
|
35
|
-
title: unref(t)("
|
|
34
|
+
"is-active": unref(sidebarName) === "more",
|
|
35
|
+
title: unref(t)("More"),
|
|
36
36
|
onClickIcon: toggleMoreSidebar
|
|
37
37
|
}, {
|
|
38
38
|
default: withCtx(() => [
|
|
@@ -2,5 +2,21 @@ declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('v
|
|
|
2
2
|
"on-close-contact": (...args: any[]) => void;
|
|
3
3
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
4
|
"onOn-close-contact"?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> |
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | ({
|
|
6
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
7
|
+
P: {};
|
|
8
|
+
B: {};
|
|
9
|
+
D: {};
|
|
10
|
+
C: {};
|
|
11
|
+
M: {};
|
|
12
|
+
Defaults: {};
|
|
13
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
14
|
+
__isFragment?: never;
|
|
15
|
+
__isTeleport?: never;
|
|
16
|
+
__isSuspense?: never;
|
|
17
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
18
|
+
$slots: {
|
|
19
|
+
content?(_: {}): any;
|
|
20
|
+
};
|
|
21
|
+
}));
|
|
6
22
|
export default Index;
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
content?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
6
|
export default _default;
|
|
7
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./indexPC.vue2.mjs";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.mjs";
|
|
4
|
-
const indexPC = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const indexPC = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-c82f5e3c"]]);
|
|
5
5
|
export {
|
|
6
6
|
indexPC as default
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, unref, toDisplayString, withCtx, createTextVNode } from "vue";
|
|
1
|
+
import { defineComponent, createElementBlock, openBlock, createElementVNode, createCommentVNode, createVNode, unref, toDisplayString, withCtx, createTextVNode, renderSlot } from "vue";
|
|
2
2
|
import { IconEmail, TUIButton, IconCopy } from "@tencentcloud/uikit-base-component-vue3";
|
|
3
3
|
import useRoomMoreHooks from "./useRoomMoreHooks.mjs";
|
|
4
4
|
const _hoisted_1 = { class: "more-container" };
|
|
@@ -12,6 +12,7 @@ const _hoisted_5 = { class: "item-title" };
|
|
|
12
12
|
const _hoisted_6 = { class: "more-item" };
|
|
13
13
|
const _hoisted_7 = { class: "item-title" };
|
|
14
14
|
const _hoisted_8 = { class: "more-content" };
|
|
15
|
+
const _hoisted_9 = { class: "more-item" };
|
|
15
16
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
16
17
|
__name: "indexPC",
|
|
17
18
|
setup(__props) {
|
|
@@ -20,7 +21,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
20
21
|
return openBlock(), createElementBlock("div", _hoisted_1, [
|
|
21
22
|
createElementVNode("div", _hoisted_2, [
|
|
22
23
|
createVNode(unref(IconEmail), { class: "email-icon" }),
|
|
23
|
-
createElementVNode("div", _hoisted_3, toDisplayString(unref(t)("
|
|
24
|
+
createElementVNode("div", _hoisted_3, toDisplayString(unref(t)("Vote")), 1)
|
|
24
25
|
]),
|
|
25
26
|
unref(isZH) ? (openBlock(), createElementBlock("div", _hoisted_4, [
|
|
26
27
|
createElementVNode("div", _hoisted_5, toDisplayString(unref(t)("Join our product discussion group")), 1),
|
|
@@ -38,6 +39,9 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
38
39
|
class: "copy-icon",
|
|
39
40
|
onClick: _cache[0] || (_cache[0] = ($event) => unref(onCopy)(unref(email)))
|
|
40
41
|
})
|
|
42
|
+
]),
|
|
43
|
+
createElementVNode("div", _hoisted_9, [
|
|
44
|
+
renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
41
45
|
])
|
|
42
46
|
]);
|
|
43
47
|
};
|
package/es/index.mjs
CHANGED
|
@@ -5075,17 +5075,17 @@ to {
|
|
|
5075
5075
|
font-size: 16px;
|
|
5076
5076
|
font-weight: 400;
|
|
5077
5077
|
text-align: end;
|
|
5078
|
-
}.more-container[data-v-
|
|
5078
|
+
}.more-container[data-v-c82f5e3c] {
|
|
5079
5079
|
padding: 20px;
|
|
5080
5080
|
}
|
|
5081
|
-
.more-container .more-title[data-v-
|
|
5081
|
+
.more-container .more-title[data-v-c82f5e3c] {
|
|
5082
5082
|
display: flex;
|
|
5083
5083
|
align-items: center;
|
|
5084
5084
|
}
|
|
5085
|
-
.more-container .more-title .email-icon[data-v-
|
|
5085
|
+
.more-container .more-title .email-icon[data-v-c82f5e3c] {
|
|
5086
5086
|
color: var(--uikit-color-gray-7);
|
|
5087
5087
|
}
|
|
5088
|
-
.more-container .more-title .more-notice[data-v-
|
|
5088
|
+
.more-container .more-title .more-notice[data-v-c82f5e3c] {
|
|
5089
5089
|
width: 100%;
|
|
5090
5090
|
height: 22px;
|
|
5091
5091
|
padding-left: 8px;
|
|
@@ -5094,15 +5094,15 @@ to {
|
|
|
5094
5094
|
line-height: 22px;
|
|
5095
5095
|
color: var(--text-color-primary);
|
|
5096
5096
|
}
|
|
5097
|
-
.more-container .more-item[data-v-
|
|
5097
|
+
.more-container .more-item[data-v-c82f5e3c] {
|
|
5098
5098
|
position: relative;
|
|
5099
5099
|
display: flex;
|
|
5100
5100
|
flex-direction: column;
|
|
5101
5101
|
}
|
|
5102
|
-
.more-container .more-item[data-v-
|
|
5102
|
+
.more-container .more-item[data-v-c82f5e3c]:not(:first-child) {
|
|
5103
5103
|
margin-top: 20px;
|
|
5104
5104
|
}
|
|
5105
|
-
.more-container .more-item:not(:first-child) .item-title[data-v-
|
|
5105
|
+
.more-container .more-item:not(:first-child) .item-title[data-v-c82f5e3c] {
|
|
5106
5106
|
width: 100%;
|
|
5107
5107
|
padding-bottom: 8px;
|
|
5108
5108
|
font-size: 14px;
|
|
@@ -5110,7 +5110,7 @@ to {
|
|
|
5110
5110
|
line-height: 22px;
|
|
5111
5111
|
color: var(--text-color-primary);
|
|
5112
5112
|
}
|
|
5113
|
-
.more-container .more-item:not(:first-child) .more-content[data-v-
|
|
5113
|
+
.more-container .more-item:not(:first-child) .more-content[data-v-c82f5e3c] {
|
|
5114
5114
|
position: relative;
|
|
5115
5115
|
box-sizing: border-box;
|
|
5116
5116
|
display: inline-block;
|
|
@@ -5130,7 +5130,7 @@ to {
|
|
|
5130
5130
|
background-color: var(--bg-color-input);
|
|
5131
5131
|
border: 1px solid var(--stroke-color-module);
|
|
5132
5132
|
}
|
|
5133
|
-
.more-container .more-item:not(:first-child) .copy-icon[data-v-
|
|
5133
|
+
.more-container .more-item:not(:first-child) .copy-icon[data-v-c82f5e3c] {
|
|
5134
5134
|
position: absolute;
|
|
5135
5135
|
top: 45px;
|
|
5136
5136
|
right: 10px;
|
|
@@ -19,22 +19,22 @@ const _hoisted_1 = {
|
|
|
19
19
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
20
20
|
__name: "MoreControlPC",
|
|
21
21
|
setup(__props) {
|
|
22
|
-
const moreControlConfig = roomService.roomService.getComponentConfig("
|
|
22
|
+
const moreControlConfig = roomService.roomService.getComponentConfig("MoreControl");
|
|
23
23
|
const { t, basicStore, sidebarName } = useMoreControlHooks.default();
|
|
24
24
|
function toggleMoreSidebar() {
|
|
25
|
-
if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "
|
|
25
|
+
if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === "more") {
|
|
26
26
|
basicStore.setSidebarOpenStatus(false);
|
|
27
27
|
basicStore.setSidebarName("");
|
|
28
28
|
return;
|
|
29
29
|
}
|
|
30
30
|
basicStore.setSidebarOpenStatus(true);
|
|
31
|
-
basicStore.setSidebarName("
|
|
31
|
+
basicStore.setSidebarName("more");
|
|
32
32
|
}
|
|
33
33
|
return (_ctx, _cache) => {
|
|
34
34
|
return Vue.unref(moreControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
35
35
|
Vue.createVNode(IconButton.default, {
|
|
36
|
-
"is-active": Vue.unref(sidebarName) === "
|
|
37
|
-
title: Vue.unref(t)("
|
|
36
|
+
"is-active": Vue.unref(sidebarName) === "more",
|
|
37
|
+
title: Vue.unref(t)("More"),
|
|
38
38
|
onClickIcon: toggleMoreSidebar
|
|
39
39
|
}, {
|
|
40
40
|
default: Vue.withCtx(() => [
|
|
@@ -2,5 +2,21 @@ declare const Index: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('v
|
|
|
2
2
|
"on-close-contact": (...args: any[]) => void;
|
|
3
3
|
}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{
|
|
4
4
|
"onOn-close-contact"?: ((...args: any[]) => any) | undefined;
|
|
5
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> |
|
|
5
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any> | ({
|
|
6
|
+
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
7
|
+
P: {};
|
|
8
|
+
B: {};
|
|
9
|
+
D: {};
|
|
10
|
+
C: {};
|
|
11
|
+
M: {};
|
|
12
|
+
Defaults: {};
|
|
13
|
+
}, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, {}>;
|
|
14
|
+
__isFragment?: never;
|
|
15
|
+
__isTeleport?: never;
|
|
16
|
+
__isSuspense?: never;
|
|
17
|
+
} & import('vue').ComponentOptionsBase<Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
18
|
+
$slots: {
|
|
19
|
+
content?(_: {}): any;
|
|
20
|
+
};
|
|
21
|
+
}));
|
|
6
22
|
export default Index;
|
|
@@ -1,2 +1,11 @@
|
|
|
1
|
-
declare
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
content?(_: {}): any;
|
|
3
|
+
};
|
|
4
|
+
declare const __VLS_component: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
5
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
2
6
|
export default _default;
|
|
7
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
8
|
+
new (): {
|
|
9
|
+
$slots: S;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const indexPC_vue_vue_type_script_setup_true_lang = require("./indexPC.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const indexPC = /* @__PURE__ */ _pluginVue_exportHelper.default(indexPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const indexPC = /* @__PURE__ */ _pluginVue_exportHelper.default(indexPC_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-c82f5e3c"]]);
|
|
7
7
|
exports.default = indexPC;
|
|
@@ -14,6 +14,7 @@ const _hoisted_5 = { class: "item-title" };
|
|
|
14
14
|
const _hoisted_6 = { class: "more-item" };
|
|
15
15
|
const _hoisted_7 = { class: "item-title" };
|
|
16
16
|
const _hoisted_8 = { class: "more-content" };
|
|
17
|
+
const _hoisted_9 = { class: "more-item" };
|
|
17
18
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
18
19
|
__name: "indexPC",
|
|
19
20
|
setup(__props) {
|
|
@@ -22,7 +23,7 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
22
23
|
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
23
24
|
Vue.createElementVNode("div", _hoisted_2, [
|
|
24
25
|
Vue.createVNode(Vue.unref(uikitBaseComponentVue3.IconEmail), { class: "email-icon" }),
|
|
25
|
-
Vue.createElementVNode("div", _hoisted_3, Vue.toDisplayString(Vue.unref(t)("
|
|
26
|
+
Vue.createElementVNode("div", _hoisted_3, Vue.toDisplayString(Vue.unref(t)("Vote")), 1)
|
|
26
27
|
]),
|
|
27
28
|
Vue.unref(isZH) ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_4, [
|
|
28
29
|
Vue.createElementVNode("div", _hoisted_5, Vue.toDisplayString(Vue.unref(t)("Join our product discussion group")), 1),
|
|
@@ -40,6 +41,9 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
40
41
|
class: "copy-icon",
|
|
41
42
|
onClick: _cache[0] || (_cache[0] = ($event) => Vue.unref(onCopy)(Vue.unref(email)))
|
|
42
43
|
})
|
|
44
|
+
]),
|
|
45
|
+
Vue.createElementVNode("div", _hoisted_9, [
|
|
46
|
+
Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
43
47
|
])
|
|
44
48
|
]);
|
|
45
49
|
};
|
package/lib/index.js
CHANGED
|
@@ -5075,17 +5075,17 @@ to {
|
|
|
5075
5075
|
font-size: 16px;
|
|
5076
5076
|
font-weight: 400;
|
|
5077
5077
|
text-align: end;
|
|
5078
|
-
}.more-container[data-v-
|
|
5078
|
+
}.more-container[data-v-c82f5e3c] {
|
|
5079
5079
|
padding: 20px;
|
|
5080
5080
|
}
|
|
5081
|
-
.more-container .more-title[data-v-
|
|
5081
|
+
.more-container .more-title[data-v-c82f5e3c] {
|
|
5082
5082
|
display: flex;
|
|
5083
5083
|
align-items: center;
|
|
5084
5084
|
}
|
|
5085
|
-
.more-container .more-title .email-icon[data-v-
|
|
5085
|
+
.more-container .more-title .email-icon[data-v-c82f5e3c] {
|
|
5086
5086
|
color: var(--uikit-color-gray-7);
|
|
5087
5087
|
}
|
|
5088
|
-
.more-container .more-title .more-notice[data-v-
|
|
5088
|
+
.more-container .more-title .more-notice[data-v-c82f5e3c] {
|
|
5089
5089
|
width: 100%;
|
|
5090
5090
|
height: 22px;
|
|
5091
5091
|
padding-left: 8px;
|
|
@@ -5094,15 +5094,15 @@ to {
|
|
|
5094
5094
|
line-height: 22px;
|
|
5095
5095
|
color: var(--text-color-primary);
|
|
5096
5096
|
}
|
|
5097
|
-
.more-container .more-item[data-v-
|
|
5097
|
+
.more-container .more-item[data-v-c82f5e3c] {
|
|
5098
5098
|
position: relative;
|
|
5099
5099
|
display: flex;
|
|
5100
5100
|
flex-direction: column;
|
|
5101
5101
|
}
|
|
5102
|
-
.more-container .more-item[data-v-
|
|
5102
|
+
.more-container .more-item[data-v-c82f5e3c]:not(:first-child) {
|
|
5103
5103
|
margin-top: 20px;
|
|
5104
5104
|
}
|
|
5105
|
-
.more-container .more-item:not(:first-child) .item-title[data-v-
|
|
5105
|
+
.more-container .more-item:not(:first-child) .item-title[data-v-c82f5e3c] {
|
|
5106
5106
|
width: 100%;
|
|
5107
5107
|
padding-bottom: 8px;
|
|
5108
5108
|
font-size: 14px;
|
|
@@ -5110,7 +5110,7 @@ to {
|
|
|
5110
5110
|
line-height: 22px;
|
|
5111
5111
|
color: var(--text-color-primary);
|
|
5112
5112
|
}
|
|
5113
|
-
.more-container .more-item:not(:first-child) .more-content[data-v-
|
|
5113
|
+
.more-container .more-item:not(:first-child) .more-content[data-v-c82f5e3c] {
|
|
5114
5114
|
position: relative;
|
|
5115
5115
|
box-sizing: border-box;
|
|
5116
5116
|
display: inline-block;
|
|
@@ -5130,7 +5130,7 @@ to {
|
|
|
5130
5130
|
background-color: var(--bg-color-input);
|
|
5131
5131
|
border: 1px solid var(--stroke-color-module);
|
|
5132
5132
|
}
|
|
5133
|
-
.more-container .more-item:not(:first-child) .copy-icon[data-v-
|
|
5133
|
+
.more-container .more-item:not(:first-child) .copy-icon[data-v-c82f5e3c] {
|
|
5134
5134
|
position: absolute;
|
|
5135
5135
|
top: 45px;
|
|
5136
5136
|
right: 10px;
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<template>
|
|
2
2
|
<div v-if="moreControlConfig.visible" class="more-control-container">
|
|
3
3
|
<icon-button
|
|
4
|
-
:is-active="sidebarName === '
|
|
5
|
-
:title="t('
|
|
4
|
+
:is-active="sidebarName === 'more'"
|
|
5
|
+
:title="t('More')"
|
|
6
6
|
@click-icon="toggleMoreSidebar"
|
|
7
7
|
>
|
|
8
8
|
<IconMore size="24" />
|
|
@@ -15,17 +15,17 @@ import IconButton from '../../common/base/IconButton.vue';
|
|
|
15
15
|
import userMoreControl from './useMoreControlHooks';
|
|
16
16
|
import { roomService } from '../../../services';
|
|
17
17
|
|
|
18
|
-
const moreControlConfig = roomService.getComponentConfig('
|
|
18
|
+
const moreControlConfig = roomService.getComponentConfig('MoreControl');
|
|
19
19
|
const { t, basicStore, sidebarName } = userMoreControl();
|
|
20
20
|
|
|
21
21
|
function toggleMoreSidebar() {
|
|
22
|
-
if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === '
|
|
22
|
+
if (basicStore.setSidebarOpenStatus && basicStore.sidebarName === 'more') {
|
|
23
23
|
basicStore.setSidebarOpenStatus(false);
|
|
24
24
|
basicStore.setSidebarName('');
|
|
25
25
|
return;
|
|
26
26
|
}
|
|
27
27
|
basicStore.setSidebarOpenStatus(true);
|
|
28
|
-
basicStore.setSidebarName('
|
|
28
|
+
basicStore.setSidebarName('more');
|
|
29
29
|
}
|
|
30
30
|
</script>
|
|
31
31
|
<style lang="scss" scoped></style>
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
<div class="more-title">
|
|
4
4
|
<IconEmail class="email-icon" />
|
|
5
5
|
<div class="more-notice">
|
|
6
|
-
{{ t('
|
|
6
|
+
{{ t('Vote') }}
|
|
7
7
|
</div>
|
|
8
8
|
</div>
|
|
9
9
|
<div v-if="isZH" class="more-item">
|
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
<div class="more-content">{{ email }}</div>
|
|
16
16
|
<IconCopy class="copy-icon" @click="onCopy(email)" />
|
|
17
17
|
</div>
|
|
18
|
+
<div class="more-item">
|
|
19
|
+
<slot name="content"></slot>
|
|
20
|
+
</div>
|
|
18
21
|
</div>
|
|
19
22
|
</template>
|
|
20
23
|
|