CustomerServicePopup.vue 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. <template>
  2. <CustomPopup ref="customPopup">
  3. <view class="customerService">
  4. <image src="../../static/dome/er-code.png"></image>
  5. <view class="text">截图至相册,微信扫一扫</view>
  6. <view class="btn-box" @click="closeCustomPopup">知道了</view>
  7. </view>
  8. </CustomPopup>
  9. </template>
  10. <script>
  11. import CustomPopup from '@/components/CustomPopup/CustomPopup.vue'
  12. export default {
  13. components: { CustomPopup },
  14. methods: {
  15. closeCustomPopup() {
  16. this.$refs.customPopup.close()
  17. },
  18. open() {
  19. this.$refs.customPopup.open()
  20. }
  21. }
  22. }
  23. </script>
  24. <style scoped lang="scss">
  25. .customerService {
  26. width: 600rpx;
  27. height: 660rpx;
  28. background: #ffffff;
  29. border-radius: 14rpx;
  30. padding: 30rpx 70rpx;
  31. image {
  32. width: 460rpx;
  33. height: 460rpx;
  34. }
  35. .text {
  36. padding-top: 8rpx;
  37. padding-bottom: 26rpx;
  38. text-align: center;
  39. }
  40. .btn-box {
  41. background: #1F1F1F;
  42. color: #fff;
  43. margin: 0 auto;
  44. width: 244rpx;
  45. height: 72rpx;
  46. font-size: 32rpx;
  47. font-family: 'PingFang SC-Bold';
  48. background: #1F1F1F;
  49. border-radius: 12rpx;
  50. display: flex;
  51. align-items: center;
  52. justify-content: center;
  53. }
  54. }
  55. </style>