修改样式
This commit is contained in:
@@ -23,7 +23,7 @@ Page({
|
||||
const { page, list } = this.data;
|
||||
const { code, data, message } = await getBillList(page)
|
||||
if (!data?.length) {
|
||||
alertInfo("没用更多了")
|
||||
alertInfo("没有更多了")
|
||||
return;
|
||||
}
|
||||
this.setData({
|
||||
|
@@ -1,7 +1,8 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"navigator": "/components/navigator/index",
|
||||
"van-icon": "@vant/weapp/icon/index"
|
||||
"van-icon": "@vant/weapp/icon/index",
|
||||
"empty": "/components/empty/index"
|
||||
},
|
||||
"navigationStyle": "custom"
|
||||
}
|
@@ -1,8 +1,12 @@
|
||||
<!--pages/billList/index.wxml-->
|
||||
<navigator title="电费账单" canBack="{{true}}" />
|
||||
|
||||
<view class="itemWrapper" wx:for="{{list}}" wx:key="index">
|
||||
<van-icon name="balance-list-o" />
|
||||
<view class="time"> {{ item.time }} </view>
|
||||
<view class="operate" bind:tap="jumpToDetail" data-id="{{item.id}}"> 查看详细 </view>
|
||||
<view wx:if="{{!list.length}}">
|
||||
<empty bind:refresh="init" />
|
||||
</view>
|
||||
<view wx:else>
|
||||
<view class="itemWrapper" wx:for="{{list}}" wx:key="index">
|
||||
<van-icon name="balance-list-o" />
|
||||
<view class="time"> {{ item.time }} </view>
|
||||
<view class="operate" bind:tap="jumpToDetail" data-id="{{item.id}}"> 查看详细 </view>
|
||||
</view>
|
||||
</view>
|
Reference in New Issue
Block a user