[更新发现]

This commit is contained in:
zhangmanman
2022-01-13 13:56:32 +08:00
parent 9af54bc24a
commit c82f40ee09
27 changed files with 1274 additions and 295 deletions

34
pages/index/guide.vue Normal file
View File

@@ -0,0 +1,34 @@
<template>
<view class="content">
<image class="guideImg" :src="guideCover" mode="widthFix"></image>
</view>
</template>
<script>
import { guide } from '@/apis/interfaces/menu'
export default {
data() {
return {
guideCover: ''
};
},
mounted() {
// 获取首页
this.getGuide()
},
methods: {
// 引导图片
getGuide(){
guide().then(res => {
this.guideCover = res.cover
})
}
}
};
</script>
<style lang="scss" scoped>
.guideImg {
width: 100%;
}
</style>