38 lines
625 B
Vue
38 lines
625 B
Vue
<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> |