change back-end to node js

This commit is contained in:
Amir Mohamadi
2020-11-14 12:37:59 +03:30
parent d23635b165
commit 56b295b75d
220 changed files with 13704 additions and 30781 deletions
+47
View File
@@ -0,0 +1,47 @@
<template>
<div class="page products--page">
<hero :title="staticData.hero"/>
<section class="s1">
<div class="container">
<div class="panel">
<h2 class="title title-shape-center">{{staticData.s1.t1}}</h2>
<p>{{staticData.s1.t2}}</p>
</div>
</div>
</section>
<section class="s2">
<div class="container">
<div class="filters">
<h2 class="title title-subtitle">{{staticData.s2.t1}}</h2>
<ul>
<li
v-for="item in staticData.s2.filters"
:key="item.key"
@click="filter(item.key)">
<p>{{item.txt}}</p>
</li>
</ul>
</div>
</div>
</section>
</div>
</template>
<script>
export default {
computed: {
staticData() {
if (this.$route.params.lang === 'fa') {
return this.$store.state.staticData.products.fa
} else if (this.$route.params.lang === 'en') {
return this.$store.state.staticData.products.en
}
}
},
methods: {
filter(key) {
}
}
}
</script>