blankPage.vue 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <!-- 辅助空白-->
  3. <view>
  4. <view :style="[boxStyle]"></view>
  5. </view>
  6. </template>
  7. <script>
  8. // +----------------------------------------------------------------------
  9. // | CRMEB [ CRMEB赋能开发者,助力企业发展 ]
  10. // +----------------------------------------------------------------------
  11. // | Copyright (c) 2016~2025 https://www.crmeb.com All rights reserved.
  12. // +----------------------------------------------------------------------
  13. // | Licensed CRMEB并不是自由软件,未经许可不能去掉CRMEB相关版权
  14. // +----------------------------------------------------------------------
  15. // | Author: CRMEB Team <admin@crmeb.com>
  16. // +----------------------------------------------------------------------
  17. export default {
  18. name: 'blankPage',
  19. props: {
  20. dataConfig: {
  21. type: Object,
  22. default: () => {}
  23. }
  24. },
  25. computed: {
  26. //最外层盒子的样式
  27. boxStyle() {
  28. return {
  29. height: this.dataConfig.heightConfig.val + 'px',
  30. background: `linear-gradient(${this.dataConfig.bgColor.color[0].item}, ${this.dataConfig.bgColor.color[1].item})`,
  31. margin: this.dataConfig.mbConfig.val * 2 + 'rpx' + ' ' + this.dataConfig.lrConfig.val * 2 + 'rpx' +
  32. ' ' + 0,
  33. }
  34. },
  35. },
  36. }
  37. </script>
  38. <style lang="scss" scoped>
  39. .blankPage {
  40. .bankCon {
  41. width: 100%;
  42. }
  43. }
  44. </style>