index.vue 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. <template>
  2. <view class="content">
  3. <view class="success-bg-box">
  4. <image src="/static/success-new.png" mode="aspectFit"></image>
  5. <!-- <view class="number-box">编号:{{userCodeNumber}}</view> -->
  6. <view >
  7. <view class="number-box" >提交成功</view>
  8. <!-- <view class="show-tips-box">方可入内,截图无效。</view> -->
  9. </view>
  10. <view class="title-font">科尔卡诺展馆入场登记</view>
  11. <!-- <view v-show="pageTypes==='dealer'">
  12. <view class="show-tips-box">尊敬的超级VIP客户,请将此编码,</view>
  13. <view class="show-tips-box">展示给工作人员,方可入内,截图无效。</view>
  14. </view> -->
  15. </view>
  16. <!-- <view class="phone-box">
  17. <view class="phone-value-box">您的专属顾问:{{salePhone}} ({{saleName}})</view>
  18. <view class="phone-tips">请保存此电话,展馆内有问题均可咨询!</view>
  19. <button type="primary" @tap="callPhone">拨打</button>
  20. </view> -->
  21. <view class="footer-box">
  22. <view>登记时间:{{registerDate || '2021-3-3 11:05'}}</view>
  23. </view>
  24. </view>
  25. </template>
  26. <script>
  27. export default {
  28. components: {
  29. },
  30. data() {
  31. return {
  32. pageTypes:'custom',
  33. registerDate:getApp().globalData.addTime,
  34. userCodeNumber:getApp().globalData.userCodeNumber
  35. }
  36. },
  37. onLoad(option) {
  38. this.pageTypes = option.types;
  39. wx.hideHomeButton();
  40. },
  41. onShow() {
  42. },
  43. methods: {
  44. callPhone(){
  45. let that = this;
  46. uni.makePhoneCall({
  47. phoneNumber: that.salePhone
  48. })
  49. }
  50. }
  51. }
  52. </script>
  53. <style>
  54. page{
  55. background: #f7f7f7!important;
  56. }
  57. .content {
  58. width: 100%;
  59. /* height: 100%; */
  60. display: flex;
  61. flex-direction: column;
  62. align-items: center;
  63. /* justify-content: center; */
  64. }
  65. .success-bg-box {
  66. width: 100%;
  67. /* height: 500rpx; */
  68. margin-top: 10%;
  69. display: flex;
  70. flex-direction: column;
  71. align-items: center;
  72. font-size: 28rpx;
  73. }
  74. .success-bg-box image {
  75. width: 200rpx;
  76. height: 200rpx;
  77. }
  78. .title-font {
  79. font-size: 24rpx;
  80. margin-top: 5%;
  81. margin-bottom: 8%;
  82. opacity: .9;
  83. letter-spacing: 8rpx;
  84. }
  85. .number-box {
  86. font-size: 48rpx;
  87. margin-top: 1.5em;
  88. margin-bottom: 10%;
  89. }
  90. .show-tips-box {
  91. opacity: 0.8;
  92. font-size: 28rpx;
  93. color: #FFFFFF;
  94. letter-spacing: 0.3rpx;
  95. text-align: center;
  96. }
  97. .phone-box {
  98. width: 89%;
  99. height: 360rpx;
  100. background: #fff;
  101. display: flex;
  102. flex-direction: column;
  103. align-items: center;
  104. z-index: 99;
  105. margin-top: -10px;
  106. }
  107. .phone-value-box {
  108. font-size: 28rpx;
  109. color: #4E4E4E;
  110. margin-top: 10%;
  111. margin-bottom: 3%;
  112. }
  113. .phone-tips {
  114. font-size: 24rpx;
  115. color: #4E4E4E;
  116. }
  117. .phone-box button {
  118. width: 25%;
  119. height: 60rpx;
  120. line-height: 60rpx;
  121. font-size: 24rpx;
  122. border-radius: 50rpx;
  123. background-image: linear-gradient(-135deg, #43DC7A 0%, #0EBD66 100%)!important;
  124. margin-top: 10%;
  125. }
  126. .footer-box {
  127. width: 100%;
  128. position: fixed;
  129. bottom: 3%;
  130. height: 50rpx;
  131. line-height: 50rpx;
  132. font-size: 24rpx;
  133. color: #B7B7B7;
  134. letter-spacing: 0.26rpx;
  135. text-align: center;
  136. }
  137. </style>