Xin Zhang commited on
Commit
31e11af
·
1 Parent(s): 8ba9c84

[fix]: improve style.

Browse files
frontend/src/views/Welcome/index.vue CHANGED
@@ -304,13 +304,13 @@ const isPlaying = (id: string) => {
304
  <div class="actions">
305
  <!-- <a-button type="text" @click="toggleSider">sider</a-button> -->
306
 
307
- <!-- <a-button type="text" @click="voiceModelOpen = true"
308
  style="width:44px; height: 44px; margin-right:24px;margin-bottom: 24px;">
309
  <template #icon>
310
  <img :src="setting" width="28" height="28" alt="settings" />
311
  </template>
312
- </a-button>-->
313
- <a-popover v-model:open="popoverVisible" trigger="click" ok-text="Yes" cancel-text="No" placement="bottomRight">
314
  <template #content>
315
  <div class="custom-popover-list">
316
  <div class="custom-popover-item" @click="togglePopover('voice')">
@@ -439,7 +439,7 @@ const isPlaying = (id: string) => {
439
  }
440
 
441
  .custom-popover-list {
442
- width: 80px;
443
  margin: 0;
444
  .custom-popover-item {
445
  font-size: 14px;
 
304
  <div class="actions">
305
  <!-- <a-button type="text" @click="toggleSider">sider</a-button> -->
306
 
307
+ <a-button v-if="false" type="text" @click="voiceModelOpen = true"
308
  style="width:44px; height: 44px; margin-right:24px;margin-bottom: 24px;">
309
  <template #icon>
310
  <img :src="setting" width="28" height="28" alt="settings" />
311
  </template>
312
+ </a-button>
313
+ <a-popover v-if="true" v-model:open="popoverVisible" trigger="click" ok-text="Yes" cancel-text="No" placement="bottomRight">
314
  <template #content>
315
  <div class="custom-popover-list">
316
  <div class="custom-popover-item" @click="togglePopover('voice')">
 
439
  }
440
 
441
  .custom-popover-list {
442
+ width: 92px;
443
  margin: 0;
444
  .custom-popover-item {
445
  font-size: 14px;