adata-ui 0.3.43 → 0.3.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "adata-ui",
3
- "version": "0.3.43",
3
+ "version": "0.3.44",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div id="services-navs" class="services" :class="{ 'services--active': openService }">
2
+ <div id="services-navs" class="services" :class="{ 'services--active': openService }" :style="computedStyle">
3
3
  <div class="services__header">
4
4
  <svg width="78" height="24" viewBox="0 0 78 24" fill="none" xmlns="http://www.w3.org/2000/svg">
5
5
  <rect width="78" height="24" fill="white"/>
@@ -510,6 +510,11 @@ export default {
510
510
  ]
511
511
  }
512
512
  },
513
+ computed: {
514
+ computedStyle() {
515
+ return this.module !== 'landing' ? this.openService ? 'transition: 1s ease': 'transition: 0.01s ease': null
516
+ }
517
+ },
513
518
  watch: {
514
519
  openService(e) {
515
520
  if (e) {
@@ -766,11 +771,9 @@ export default {
766
771
  }
767
772
  }
768
773
 
769
- .menu-enter-active {
770
- transition: right 0.2s ease;
771
- }
774
+ .menu-enter-active,
772
775
  .menu-leave-active {
773
- transition: right 0.4s ease;
776
+ transition: right 0.3s ease;
774
777
  }
775
778
  .menu-enter,
776
779
  .menu-leave-to {