@saooti/octopus-sdk 30.0.88 → 30.0.89
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/README.md
CHANGED
|
@@ -584,4 +584,5 @@ See [Configuration Reference](https://cli.vuejs.org/config/).
|
|
|
584
584
|
* 30.0.85 PB en cliquant sur le bouton "tous les épisodes de l'organisation" dans la page d'un épisode
|
|
585
585
|
* 30.0.86 Podcastmaker newest
|
|
586
586
|
* 30.0.87 Podcastmaker newest (swiper list)
|
|
587
|
-
* 30.0.88 Podcastmaker newest (swiper list)
|
|
587
|
+
* 30.0.88 Podcastmaker newest (swiper list)
|
|
588
|
+
* 30.0.89 Podcastmaker newest (swiper list)
|
package/package.json
CHANGED
|
@@ -24,7 +24,6 @@
|
|
|
24
24
|
:loop="true"
|
|
25
25
|
:navigation="true"
|
|
26
26
|
:modules="modules"
|
|
27
|
-
class="mySwiper"
|
|
28
27
|
>
|
|
29
28
|
<swiper-slide
|
|
30
29
|
v-for="p in allPodcasts"
|
|
@@ -129,13 +128,14 @@ export default defineComponent({
|
|
|
129
128
|
|
|
130
129
|
|
|
131
130
|
mounted() {
|
|
131
|
+
this.handleResize();
|
|
132
132
|
this.fetchNext();
|
|
133
133
|
},
|
|
134
134
|
methods: {
|
|
135
135
|
handleResize(): void {
|
|
136
136
|
if (!this.$el) return;
|
|
137
137
|
const width = (this.$el as HTMLElement).offsetWidth;
|
|
138
|
-
const sixteen = domHelper.convertRemToPixels(this.sizeItem +
|
|
138
|
+
const sixteen = domHelper.convertRemToPixels(this.sizeItem + 0.5);
|
|
139
139
|
this.numberItem = Math.floor(width / sixteen);
|
|
140
140
|
},
|
|
141
141
|
async fetchNext(): Promise<void> {
|
|
@@ -182,7 +182,6 @@ export default defineComponent({
|
|
|
182
182
|
.swiper {
|
|
183
183
|
width: 100%;
|
|
184
184
|
height: 100%;
|
|
185
|
-
padding: 50px 20px;
|
|
186
185
|
}
|
|
187
186
|
.swiper-button-next, .swiper-button-prev{
|
|
188
187
|
color: $octopus-primary-color !important;
|