You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

106 lines
2.1 KiB

9 months ago
  1. <!-- 弹窗组件 -->
  2. <template>
  3. <view v-if="show" class="popup-windown">
  4. <div class="popup-content">
  5. <div class="popup-close">x</div>
  6. <div class="bg">
  7. <image src="../../static/popUpWindow/bg.png" mode="widthFix"></image>
  8. </div>
  9. <view class="popup-desc">
  10. Important note: At present, the number of people who recharge is large, and the recharge will fail due to congestion. If payment fails, please contact customer service assistance. Join Tik Tok shop and get a part-time allowance. After completing the tasks of regular employees, you can join the regular employees and receive at least 100-5000USDT commission and salary income per day.
  11. </view>
  12. <view class="popup-btn">
  13. <view @click="close" class="">ok</view>
  14. </view>
  15. </div>
  16. </view>
  17. </template>
  18. <script>
  19. export default {
  20. data(){
  21. return {
  22. }
  23. },
  24. props : {
  25. show : {
  26. type : Boolean,
  27. default : false
  28. }
  29. },
  30. methods : {
  31. close(){
  32. this.$emit('close')
  33. }
  34. }
  35. }
  36. </script>
  37. <style lang="scss" scoped>
  38. .popup-windown{
  39. display: flex;
  40. justify-content: center;
  41. align-items: center;
  42. position: fixed;
  43. height: 100vh;
  44. width: 750rpx;
  45. background: rgba(0,0,0,.1);
  46. left: 0;
  47. top: 0;
  48. z-index: 1000;
  49. .popup-content{
  50. position: relative;
  51. width: 96%;
  52. margin: 0rpx auto;
  53. background: white;
  54. border-radius: 15rpx;
  55. overflow: hidden;
  56. .popup-close{
  57. position: absolute;
  58. right: -20rpx;
  59. top: -20rpx;
  60. width: 20rpx;
  61. height: 20rpx;
  62. background: pink;
  63. border-radius: 50%;
  64. z-index: 200;
  65. }
  66. .bg{
  67. height: 200rpx;
  68. overflow: hidden;
  69. image{
  70. width: 100%;
  71. }
  72. }
  73. .popup-desc{
  74. box-sizing: border-box;
  75. padding: 20rpx;
  76. }
  77. .popup-btn{
  78. display: flex;
  79. align-items: center;
  80. justify-content: center;
  81. height: 140rpx;
  82. box-shadow: 0rpx 10rpx 20rpx rgba(0,0,0,.1);
  83. view{
  84. display: flex;
  85. align-items: center;
  86. justify-content: center;
  87. width: 96%;
  88. margin: 0rpx auto;
  89. height: 80rpx;
  90. background: $uni-bg-color-app;
  91. border-radius: 40rpx;
  92. color: $uni-bg-color;
  93. }
  94. }
  95. }
  96. }
  97. </style>