transitionPages.vue 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <template>
  2. <view class="container container-transition">
  3. <text class="moneh-text"> 上传名片并填写简单信息,24小时内我们会为您开通一个月的免费月卡 </text>
  4. <img src="https://hzchart.oss-cn-shanghai.aliyuncs.com/cygx/czbk/month_card.png" class="month_card" alt="" />
  5. <view class="btn-cont btn-dl" @click="applyAuth"> 立即上传 </view>
  6. <view class="btn-cont month-back" @click="backIndex"> 返回</view>
  7. </view>
  8. </template>
  9. <script>
  10. export default {
  11. data() {
  12. return {};
  13. },
  14. methods: {
  15. // 跳转上传信息的页面
  16. applyAuth() {
  17. uni.navigateTo({
  18. url: "/pageMy/applyTrial/applyTrial",
  19. });
  20. },
  21. // 返回
  22. backIndex() {
  23. uni.switchTab({
  24. url: "/pages/index/index",
  25. });
  26. },
  27. },
  28. };
  29. </script>
  30. <style lang="scss" scoped>
  31. .container-transition {
  32. padding-top: 200rpx;
  33. .month_card {
  34. width: 100%;
  35. height: 565rpx;
  36. padding-left: -20rpx;
  37. }
  38. .btn-cont {
  39. width: 368rpx;
  40. height: 80rpx;
  41. color: #fff;
  42. font-size: 34rpx;
  43. margin: 0 auto ;
  44. text-align: center;
  45. line-height: 80rpx;
  46. }
  47. .btn-dl {
  48. background: linear-gradient(253deg, #fcf3e9 0%, #eedec8 100%) !important;
  49. color: #333 !important;
  50. margin: 30rpx auto !important;
  51. }
  52. .month-back {
  53. background: #f6f6f6 !important;
  54. color: #999 !important;
  55. }
  56. .moneh-text {
  57. text-align: center;
  58. width: 632rpx;
  59. margin: 0 auto 20rpx;
  60. color: #999999;
  61. }
  62. }
  63. </style>