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.
46 lines
567 B
46 lines
567 B
<template>
|
|
<view class="content">
|
|
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
data() {
|
|
return {
|
|
topBanner: [],
|
|
|
|
}
|
|
},
|
|
onLoad() {
|
|
|
|
},
|
|
onShow() {
|
|
|
|
},
|
|
onReady() {
|
|
this.getTopBanner()
|
|
},
|
|
methods: {
|
|
// 获取顶部banner
|
|
getTopBanner() {
|
|
this.Post({
|
|
apiType: 'jdsz',
|
|
type_id: 5,
|
|
position: 0,
|
|
}, '/api/adv/getAdv').then(res => {
|
|
console.log(res)
|
|
})
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
.content {
|
|
width: 100vw;
|
|
min-height: 100vh;
|
|
overflow-x: hidden;
|
|
background: #F2FFFE;
|
|
}
|
|
</style>
|
|
|