applyResult.vue 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <template>
  2. <view class="applyResult-container container">
  3. <view class="middle-cont">
  4. <image src="@/static/img/success_ico.png" class="success_ico"></image>
  5. <text>申请已提交</text>
  6. <text>请等待销售人员与您联系</text>
  7. <!-- <view class="contract-cont">
  8. <template v-if="type==1">
  9. <view>您也可以直接联系对口销售:<text class="phone_num" @click="callNum">{{phone}}</text></view>
  10. <text>开通本产品的试用权限</text>
  11. </template>
  12. <text v-else>请等待销售人员与您联系</text>
  13. </view> -->
  14. <view class="btn-cont" @click="goIndex">
  15. 返回
  16. <!-- <image src="@/static/img/btn_bg.png" class="btn_bg"></image>
  17. <text class="btn-txt">返回首页</text> -->
  18. </view>
  19. </view>
  20. </view>
  21. </template>
  22. <script>
  23. export default {
  24. data() {
  25. return {
  26. phone:'',
  27. type:'',
  28. };
  29. },
  30. methods: {
  31. callNum() {
  32. uni.makePhoneCall({
  33. phoneNumber:this.phone
  34. });
  35. },
  36. goIndex() {
  37. uni.navigateBack({
  38. delta: 2
  39. })
  40. // uni.switchTab({
  41. // url:'/pages/index/index',
  42. // })
  43. }
  44. },
  45. onLoad(option) {
  46. // if(option.type === '已付费') {
  47. // this.type = 1;
  48. // this.phone = option.sale_num;
  49. // }else {
  50. // this.type = 2;
  51. // }
  52. }
  53. }
  54. </script>
  55. <style lang="scss" scoped>
  56. .applyResult-container {
  57. .middle-cont {
  58. margin: 90rpx auto 0;
  59. text-align: center;
  60. font-size: 32rpx;
  61. line-height: 52rpx;
  62. .success_ico {
  63. width: 150rpx;
  64. height: 150rpx;
  65. margin: 0 auto 30rpx;
  66. }
  67. .contract-cont {
  68. margin-top: 80rpx;
  69. .phone_num {
  70. display: inline;
  71. color: #D4BF86;
  72. }
  73. }
  74. .btn-cont {
  75. width: 368rpx;
  76. height: 80rpx;
  77. // position: relative;
  78. background:linear-gradient(268deg, #2DDBFF 0%, #1599FF 49%, #005EFF 100%);
  79. color: #fff;
  80. font-size: 34rpx;
  81. margin: 140rpx auto 0;
  82. text-align: center;
  83. line-height: 80rpx;
  84. .btn_bg {
  85. width: 100%;
  86. height: 80rpx;
  87. position: absolute;
  88. left: 0;
  89. top: 0;
  90. }
  91. .btn-txt {
  92. width: 100%;
  93. position: absolute;
  94. z-index: 1;
  95. }
  96. }
  97. }
  98. }
  99. </style>