openedSuccessfully.vue 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <template>
  2. <view class="content">
  3. <!-- 支付成功 -->
  4. <view class="pay-box">
  5. <!-- <text class="success-icon iconfont iconroundcheck"></text> -->
  6. <image src="https://zhibo.liuniu946.com/img/openSuccess.png" class="success-icon"></image>
  7. <text class="tit">开通成功</text>
  8. <view class="btn-group flex">
  9. <navigator url="/pages/order/order?state=1" @click="goback()" class="mix-btn">返回首页</navigator>
  10. <navigator url="/pages/index/index" @click="navTo()" class="mix-btn hollow">签署合同</navigator>
  11. <!-- <navigator v-if="showpink" url="/pages/delegation/delegation?state=0" open-type="redirect" class="mix-btn hollow">查看我的团</navigator> -->
  12. <!-- <navigator v-if="showpink" :url="'/pages/product/details?pink_id=' + (pinkId || '')" open-type="redirect" class="mix-btn hollow">马上分享</navigator> -->
  13. <!-- <navigator v-if="showauto" :url="'/pages/product/product?type=2&id=' + Autoid" open-type="redirect" class="mix-btn hollow">马上分享</navigator> -->
  14. </view>
  15. <!-- <view class="warn">安全提醒:平台及商家不会以订单异常系统升级为由要 求你点击任何网址链接进行退款操作</view> -->
  16. </view>
  17. </view>
  18. </template>
  19. <script>
  20. export default {
  21. data() {
  22. return {
  23. }
  24. },
  25. methods: {
  26. goback(){
  27. uni.switchTab({
  28. url:'../index/index'
  29. })
  30. },
  31. navTo(){
  32. uni.navigateTo({
  33. url:'../contract/contract'
  34. })
  35. }
  36. }
  37. }
  38. </script>
  39. <style lang="scss">
  40. page{
  41. width: 750rpx;
  42. height: 100%;
  43. background: rgba(255, 255, 255, 1);
  44. }
  45. .content{
  46. width: 750rpx;
  47. height: 100%;
  48. background: rgba(255, 255, 255, 1);
  49. .pay-box {
  50. display: flex;
  51. flex-direction: column;
  52. justify-content: center;
  53. align-items: center;
  54. background: rgba(255, 255, 255, 1);
  55. .success-icon {
  56. font-size: 96rpx;
  57. color: #5dbc7c;
  58. margin-top: 40rpx;
  59. width: 302rpx;
  60. height: 302rpx;
  61. }
  62. .tit {
  63. font-size: 38rpx;
  64. color: #303133;
  65. height: 34px;
  66. font-family: PingFangSC;
  67. font-weight: 500;
  68. color: rgba(51, 51, 51, 1);
  69. line-height: 56px;
  70. &.price {
  71. font-size: 42rpx;
  72. }
  73. }
  74. .btn-group {
  75. padding-top: 40rpx;
  76. display: flex;
  77. width: 100%;
  78. padding-right: 40rpx;
  79. padding-left: 40rpx;
  80. justify-content: space-around;
  81. .mix-btn {
  82. font-weight: 500;
  83. color: #FF0000;
  84. line-height: 42rpx;
  85. width: 300rpx;
  86. height: 78rpx;
  87. border: 2rpx solid #FE3C3C;
  88. border-radius: 10rpx;
  89. background: linear-gradient(180deg, #FFFFFF, #FFFFFF);
  90. margin-top: 30rpx;
  91. display: flex;
  92. align-items: center;
  93. justify-content: center;
  94. font-size: $font-lg;
  95. color: #333333;
  96. &.hollow {
  97. background: linear-gradient(180deg, #FD4646, #FF3535);
  98. color: #FFFFFF;
  99. }
  100. }
  101. }
  102. }
  103. }
  104. </style>