generated from huangmh/client_iot-daoshi-template-v
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
498 B
22 lines
498 B
<template>
|
|
<View>
|
|
<CarouselWithIntro :data="benefits" />
|
|
</View>
|
|
</template>
|
|
|
|
<script setup>
|
|
import { ref } from 'vue'
|
|
import { getMemberBenefits } from '@/http/api'
|
|
import View from '@/layouts/View.vue'
|
|
import CarouselWithIntro from '@/components/CarouselWithIntro/CarouselWithIntro.vue'
|
|
|
|
_getMemberBenefits()
|
|
const benefits = ref({})
|
|
function _getMemberBenefits() {
|
|
getMemberBenefits().then(({ data }) => {
|
|
benefits.value = data
|
|
})
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped></style>
|
|
|