This commit is contained in:
Lison 2017-10-17 20:53:46 +08:00
parent 7a21b04495
commit 019524cbc2
10 changed files with 16 additions and 10 deletions

View File

@ -1,2 +0,0 @@
// let fs = require('fs');
// let stat = fs.stat;

2
dist/g.css vendored

File diff suppressed because one or more lines are too long

2
dist/r.css vendored

File diff suppressed because one or more lines are too long

7
dist/simplemde.min.css vendored Normal file

File diff suppressed because one or more lines are too long

2
dist/y.css vendored

File diff suppressed because one or more lines are too long

View File

@ -1 +1 @@
export default "development";
export default "production";

View File

@ -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%;

View File

@ -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);
}

View File

@ -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;

View File

@ -110,7 +110,7 @@ export default {
}]);
}
if (mainTheme !== 'b') {
path = '/dist/' + mainTheme + '.css';
path = 'dist/' + mainTheme + '.css';
} else {
path = '';
}