hanbaoshan
2020-12-03 c587fbdad6f75ba05e5440b41be144bd335703aa
src/pages/cameraAccess/index/App.vue
@@ -25,17 +25,17 @@
    RightSide
  },
  computed: {
    app() {
    app () {
      return this.getUrlKey() !== null ? "DataStack" : "Camera"
    }
  },
  data() {
  data () {
    return {
      leftWith: 0,
      screenHeight: 0
    }
  },
  mounted() {
  mounted () {
    this.screenHeight = document.documentElement.clientHeight;
    window.onresize = () => {
      return (() => {
@@ -50,7 +50,7 @@
  },
  methods: {
    getUrlKey() {
    getUrlKey () {
      let name = "dataStack"
      return decodeURIComponent((new RegExp('[?|&]' + name + '=' + '([^&;]+?)(&|#|;|$)').exec(location.href) || [, ""])[1].replace(/\+/g, '%20')) || null
    }
@@ -98,7 +98,7 @@
  overflow-y: hidden;
}
.resize-bar {
  width: 310px;
  width: 338px;
  height: inherit;
  resize: horizontal;
  cursor: ew-resize;
@@ -134,7 +134,7 @@
  }
  .resize-bar:hover ~ .resize-line::after,
  .resize-bar:active ~ .resize-line::after {
    content: "";
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
@@ -144,5 +144,4 @@
    background-size: 100% 100%;
  }
}
</style>