firstPay.vue 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <template>
  2. <div>
  3. <el-image style="width: 100%" :src="url" fit="contain"></el-image>
  4. <div class="pay_area">
  5. <div class="btn">¥199/年 立即购买</div>
  6. <div style='display:flex; justify-content:center'>
  7. <!-- <el-checkbox v-model="checked"/><div class="xy" @click="goXy()">平台用户服务协议</div> -->
  8. <div class="xy" @click="goXy()">点击购买即代表同意<span style="font-weight:900;">《平台用户服务协议》</span></div>
  9. </div>
  10. </div>
  11. </div>
  12. </template>
  13. <script>
  14. // import { getActives } from "../api";
  15. // import openId from "../util/getOpenId";
  16. export default {
  17. name: "firstPay",
  18. data() {
  19. return {
  20. url: require("../assets/199.png"),
  21. };
  22. },
  23. methods: {
  24. goXy(){
  25. this.$router.push('/xy')
  26. }
  27. },
  28. computed: {},
  29. mounted() {},
  30. };
  31. </script>
  32. <style scoped lang="less">
  33. .pay_area {
  34. width: 100%;
  35. height: 100px;
  36. text-align: center;
  37. background: #294166;
  38. }
  39. .el-image {
  40. display: block;
  41. }
  42. .btn {
  43. height: 60%;
  44. width: 100%;
  45. font-weight: 900;
  46. font-size: 28px;
  47. line-height: 60px;
  48. color: #fff;
  49. }
  50. .el-checkbox /deep/ .el-checkbox__label{
  51. color: #fff;
  52. }
  53. .xy{
  54. font-size: 13px;
  55. color: #fff;
  56. margin-left: 5px;
  57. }
  58. </style>