vipPop.vue 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. <template>
  2. <alertPop title="开通VIP" btntitle='确认开通' :show="vipAlertShow" @close="vipAlertShow=false">
  3. <view class="popup-box">
  4. <image src="../../static/user/lm/huanguan.png" mode="" class="hg"></image>
  5. <view class="tit" style="letter-spacing: 0;">
  6. 会员VIP
  7. </view>
  8. <view class="gg">
  9. 购买VIP免除广告30天
  10. </view>
  11. <view class="yue">
  12. <image src="../../static/index/index/icon01.png" mode=""></image>
  13. <view class="">
  14. 拥有矿石 <text>10000</text> 个,开通需 <text>10000</text> 个
  15. </view>
  16. </view>
  17. </view>
  18. </alertPop>
  19. </template>
  20. <script>
  21. import alertPop from "@/components/alertPop/alertPop.vue"
  22. export default {
  23. data() {
  24. return {
  25. vipAlertShow:false,
  26. };
  27. },
  28. components: {
  29. alertPop
  30. },
  31. onLoad(options) {
  32. },
  33. onShow() {},
  34. methods: {
  35. open(name) {
  36. this.vipAlertShow = true;
  37. },
  38. close(name) {
  39. this.vipAlertShow = false;
  40. }
  41. }
  42. };
  43. </script>
  44. <style lang="scss" scoped>
  45. .popup-box {
  46. .hg {
  47. width: 256rpx;
  48. height: 234rpx;
  49. display: block;
  50. margin:68rpx auto 35rpx;
  51. }
  52. .tit {
  53. font-weight: bold;
  54. font-size: 44rpx;
  55. color: #222222;
  56. text-align: center;
  57. padding-top: 10rpx;
  58. letter-spacing: 10rpx;
  59. }
  60. .gg {
  61. font-weight: bold;
  62. font-size: 29rpx;
  63. color: #000000;
  64. text-align: center;
  65. padding-bottom: 58rpx;
  66. }
  67. .yue {
  68. display: flex;
  69. width: 100%;
  70. justify-content: center;
  71. image {
  72. width: 43rpx;
  73. height: 34rpx;
  74. margin: 0;
  75. }
  76. view {
  77. padding-left: 10rpx;
  78. }
  79. font-weight: bold;
  80. font-size: 25rpx;
  81. color: #222222;
  82. text-align: center;
  83. text {
  84. color: #3C4192;
  85. }
  86. }
  87. .btn {
  88. width: 330rpx;
  89. line-height: 77rpx;
  90. background: linear-gradient(268deg, rgba(113, 87, 185, 0.99), #8667C3, #7258B9);
  91. border-radius: 10rpx;
  92. margin: 35rpx auto 0;
  93. text-align: center;
  94. font-weight: bold;
  95. font-size: 35rpx;
  96. color: #FFFFFF;
  97. }
  98. }
  99. </style>