index.vue 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <template>
  2. <view class="zs-getVip">
  3. <view class="content">
  4. <image class="bg" src="https://zswl-dev.oss-cn-chengdu.aliyuncs.com/63b7c68b71a69169d1b33f92/store/bdb/user/avatar/uHMgZAP95DoL7c10575028ada2bc02c172627840290d.png/1.png" mode=""></image>
  5. <image @click="submit" class="btn" src="https://zswl-dev.oss-cn-chengdu.aliyuncs.com/63b7c68b71a69169d1b33f92/store/bdb/user/avatar/39IILRhLzeb35d1bc2dc0c13256eaa79865032fb19ca.png/1.png" mode=""></image>
  6. <image @click="close" class="close-btn" src="@/static/close.png" mode=""></image>
  7. </view>
  8. </view>
  9. </template>
  10. <script>
  11. export default {
  12. methods: {
  13. close() {
  14. this.$emit('close')
  15. },
  16. submit() {
  17. this.$emit('submit')
  18. }
  19. },
  20. }
  21. </script>
  22. <style lang="scss" scoped>
  23. .zs-getVip{
  24. position: fixed;
  25. top: 0%;
  26. left: 0%;
  27. width: 100vw;
  28. height: 100vh;
  29. background: rgba(0,0,0,0.3);
  30. z-index: 9999;
  31. display: flex;
  32. align-items: center;
  33. justify-content: center;
  34. .content{
  35. position: relative;
  36. .bg{
  37. width: 628rpx;
  38. height: 628rpx;
  39. }
  40. .btn{
  41. width: 290rpx;
  42. height: 86rpx;
  43. position: absolute;
  44. bottom: 32rpx;
  45. left: calc(50% - 145rpx);
  46. }
  47. .close-btn{
  48. width: 60rpx;
  49. height: 60rpx;
  50. position: absolute;
  51. bottom: -80rpx;
  52. left: calc(50% - 30rpx);
  53. }
  54. }
  55. }
  56. </style>