feature_0521
cuijie 5 years ago
parent dd4996b701
commit 4b1bc5c42c

2
.idea/.gitignore vendored

@ -0,0 +1,2 @@
# Default ignored files
/workspace.xml

@ -10,14 +10,14 @@
<div style="text-align:center">
<Form ref="formInline" :model="formInline" :rules="ruleInline">
<FormItem prop="user">
<i-input type="text" size="large" v-model="formInline.user" placeholder="Username"
<i-input type="text" size="large" v-model="formInline.user" placeholder="用户名"
@on-focus="inputFocus">
<Icon type="ios-person-outline" slot="prepend"></Icon>
</i-input>
<p v-if="showPromptUser" class="font-prompt">{{loginPrompt}}</p>
</FormItem>
<FormItem prop="password">
<i-input type="password" size="large" v-model="formInline.password" placeholder="Password"
<i-input type="password" size="large" v-model="formInline.password" placeholder="密码"
@on-focus="inputFocus">
<Icon type="ios-lock-outline" slot="prepend"></Icon>
</i-input>
@ -184,8 +184,8 @@
<style scoped>
.center {
position: fixed;
width: 350px;
height: 300px;
/*width: 350px;*/
/*height: 300px;*/
top: 42%;
right: 10%;
transform: translate(-150px, -130px);

@ -16,11 +16,11 @@ module.exports = {
/* 默认情况下,生成的静态资源在它们的文件名中包含了 hash 以便更好的控制缓存,你可以通过将这个选项设为 false 来关闭文件名哈希。(false的时候就是让原来的文件名不改变) */
filenameHashing: false,
/* 代码保存时进行eslint检测 */
lintOnSave: true,
lintOnSave: false,
/* webpack-dev-server 相关配置 */
devServer: {
/* 自动打开浏览器 */
open: true,
open: false,
/* 设置为0.0.0.0则所有的地址均能访问 */
host: '0.0.0.0',
port: 8311,
@ -34,16 +34,16 @@ module.exports = {
proxy: 'http://111.231.218.44:8080/'
// proxy: 'http://jdxdev.vipgz4.idcfengye.com/'
},
chainWebpack: config => {
config.module
.rule('css')
.test(/\.css$/)
.oneOf('vue')
.resourceQuery(/\?vue/)
.use('px2rem')
.loader('px2rem-loader')
.options({
remUnit: 192
})
}
// chainWebpack: config => {
// config.module
// .rule('css')
// .test(/\.css$/)
// .oneOf('vue')
// .resourceQuery(/\?vue/)
// .use('px2rem')
// .loader('px2rem-loader')
// .options({
// remUnit: 192
// })
// }
}

Loading…
Cancel
Save