提交 716da8e6 authored 作者: lihuihui's avatar lihuihui

update

上级 91e61ac2
...@@ -94,7 +94,7 @@ export default { ...@@ -94,7 +94,7 @@ export default {
created() { created() {
}, },
mounted() { mounted() {
if (!Array.isArray(this.data)) { if (Object.keys(this.data).length) {
this.dataEcho() this.dataEcho()
} else { } else {
this.showFlag = true this.showFlag = true
......
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<div v-if="data.index == 0"> <div v-if="data.index == 0">
&nbsp;&nbsp; &nbsp;&nbsp;
<el-date-picker <el-date-picker
v-model="times" v-model="data.date"
type="date" type="date"
placeholder="选择日期" placeholder="选择日期"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
...@@ -75,8 +75,8 @@ export default { ...@@ -75,8 +75,8 @@ export default {
flag = false flag = false
} }
}) })
} } else if (this.data.index === 0) {
if (this.data.index === 0) { console.log(this.data)
if (this.data.date === '' || this.data.time === '') { if (this.data.date === '' || this.data.time === '') {
flag = false flag = false
} }
......
...@@ -155,7 +155,8 @@ export default { ...@@ -155,7 +155,8 @@ export default {
justify-content: center; justify-content: center;
padding-bottom: 70px; padding-bottom: 70px;
.step_btn { .step_btn {
width: 119px; // width: 119px;
padding: 0 25px;
height: 32px; height: 32px;
opacity: 1; opacity: 1;
border-radius: 16px; border-radius: 16px;
......
...@@ -159,7 +159,8 @@ export default { ...@@ -159,7 +159,8 @@ export default {
justify-content: center; justify-content: center;
padding-bottom: 70px; padding-bottom: 70px;
.step_btn { .step_btn {
width: 119px; // width: 119px;
padding: 0 25px;
height: 32px; height: 32px;
opacity: 1; opacity: 1;
border-radius: 16px; border-radius: 16px;
......
...@@ -164,7 +164,8 @@ export default { ...@@ -164,7 +164,8 @@ export default {
margin-top: 41px; margin-top: 41px;
padding-bottom: 70px; padding-bottom: 70px;
.step_btn { .step_btn {
width: 119px; // width: 119px;
padding: 0 25px;
height: 32px; height: 32px;
opacity: 1; opacity: 1;
border-radius: 16px; border-radius: 16px;
......
...@@ -7,7 +7,6 @@ ...@@ -7,7 +7,6 @@
<ChatStepTwo v-if="activeStep === 1" class="pt-50" :data="form.stepTwo" /> <ChatStepTwo v-if="activeStep === 1" class="pt-50" :data="form.stepTwo" />
<ChatStepThree v-if="activeStep === 2" :data="form.stepThree" ref="ChatStepThree"/> <ChatStepThree v-if="activeStep === 2" :data="form.stepThree" ref="ChatStepThree"/>
<ChatStepFour :data="form" class="step-four" v-if="activeStep === 3" /> <ChatStepFour :data="form" class="step-four" v-if="activeStep === 3" />
{{ activeStep }}
<div class="main_content_btn" v-if="this.$route.query.view != 1"> <div class="main_content_btn" v-if="this.$route.query.view != 1">
<div class="step_prev step_btn" @click="handlePrev" v-if="activeStep > 0">上一步</div> <div class="step_prev step_btn" @click="handlePrev" v-if="activeStep > 0">上一步</div>
<div class="step_next step_btn" @click="handleNext" v-if="activeStep >= 0 && activeStep < 2">下一步</div> <div class="step_next step_btn" @click="handleNext" v-if="activeStep >= 0 && activeStep < 2">下一步</div>
...@@ -155,7 +154,8 @@ export default { ...@@ -155,7 +154,8 @@ export default {
justify-content: center; justify-content: center;
padding-bottom: 70px; padding-bottom: 70px;
.step_btn { .step_btn {
width: 119px; // width: 119px;
padding: 0 25px;
height: 32px; height: 32px;
opacity: 1; opacity: 1;
border-radius: 16px; border-radius: 16px;
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论