Prechádzať zdrojové kódy

Добавил ссылку на комментарии

Book Pauk 6 rokov pred
rodič
commit
2b6c3f1c0e

+ 5 - 0
client/components/Reader/LoaderPage/LoaderPage.vue

@@ -15,6 +15,7 @@
             </el-button>
             </el-button>
         </div>
         </div>
         <div class="part bottom">
         <div class="part bottom">
+            <span v-if="config.mode == 'omnireader'" class="bottom-span clickable" @click="openComments">Комментарии</span>
             <span class="bottom-span clickable" @click="openHelp">Справка</span>
             <span class="bottom-span clickable" @click="openHelp">Справка</span>
             <span class="bottom-span">{{ version }}</span>
             <span class="bottom-span">{{ version }}</span>
         </div>
         </div>
@@ -64,6 +65,10 @@ class LoaderPage extends Vue {
     openHelp() {
     openHelp() {
     }
     }
 
 
+    openComments() {
+        window.open('http://samlib.ru/comment/b/bookpauk/bookpauk_reader', '_blank');
+    }
+
     keyHook(event) {
     keyHook(event) {
         //недостатки сторонних ui
         //недостатки сторонних ui
         if (document.activeElement == this.$refs.input.$refs.input && event.type == 'keyup' && event.key == 'Enter')
         if (document.activeElement == this.$refs.input.$refs.input && event.type == 'keyup' && event.key == 'Enter')