浏览代码

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

Book Pauk 6 年之前
父节点
当前提交
2b6c3f1c0e
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      client/components/Reader/LoaderPage/LoaderPage.vue

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

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