Rgx 1 éve
szülő
commit
e3acc346c6

+ 15 - 33
src/views/common/home.vue

@@ -1,35 +1,6 @@
 <template>
-  <div class="mod-home">
-    <h3>Home</h3>
-    <button @click="$router.push({ name: 'test-mynewsql' })">測試</button>
-
-    <!-- <ul>
-      <li>renren-fast-vue基于vue、element-ui构建开发,实现<a href="https://gitee.com/renrenio/renren-fast" target="_blank">renren-fast</a>后台管理前端功能,提供一套更优的前端解决方案</li>
-      <li>前后端分离,通过token进行数据交互,可独立部署</li>
-      <li>
-        <button @click="$router.push({ name: 'test-mynewsql' })">測試</button>
-      </li>
-      <li>主题定制,通过scss变量统一一站式定制</li>
-      <li>动态菜单,通过菜单管理统一管理访问路由</li>
-      <li>数据切换,通过mock配置对接口数据/mock模拟数据进行切换</li>
-      <li>发布时,可动态配置CDN静态资源/切换新旧版本</li>
-      <li>演示地址:<a href="http://demo.open.renren.io/renren-fast" target="_blank">http://demo.open.renren.io/renren-fast</a> (账号密码:admin/admin)</li>
-    </ul>
-    <h3>获取帮助</h3>
-    <ul>
-      <li>官方社区:<a href="https://www.renren.io/community" target="_blank">https://www.renren.io/community</a></li>
-      <li>前端Git地址:<a href="https://github.com/renrenio/renren-fast-vue" target="_blank">https://github.com/renrenio/renren-fast-vue</a></li>
-      <li>后台Git地址:<a href="https://gitee.com/renrenio/renren-fast" target="_blank">https://gitee.com/renrenio/renren-fast</a></li>
-      <li>代码生成器:<a href="https://gitee.com/renrenio/renren-generator" target="_blank">https://gitee.com/renrenio/renren-generator</a></li>
-      <li>如需关注项目最新动态,请Watch、Star项目,同时也是对项目最好的支持</li>
-    </ul>
-    <h3>官方QQ群</h3>
-    <ul>
-      <li>高级群:324780204(大牛云集,跟大牛学习新技能)</li>
-      <li>普通群:145799952(学习交流,互相解答各种疑问)</li>
-      <li><link rel="shortcut icon" type="image/x-icon" href="./static/img/favicon.ico"></li>
-    </ul>
-     -->
+  <div class="iframediv">
+    <iframe class="mod-home" frameborder="0" src="../../../static/pdf/algorithmhelpword.pdf"></iframe>
   </div>
 </template>
 
@@ -39,8 +10,19 @@
 </script>
 
 <style>
-  .mod-home {
-    line-height: 1.5;
+  .iframediv {
+    width: 100%;
+    height: 100%;
+    margin: auto auto;
+    overflow: hidden;
+  }
+  .iframediv iframe {
+    width: 1920px;
+    height: 2000px;
+    top: 0;
+    left: 0;
+    transform-origin: top left;
+    transform: scale(1)
   }
 </style>
 

+ 2 - 2
src/views/main-navbar.vue

@@ -14,7 +14,7 @@
           <icon-svg name="zhedie"></icon-svg>
         </el-menu-item>
       </el-menu> -->
-      
+
       <!-- <el-menu
         class="site-navbar__menu site-navbar__menu--right"
         mode="horizontal">
@@ -96,7 +96,7 @@ import { Message } from "element-ui"
             if (data && data.code === 0) {
               clearLoginInfo()
               this.$router.push({ name: 'login' })
-              
+
             }
           })
         }).catch(() => {})

+ 6 - 2
src/views/new-menue.vue

@@ -13,6 +13,10 @@
         <el-menu-item class="site-navbar__brand" @click="$router.push({  path: '/visi-dataset'})"> <a
             class="site-navbar__brand-lg" href="javascript:;">智能算法平台</a></el-menu-item>
 
+        <el-menu-item index="home" @click="$router.push({ name: 'home' })">
+          <span slot="title">帮助文档</span>
+        </el-menu-item>
+
         <!-- <el-menu-item index="home" @click="$router.push({ name: 'home' })">
           <icon-svg name="shouye" class="site-sidebar__menu-icon"></icon-svg>
           <span slot="title">首页</span>
@@ -80,9 +84,9 @@
 
         <!-- <el-menu-item style="float:right" index="5" @click="$router.push({ name: 'theme' })">
           <template slot="title">
-            
+
             <icon-svg name="shezhi" class="el-icon-setting"></icon-svg>
-            
+
           </template>
         </el-menu-item> -->
         <!-- 弹窗, 修改密码 -->

BIN
static/pdf/algorithmhelpword.pdf