|
@@ -7,7 +7,8 @@ import banner from '@/components/layout/banner.vue'
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
setup(){
|
|
setup(){
|
|
const store = useStore()
|
|
const store = useStore()
|
|
- const pageStatus = ref(false)
|
|
|
|
|
|
+ store.state.pageContent = []
|
|
|
|
+// + store.state.footerStatus = false
|
|
// 首页箭头下拉
|
|
// 首页箭头下拉
|
|
function go_down(){
|
|
function go_down(){
|
|
globalThis.scrollTo({
|
|
globalThis.scrollTo({
|
|
@@ -15,10 +16,7 @@ export default defineComponent({
|
|
behavior: "smooth"
|
|
behavior: "smooth"
|
|
})
|
|
})
|
|
}
|
|
}
|
|
- setTimeout(()=>{
|
|
|
|
- pageStatus.value = true
|
|
|
|
- },300)
|
|
|
|
- return { store, go_down, pageStatus }
|
|
|
|
|
|
+ return { store, go_down }
|
|
},
|
|
},
|
|
components:{
|
|
components:{
|
|
banner
|
|
banner
|
|
@@ -90,12 +88,11 @@ export default defineComponent({
|
|
<section v-if="store.state.pageContent.length>0" style="width:100vw;">
|
|
<section v-if="store.state.pageContent.length>0" style="width:100vw;">
|
|
<div class="whyUs-section pt-60 pb-60" v-for="(arr,index) in store.state.pageContent"
|
|
<div class="whyUs-section pt-60 pb-60" v-for="(arr,index) in store.state.pageContent"
|
|
:style="{background:(index % 2 == 1?'#F4F8FD':'#fff')}">
|
|
:style="{background:(index % 2 == 1?'#F4F8FD':'#fff')}">
|
|
- <div class="container" v-show="pageStatus">
|
|
|
|
|
|
+ <div class="container">
|
|
<div class="section-title text-center both-border pb-20">
|
|
<div class="section-title text-center both-border pb-20">
|
|
<span class="title-tag">{{arr.title}}</span>
|
|
<span class="title-tag">{{arr.title}}</span>
|
|
<span class="mb-30">{{arr.zhaiyao}}</span>
|
|
<span class="mb-30">{{arr.zhaiyao}}</span>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
<div class="row aboutOnlyText" v-if="arr.image"
|
|
<div class="row aboutOnlyText" v-if="arr.image"
|
|
:style="{padding:(index % 2 == 1?'40px 25px':' 40px 25px')}"
|
|
:style="{padding:(index % 2 == 1?'40px 25px':' 40px 25px')}"
|
|
style="background-color: #ffff; box-shadow: 0px 10px 20px 10px rgb(179 202 216 / 20%); align-items:center">
|
|
style="background-color: #ffff; box-shadow: 0px 10px 20px 10px rgb(179 202 216 / 20%); align-items:center">
|
|
@@ -105,17 +102,13 @@ export default defineComponent({
|
|
<div class="col-md-6" v-html="arr.content">
|
|
<div class="col-md-6" v-html="arr.content">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
<div class="aboutOnlyText row text-center" v-else :style="{padding:(index % 2 == 1?'':'0 ')}"
|
|
<div class="aboutOnlyText row text-center" v-else :style="{padding:(index % 2 == 1?'':'0 ')}"
|
|
style="background-color: #ffff;">
|
|
style="background-color: #ffff;">
|
|
<div class=" about-text-image" v-html="arr.content">
|
|
<div class=" about-text-image" v-html="arr.content">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
-
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</section>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
-<style lang="scss" scoped>
|
|
|
|
-</style>
|
|
|