pay-ok.vue 1.23 KB
<template>
  <LayoutApp :show-back="true">
    <div class="body">
      <div class="header">
        <i class="iconfont iconOk icon-class"></i>
      </div>
      <div class="title">支付成功</div>

      <YohoButton :txt="txt" class="btn-class" @on-click="onClick"></YohoButton>

      <div class="info">
        <div class="item" @click="goPublish">继续发布</div>
        <div class="item" @click="goHome">随便逛逛</div>
      </div>
    </div>
  </LayoutApp>
</template>

<script>

export default {
  name: 'PayOk',
  data() {
    return {
      txt: '查看商品'
    };
  },
  methods: {
    onClick() {

    },
    goPublish() {

    },
    goHome() {

    }
  }
};
</script>

<style lang="scss" scoped>
.body {
  height: 100%;
  margin: 0 74px;
  padding-bottom: 140px;
  overflow-y: auto;
}

.header {
  margin-top: 170px;
  text-align: center;
}

.icon-class {
  font-size: 120px;
}

.btn-class {
  height: 100px;
  font-size: 32px;
  line-height: 100px;
}

.title {
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 60px;
}

.info {
  font-size: 28px;
  display: flex;
  margin-top: 30px;

  .item {
    width: 50%;
    text-align: center;
  }

  .item + .item {
    border-left: 1px solid black;
  }
}

</style>