Feat: 地标好物(页面&接口)

(cherry picked from commit c18ec66653)
This commit is contained in:
linxi
2024-11-15 10:40:13 +08:00
parent 6983ebeb21
commit b5c87c1edb
9 changed files with 961 additions and 129 deletions
+38
View File
@@ -0,0 +1,38 @@
<template>
<view class="culture v12-d-grid-columns-2">
<view class="img-item " v-for="item in 10" :key="item"></view>
</view>
</template>
<script>
import {
getCulture,
} from "@/api/product"
export default {
props: {
landmarkDataId: null
},
data() {
return {
list: []
}
},
mounted() {
getCulture({landmarkDataId: this.landmarkDataId}).then(res => {
this.list = res.data
})
},
}
</script>
<style lang="scss" scoped>
.culture{
grid-gap: 20rpx 20rpx;
padding: 20rpx;
}
.img-item{
height: 320rpx;
background: rgba(137,35,35,0.39);
border-radius: 16rpx;
}
</style>