学生等修复

dev_2022-05-11
yujialong 3 years ago
parent 91033ece9d
commit 5637e7930a
  1. 2
      src/pages/setting/list/info.vue
  2. 12
      src/pages/student/list/index.vue
  3. 2
      src/store/modules/user.js
  4. 14
      vue.config.js

@ -211,7 +211,7 @@
width="30%"> width="30%">
<el-form ref="form" :model="form" label-width="60px"> <el-form ref="form" :model="form" label-width="60px">
<el-form-item label="手机号"> <el-form-item label="手机号">
<el-input placeholder="请输入手机号" v-model="phone" maxlength="11"></el-input> <el-input style="width: 404px;" placeholder="请输入手机号" v-model="phone" maxlength="11"></el-input>
</el-form-item> </el-form-item>
<el-form-item label="验证码"> <el-form-item label="验证码">
<div class="flex-between"> <div class="flex-between">

@ -1,8 +1,6 @@
<template> <template>
<div> <div class="flex">
<el-row :gutter="20"> <div class="page" style="width: 17%">
<el-col :span="4">
<div class="page">
<div class="m-b-20"> <div class="m-b-20">
<h6 class="p-title">学生</h6> <h6 class="p-title">学生</h6>
<el-radio-group v-model="studentType" @change="changeStudentType"> <el-radio-group v-model="studentType" @change="changeStudentType">
@ -87,9 +85,7 @@
</el-dialog> </el-dialog>
</div> </div>
</el-col> <div class="page flex-1 m-l-20">
<el-col :span="20">
<div class="page">
<h6 class="p-title">筛选</h6> <h6 class="p-title">筛选</h6>
<div class="tool"> <div class="tool">
<ul class="filter"> <ul class="filter">
@ -243,8 +239,6 @@
</span> </span>
</el-dialog> </el-dialog>
</div> </div>
</el-col>
</el-row>
</div> </div>
</template> </template>

@ -92,7 +92,7 @@ export default {
return new Promise((resolve, reject) => { return new Promise((resolve, reject) => {
util.local.remove(Setting.storeKey); util.local.remove(Setting.storeKey);
util.local.remove(Setting.tokenKey); util.local.remove(Setting.tokenKey);
if (state.fromClient) { if (util.cookies.get('serverLogin')) {
util.cookies.remove('serverLogin') util.cookies.remove('serverLogin')
location.href = Setting.isDev location.href = Setting.isDev
? `http://192.168.31.125:8082/#/` ? `http://192.168.31.125:8082/#/`

@ -1,12 +1,3 @@
// 引入等比适配插件
const px2rem = require("postcss-px2rem");
// 配置基本大小
const postcss = px2rem({
// 基准大小 baseSize,需要和rem.js中相同
remUnit: 16
});
const Setting = require('./src/setting.env') const Setting = require('./src/setting.env')
// 使用等比适配插件 // 使用等比适配插件
@ -14,11 +5,6 @@ module.exports = {
lintOnSave: true, lintOnSave: true,
css: { css: {
loaderOptions: { loaderOptions: {
postcss: {
plugins: [
postcss
]
},
sass: { sass: {
prependData: `@import "@/styles/var.scss";` prependData: `@import "@/styles/var.scss";`
}, },

Loading…
Cancel
Save