|
|
@@ -1,8 +1,8 @@
|
|
|
<template>
|
|
|
<view class="blacklist-box">
|
|
|
<en-nav title="黑名单" :title-color="'#333'" @navHeight="setNavHeight"></en-nav>
|
|
|
- <scroll-view class="blacklist-list" :scroll-y="true" :style="{'height':'calc(100% - '+navHeight+'rpx)'}">
|
|
|
- <view class="blacklist-item" v-for="i in 10">
|
|
|
+ <scroll-view class="blacklist-list" :scroll-y="true" :scroll-x="true" :style="{'height':'calc(100% - '+navHeight+'rpx)'}">
|
|
|
+ <view class="blacklist-item" v-for="i in 12">
|
|
|
<view class="blacklist-left">
|
|
|
<image class="blacklist-img" src="/static/img/temporary/4.png" mode="aspectFill"></image>
|
|
|
</view>
|
|
|
@@ -20,7 +20,6 @@
|
|
|
</view>
|
|
|
</view>
|
|
|
</scroll-view>
|
|
|
-
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
@@ -43,9 +42,15 @@ export default {
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
.blacklist-box{
|
|
|
- min-height: 100vh;
|
|
|
+ height: 100vh;
|
|
|
padding: 0 32rpx;
|
|
|
+ overflow-x: auto;
|
|
|
+ .blacklist-list{
|
|
|
+ width: calc(100vw - 64rpx);
|
|
|
+ }
|
|
|
+
|
|
|
.blacklist-item{
|
|
|
+ width: calc(100vw - 64rpx);
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
|
|
|
@@ -59,6 +64,7 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
.blacklist-right{
|
|
|
+
|
|
|
padding: 32rpx 0;
|
|
|
width: calc(100% - 124rpx);
|
|
|
border-bottom: 1rpx solid #F2F2F2;
|