OrderPaySuccess.vue 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <template>
  2. <div class="paymentSuccess">
  3. <Header />
  4. <div class="main">{{ $t("Key657") }}</div>
  5. </div>
  6. </template>
  7. <script>
  8. //这里可以导入其它文件(比如:组件,工具js,第三方插件js,json文件,图片文件等等)
  9. //例如:import 《组件名称》from ‘《组件路径》';
  10. import Header from "@/components/common/Header";
  11. export default {
  12. //import引入的组件需要注入到对象中才能使用
  13. components: { Header },
  14. props: {},
  15. data() {
  16. //这里存放数据
  17. return {};
  18. },
  19. //计算属性 类似于data概念
  20. computed: {},
  21. //监控data中数据变化
  22. watch: {},
  23. //方法集合
  24. methods: {},
  25. //生命周期 - 创建完成(可以访问当前this实例)
  26. created() {
  27. await updateWordPack({
  28. word_key_list: ["Key657"],
  29. });
  30. },
  31. //生命周期 - 挂载完成(可以访问DOM元素)
  32. mounted() {},
  33. //生命周期-创建之前
  34. beforeCreated() {},
  35. //生命周期-挂载之前
  36. beforeMount() {},
  37. //生命周期-更新之前
  38. beforUpdate() {},
  39. //生命周期-更新之后
  40. updated() {},
  41. //生命周期-销毁之前
  42. beforeDestory() {},
  43. //生命周期-销毁完成
  44. destoryed() {},
  45. //如果页面有keep-alive缓存功能,这个函数会触发
  46. activated() {},
  47. };
  48. </script>
  49. <style lang="scss" scoped>
  50. /* @import url(); 引入css类 */
  51. .paymentSuccess {
  52. height: 100%;
  53. .main {
  54. font-size: 50px;
  55. height: 100%;
  56. display: flex;
  57. justify-content: center;
  58. align-items: center;
  59. }
  60. }
  61. </style>