Skip to content

Commit ae12489

Browse files
committed
fix: step form style
1 parent c32c8d4 commit ae12489

File tree

3 files changed

+44
-4
lines changed

3 files changed

+44
-4
lines changed

src/views/form/stepForm/Step1.vue

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,14 @@
4141
<a-button type="primary" @click="nextStep">下一步</a-button>
4242
</a-form-item>
4343
</a-form>
44+
<a-divider />
45+
<div class="step-form-style-desc">
46+
<h3>说明</h3>
47+
<h4>转账到支付宝账户</h4>
48+
<p>如果需要,这里可以放一些关于产品的常见问题说明。如果需要,这里可以放一些关于产品的常见问题说明。如果需要,这里可以放一些关于产品的常见问题说明。</p>
49+
<h4>转账到银行卡</h4>
50+
<p>如果需要,这里可以放一些关于产品的常见问题说明。如果需要,这里可以放一些关于产品的常见问题说明。如果需要,这里可以放一些关于产品的常见问题说明。</p>
51+
</div>
4452
</div>
4553
</template>
4654

@@ -55,6 +63,29 @@ export default {
5563
}
5664
</script>
5765

58-
<style scoped>
66+
<style lang="less" scoped>
67+
.step-form-style-desc {
68+
padding: 0 56px;
69+
color: rgba(0,0,0,.45);
5970
71+
h3 {
72+
margin: 0 0 12px;
73+
color: rgba(0,0,0,.45);
74+
font-size: 16px;
75+
line-height: 32px;
76+
}
77+
78+
h4 {
79+
margin: 0 0 4px;
80+
color: rgba(0,0,0,.45);
81+
font-size: 14px;
82+
line-height: 22px;
83+
}
84+
85+
p {
86+
margin-top: 0;
87+
margin-bottom: 12px;
88+
line-height: 22px;
89+
}
90+
}
6091
</style>

src/views/form/stepForm/Step2.vue

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,15 @@
3838
>
3939
¥ 5,000.00
4040
</a-form-item>
41+
<a-divider />
42+
<a-form-item
43+
label="支付密码"
44+
:labelCol="{span: 5}"
45+
:wrapperCol="{span: 19}"
46+
class="stepFormText"
47+
>
48+
<a-input type="password" style="width: 80%;" value="123456" />
49+
</a-form-item>
4150
<a-form-item :wrapperCol="{span: 19, offset: 5}">
4251
<a-button :loading="loading" type="primary" @click="nextStep">提交</a-button>
4352
<a-button style="margin-left: 8px" @click="prevStep">上一步</a-button>
@@ -79,4 +88,4 @@ export default {
7988
}
8089
}
8190
82-
</style>
91+
</style>

src/views/form/stepForm/Step3.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div>
33
<a-form style="margin: 40px auto 0;">
4-
<result title="操作成功" :is-success="true" description="预计两小时内到账">
4+
<result title="操作成功" :is-success="true" description="预计两小时内到账" style="max-width: 560px;">
55
<div class="information">
66
<a-row>
77
<a-col :sm="8" :xs="24">付款账户:</a-col>
@@ -47,7 +47,7 @@ export default {
4747
this.$emit('finish')
4848
},
4949
toOrderList () {
50-
this.$router.push('/list/query-list')
50+
this.$router.push('/list/table-list')
5151
}
5252
}
5353
}

0 commit comments

Comments
 (0)