From 412253279b1fb4187409b28421a578f3d512aaf0 Mon Sep 17 00:00:00 2001 From: yujialong <479214531@qq.com> Date: Thu, 14 Sep 2023 14:37:04 +0800 Subject: [PATCH] =?UTF-8?q?=E6=99=BA=E4=BF=A1=E4=BA=91title=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/index-zxy.html | 24 ++++++++++++++++++++ src/layouts/header/index.vue | 35 ++++++++++++++++++++--------- src/pages/station/preview/index.vue | 3 +++ 3 files changed, 51 insertions(+), 11 deletions(-) create mode 100644 public/index-zxy.html diff --git a/public/index-zxy.html b/public/index-zxy.html new file mode 100644 index 0000000..b513c95 --- /dev/null +++ b/public/index-zxy.html @@ -0,0 +1,24 @@ +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="utf-8" /> + <meta http-equiv="X-UA-Compatible" content="IE=edge" /> + <meta name="keywords" content="智信云,教学,教育,在线编程" /> + <meta + name="description" + content="智信云是一家为高等院校提供实验课程数字化服务的国家级高新技术企业。以区块链、大数据、人工智能等前沿技术在行业领域的运用为支撑,将新技术与经济与管理人才培养深度融合,面向全国高等院校的经济、金融、大数据应用等相关专业提供科研创新、金课建设、实验实训教学软件、实践教学以及学生就业培训为一体的专业建设咨询与技术支持服务。" + /> + <meta name="baidu-site-verification" content="code-TRfXe8xIkJ" /> + <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" /> + <link rel="stylesheet" href="//at.alicdn.com/t/font_830376_qzecyukz0s.css" /> + <title>智信云</title> + </head> + <body> + <noscript> + <strong>We're sorry but vms doesn't work properly without JavaScript enabled. Please enable it to continue.</strong> + </noscript> + <div id="app"></div> + <!-- built files will be auto injected --> + <script src="/styles/tinymce/tinymce.min.js"></script> + </body> +</html> diff --git a/src/layouts/header/index.vue b/src/layouts/header/index.vue index 0a6d699..6c97408 100644 --- a/src/layouts/header/index.vue +++ b/src/layouts/header/index.vue @@ -11,7 +11,8 @@ alt=""> </template> <template v-else> - <img :src="logoUrl" + <img :style="{maxWidth: title ? '200px' : '300px'}" + :src="logoUrl" height="50" /> <span class="title">{{title}}</span> </template> @@ -51,16 +52,24 @@ </el-dropdown> </div> </template> - <div v-else - class="login" - @click="toNew('/login')"> - <img src="@/assets/img/user.png" - alt=""> - <span>登录</span> - </div> + <template v-else> + <el-button v-if="isZxy" + class="rounded" + type="primary" + @click="toNew('/login')">登录</el-button> + <div v-else + class="login" + @click="toNew('/login')"> + <img src="@/assets/img/user.png" + alt=""> + <span>登录</span> + </div> + </template> + <el-button v-if="isZxy && isIndex" - class="trial" + class="rounded trial" type="primary" + plain @click="toTrial">免费试用</el-button> </div> </div> @@ -266,6 +275,7 @@ $height: 64px; height: $height; cursor: pointer; img { + max-width: 300px; margin-right: 10px; } } @@ -322,10 +332,13 @@ $height: 64px; font-size: 14px; } } - .trial { - margin-left: 28px; + .rounded { border-radius: 6px; } + .trial:hover { + background-color: #48cafd; + border-color: #48cafd; + } } @media (max-width: 1870px) { .header { diff --git a/src/pages/station/preview/index.vue b/src/pages/station/preview/index.vue index 8d0f2d1..13502c9 100644 --- a/src/pages/station/preview/index.vue +++ b/src/pages/station/preview/index.vue @@ -1374,7 +1374,10 @@ $height: 700px; font-weight: 400; } .arches { + max-height: 223px; + padding-right: 10px; margin-top: 20px; + overflow: auto; } .line { display: flex;