|
@@ -0,0 +1,144 @@
|
|
|
+<template>
|
|
|
+ <div class="point-success">
|
|
|
+ <div class="background">
|
|
|
+ <span class="icon"></span>
|
|
|
+ <span class="text">支付成功</span>
|
|
|
+ </div>
|
|
|
+ <div class="container">
|
|
|
+ <div class="menu">
|
|
|
+ <span class="text1">回到首页</span> <span class="text2">查看订单</span>
|
|
|
+ </div>
|
|
|
+ <div class="show">
|
|
|
+ <product-list />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+import ProductList from "../../components/ProductList";
|
|
|
+export default {
|
|
|
+ head() {
|
|
|
+ return {
|
|
|
+ title: "积分主页",
|
|
|
+ };
|
|
|
+ },
|
|
|
+ data() {
|
|
|
+ return {
|
|
|
+ images: [],
|
|
|
+ list: [],
|
|
|
+ loading: false, //加载状态
|
|
|
+ finished: false, //是否完成加载
|
|
|
+ refreshing: false, //是否正在上拉刷新
|
|
|
+ };
|
|
|
+ },
|
|
|
+ components: {
|
|
|
+ ProductList,
|
|
|
+ },
|
|
|
+ beforeCreate() {},
|
|
|
+ created() {},
|
|
|
+ beforeMount() {},
|
|
|
+ mounted() {
|
|
|
+ console.log(this);
|
|
|
+ },
|
|
|
+ beforeUpdate() {},
|
|
|
+ updated() {},
|
|
|
+ beforeDestroy() {},
|
|
|
+ destroyed() {},
|
|
|
+ methods: {
|
|
|
+ // onLoad() {
|
|
|
+ // var that = this;
|
|
|
+ // that.$axios
|
|
|
+ // .get("/getIntegralWaresInfoList", {
|
|
|
+ // params: {
|
|
|
+ // stationId: "1",
|
|
|
+ // },
|
|
|
+ // })
|
|
|
+ // .then((res) => {
|
|
|
+ // if (res.data.retCode == 0) {
|
|
|
+ // that.list = res.data.data; //追加数据
|
|
|
+ // // 加载状态结束
|
|
|
+ // that.loading = false;
|
|
|
+ // that.finished = true;
|
|
|
+ // console.log(that.list);
|
|
|
+ // }
|
|
|
+ // });
|
|
|
+ // },
|
|
|
+ // onRefresh() {
|
|
|
+ // // 清空列表数据
|
|
|
+ // that.finished = true;
|
|
|
+ // // 重新加载数据
|
|
|
+ // // 将 loading 设置为 true,表示处于加载状态
|
|
|
+ // that.loading = true;
|
|
|
+ // that.onLoad();
|
|
|
+ // },
|
|
|
+ },
|
|
|
+};
|
|
|
+</script>
|
|
|
+
|
|
|
+<style>
|
|
|
+.point-success {
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+.point-success .background {
|
|
|
+ background-color: #f3b335;
|
|
|
+ width: 100%;
|
|
|
+ height: 3.8rem;
|
|
|
+ position: relative;
|
|
|
+ background: url("../../static/point/bj2@2x.png") no-repeat 0px 0px;
|
|
|
+ background-size: 100% 100%;
|
|
|
+ z-index: -1;
|
|
|
+ position: relative;
|
|
|
+}
|
|
|
+.point-success .background .icon {
|
|
|
+ display: inline-block;
|
|
|
+ width: 0.48rem;
|
|
|
+ height: 0.48rem;
|
|
|
+ background: url("../../static/point/1_e10_cg@2x.png");
|
|
|
+ background-size: 100% 100%;
|
|
|
+ position: absolute;
|
|
|
+ top: 1.13rem;
|
|
|
+ left: 2.41rem;
|
|
|
+}
|
|
|
+.point-success .background .text {
|
|
|
+ width: 2rem;
|
|
|
+ height: 0.7rem;
|
|
|
+ font-size: 0.5rem;
|
|
|
+ font-family: PingFangSC-Regular, PingFang SC;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #ffffff;
|
|
|
+ line-height: 0.7rem;
|
|
|
+ position: absolute;
|
|
|
+ top: 1rem;
|
|
|
+ left: 3.09rem;
|
|
|
+}
|
|
|
+.point-success .container {
|
|
|
+ margin-top: -13.33vw;
|
|
|
+ width: 100%;
|
|
|
+ padding: 0 4vw;
|
|
|
+ box-sizing: border-box;
|
|
|
+ display: flex;
|
|
|
+ flex-direction: column;
|
|
|
+ z-index: 99;
|
|
|
+}
|
|
|
+.point-success .container .menu {
|
|
|
+ width: 100%;
|
|
|
+ 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;
|
|
|
+}
|
|
|
+.point-success .container .menu span {
|
|
|
+ width: 1.28rem;
|
|
|
+ height: 0.45rem;
|
|
|
+ font-size: 0.32rem;
|
|
|
+ font-family: PingFangSC-Regular, PingFang SC;
|
|
|
+ font-weight: 400;
|
|
|
+ color: #111111;
|
|
|
+ line-height: 0.45rem;
|
|
|
+}
|
|
|
+</style>
|