li.shaoyi 5 месяцев назад
Родитель
Сommit
277a96be23
1 измененных файлов с 4 добавлено и 3 удалено
  1. 4 3
      src/packages/mobile/App.vue

+ 4 - 3
src/packages/mobile/App.vue

@@ -1,7 +1,7 @@
 <template>
   <router-view />
   <Notify v-model:show="notify.show" :title="notify.title" :content="notify.content" />
-  <Dialog class="g-dialog-message" v-model:show="message.show" theme="round-button" :confirm-button-text="$t('app.close')">
+  <Dialog class="g-dialog-message" v-model:show="message.show" :confirm-button-text="$t('app.close')">
     <template #title>
       <div class="g-dialog-message__header">
         <h4>{{ currentMessage?.title }}</h4>
@@ -10,8 +10,9 @@
     </template>
     <div class="g-dialog-message__content" v-html="currentMessage?.content"></div>
     <div class="g-dialog-message__footer" v-if="message.dataList.length > 1">
-      <span :class="{ disabled: message.index === 0 }" @click="changeMessage(-1)">{{ $t('app.pervious')  }}</span>
-      <span :class="{ disabled: message.index === (message.dataList.length - 1) }" @click="changeMessage(1)">{{ $t('app.next')  }}</span>
+      <span :class="{ disabled: message.index === 0 }" @click="changeMessage(-1)">{{ $t('app.pervious') }}</span>
+      <span :class="{ disabled: message.index === (message.dataList.length - 1) }" @click="changeMessage(1)">{{
+        $t('app.next') }}</span>
     </div>
   </Dialog>
 </template>