Commit ca6ca2ca by nlp97

上一步

parent 923a45b4
......@@ -2,7 +2,7 @@
* @Author: ninglupeng
* @Date: 2020-11-24 16:18:58
* @LastEditors: ninglupeng
* @LastEditTime: 2022-03-20 17:30:58
* @LastEditTime: 2022-03-21 12:44:37
* @Description:
-->
<template>
......@@ -29,6 +29,16 @@
block
type="info"
native-type="button"
v-if="page != 1 && page != 2 && page != 8"
@click="back()"
>上一步</van-button
>
<van-button
class="index_form_footer_next"
round
block
type="info"
native-type="button"
v-if="page != 1 && page != 2 && page != 7 && page != 8"
@click="next()"
>下一步</van-button
......@@ -68,6 +78,10 @@ export default {
},
mounted() {},
methods: {
back() {
let pageS = this.page;
this.$store.dispatch("user/setpage", pageS - 1);
},
next() {
// let pageS = this.page + 1;
......@@ -258,19 +272,18 @@ export default {
height: 100%;
&_footer {
/* position: absolute; */
/* bottom: 20px; */
width: 100%;
padding-top: 30px;
padding-bottom: 30px;
display: flex;
flex-direction: row;
justify-content: space-around;
&_next {
width: 319px;
width: 25%;
height: 48px;
background: #0091ff;
border-radius: 24px;
margin: 0 auto;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment