master
chen 2021-12-27 09:36:48 +08:00
parent d3e5a56c8d
commit dc3f36181c
3 changed files with 83 additions and 76 deletions

View File

@ -5,9 +5,9 @@ const ExtractTextPlugin = require('extract-text-webpack-plugin')
const packageConfig = require('../package.json') const packageConfig = require('../package.json')
exports.assetsPath = function(_path) { exports.assetsPath = function(_path) {
const assetsSubDirectory = process.env.NODE_ENV === 'production' const assetsSubDirectory = process.env.NODE_ENV === 'production' ?
? config.build.assetsSubDirectory config.build.assetsSubDirectory :
: config.dev.assetsSubDirectory config.dev.assetsSubDirectory
return path.posix.join(assetsSubDirectory, _path) return path.posix.join(assetsSubDirectory, _path)
} }
@ -47,7 +47,7 @@ exports.cssLoaders = function (options) {
if (options.extract) { if (options.extract) {
return ExtractTextPlugin.extract({ return ExtractTextPlugin.extract({
use: loaders, use: loaders,
publicPath:'../../', publicPath:'../',
fallback: 'vue-style-loader' fallback: 'vue-style-loader'
}) })
} else { } else {
@ -60,7 +60,9 @@ exports.cssLoaders = function (options) {
css: generateLoaders(), css: generateLoaders(),
postcss: generateLoaders(), postcss: generateLoaders(),
less: generateLoaders('less'), less: generateLoaders('less'),
sass: generateLoaders('sass', { indentedSyntax: true }), sass: generateLoaders('sass', {
indentedSyntax: true
}),
scss: generateLoaders('sass'), scss: generateLoaders('sass'),
stylus: generateLoaders('stylus'), stylus: generateLoaders('stylus'),
styl: generateLoaders('stylus') styl: generateLoaders('stylus')

View File

@ -9,7 +9,7 @@ module.exports = {
// Paths // Paths
assetsSubDirectory: 'static', assetsSubDirectory: 'static',
assetsPublicPath: './', assetsPublicPath: '/',
proxyTable: {}, proxyTable: {},
// Various Dev Server settings // Various Dev Server settings

View File

@ -393,6 +393,11 @@ img {
padding: 48px 40px; padding: 48px 40px;
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
overflow: hidden;
overflow-y: scroll;
}
.attendance-right::-webkit-scrollbar{
display: none;
} }
.attendance-left-item-box {display: flex;align-items: center;font-size: 24px;color: #FFE68F;width: 100%;height: 76px;padding: 0 10px;} .attendance-left-item-box {display: flex;align-items: center;font-size: 24px;color: #FFE68F;width: 100%;height: 76px;padding: 0 10px;}
.attendance-active {background-color: #6348b0;} .attendance-active {background-color: #6348b0;}