kun 19/9/26 9:28
This commit is contained in:
@@ -246,7 +246,7 @@ export default {
|
||||
|
||||
<style lang='scss' scoped>
|
||||
.wrapper {
|
||||
width: 1280px;
|
||||
min-width: 1280px;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
|
||||
|
||||
@@ -37,58 +37,58 @@
|
||||
export default {
|
||||
components: {},
|
||||
props: {},
|
||||
data() {
|
||||
data () {
|
||||
return {
|
||||
imgUrl: {
|
||||
login: require("../../static/img/login.png"),
|
||||
yh: require("../../static/img/yh.png"),
|
||||
mm: require("../../static/img/mm.png")
|
||||
login: require('../../static/img/login.png'),
|
||||
yh: require('../../static/img/yh.png'),
|
||||
mm: require('../../static/img/mm.png')
|
||||
},
|
||||
postData: {
|
||||
account: "",
|
||||
password: ""
|
||||
account: '',
|
||||
password: ''
|
||||
}
|
||||
};
|
||||
}
|
||||
},
|
||||
computed: {},
|
||||
watch: {},
|
||||
methods: {
|
||||
login() {
|
||||
login () {
|
||||
this.postData = {
|
||||
account: this.postData.account,
|
||||
password: this.$md5(this.postData.password)
|
||||
};
|
||||
}
|
||||
|
||||
console.log(this.postData);
|
||||
console.log(this.postData)
|
||||
|
||||
this.$http
|
||||
.post("/login", this.postData)
|
||||
.post('/login', this.postData)
|
||||
.then(res => {
|
||||
if (res.data.errno === 0) {
|
||||
this.$Message.success("登陆成功");
|
||||
this.$router.push("roomInfo");
|
||||
this.$Message.success('登陆成功')
|
||||
this.$router.push('roomInfo')
|
||||
/** 全局存储token */
|
||||
// window.localStorage['token'] = JSON.stringify(res.data.data.token)
|
||||
window.localStorage["token"] = JSON.stringify("shenxuekundetoken");
|
||||
window.localStorage['token'] = JSON.stringify('shenxuekundetoken')
|
||||
} else {
|
||||
this.$Message.error("登录失败");
|
||||
this.forgetPassword = true;
|
||||
this.$Message.error('登录失败')
|
||||
this.forgetPassword = true
|
||||
}
|
||||
})
|
||||
// eslint-disable-next-line handle-callback-err
|
||||
.catch(err => {
|
||||
console.log("登录失败");
|
||||
});
|
||||
console.log('登录失败')
|
||||
})
|
||||
}
|
||||
},
|
||||
created() {},
|
||||
mounted() {}
|
||||
};
|
||||
created () {},
|
||||
mounted () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang='scss' scoped>
|
||||
.wrapper {
|
||||
width: 1280px;
|
||||
min-width: 1280px;
|
||||
height: 720px;
|
||||
background-size: 100% 100%;
|
||||
display: flex;
|
||||
|
||||
@@ -178,20 +178,20 @@
|
||||
export default {
|
||||
components: {},
|
||||
props: {},
|
||||
data() {
|
||||
data () {
|
||||
return {
|
||||
imgUrl: {
|
||||
registered: require("../../static/img/registered.png"),
|
||||
yy: require("../../static/img/yy.png")
|
||||
registered: require('../../static/img/registered.png'),
|
||||
yy: require('../../static/img/yy.png')
|
||||
}
|
||||
};
|
||||
}
|
||||
},
|
||||
computed: {},
|
||||
watch: {},
|
||||
methods: {},
|
||||
created() {},
|
||||
mounted() {}
|
||||
};
|
||||
created () {},
|
||||
mounted () {}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang='scss' scoped>
|
||||
@@ -204,7 +204,7 @@ input:required:valid {
|
||||
border-color: green !important;
|
||||
}
|
||||
.wrapper {
|
||||
width: 1280px;
|
||||
min-width: 1280px;
|
||||
height: 1398px;
|
||||
background-size: 100% 100%;
|
||||
box-sizing: border-box;
|
||||
|
||||
@@ -247,7 +247,7 @@ export default {
|
||||
|
||||
<style lang='scss' scoped>
|
||||
.wr {
|
||||
width: 1280px;
|
||||
min-width: 1280px;
|
||||
box-sizing: border-box;
|
||||
|
||||
.footer {
|
||||
|
||||
@@ -192,7 +192,7 @@
|
||||
|
||||
<script>
|
||||
/* eslint-disable */
|
||||
import HeaderNav from "../../components/HeaderNav";
|
||||
import HeaderNav from '../../components/HeaderNav';
|
||||
/* eslint-disable */
|
||||
import FooterNav from "../../components/FooterNav";
|
||||
import Swiper from "swiper";
|
||||
@@ -378,15 +378,17 @@ export default {
|
||||
}
|
||||
|
||||
.wrapper {
|
||||
width: 1280px;
|
||||
min-width: 1280px;
|
||||
// width: 100%;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
|
||||
.footer {
|
||||
margin-top: 80px;
|
||||
}
|
||||
|
||||
/** FOUR */
|
||||
#box{
|
||||
width:1200px;
|
||||
padding-top: 40px;
|
||||
margin: 0 auto 80px;
|
||||
box-sizing: border-box;
|
||||
/** FOUR */
|
||||
.container-four {
|
||||
width: 100%;
|
||||
height: 260px;
|
||||
@@ -811,9 +813,8 @@ export default {
|
||||
/** ONE */
|
||||
.container {
|
||||
width: 100%;
|
||||
padding: 0 40px;
|
||||
// padding: 0 40px;
|
||||
box-sizing: border-box;
|
||||
margin-top: 40px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
@@ -973,5 +974,8 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -93,11 +93,12 @@ export default {
|
||||
|
||||
<style lang='scss' scoped>
|
||||
.wrapper {
|
||||
width: 1280px;
|
||||
min-width: 1280px;
|
||||
box-sizing: border-box;
|
||||
|
||||
.box {
|
||||
width: 100%;
|
||||
margin: 0 auto;
|
||||
width: 1280px;
|
||||
padding: 42px 40px 0px;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
|
||||
@@ -79,7 +79,7 @@ export default {
|
||||
|
||||
<style lang='scss' scoped>
|
||||
.wrapper {
|
||||
width: 1280px;
|
||||
min-width: 1280px;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
|
||||
|
||||
@@ -72,13 +72,13 @@ export default {
|
||||
|
||||
<style lang='scss' scoped>
|
||||
.wrapper {
|
||||
width: 1280px;
|
||||
min-width: 1280px;
|
||||
|
||||
#box {
|
||||
width: 100%;
|
||||
width: 1200px;
|
||||
margin: 40px auto 0;
|
||||
box-sizing: border-box;
|
||||
padding: 0 40px;
|
||||
// padding: 0 40px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
|
||||
@@ -424,7 +424,7 @@ export default {
|
||||
|
||||
<style lang='scss' scoped>
|
||||
.wrapper {
|
||||
width: 1280px;
|
||||
min-width: 1280px;
|
||||
box-sizing: border-box;
|
||||
|
||||
#box {
|
||||
|
||||
@@ -196,7 +196,7 @@ export default {
|
||||
|
||||
<style lang='scss' scoped>
|
||||
.wrapper {
|
||||
width: 1280px;
|
||||
min-width: 1280px;
|
||||
box-sizing: border-box;
|
||||
|
||||
.footer {
|
||||
|
||||
@@ -254,7 +254,7 @@ export default {
|
||||
|
||||
<style lang='scss' scoped>
|
||||
.wrapper {
|
||||
width: 1280px;
|
||||
min-width: 1280px;
|
||||
box-sizing: border-box;
|
||||
|
||||
#box {
|
||||
|
||||
Reference in New Issue
Block a user