index.vue 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. <template>
  2. <view class="verify">
  3. <view class="box">
  4. <view class="item">
  5. <view class="label">
  6. 客户号码
  7. </view>
  8. <view class="value">
  9. 13187061605
  10. </view>
  11. </view>
  12. <view class="item">
  13. <view class="label">
  14. 套餐价格
  15. </view>
  16. <view class="value">
  17. 10元
  18. </view>
  19. </view>
  20. <view class="item">
  21. <view class="label">
  22. 套餐权益
  23. </view>
  24. <view class="value">
  25. 加油充电8折起;景区门票6折起;千家酒店随心住
  26. </view>
  27. </view>
  28. </view>
  29. <view class="save-btn" @click="handleBtn">
  30. 确认办理,去激活
  31. </view>
  32. </view>
  33. </template>
  34. <script>
  35. export default {
  36. methods: {
  37. handleBtn() {
  38. uni.showModal({
  39. title: '短信已发送至您的手机,请注意查收',
  40. success: (r) => {
  41. if (r.confirm) {
  42. uni.navigateTo({
  43. url: './activate'
  44. })
  45. }
  46. }
  47. })
  48. }
  49. },
  50. }
  51. </script>
  52. <style lang="scss" scoped>
  53. .verify {
  54. padding: 24rpx 30rpx;
  55. background: #F9F9F9;
  56. min-height: 100vh;
  57. .box {
  58. background: #FFFFFF;
  59. border-radius: 16rpx 16rpx 16rpx 16rpx;
  60. padding: 30rpx;
  61. .item {
  62. display: flex;
  63. align-items: center;
  64. padding: 10rpx 0;
  65. line-height: 45rpx;
  66. .label {
  67. width: 200rpx;
  68. font-size: 28rpx;
  69. font-weight: bold;
  70. align-self: flex-start;
  71. }
  72. .value {
  73. flex: 1;
  74. font-size: 26rpx;
  75. font-weight: bold;
  76. }
  77. }
  78. }
  79. .save-btn {
  80. width: 560rpx;
  81. height: 96rpx;
  82. line-height: 96rpx;
  83. font-size: 32rpx;
  84. border-radius: 48rpx;
  85. font-weight: bold;
  86. background: $uni-color-primary;
  87. color: #fff;
  88. text-align: center;
  89. margin: 95rpx auto 0;
  90. }
  91. }
  92. </style>