@ndscnj/roomkit-web-vue3 25.12.2319 → 25.12.2409

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.
Files changed (31) hide show
  1. package/es/components/RoomFooter/index/index.d.ts +13 -3
  2. package/es/components/RoomFooter/index/indexPC.vue.d.ts +5 -1
  3. package/es/components/RoomFooter/index/indexPC.vue.mjs +1 -1
  4. package/es/components/RoomFooter/index/indexPC.vue2.mjs +9 -2
  5. package/es/components/RoomFooter/voteControl.vue.mjs +1 -1
  6. package/es/components/RoomFooter/voteControl.vue2.mjs +19 -13
  7. package/es/components/RoomVote/index.d.ts +17 -1
  8. package/es/components/RoomVote/indexPC.vue.d.ts +10 -1
  9. package/es/components/RoomVote/indexPC.vue.mjs +1 -1
  10. package/es/components/RoomVote/indexPC.vue2.mjs +5 -1
  11. package/es/conference.vue.mjs +1 -1
  12. package/es/conference.vue2.mjs +1 -0
  13. package/es/index.mjs +166 -185
  14. package/lib/components/RoomFooter/index/index.d.ts +13 -3
  15. package/lib/components/RoomFooter/index/indexPC.vue.d.ts +5 -1
  16. package/lib/components/RoomFooter/index/indexPC.vue.js +1 -1
  17. package/lib/components/RoomFooter/index/indexPC.vue2.js +9 -2
  18. package/lib/components/RoomFooter/voteControl.vue.js +1 -1
  19. package/lib/components/RoomFooter/voteControl.vue2.js +18 -12
  20. package/lib/components/RoomVote/index.d.ts +17 -1
  21. package/lib/components/RoomVote/indexPC.vue.d.ts +10 -1
  22. package/lib/components/RoomVote/indexPC.vue.js +1 -1
  23. package/lib/components/RoomVote/indexPC.vue2.js +4 -0
  24. package/lib/conference.vue.js +1 -1
  25. package/lib/conference.vue2.js +1 -0
  26. package/lib/index.js +166 -185
  27. package/package.json +1 -1
  28. package/src/TUIRoom/components/RoomFooter/index/indexPC.vue +7 -0
  29. package/src/TUIRoom/components/RoomFooter/voteControl.vue +25 -43
  30. package/src/TUIRoom/components/RoomVote/indexPC.vue +3 -0
  31. package/src/TUIRoom/conference.vue +1 -0
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
- }.tool-box[data-v-92356fd2] {
3932
- position: absolute;
3933
- bottom: 72px;
3934
- z-index: 2;
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
- justify-content: center;
3939
- padding: 5px 0;
3940
- border-radius: 15px;
3941
- background-color: var(--bg-color-dialog);
3942
- box-shadow: 0 -8px 30p var(--uikit-color-black-8);
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
- .tool-box .tool-box-item[data-v-92356fd2] {
3971
+ .contact-container-main .contact-content-main[data-v-939000cb] {
3945
3972
  display: flex;
3973
+ flex-direction: row;
3946
3974
  align-items: center;
3947
- justify-content: flex-start;
3948
- width: 100%;
3949
- padding: 7px 10px;
3950
- font-size: 12px;
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
- cursor: pointer;
3989
+ color: var(--text-color-primary);
3953
3990
  }
3954
- .tool-box .tool-box-item .icon[data-v-92356fd2] {
3955
- margin-right: 8px;
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
- .tool-box .tool-box-item[data-v-92356fd2]:hover {
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
- background-color: var(--list-color-hover);
3960
- }.footer-container[data-v-6b90d75f] {
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-c9bb5a2b] {
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-f808bd91] {
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-6b90d75f] {
4108
+ .footer-container .left-container[data-v-f808bd91] {
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-6b90d75f]:not(:first-child) {
4113
+ .footer-container .left-container .left-container-item[data-v-f808bd91]:not(:first-child) {
3980
4114
  margin-left: 1rem;
3981
4115
  }
3982
- .footer-container .center-container[data-v-6b90d75f] {
4116
+ .footer-container .center-container[data-v-f808bd91] {
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-6b90d75f]:not(:first-child) {
4123
+ .footer-container .center-container .center-container-item[data-v-f808bd91]:not(:first-child) {
3990
4124
  margin-left: 16px;
3991
4125
  }
3992
- .footer-container .right-container[data-v-6b90d75f] {
4126
+ .footer-container .right-container[data-v-f808bd91] {
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;
@@ -9159,7 +9140,7 @@ body, html {
9159
9140
  }
9160
9141
  .tui-room :not([class|=el]) {
9161
9142
  transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
9162
- }.tui-room[data-v-d9ae22c4] {
9143
+ }.tui-room[data-v-3b59b436] {
9163
9144
  position: relative;
9164
9145
  display: flex;
9165
9146
  flex-direction: column;
@@ -9171,7 +9152,7 @@ body, html {
9171
9152
  text-align: left;
9172
9153
  background-color: var(--bg-color-topbar);
9173
9154
  }
9174
- .tui-room .header[data-v-d9ae22c4] {
9155
+ .tui-room .header[data-v-3b59b436] {
9175
9156
  position: absolute;
9176
9157
  top: 0;
9177
9158
  left: 0;
@@ -9182,20 +9163,20 @@ body, html {
9182
9163
  border-bottom: 1px solid var(--stroke-color-primary);
9183
9164
  box-shadow: 0 1px 0 var(--uikit-color-black-8);
9184
9165
  }
9185
- .tui-room .content[data-v-d9ae22c4] {
9166
+ .tui-room .content[data-v-3b59b436] {
9186
9167
  position: absolute;
9187
9168
  top: 0;
9188
9169
  width: 100%;
9189
9170
  height: 100%;
9190
9171
  background-color: var(--bg-color-topbar);
9191
9172
  }
9192
- .tui-room.tui-room-h5[data-v-d9ae22c4] {
9173
+ .tui-room.tui-room-h5[data-v-3b59b436] {
9193
9174
  width: 100%;
9194
9175
  min-width: 350px;
9195
9176
  height: 100%;
9196
9177
  min-height: 525px;
9197
9178
  }
9198
- #roomContainer.chat-room[data-v-d9ae22c4] {
9179
+ #roomContainer.chat-room[data-v-3b59b436] {
9199
9180
  position: absolute;
9200
9181
  top: 0;
9201
9182
  right: 0;
@@ -9207,8 +9188,8 @@ body, html {
9207
9188
  margin: auto;
9208
9189
  border-radius: 10px;
9209
9190
  }
9210
- #roomContainer.tui-room-h5[data-v-d9ae22c4],
9211
- #roomContainer .chat-room[data-v-d9ae22c4] {
9191
+ #roomContainer.tui-room-h5[data-v-3b59b436],
9192
+ #roomContainer .chat-room[data-v-3b59b436] {
9212
9193
  width: 100%;
9213
9194
  height: 100%;
9214
9195
  }.user-info-container[data-v-9e9aff53] {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ndscnj/roomkit-web-vue3",
3
- "version": "25.12.2319",
3
+ "version": "25.12.2409",
4
4
  "main": "./lib/index.js",
5
5
  "module": "./es/index.mjs",
6
6
  "types": "./es/index.d.ts",
@@ -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,11 @@ 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
+ console.log(data,"data111")
116
+ emit('on-vote', { code: data.visible, message: 'vote' });
117
+ };
111
118
  </script>
112
119
 
113
120
  <style lang="scss" scoped>
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="more-container" v-if="voteControlConfig.visible">
2
+ <div class="vote-control-container">
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
- {{ sidebarName }}
11
- <div @click="toggleToolBox">0测试0</div>
12
- <div class="tool-box" v-if="!isSidebarOpen && showToolBox">
13
- 123
14
- <slot name="content"></slot>
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);
@@ -32,50 +34,30 @@ const showToolBox = ref(false);
32
34
  watch(isSidebarOpen, newValue => {
33
35
  showToolBox.value = newValue && false;
34
36
  });
35
- const voteControlConfig = roomService.getComponentConfig('VoteControl');
36
37
  const emit = defineEmits(['on-vote']);
37
38
  function toggleToolBox() {
39
+ console.log(showToolBox.value,"0000")
38
40
  showToolBox.value = !showToolBox.value;
39
41
  emit('on-vote', {
40
- name: 'onVote',
41
- visible: showToolBox.value,
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
- .tool-box {
49
- position: absolute;
50
- bottom: 72px;
51
- z-index: 2;
52
- display: flex;
53
- flex-direction: column;
54
- align-items: center;
55
- justify-content: center;
56
- padding: 5px 0;
57
- border-radius: 15px;
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>
@@ -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
 
@@ -322,6 +322,7 @@ function resetStore() {
322
322
  }
323
323
 
324
324
  const onVote = (data: { name: string; visible: boolean }) => {
325
+ console.log(data,"data222")
325
326
  emit('on-vote', { code: data.visible, message: 'vote' });
326
327
  };
327
328
  const onStartRoom = () => {