fix:首页图片切换

release
zhaoxingchang.sd 11 months ago
parent 376b248509
commit 45199fe9a5
  1. 9
      .idea/dbnavigator.xml
  2. BIN
      src/assets/login/img/banner@2x.png
  3. BIN
      src/assets/login/img/banner@2x1.png
  4. 2
      src/module/frame/frame.html
  5. 2
      src/module/index/index.html
  6. 36
      src/module/login/App.vue
  7. 2
      src/module/login/login.html

@ -1,8 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project version="4"> <project version="4">
<component name="DBNavigator.Project.DatabaseBrowserManager">
<autoscroll-to-editor value="false" />
<autoscroll-from-editor value="true" />
<show-object-properties value="true" />
<loaded-nodes />
</component>
<component name="DBNavigator.Project.DatabaseFileManager"> <component name="DBNavigator.Project.DatabaseFileManager">
<open-files /> <open-files />
</component> </component>
<component name="DBNavigator.Project.ExecutionManager">
<retain-sticky-names value="false" />
</component>
<component name="DBNavigator.Project.Settings"> <component name="DBNavigator.Project.Settings">
<connections /> <connections />
<browser-settings> <browser-settings>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.9 MiB

After

Width:  |  Height:  |  Size: 854 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.9 MiB

@ -4,7 +4,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0"> <meta name="viewport" content="width=device-width,initial-scale=1.0">
<link id="link" rel="shortcut icon" href="static/favicon.ico" type="image/x-icon"> <link id="link" rel="shortcut icon" href="static/favicon.ico" type="image/x-icon">
<title>智能税务管理系统</title> <title>欣税通管理系统</title>
<style> <style>
.base-font { .base-font {
font-family: "PingFangSC-Regular, sans-serif","Microsoft Yahei", "Hiragino Sans GB", "Helvetica Neue", font-family: "PingFangSC-Regular, sans-serif","Microsoft Yahei", "Hiragino Sans GB", "Helvetica Neue",

@ -2,7 +2,7 @@
<html> <html>
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>智能税务管理系统</title> <title>欣税通管理系统</title>
<link rel="shortcut icon" href="static/favicon.ico"> <link rel="shortcut icon" href="static/favicon.ico">
<style> <style>
.base-font { .base-font {

@ -147,7 +147,7 @@
width="482px" width="482px"
:imgSize="imgSize" :imgSize="imgSize"
:barSize="barSize" :barSize="barSize"
:imgUrl="getRandomImg()" :imgUrl="getRandomImg()"
:imgName="['banner@2x.5517869.png']" :imgName="['banner@2x.5517869.png']"
:refreshColor="refreshColor" :refreshColor="refreshColor"
> >
@ -210,7 +210,7 @@ export default {
height: '42px' height: '42px'
}, },
buttonIsFocused: false, buttonIsFocused: false,
title: "智能税务管理系统", title: "欣税通管理系统",
userName: "", userName: "",
password: "", password: "",
note: "", note: "",
@ -275,7 +275,7 @@ export default {
} }
} }
}; };
}, },
methods: { methods: {
saveLoginTypeEvent() { saveLoginTypeEvent() {
@ -308,7 +308,7 @@ export default {
} else { } else {
return '/itax-base/static/loginBg/'+name+'.jpg' return '/itax-base/static/loginBg/'+name+'.jpg'
} }
}, },
getRandomNumberByRange(start, end) { getRandomNumberByRange(start, end) {
return Math.round(Math.random() * (end - start) + start) return Math.round(Math.random() * (end - start) + start)
@ -324,13 +324,13 @@ export default {
this.logFun() this.logFun()
// this.$refs.slideblock && this.$refs.slideblock.reset() // this.$refs.slideblock && this.$refs.slideblock.reset()
}, 500) }, 500)
} }
}, },
noteClick() { noteClick() {
if (this.noteText == "获取验证码") { if (this.noteText == "获取验证码") {
this.second = 60; this.second = 60;
this.noteText = `${this.second}s`; this.noteText = `${this.second}s`;
let timer; let timer;
@ -408,13 +408,13 @@ export default {
return; return;
} }
this.errorMsg = "" this.errorMsg = ""
if (!this.showNote) {
this.showForm = false; // if (!this.showNote) {
} else { // this.showForm = false;
// } else {
this.logFun(); this.logFun();
} // }
}, },
sendMessageCode() { sendMessageCode() {
if (this.userName == "") { if (this.userName == "") {
@ -445,7 +445,7 @@ export default {
this.errorMsg = res.msg; this.errorMsg = res.msg;
return; return;
} }
this.noteClick() this.noteClick()
}); });
}, },
@ -488,10 +488,10 @@ export default {
return; return;
} }
clearLocalStorageFn() clearLocalStorageFn()
this.loginSuccess = true; this.loginSuccess = true;
this.saveLoginTypeEvent() this.saveLoginTypeEvent()
if (process.env.NODE_ENV == "development") { if (process.env.NODE_ENV == "development") {
window.location.href = "/frame.html#/home"; window.location.href = "/frame.html#/home";
} else { } else {
@ -510,7 +510,7 @@ export default {
console.log('000::', data) console.log('000::', data)
let productName = data.productName let productName = data.productName
let logo = data.logo let logo = data.logo
if (res.data.pictureType == '2') { if (res.data.pictureType == '2') {
// //
productName = productName ? productName : '销项开票'; productName = productName ? productName : '销项开票';
@ -525,8 +525,8 @@ export default {
this.verifyWay = res.verifyWay; this.verifyWay = res.verifyWay;
this.showHome = res.showHome this.showHome = res.showHome
this.menuSettingType = res.menuSettingType this.menuSettingType = res.menuSettingType
} }
}) })
.catch((err) => { .catch((err) => {
@ -608,4 +608,4 @@ export default {
height: 42px!important; height: 42px!important;
line-height: 42px!important; line-height: 42px!important;
} }
</style> </style>

@ -5,7 +5,7 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1.0"> <meta name="viewport" content="width=device-width,initial-scale=1.0">
<link id="link" rel="shortcut icon" href="static/favicon.ico" type="image/x-icon"> <link id="link" rel="shortcut icon" href="static/favicon.ico" type="image/x-icon">
<title>智能税务管理系统</title> <title>欣税通管理系统</title>
<style> <style>
html,body{ html,body{
width: 100%; width: 100%;

Loading…
Cancel
Save