提交 e1ade78c 编写于 作者: fxy060608's avatar fxy060608

Update long-list-page.uvue

上级 dc62e9f8
...@@ -2,10 +2,10 @@ ...@@ -2,10 +2,10 @@
<list-view ref="listView" class="list" :rebound="false" :scroll-y="true" :custom-nested-scroll="true" <list-view ref="listView" class="list" :rebound="false" :scroll-y="true" :custom-nested-scroll="true"
@scrolltolower="loadData(null)"> @scrolltolower="loadData(null)">
<list-item class="list-item" v-for="(item, _) in dataList" :key="item.plugin_id"> <list-item class="list-item" v-for="(item, _) in dataList" :key="item.plugin_id">
<view class="list-item-icon"> <view class="list-item-icon" v-if="item.plugin_id!=-1">
<image class="list-item-icon-image" :src="item.plugin_img_link"></image> <image class="list-item-icon-image" :src="item.plugin_img_link"></image>
</view> </view>
<view class="list-item-fill"> <view class="list-item-fill" v-if="item.plugin_id!=-1">
<view class="flex-row"> <view class="flex-row">
<text class="title">{{item.plugin_name}}</text> <text class="title">{{item.plugin_name}}</text>
</view> </view>
...@@ -254,11 +254,12 @@ ...@@ -254,11 +254,12 @@
} }
.loading { .loading {
position: absolute; /* position: absolute;
left: 0; left: 0;
top: 0; top: 0;
right: 0; right: 0;
bottom: 0; bottom: 0; */
flex:1;
background-color: #f8f8f8; background-color: #f8f8f8;
margin-bottom: 1px; margin-bottom: 1px;
justify-content: center; justify-content: center;
...@@ -268,4 +269,4 @@ ...@@ -268,4 +269,4 @@
padding: 20px; padding: 20px;
text-align: center; text-align: center;
} }
</style> </style>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册