Files
2026-10-08 18:36:23 +08:00

72 lines
1.7 KiB
Vue

<template>
<view>
<u-sticky offset-top="0" customNavHeight="0">
<!-- 顶部 -->
<uititle title="平台服务"></uititle>
</u-sticky>
<cmswiper page="self-support-main" height="280rpx"></cmswiper>
<image :src="companyImg" class="w-100p mb-20" mode="widthFix"
@click="$jump('/pages/self/companyQuote')"/>
<image :src="productImg" class="w-100p mb-20" mode="widthFix"
@click="$jump('/pages/self/productQuote')"/>
<image :src="costImg" class="w-100p mb-20" mode="widthFix"
@click="$jump('/pages/self/costQuote')"/>
</view>
</template>
<script>
import uititle from "@/components/common/title.vue";
import cmswiper from "@/components/common/swiper.vue";
export default {
name: "suportIndex",
components: {cmswiper, uititle},
data() {
return {
companyImg: '',
productImg: '',
costImg: '',
}
},
methods: {
async getCompanyImg(){
vk.callFunction({
url: 'client/album/pub/list',
data: {
page: 'self-support-company'
},
success: ({swiper}) => {
this.companyImg = swiper[0]
}
})
},
async getProductImg(){
vk.callFunction({
url: 'client/album/pub/list',
data: {
page: 'self-support-product'
},
success: ({swiper}) => {
this.productImg = swiper[0]
}
})
},
async getCostImg(){
vk.callFunction({
url: 'client/album/pub/list',
data: {
page: 'self-support-quote'
},
success: ({swiper}) => {
this.costImg = swiper[0]
}
})
},
},
onShow() {
this.getCompanyImg()
this.getProductImg()
this.getCostImg()
},
}
</script>