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

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

Loading…
Cancel
Save