File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 55 ref =" voteItemRef"
66 :id =" domId"
77 >
8+ <DivLoading :loading =" isLoading" />
89 <!-- 标题 -->
910 <h3 class =" text-lg font-bold mb-1" >{{ itemCom.title }}</h3 >
1011
1112 <!-- 截止时间 -->
1213 <div class =" text-sm text-gray-500 mb-2" v-if =" itemCom.endTime" >
13- 截止时间: {{ formatDate(itemCom.endTime) }}
14+ 截止时间:
15+ <ClientOnly
16+ >{{ formatDate(itemCom.endTime)
17+ }}<template #fallback >加载中...</template ></ClientOnly
18+ >
1419 </div >
1520
1621 <!-- 最大选择提示 -->
6469 <!-- 提交按钮 -->
6570 <UButton
6671 block
67- :loading =" isLoading || isVoting"
72+ :loading =" isVoting"
6873 :disabled =" btnDisabled"
6974 @click =" doVote"
7075 >{{ btnText }}</UButton
@@ -256,6 +261,10 @@ onUnmounted(() => {
256261< style scoped>
257262.vote - item- body {
258263 padding: 0 .68rem 1rem 1rem 1rem ;
264+ overflow: hidden;
265+ z- index: 1 ;
266+ isolation: isolate;
267+ position: relative;
259268}
260269.vote - item- option {
261270 position: relative;
You can’t perform that action at this time.
0 commit comments