瀏覽代碼

标题修改,登录页面修改

gcz 1 年之前
父節點
當前提交
b20c77d462

+ 1 - 1
.env.development

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 景区营销管理系统
+VUE_APP_TITLE = 景区一码游管理系统(测试)
 
 # 开发环境配置
 ENV = 'development'

+ 1 - 1
.env.production

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 景区营销管理系统
+VUE_APP_TITLE = 景区一码游管理系统
 
 # 生产环境配置
 ENV = 'production'

+ 1 - 1
.env.staging

@@ -1,5 +1,5 @@
 # 页面标题
-VUE_APP_TITLE = 景区营销管理系统
+VUE_APP_TITLE = 景区一码游管理系统
 
 NODE_ENV = production
 

+ 1 - 1
package.json

@@ -1,7 +1,7 @@
 {
   "name": "ruoyi",
   "version": "3.8.7",
-  "description": "景区营销管理系统",
+  "description": "景区一码游管理系统",
   "author": "若依",
   "license": "MIT",
   "scripts": {

文件差異過大導致無法顯示
+ 13 - 0
src/assets/icons/svg/code-new.svg


文件差異過大導致無法顯示
+ 16 - 0
src/assets/icons/svg/password-new.svg


文件差異過大導致無法顯示
+ 13 - 0
src/assets/icons/svg/user-new.svg


二進制
src/assets/images/login-bg-img.png


+ 43 - 21
src/views/login.vue

@@ -7,9 +7,9 @@
           v-model="loginForm.username"
           type="text"
           auto-complete="off"
-          placeholder="账号"
+          placeholder="请输入账号"
         >
-          <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />
+          <svg-icon slot="prefix" icon-class="user-new" class="el-input__icon input-icon" />
         </el-input>
       </el-form-item>
       <el-form-item prop="password">
@@ -17,17 +17,17 @@
           v-model="loginForm.password"
           type="password"
           auto-complete="off"
-          placeholder="密码"
+          placeholder="请输入密码"
           @keyup.enter.native="handleLogin"
         >
-          <svg-icon slot="prefix" icon-class="password" class="el-input__icon input-icon" />
+          <svg-icon slot="prefix" icon-class="password-new" class="el-input__icon input-icon" />
         </el-input>
       </el-form-item>
-      <el-form-item prop="code" v-if="captchaEnabled">
+      <el-form-item prop="code-new" v-if="captchaEnabled">
         <el-input
           v-model="loginForm.code"
           auto-complete="off"
-          placeholder="验证码"
+          placeholder="请输入验证码"
           style="width: 63%"
           @keyup.enter.native="handleLogin"
         >
@@ -37,13 +37,13 @@
           <img :src="codeUrl" @click="getCode" class="login-code-img"/>
         </div>
       </el-form-item>
-      <el-checkbox v-model="loginForm.rememberMe" style="margin:0px 0px 25px 0px;">记住密码</el-checkbox>
+      <!-- <el-checkbox v-model="loginForm.rememberMe" style="margin:0px 0px 25px 0px;">记住密码</el-checkbox> -->
       <el-form-item style="width:100%;">
         <el-button
           :loading="loading"
           size="medium"
           type="primary"
-          style="width:100%;"
+          style="width:100%;height: 64px;background: #5680FF;border-radius: 32px;font-size: 22px;"
           @click.native.prevent="handleLogin"
         >
           <span v-if="!loading">登 录</span>
@@ -55,9 +55,9 @@
       </el-form-item>
     </el-form>
     <!--  底部  -->
-    <div class="el-login-footer">
+    <!-- <div class="el-login-footer">
       <span>Copyright © 2018-2023 ruoyi.vip All Rights Reserved.</span>
-    </div>
+    </div> -->
   </div>
 </template>
 
@@ -174,7 +174,7 @@ export default {
 <style rel="stylesheet/scss" lang="scss">
 .login {
   display: flex;
-  justify-content: center;
+  justify-content: flex-end;
   align-items: center;
   height: 100%;
   background-size: cover;
@@ -195,21 +195,33 @@ export default {
 }
 
 .login-form {
-  border-radius: 6px;
-  background: rgba(255,255,255,0.62);
-  backdrop-filter: blur(5px);
-  width: 400px;
-  padding: 25px 25px 5px 25px;
+  .el-form-item--mini.el-form-item{
+    margin-bottom: 28px;
+  }
+  margin-right: 152px;
+  border-radius: 15px;
+  background: rgba(255,255,255,1);
+  // width: 400px;
+  padding: 93px 113px 90px 116px;
   .el-input {
-    height: 38px;
+    height: 58px;
     input {
-      height: 38px;
+      height: 58px;
+      border-radius: 29px;
+      padding-left: 65px;
+      font-size: 14px;
+      border-color: #DCE9FD;
+      background-color: #F6F9FF;
     }
   }
   .input-icon {
-    height: 39px;
-    width: 14px;
-    margin-left: 2px;
+    height: 25px;
+    width: 22px;
+  }
+  .el-input__prefix{
+    display: flex;
+    align-items: center;
+    left: 26px;
   }
 }
 .login-tip {
@@ -224,6 +236,7 @@ export default {
   img {
     cursor: pointer;
     vertical-align: middle;
+    margin-top: 10px;
   }
 }
 .el-login-footer {
@@ -241,4 +254,13 @@ export default {
 .login-code-img {
   height: 38px;
 }
+@media screen and (max-width: 1200px) {
+  .login{
+    justify-content: center;
+  }
+  .login-form{
+    margin-right: 0;
+    padding: 24px;
+  }
+}
 </style>

+ 1 - 1
src/views/register.vue

@@ -1,7 +1,7 @@
 <template>
   <div class="register">
     <el-form ref="registerForm" :model="registerForm" :rules="registerRules" class="register-form">
-      <h3 class="title">景区营销管理系统</h3>
+      <h3 class="title">景区一码游管理系统</h3>
       <el-form-item prop="username">
         <el-input v-model="registerForm.username" type="text" auto-complete="off" placeholder="账号">
           <svg-icon slot="prefix" icon-class="user" class="el-input__icon input-icon" />

+ 1 - 1
vue.config.js

@@ -7,7 +7,7 @@ function resolve(dir) {
 
 const CompressionPlugin = require('compression-webpack-plugin')
 
-const name = process.env.VUE_APP_TITLE || '景区营销管理系统' // 网页标题
+const name = process.env.VUE_APP_TITLE || '景区一码游管理系统' // 网页标题
 
 const port = process.env.port || process.env.npm_config_port || 80 // 端口