54 lines
938 B
Vue
54 lines
938 B
Vue
<template>
|
|
<section class="myGrids">
|
|
<div flex class="item" v-for="op in list" :key="op.id">
|
|
<img src="./components/gird--select-icon.png"/>
|
|
<b v-text="op.girdName"/>
|
|
</div>
|
|
</section>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
name: "myGrids",
|
|
data() {
|
|
return {
|
|
list: []
|
|
}
|
|
},
|
|
methods: {
|
|
getList() {
|
|
this.$http.post("/app/appgirdmemberinfo/queryMyGirdList").then(res => {
|
|
if (res?.data) {
|
|
this.list = res.data
|
|
}
|
|
})
|
|
},
|
|
},
|
|
onShow() {
|
|
this.getList()
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
.myGrids {
|
|
padding: 16px 100px 0 10px;
|
|
|
|
.item {
|
|
min-height: 120px;
|
|
font-size: 36px;
|
|
font-family: PingFangSC-Medium, PingFang SC;
|
|
font-weight: 500;
|
|
color: #333333;
|
|
border-bottom: 1px solid #E4E5E6;
|
|
|
|
& > img {
|
|
height: 74px;
|
|
width: 76px;
|
|
margin-left: 22px;
|
|
margin-right: 34px;
|
|
}
|
|
}
|
|
}
|
|
</style>
|