@ndscnj/roomkit-web-vue3 25.12.2319 → 25.12.2320
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/index/index.d.ts +13 -3
- package/es/components/RoomFooter/index/indexPC.vue.d.ts +5 -1
- package/es/components/RoomFooter/index/indexPC.vue.mjs +1 -1
- package/es/components/RoomFooter/index/indexPC.vue2.mjs +8 -2
- package/es/components/RoomFooter/voteControl.vue.mjs +1 -1
- package/es/components/RoomFooter/voteControl.vue2.mjs +16 -7
- 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 +5 -1
- package/es/index.mjs +159 -178
- package/lib/components/RoomFooter/index/index.d.ts +13 -3
- package/lib/components/RoomFooter/index/indexPC.vue.d.ts +5 -1
- package/lib/components/RoomFooter/index/indexPC.vue.js +1 -1
- package/lib/components/RoomFooter/index/indexPC.vue2.js +8 -2
- package/lib/components/RoomFooter/voteControl.vue.js +1 -1
- package/lib/components/RoomFooter/voteControl.vue2.js +15 -6
- 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 +4 -0
- package/lib/index.js +159 -178
- package/package.json +1 -1
- package/src/TUIRoom/components/RoomFooter/index/indexPC.vue +6 -0
- package/src/TUIRoom/components/RoomFooter/voteControl.vue +24 -42
- package/src/TUIRoom/components/RoomVote/indexPC.vue +3 -0
|
@@ -75,11 +75,16 @@ const _hoisted_3 = { class: "center-container" };
|
|
|
75
75
|
const _hoisted_4 = { class: "right-container" };
|
|
76
76
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
77
77
|
__name: "indexPC",
|
|
78
|
-
|
|
78
|
+
emits: ["on-vote"],
|
|
79
|
+
setup(__props, { emit: __emit }) {
|
|
79
80
|
const { roomStore, isMaster, isAdmin, isAudience } = useRoomFooterHooks.default();
|
|
80
81
|
function handleControlClick(name) {
|
|
81
82
|
useMitt.default.emit("experience-communication", name);
|
|
82
83
|
}
|
|
84
|
+
const emit = __emit;
|
|
85
|
+
const onVote = (data) => {
|
|
86
|
+
emit("on-vote", { code: data.visible, message: "vote" });
|
|
87
|
+
};
|
|
83
88
|
return (_ctx, _cache) => {
|
|
84
89
|
return Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
85
90
|
Vue.createElementVNode("div", _hoisted_2, [
|
|
@@ -135,7 +140,8 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
135
140
|
})) : Vue.createCommentVNode("", true),
|
|
136
141
|
Vue.createVNode(voteControl.default, {
|
|
137
142
|
class: "center-container-item",
|
|
138
|
-
onClick: _cache[10] || (_cache[10] = ($event) => handleControlClick("voteControl"))
|
|
143
|
+
onClick: _cache[10] || (_cache[10] = ($event) => handleControlClick("voteControl")),
|
|
144
|
+
onOnVote: onVote
|
|
139
145
|
}, {
|
|
140
146
|
content: Vue.withCtx(() => [
|
|
141
147
|
Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
@@ -3,5 +3,5 @@ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toString
|
|
|
3
3
|
const voteControl_vue_vue_type_script_setup_true_lang = require("./voteControl.vue2.js");
|
|
4
4
|
;/* empty css */
|
|
5
5
|
const _pluginVue_exportHelper = require("../../_virtual/_plugin-vue_export-helper.js");
|
|
6
|
-
const voteControl = /* @__PURE__ */ _pluginVue_exportHelper.default(voteControl_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-
|
|
6
|
+
const voteControl = /* @__PURE__ */ _pluginVue_exportHelper.default(voteControl_vue_vue_type_script_setup_true_lang.default, [["__scopeId", "data-v-e8dc762c"]]);
|
|
7
7
|
exports.default = voteControl;
|
|
@@ -11,13 +11,14 @@ require("../../services/manager/roomActionManager.js");
|
|
|
11
11
|
require("@tencentcloud/tui-core");
|
|
12
12
|
const IconButton = require("../common/base/IconButton.vue.js");
|
|
13
13
|
const uikitBaseComponentVue3 = require("@tencentcloud/uikit-base-component-vue3");
|
|
14
|
+
const index$1 = require("../RoomVote/index.js");
|
|
14
15
|
const _hoisted_1 = {
|
|
15
16
|
key: 0,
|
|
16
|
-
class: "
|
|
17
|
+
class: "vote-control-container"
|
|
17
18
|
};
|
|
18
19
|
const _hoisted_2 = {
|
|
19
20
|
key: 0,
|
|
20
|
-
class: "
|
|
21
|
+
class: "contact-container"
|
|
21
22
|
};
|
|
22
23
|
const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
23
24
|
__name: "voteControl",
|
|
@@ -40,6 +41,9 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
40
41
|
visible: showToolBox.value
|
|
41
42
|
});
|
|
42
43
|
}
|
|
44
|
+
function handleOnCloseContact() {
|
|
45
|
+
showToolBox.value = false;
|
|
46
|
+
}
|
|
43
47
|
return (_ctx, _cache) => {
|
|
44
48
|
return Vue.unref(voteControlConfig).visible ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_1, [
|
|
45
49
|
Vue.createVNode(IconButton.default, {
|
|
@@ -52,11 +56,16 @@ const _sfc_main = /* @__PURE__ */ Vue.defineComponent({
|
|
|
52
56
|
]),
|
|
53
57
|
_: 1
|
|
54
58
|
}, 8, ["is-active", "title"]),
|
|
55
|
-
Vue.createTextVNode(" " + Vue.toDisplayString(sidebarName.value) + " ", 1),
|
|
56
|
-
Vue.createElementVNode("div", { onClick: toggleToolBox }, "0测试0"),
|
|
57
59
|
!isSidebarOpen.value && showToolBox.value ? (Vue.openBlock(), Vue.createElementBlock("div", _hoisted_2, [
|
|
58
|
-
|
|
59
|
-
|
|
60
|
+
Vue.createVNode(Vue.unref(index$1.default), {
|
|
61
|
+
ref: "contactRef",
|
|
62
|
+
onOnCloseContact: handleOnCloseContact
|
|
63
|
+
}, {
|
|
64
|
+
content: Vue.withCtx(() => [
|
|
65
|
+
Vue.renderSlot(_ctx.$slots, "content", {}, void 0, true)
|
|
66
|
+
]),
|
|
67
|
+
_: 3
|
|
68
|
+
}, 512)
|
|
60
69
|
])) : Vue.createCommentVNode("", true)
|
|
61
70
|
])) : Vue.createCommentVNode("", true);
|
|
62
71
|
};
|
|
@@ -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-d1a96ffd"]]);
|
|
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) {
|
|
@@ -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
|
@@ -3928,36 +3928,170 @@ to {
|
|
|
3928
3928
|
}
|
|
3929
3929
|
.footer .mirror-container .mirror-text[data-v-21a63691] {
|
|
3930
3930
|
margin-left: 4px;
|
|
3931
|
-
}
|
|
3932
|
-
|
|
3933
|
-
|
|
3934
|
-
|
|
3931
|
+
}span[data-v-939000cb] {
|
|
3932
|
+
padding-right: 5px;
|
|
3933
|
+
font-size: 12px;
|
|
3934
|
+
font-weight: 500;
|
|
3935
|
+
line-height: 17px;
|
|
3936
|
+
}
|
|
3937
|
+
.contact-container-main[data-v-939000cb] {
|
|
3938
|
+
position: fixed;
|
|
3939
|
+
bottom: 0;
|
|
3935
3940
|
display: flex;
|
|
3936
3941
|
flex-direction: column;
|
|
3942
|
+
width: 100%;
|
|
3943
|
+
padding-bottom: 4vh;
|
|
3944
|
+
border-radius: 15px 15px 0 0;
|
|
3945
|
+
animation-name: popup-939000cb;
|
|
3946
|
+
animation-duration: 200ms;
|
|
3947
|
+
background-color: var(--bg-color-operate);
|
|
3948
|
+
}
|
|
3949
|
+
@keyframes popup-939000cb {
|
|
3950
|
+
from {
|
|
3951
|
+
transform: scaleY(0);
|
|
3952
|
+
transform-origin: bottom;
|
|
3953
|
+
}
|
|
3954
|
+
to {
|
|
3955
|
+
transform: scaleY(1);
|
|
3956
|
+
transform-origin: bottom;
|
|
3957
|
+
}
|
|
3958
|
+
}
|
|
3959
|
+
.contact-container-main .contact-title-main[data-v-939000cb] {
|
|
3960
|
+
display: flex;
|
|
3961
|
+
flex-direction: row;
|
|
3937
3962
|
align-items: center;
|
|
3938
|
-
|
|
3939
|
-
|
|
3940
|
-
|
|
3941
|
-
|
|
3942
|
-
|
|
3963
|
+
padding: 30px 0 20px 25px;
|
|
3964
|
+
font-family: "PingFang SC";
|
|
3965
|
+
font-size: 20px;
|
|
3966
|
+
font-style: normal;
|
|
3967
|
+
font-weight: 500;
|
|
3968
|
+
line-height: 24px;
|
|
3969
|
+
color: var(--text-color-primary);
|
|
3943
3970
|
}
|
|
3944
|
-
.
|
|
3971
|
+
.contact-container-main .contact-content-main[data-v-939000cb] {
|
|
3945
3972
|
display: flex;
|
|
3973
|
+
flex-direction: row;
|
|
3946
3974
|
align-items: center;
|
|
3947
|
-
|
|
3948
|
-
|
|
3949
|
-
padding:
|
|
3950
|
-
|
|
3975
|
+
width: 90%;
|
|
3976
|
+
height: 15%;
|
|
3977
|
+
padding: 0 0 0 25px;
|
|
3978
|
+
margin-bottom: 10px;
|
|
3979
|
+
}
|
|
3980
|
+
.contact-container-main .contact-title[data-v-939000cb],
|
|
3981
|
+
.contact-container-main .contact-content[data-v-939000cb] {
|
|
3982
|
+
width: 28%;
|
|
3983
|
+
font-family: "PingFang SC";
|
|
3984
|
+
font-size: 14px;
|
|
3985
|
+
font-style: normal;
|
|
3986
|
+
font-weight: 400;
|
|
3987
|
+
line-height: 20px;
|
|
3951
3988
|
white-space: nowrap;
|
|
3952
|
-
|
|
3989
|
+
color: var(--text-color-primary);
|
|
3953
3990
|
}
|
|
3954
|
-
.
|
|
3955
|
-
|
|
3991
|
+
.contact-container-main .contact-content[data-v-939000cb] {
|
|
3992
|
+
width: 62%;
|
|
3993
|
+
overflow: hidden;
|
|
3994
|
+
font-size: 14px;
|
|
3995
|
+
text-overflow: ellipsis;
|
|
3996
|
+
white-space: nowrap;
|
|
3997
|
+
color: var(--text-color-secondary);
|
|
3956
3998
|
}
|
|
3957
|
-
.
|
|
3999
|
+
.contact-container-main .contact-bottom[data-v-939000cb] {
|
|
4000
|
+
width: 90%;
|
|
4001
|
+
padding-left: 40px;
|
|
4002
|
+
font-family: "PingFang SC";
|
|
4003
|
+
font-size: 12px;
|
|
4004
|
+
font-style: normal;
|
|
4005
|
+
font-weight: 400;
|
|
4006
|
+
line-height: 17px;
|
|
4007
|
+
text-align: center;
|
|
4008
|
+
color: var(--text-color-secondary);
|
|
4009
|
+
}
|
|
4010
|
+
.contact-container-main .copy[data-v-939000cb] {
|
|
4011
|
+
margin-left: 30px;
|
|
4012
|
+
color: var(--text-color-link);
|
|
4013
|
+
}
|
|
4014
|
+
.cancel[data-v-939000cb] {
|
|
4015
|
+
flex: 1;
|
|
4016
|
+
padding-right: 30px;
|
|
4017
|
+
font-size: 16px;
|
|
4018
|
+
font-weight: 400;
|
|
4019
|
+
text-align: end;
|
|
4020
|
+
}.more-container[data-v-d1a96ffd] {
|
|
4021
|
+
padding: 20px;
|
|
4022
|
+
}
|
|
4023
|
+
.more-container .more-title[data-v-d1a96ffd] {
|
|
4024
|
+
display: flex;
|
|
4025
|
+
align-items: center;
|
|
4026
|
+
}
|
|
4027
|
+
.more-container .more-title .email-icon[data-v-d1a96ffd] {
|
|
4028
|
+
color: var(--uikit-color-gray-7);
|
|
4029
|
+
}
|
|
4030
|
+
.more-container .more-title .more-notice[data-v-d1a96ffd] {
|
|
4031
|
+
width: 100%;
|
|
4032
|
+
height: 22px;
|
|
4033
|
+
padding-left: 8px;
|
|
4034
|
+
font-size: 14px;
|
|
4035
|
+
font-weight: 400;
|
|
4036
|
+
line-height: 22px;
|
|
4037
|
+
color: var(--text-color-primary);
|
|
4038
|
+
}
|
|
4039
|
+
.more-container .more-item[data-v-d1a96ffd] {
|
|
4040
|
+
position: relative;
|
|
4041
|
+
display: flex;
|
|
4042
|
+
flex-direction: column;
|
|
4043
|
+
}
|
|
4044
|
+
.more-container .more-item[data-v-d1a96ffd]:not(:first-child) {
|
|
4045
|
+
margin-top: 20px;
|
|
4046
|
+
}
|
|
4047
|
+
.more-container .more-item:not(:first-child) .item-title[data-v-d1a96ffd] {
|
|
4048
|
+
width: 100%;
|
|
4049
|
+
padding-bottom: 8px;
|
|
4050
|
+
font-size: 14px;
|
|
4051
|
+
font-weight: 400;
|
|
4052
|
+
line-height: 22px;
|
|
4053
|
+
color: var(--text-color-primary);
|
|
4054
|
+
}
|
|
4055
|
+
.more-container .more-item:not(:first-child) .more-content[data-v-d1a96ffd] {
|
|
4056
|
+
position: relative;
|
|
4057
|
+
box-sizing: border-box;
|
|
4058
|
+
display: inline-block;
|
|
4059
|
+
flex: 1;
|
|
4060
|
+
height: 42px;
|
|
4061
|
+
padding: 10px 30px 10px 16px;
|
|
4062
|
+
overflow: hidden;
|
|
4063
|
+
font-size: 14px;
|
|
4064
|
+
font-weight: 500;
|
|
4065
|
+
line-height: 22px;
|
|
4066
|
+
text-overflow: ellipsis;
|
|
4067
|
+
white-space: nowrap;
|
|
3958
4068
|
border-radius: 8px;
|
|
3959
|
-
|
|
3960
|
-
|
|
4069
|
+
outline: none;
|
|
4070
|
+
transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
4071
|
+
color: var(--text-color-primary);
|
|
4072
|
+
background-color: var(--bg-color-input);
|
|
4073
|
+
border: 1px solid var(--stroke-color-module);
|
|
4074
|
+
}
|
|
4075
|
+
.more-container .more-item:not(:first-child) .copy-icon[data-v-d1a96ffd] {
|
|
4076
|
+
position: absolute;
|
|
4077
|
+
top: 45px;
|
|
4078
|
+
right: 10px;
|
|
4079
|
+
display: flex;
|
|
4080
|
+
align-items: center;
|
|
4081
|
+
justify-content: center;
|
|
4082
|
+
cursor: pointer;
|
|
4083
|
+
color: var(--text-color-link);
|
|
4084
|
+
}.contact-container[data-v-e8dc762c] {
|
|
4085
|
+
position: fixed;
|
|
4086
|
+
top: 0;
|
|
4087
|
+
bottom: 0;
|
|
4088
|
+
left: 0;
|
|
4089
|
+
z-index: 11;
|
|
4090
|
+
box-sizing: border-box;
|
|
4091
|
+
width: 100vw;
|
|
4092
|
+
height: auto;
|
|
4093
|
+
background-color: var(--uikit-color-black-8);
|
|
4094
|
+
}.footer-container[data-v-604d8288] {
|
|
3961
4095
|
position: absolute;
|
|
3962
4096
|
bottom: 0;
|
|
3963
4097
|
display: flex;
|
|
@@ -3971,25 +4105,25 @@ to {
|
|
|
3971
4105
|
background-color: var(--bg-color-topbar);
|
|
3972
4106
|
box-shadow: 0 -8px 30px var(--uikit-color-black-8);
|
|
3973
4107
|
}
|
|
3974
|
-
.footer-container .left-container[data-v-
|
|
4108
|
+
.footer-container .left-container[data-v-604d8288] {
|
|
3975
4109
|
display: flex;
|
|
3976
4110
|
align-items: center;
|
|
3977
4111
|
height: 100%;
|
|
3978
4112
|
}
|
|
3979
|
-
.footer-container .left-container .left-container-item[data-v-
|
|
4113
|
+
.footer-container .left-container .left-container-item[data-v-604d8288]:not(:first-child) {
|
|
3980
4114
|
margin-left: 1rem;
|
|
3981
4115
|
}
|
|
3982
|
-
.footer-container .center-container[data-v-
|
|
4116
|
+
.footer-container .center-container[data-v-604d8288] {
|
|
3983
4117
|
position: relative;
|
|
3984
4118
|
display: flex;
|
|
3985
4119
|
align-items: center;
|
|
3986
4120
|
height: 100%;
|
|
3987
4121
|
margin: 0 auto;
|
|
3988
4122
|
}
|
|
3989
|
-
.footer-container .center-container .center-container-item[data-v-
|
|
4123
|
+
.footer-container .center-container .center-container-item[data-v-604d8288]:not(:first-child) {
|
|
3990
4124
|
margin-left: 16px;
|
|
3991
4125
|
}
|
|
3992
|
-
.footer-container .right-container[data-v-
|
|
4126
|
+
.footer-container .right-container[data-v-604d8288] {
|
|
3993
4127
|
display: flex;
|
|
3994
4128
|
align-items: center;
|
|
3995
4129
|
height: 100%;
|
|
@@ -4977,159 +5111,6 @@ to {
|
|
|
4977
5111
|
right: 0;
|
|
4978
5112
|
z-index: 101;
|
|
4979
5113
|
height: 100%;
|
|
4980
|
-
}span[data-v-939000cb] {
|
|
4981
|
-
padding-right: 5px;
|
|
4982
|
-
font-size: 12px;
|
|
4983
|
-
font-weight: 500;
|
|
4984
|
-
line-height: 17px;
|
|
4985
|
-
}
|
|
4986
|
-
.contact-container-main[data-v-939000cb] {
|
|
4987
|
-
position: fixed;
|
|
4988
|
-
bottom: 0;
|
|
4989
|
-
display: flex;
|
|
4990
|
-
flex-direction: column;
|
|
4991
|
-
width: 100%;
|
|
4992
|
-
padding-bottom: 4vh;
|
|
4993
|
-
border-radius: 15px 15px 0 0;
|
|
4994
|
-
animation-name: popup-939000cb;
|
|
4995
|
-
animation-duration: 200ms;
|
|
4996
|
-
background-color: var(--bg-color-operate);
|
|
4997
|
-
}
|
|
4998
|
-
@keyframes popup-939000cb {
|
|
4999
|
-
from {
|
|
5000
|
-
transform: scaleY(0);
|
|
5001
|
-
transform-origin: bottom;
|
|
5002
|
-
}
|
|
5003
|
-
to {
|
|
5004
|
-
transform: scaleY(1);
|
|
5005
|
-
transform-origin: bottom;
|
|
5006
|
-
}
|
|
5007
|
-
}
|
|
5008
|
-
.contact-container-main .contact-title-main[data-v-939000cb] {
|
|
5009
|
-
display: flex;
|
|
5010
|
-
flex-direction: row;
|
|
5011
|
-
align-items: center;
|
|
5012
|
-
padding: 30px 0 20px 25px;
|
|
5013
|
-
font-family: "PingFang SC";
|
|
5014
|
-
font-size: 20px;
|
|
5015
|
-
font-style: normal;
|
|
5016
|
-
font-weight: 500;
|
|
5017
|
-
line-height: 24px;
|
|
5018
|
-
color: var(--text-color-primary);
|
|
5019
|
-
}
|
|
5020
|
-
.contact-container-main .contact-content-main[data-v-939000cb] {
|
|
5021
|
-
display: flex;
|
|
5022
|
-
flex-direction: row;
|
|
5023
|
-
align-items: center;
|
|
5024
|
-
width: 90%;
|
|
5025
|
-
height: 15%;
|
|
5026
|
-
padding: 0 0 0 25px;
|
|
5027
|
-
margin-bottom: 10px;
|
|
5028
|
-
}
|
|
5029
|
-
.contact-container-main .contact-title[data-v-939000cb],
|
|
5030
|
-
.contact-container-main .contact-content[data-v-939000cb] {
|
|
5031
|
-
width: 28%;
|
|
5032
|
-
font-family: "PingFang SC";
|
|
5033
|
-
font-size: 14px;
|
|
5034
|
-
font-style: normal;
|
|
5035
|
-
font-weight: 400;
|
|
5036
|
-
line-height: 20px;
|
|
5037
|
-
white-space: nowrap;
|
|
5038
|
-
color: var(--text-color-primary);
|
|
5039
|
-
}
|
|
5040
|
-
.contact-container-main .contact-content[data-v-939000cb] {
|
|
5041
|
-
width: 62%;
|
|
5042
|
-
overflow: hidden;
|
|
5043
|
-
font-size: 14px;
|
|
5044
|
-
text-overflow: ellipsis;
|
|
5045
|
-
white-space: nowrap;
|
|
5046
|
-
color: var(--text-color-secondary);
|
|
5047
|
-
}
|
|
5048
|
-
.contact-container-main .contact-bottom[data-v-939000cb] {
|
|
5049
|
-
width: 90%;
|
|
5050
|
-
padding-left: 40px;
|
|
5051
|
-
font-family: "PingFang SC";
|
|
5052
|
-
font-size: 12px;
|
|
5053
|
-
font-style: normal;
|
|
5054
|
-
font-weight: 400;
|
|
5055
|
-
line-height: 17px;
|
|
5056
|
-
text-align: center;
|
|
5057
|
-
color: var(--text-color-secondary);
|
|
5058
|
-
}
|
|
5059
|
-
.contact-container-main .copy[data-v-939000cb] {
|
|
5060
|
-
margin-left: 30px;
|
|
5061
|
-
color: var(--text-color-link);
|
|
5062
|
-
}
|
|
5063
|
-
.cancel[data-v-939000cb] {
|
|
5064
|
-
flex: 1;
|
|
5065
|
-
padding-right: 30px;
|
|
5066
|
-
font-size: 16px;
|
|
5067
|
-
font-weight: 400;
|
|
5068
|
-
text-align: end;
|
|
5069
|
-
}.more-container[data-v-17479e8d] {
|
|
5070
|
-
padding: 20px;
|
|
5071
|
-
}
|
|
5072
|
-
.more-container .more-title[data-v-17479e8d] {
|
|
5073
|
-
display: flex;
|
|
5074
|
-
align-items: center;
|
|
5075
|
-
}
|
|
5076
|
-
.more-container .more-title .email-icon[data-v-17479e8d] {
|
|
5077
|
-
color: var(--uikit-color-gray-7);
|
|
5078
|
-
}
|
|
5079
|
-
.more-container .more-title .more-notice[data-v-17479e8d] {
|
|
5080
|
-
width: 100%;
|
|
5081
|
-
height: 22px;
|
|
5082
|
-
padding-left: 8px;
|
|
5083
|
-
font-size: 14px;
|
|
5084
|
-
font-weight: 400;
|
|
5085
|
-
line-height: 22px;
|
|
5086
|
-
color: var(--text-color-primary);
|
|
5087
|
-
}
|
|
5088
|
-
.more-container .more-item[data-v-17479e8d] {
|
|
5089
|
-
position: relative;
|
|
5090
|
-
display: flex;
|
|
5091
|
-
flex-direction: column;
|
|
5092
|
-
}
|
|
5093
|
-
.more-container .more-item[data-v-17479e8d]:not(:first-child) {
|
|
5094
|
-
margin-top: 20px;
|
|
5095
|
-
}
|
|
5096
|
-
.more-container .more-item:not(:first-child) .item-title[data-v-17479e8d] {
|
|
5097
|
-
width: 100%;
|
|
5098
|
-
padding-bottom: 8px;
|
|
5099
|
-
font-size: 14px;
|
|
5100
|
-
font-weight: 400;
|
|
5101
|
-
line-height: 22px;
|
|
5102
|
-
color: var(--text-color-primary);
|
|
5103
|
-
}
|
|
5104
|
-
.more-container .more-item:not(:first-child) .more-content[data-v-17479e8d] {
|
|
5105
|
-
position: relative;
|
|
5106
|
-
box-sizing: border-box;
|
|
5107
|
-
display: inline-block;
|
|
5108
|
-
flex: 1;
|
|
5109
|
-
height: 42px;
|
|
5110
|
-
padding: 10px 30px 10px 16px;
|
|
5111
|
-
overflow: hidden;
|
|
5112
|
-
font-size: 14px;
|
|
5113
|
-
font-weight: 500;
|
|
5114
|
-
line-height: 22px;
|
|
5115
|
-
text-overflow: ellipsis;
|
|
5116
|
-
white-space: nowrap;
|
|
5117
|
-
border-radius: 8px;
|
|
5118
|
-
outline: none;
|
|
5119
|
-
transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
|
|
5120
|
-
color: var(--text-color-primary);
|
|
5121
|
-
background-color: var(--bg-color-input);
|
|
5122
|
-
border: 1px solid var(--stroke-color-module);
|
|
5123
|
-
}
|
|
5124
|
-
.more-container .more-item:not(:first-child) .copy-icon[data-v-17479e8d] {
|
|
5125
|
-
position: absolute;
|
|
5126
|
-
top: 45px;
|
|
5127
|
-
right: 10px;
|
|
5128
|
-
display: flex;
|
|
5129
|
-
align-items: center;
|
|
5130
|
-
justify-content: center;
|
|
5131
|
-
cursor: pointer;
|
|
5132
|
-
color: var(--text-color-link);
|
|
5133
5114
|
}.conversation[data-v-b897add1] {
|
|
5134
5115
|
height: 100%;
|
|
5135
5116
|
padding: 20px;
|
package/package.json
CHANGED
|
@@ -54,6 +54,7 @@
|
|
|
54
54
|
<voteControl
|
|
55
55
|
class="center-container-item"
|
|
56
56
|
@click="handleControlClick('voteControl')"
|
|
57
|
+
@on-vote="onVote"
|
|
57
58
|
>
|
|
58
59
|
<template #content>
|
|
59
60
|
<slot name="content"></slot>
|
|
@@ -81,6 +82,7 @@
|
|
|
81
82
|
</template>
|
|
82
83
|
|
|
83
84
|
<script setup lang="ts">
|
|
85
|
+
import { defineEmits } from "vue";
|
|
84
86
|
import {
|
|
85
87
|
AudioSetting,
|
|
86
88
|
VideoSetting,
|
|
@@ -108,6 +110,10 @@ const { roomStore, isMaster, isAdmin, isAudience } = useRoomFooter();
|
|
|
108
110
|
function handleControlClick(name: string) {
|
|
109
111
|
bus.emit('experience-communication', name);
|
|
110
112
|
}
|
|
113
|
+
const emit = defineEmits(['on-vote']);
|
|
114
|
+
const onVote = (data: { name: string; visible: boolean }) => {
|
|
115
|
+
emit('on-vote', { code: data.visible, message: 'vote' });
|
|
116
|
+
};
|
|
111
117
|
</script>
|
|
112
118
|
|
|
113
119
|
<style lang="scss" scoped>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<template>
|
|
2
|
-
<div class="
|
|
2
|
+
<div class="vote-control-container" v-if="voteControlConfig.visible">
|
|
3
3
|
<icon-button
|
|
4
4
|
:is-active="sidebarName === 'vote'"
|
|
5
5
|
:title="t('Vote')"
|
|
@@ -7,11 +7,12 @@
|
|
|
7
7
|
>
|
|
8
8
|
<IconAIIcon size="24" />
|
|
9
9
|
</icon-button>
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
<div class="contact-container" v-if="!isSidebarOpen && showToolBox">
|
|
11
|
+
<room-vote ref="contactRef" @on-close-contact="handleOnCloseContact">
|
|
12
|
+
<template #content>
|
|
13
|
+
<slot name="content"></slot>
|
|
14
|
+
</template>
|
|
15
|
+
</room-vote>
|
|
15
16
|
</div>
|
|
16
17
|
</div>
|
|
17
18
|
</template>
|
|
@@ -24,6 +25,7 @@ import IconButton from '../common/base/IconButton.vue';
|
|
|
24
25
|
import {
|
|
25
26
|
IconAIIcon,
|
|
26
27
|
} from '@tencentcloud/uikit-base-component-vue3';
|
|
28
|
+
import roomVote from '../RoomVote';
|
|
27
29
|
const { basicStore } = roomService;
|
|
28
30
|
const isSidebarOpen = computed(() => basicStore.isSidebarOpen);
|
|
29
31
|
const sidebarName = computed(() => basicStore.sidebarName);
|
|
@@ -37,45 +39,25 @@ const emit = defineEmits(['on-vote']);
|
|
|
37
39
|
function toggleToolBox() {
|
|
38
40
|
showToolBox.value = !showToolBox.value;
|
|
39
41
|
emit('on-vote', {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
42
|
+
name: 'onVote',
|
|
43
|
+
visible: showToolBox.value,
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
function handleOnCloseContact() {
|
|
47
|
+
showToolBox.value = false;
|
|
43
48
|
}
|
|
44
|
-
|
|
45
49
|
</script>
|
|
46
50
|
|
|
47
51
|
<style lang="scss" scoped>
|
|
48
|
-
.
|
|
49
|
-
position:
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
background-color: var(--bg-color-dialog);
|
|
59
|
-
box-shadow: 0 -8px 30p var(--uikit-color-black-8);
|
|
60
|
-
|
|
61
|
-
.tool-box-item {
|
|
62
|
-
display: flex;
|
|
63
|
-
align-items: center;
|
|
64
|
-
justify-content: flex-start;
|
|
65
|
-
width: 100%;
|
|
66
|
-
padding: 7px 10px;
|
|
67
|
-
font-size: 12px;
|
|
68
|
-
white-space: nowrap;
|
|
69
|
-
cursor: pointer;
|
|
70
|
-
|
|
71
|
-
.icon {
|
|
72
|
-
margin-right: 8px;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.tool-box-item:hover {
|
|
77
|
-
border-radius: 8px;
|
|
78
|
-
background-color: var(--list-color-hover);
|
|
79
|
-
}
|
|
52
|
+
.contact-container {
|
|
53
|
+
position: fixed;
|
|
54
|
+
top: 0;
|
|
55
|
+
bottom: 0;
|
|
56
|
+
left: 0;
|
|
57
|
+
z-index: 11;
|
|
58
|
+
box-sizing: border-box;
|
|
59
|
+
width: 100vw;
|
|
60
|
+
height: auto;
|
|
61
|
+
background-color: var(--uikit-color-black-8);
|
|
80
62
|
}
|
|
81
63
|
</style>
|