地区组件修复

This commit is contained in:
aixianling
2022-03-21 18:06:43 +08:00
parent 60cf307fd2
commit 812f158732
2 changed files with 134 additions and 142 deletions

View File

@@ -30,11 +30,9 @@
<script> <script>
import {mapState} from "vuex"; import {mapState} from "vuex";
import AiEmpty from "../AiEmpty/AiEmpty";
export default { export default {
name: "selectArea", name: "selectArea",
components: {AiEmpty},
appName: "选择地区", appName: "选择地区",
computed: { computed: {
...mapState(['user']), ...mapState(['user']),

View File

@@ -1,7 +1,6 @@
<template> <template>
<div class="page">
<div class="supermarket"> <div class="supermarket">
<div class="fixed-top title" @click="$linkTo(`./system?areaName=${areaName}`)">{{ areaName }}积分超市管理制度点击查看 >> <div class="title" @click="$linkTo(`./system?areaName=${areaName}`)">{{ areaName }}积分超市管理制度点击查看 >>
</div> </div>
<div class="goods-list" v-if="numList.length" <div class="goods-list" v-if="numList.length"
:style="propAreaId == '341021104000' ? 'padding-top:80rpx' : 'padding-top: 0;'"> :style="propAreaId == '341021104000' ? 'padding-top:80rpx' : 'padding-top: 0;'">
@@ -52,7 +51,6 @@
</div> </div>
</div> </div>
</div> </div>
</div>
</template> </template>
<script> <script>
import {mapState} from 'vuex' import {mapState} from 'vuex'
@@ -323,16 +321,13 @@ export default {
} }
} }
.page { .supermarket {
width: 100%; min-height: 100vh;
background-color: #fff; background: #fff;
.supermarket {
height: 100%;
overflow-y: hidden; overflow-y: hidden;
.title { .title {
width: 100%; width: 100vw;
height: 80px; height: 80px;
line-height: 80px; line-height: 80px;
background: #EFF4FF; background: #EFF4FF;
@@ -440,6 +435,5 @@ export default {
} }
} }
} }
}
} }
</style> </style>