123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103 |
- <template>
- <div class="container">
- <div class="icon"></div>
- <div class="text">充值成功</div>
- <div class="menu">
- <nuxt-link class="text1" to="/point" tag="span">回到首页</nuxt-link>
- <nuxt-link class="text2" to="/point/list" tag="span">查看订单</nuxt-link>
- </div>
- </div>
- </template>
- <script>
- import ProductList from "../../components/ProductList";
- import { mapState, mapActions } from "vuex";
- export default {
- head() {
- return {
- title: "个人中心",
- };
- },
- data() {
- return {
- images: [],
- list: [],
- loading: false, // 加载状态
- finished: false, // 是否完成加载
- refreshing: false, // 是否正在上拉刷新
- };
- },
- components: {
- ProductList,
- },
- computed: {
- ...mapState({
- pointInfo: (state) => state.point.pointInfo,
- }),
- },
- mounted() {
- // this.getPointInfo();
- },
- methods: {
- ...mapActions({
- getPointInfo: "point/getPointInfo",
- }),
- },
- };
- </script>
- <style>
- .container {
- width: 100vw;
- height: 100vh;
- position: relative;
- }
- .container .icon {
- background: url("~static/personal/cg@2x.png") no-repeat 0px 0px;
- background-size: 100% 100%;
- width: 1.81rem;
- height: 1.81rem;
- position: absolute;
- left: 2.85rem;
- top: 1.6rem;
- }
- .container .text {
- width: 1.6rem;
- height: 0.56rem;
- font-size: 0.4rem;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #111111;
- line-height: 0.56rem;
- text-align: center;
- position: absolute;
- top: 3.71rem;
- left: 2.95rem;
- }
- .container .menu {
- width: 80vw;
- height: 1.1rem;
- background: #ffffff;
- box-shadow: 0rem 0.02rem 0.1rem 0rem rgba(0, 0, 0, 0.1);
- border-radius: 0.1rem;
- display: flex;
- flex-direction: row;
- justify-content: space-around;
- align-items: center;
- position: absolute;
- top: 50vh;
- left: 10vw;
- }
- .container .menu span {
- height: 0.45rem;
- font-size: 0.32rem;
- font-family: PingFangSC-Regular, PingFang SC;
- font-weight: 400;
- color: #111111;
- line-height: 0.45rem;
- }
- </style>
|