@lancom/shared 0.0.184 → 0.0.186

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.
@@ -1,5 +1,5 @@
1
1
  <template>
2
- <div class="FAQ__wrapper view-transition">
2
+ <div class="FAQ__wrapper">
3
3
  <slot name="header">
4
4
  <div class="FAQ__header">
5
5
  <h1 class="lc_h1--white">
@@ -33,7 +33,7 @@
33
33
  </div>
34
34
  <div
35
35
  v-show="openedGroup === group.type"
36
- class="FAQ__group-content view-transition">
36
+ class="FAQ__group-content">
37
37
  <div
38
38
  v-for="entity in group.entities"
39
39
  :key="entity._id"
@@ -51,7 +51,7 @@
51
51
  </div>
52
52
  <div
53
53
  v-show="openedEntities.includes(entity._id)"
54
- class="FAQ__entity-body view-transition"
54
+ class="FAQ__entity-body"
55
55
  v-html="entity.answer">
56
56
  </div>
57
57
  </div>
@@ -88,7 +88,7 @@ export default {
88
88
  openedEntities: []
89
89
  };
90
90
  },
91
- mounted() {
91
+ created() {
92
92
  if (this.preopenedGroup) {
93
93
  this.toggleGroup({ type: this.preopenedGroup });
94
94
  }
@@ -2,9 +2,9 @@
2
2
  <article
3
3
  class="NewsListItem__wrapper"
4
4
  :style="{ backgroundImage }">
5
- <div
5
+ <nuxt-link
6
6
  class="NewsListItem__overlay"
7
- @click="goToNews"></div>
7
+ :to="{ path: linkToNews }"></nuxt-link>
8
8
  <div class="NewsListItem__info">
9
9
  <template v-if="!item.isHiddenThumbLink">
10
10
  <h1>
@@ -1,6 +1,15 @@
1
1
  @import "@/assets/scss/variables";
2
2
 
3
3
  .RelatedProducts {
4
+ &__title {
5
+ margin: 30px 0;
6
+ text-align: center;
7
+ font-size: 28px;
8
+ color: #323232;
9
+ width: 100%;
10
+ font-weight: 800;
11
+ text-transform: uppercase;
12
+ }
4
13
  &__products {
5
14
  display: flex;
6
15
  margin: -32px 0 0 -32px;
@@ -2,7 +2,7 @@
2
2
  <div
3
3
  v-if="hasProducts"
4
4
  class="RelatedProducts__wrapper">
5
- <div class="RelatedProducts__title lc_h2">
5
+ <div class="RelatedProducts__title">
6
6
  Related Products
7
7
  </div>
8
8
  <product-list :products="products" />
@@ -40,7 +40,7 @@ export default {
40
40
  return this.products.length > 0;
41
41
  }
42
42
  },
43
- async mounted() {
43
+ async fetch() {
44
44
  const { products } = await api.fetchRelatedProducts(this.shop._id, this.product.alias, { needShuffle: true });
45
45
  this.products = products.splice(0, 6);
46
46
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lancom/shared",
3
- "version": "0.0.184",
3
+ "version": "0.0.186",
4
4
  "description": "lancom common scripts",
5
5
  "author": "e.tokovenko <e.tokovenko@gmail.com>",
6
6
  "repository": {