CustomerServicePopup.vue 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. }
  19. }
  20. </script>
  21. <style scoped lang="scss">
  22. .customerService {
  23. width: 600rpx;
  24. height: 660rpx;
  25. background: #ffffff;
  26. border-radius: 14rpx;
  27. padding: 30rpx 70rpx;
  28. image {
  29. width: 460rpx;
  30. height: 460rpx;
  31. }
  32. .text {
  33. padding-top: 8rpx;
  34. padding-bottom: 26rpx;
  35. text-align: center;
  36. }
  37. .btn-box {
  38. background: #1F1F1F;
  39. color: #fff;
  40. margin: 0 auto;
  41. width: 244rpx;
  42. height: 72rpx;
  43. font-size: 32rpx;
  44. font-family: 'PingFang SC-Bold';
  45. background: #1F1F1F;
  46. border-radius: 12rpx;
  47. display: flex;
  48. align-items: center;
  49. justify-content: center;
  50. }
  51. }
  52. </style>