Blame view

ant-design-vue-jeecg/src/views/examples/form/stepForm/Step3.vue 1.65 KB
肖超群 authored
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<template>
  <div>
    <a-form style="margin: 40px auto 0;">
      <result title="操作成功" :is-success="true" description="预计两小时内到账">
        <div class="information">
          <a-row>
            <a-col :sm="8" :xs="24">付款账户:</a-col>
            <a-col :sm="16" :xs="24">ant-design@alipay.com</a-col>
          </a-row>
          <a-row>
            <a-col :sm="8" :xs="24">收款账户:</a-col>
            <a-col :sm="16" :xs="24">test@example.com</a-col>
          </a-row>
          <a-row>
            <a-col :sm="8" :xs="24">收款人姓名:</a-col>
            <a-col :sm="16" :xs="24">辉夜</a-col>
          </a-row>
          <a-row>
            <a-col :sm="8" :xs="24">转账金额:</a-col>
            <a-col :sm="16" :xs="24"><span class="money">500</span> 元</a-col>
          </a-row>
        </div>
        <div slot="action">
          <a-button type="primary" @click="finish">再转一笔</a-button>
          <a-button style="margin-left: 8px" @click="toOrderList">查看账单</a-button>
        </div>
      </result>
    </a-form>
  </div>
</template>

<script>
肖超群 authored
33
import Result from '../../../result/Result'
肖超群 authored
34
肖超群 authored
35
36
37
38
39
40
41
42
43
44
45
46
47
export default {
  name: "Step3",
  components: {
    Result
  },
  data() {
    return {
      loading: false
    }
  },
  methods: {
    finish() {
      this.$emit('finish')
肖超群 authored
48
    },
肖超群 authored
49
50
    toOrderList() {
      this.$router.push('/list/query-list')
肖超群 authored
51
52
    }
  }
肖超群 authored
53
}
肖超群 authored
54
55
</script>
<style lang="less" scoped>
肖超群 authored
56
57
.information {
  line-height: 22px;
肖超群 authored
58
肖超群 authored
59
60
  .ant-row:not(:last-child) {
    margin-bottom: 24px;
肖超群 authored
61
  }
肖超群 authored
62
63
64
65
66
67
68
69
}

.money {
  font-family: "Helvetica Neue", sans-serif;
  font-weight: 500;
  font-size: 20px;
  line-height: 14px;
}
肖超群 authored
70
</style>