修改样式

This commit is contained in:
2025-09-18 15:34:44 +08:00
parent b61f3287fb
commit aea85af0f9
8 changed files with 17 additions and 7 deletions

View File

@@ -5,7 +5,8 @@
"van-button": "@vant/weapp/button/index", "van-button": "@vant/weapp/button/index",
"van-icon": "@vant/weapp/icon/index", "van-icon": "@vant/weapp/icon/index",
"editModal": "./components/editModal/index", "editModal": "./components/editModal/index",
"pagination": "/components/pagination/index" "pagination": "/components/pagination/index",
"empty": "/components/empty/index"
}, },
"navigationStyle": "custom" "navigationStyle": "custom"
} }

View File

@@ -1,6 +1,5 @@
<!--pages/readingHistory/index.wxml--> <!--pages/readingHistory/index.wxml-->
<navigator title="历史抄表记录" canBack="{{true}}" /> <navigator title="历史抄表记录" canBack="{{true}}" />
{{id}}
<view class="wrapper"> <view class="wrapper">
<meterInfo meterInfo="{{meterInfo}}" /> <meterInfo meterInfo="{{meterInfo}}" />
<view class="historyTitle"> <view class="historyTitle">
@@ -41,7 +40,7 @@
<pagination currentIndex="{{page}}" totalPage="{{totalPage}}" bind:pagingChange="onChangePage" /> <pagination currentIndex="{{page}}" totalPage="{{totalPage}}" bind:pagingChange="onChangePage" />
</view> </view>
<empty bind:refresh="init" wx:else /> <empty bind:refresh="refresh" wx:else />
</view> </view>
</view> </view>

View File

@@ -5,7 +5,7 @@ Page({
* 页面的初始数据 * 页面的初始数据
*/ */
data: { data: {
active: 1 active: 0
}, },
/** /**

View File

@@ -31,3 +31,7 @@
justify-content: space-between; justify-content: space-between;
font-size: 30rpx; font-size: 30rpx;
} }
.wrapper > .title {
font-size: 32rpx;
}

View File

@@ -6,6 +6,7 @@
.title { .title {
margin-top: 20rpx; margin-top: 20rpx;
font-size: 32rpx;
} }
.meterListScrollView { .meterListScrollView {

View File

@@ -61,9 +61,9 @@
/> />
</view> </view>
</view> </view>
<view class="photo"> <!-- <view class="photo">
<photo /> <photo />
</view> </view> -->
</view> </view>
<view class="calc"> <view class="calc">
<view class="title"> <view class="title">

View File

@@ -65,6 +65,7 @@
font-size: 42rpx; font-size: 42rpx;
font-weight: 800; font-weight: 800;
margin-top: 12rpx; margin-top: 12rpx;
margin-bottom: 12rpx;
} }
.readingNumber .lastTime { .readingNumber .lastTime {
font-size: 32rpx; font-size: 32rpx;
@@ -87,6 +88,10 @@
flex: 1; flex: 1;
} }
.currentNumber .title {
margin-bottom: 24rpx;
}
.calc { .calc {
margin-top: 24rpx; margin-top: 24rpx;
} }

View File

@@ -26,7 +26,7 @@
{ {
"name": "pages/writeReading/index", "name": "pages/writeReading/index",
"pathName": "pages/writeReading/index", "pathName": "pages/writeReading/index",
"query": "id=PR00117566262804481", "query": "id=PR00118027286020097",
"launchMode": "default", "launchMode": "default",
"scene": null "scene": null
}, },