update
This commit is contained in:
parent
7a21b04495
commit
019524cbc2
|
|
@ -1,2 +0,0 @@
|
|||
// let fs = require('fs');
|
||||
// let stat = fs.stat;
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1 +1 @@
|
|||
export default "development";
|
||||
export default "production";
|
||||
|
|
@ -7,7 +7,8 @@
|
|||
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0">
|
||||
<link rel="stylesheet" href="<%= htmlWebpackPlugin.files.css[0] %>">
|
||||
<link rel="stylesheet" name="theme" href="">
|
||||
<link rel="icon" href="/td_icon.ico" type="image/x-icon" />
|
||||
<link rel="icon" href="./td_icon.ico" type="image/x-icon" />
|
||||
<link rel="stylesheet" href="./dist/simplemde.min.css">
|
||||
<style type="text/css">
|
||||
html,body{
|
||||
width: 100%;
|
||||
|
|
|
|||
|
|
@ -313,7 +313,7 @@
|
|||
}
|
||||
// 根据用户设置主题
|
||||
if (this.$store.state.theme !== 'b') {
|
||||
let stylesheetPath = '../dist/' + this.$store.state.theme + '.css';
|
||||
let stylesheetPath = './dist/' + this.$store.state.theme + '.css';
|
||||
let themeLink = document.querySelector('link[name="theme"]');
|
||||
themeLink.setAttribute('href', stylesheetPath);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
.login{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-image: url('../styles/login_bg.jpg');
|
||||
background-image: url('https://file.iviewui.com/iview-admin/login_bg.jpg');
|
||||
background-size: cover;
|
||||
background-position: center;
|
||||
position: relative;
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ export default {
|
|||
}]);
|
||||
}
|
||||
if (mainTheme !== 'b') {
|
||||
path = '/dist/' + mainTheme + '.css';
|
||||
path = 'dist/' + mainTheme + '.css';
|
||||
} else {
|
||||
path = '';
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue