准备联调抄表记录
This commit is contained in:
		@@ -1,24 +1,23 @@
 | 
			
		||||
// pages/electricQuery/components/accountingCard/index.js
 | 
			
		||||
Component({
 | 
			
		||||
    /**
 | 
			
		||||
     * 组件的属性列表
 | 
			
		||||
     */
 | 
			
		||||
    properties: {
 | 
			
		||||
        data: Object
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * 组件的属性列表
 | 
			
		||||
   */
 | 
			
		||||
  properties: {
 | 
			
		||||
    data: Object
 | 
			
		||||
  },
 | 
			
		||||
    /**
 | 
			
		||||
     * 组件的初始数据
 | 
			
		||||
     */
 | 
			
		||||
    data: {
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * 组件的初始数据
 | 
			
		||||
   */
 | 
			
		||||
  data: {
 | 
			
		||||
    },
 | 
			
		||||
 | 
			
		||||
  },
 | 
			
		||||
    /**
 | 
			
		||||
     * 组件的方法列表
 | 
			
		||||
     */
 | 
			
		||||
    methods: {
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * 组件的方法列表
 | 
			
		||||
   */
 | 
			
		||||
  methods: {
 | 
			
		||||
 | 
			
		||||
  }
 | 
			
		||||
    }
 | 
			
		||||
})
 | 
			
		||||
@@ -1,33 +1,86 @@
 | 
			
		||||
<!--pages/electricQuery/components/accountingCard/index.wxml-->
 | 
			
		||||
<view class="wrapper">
 | 
			
		||||
  <view class="title">
 | 
			
		||||
    {{data.meter.address}}
 | 
			
		||||
  </view>
 | 
			
		||||
  <van-row>
 | 
			
		||||
    <van-col span="6">
 | 
			
		||||
      <view class="tableTitle"> 初始余额 </view>
 | 
			
		||||
    </van-col>
 | 
			
		||||
    <van-col span="7">
 | 
			
		||||
      <view class="tableTitle"> 储值累计金额 </view>
 | 
			
		||||
    </van-col>
 | 
			
		||||
    <van-col span="5">
 | 
			
		||||
      <view class="tableTitle"> 电费 </view>
 | 
			
		||||
    </van-col>
 | 
			
		||||
    <van-col span="6">
 | 
			
		||||
      <view class="tableTitle"> 账务余额 </view>
 | 
			
		||||
    </van-col>
 | 
			
		||||
    <van-col span="6">
 | 
			
		||||
      <view class="tableContent"> {{data.startMoney}}  </view>
 | 
			
		||||
    </van-col>
 | 
			
		||||
    <van-col span="7">
 | 
			
		||||
      <view class="tableContent">  {{data.rechargeMoney}} </view>
 | 
			
		||||
    </van-col>
 | 
			
		||||
    <van-col span="5">
 | 
			
		||||
      <view class="tableContent">  {{data.electricMoney}} </view>
 | 
			
		||||
    </van-col>
 | 
			
		||||
    <van-col span="6">
 | 
			
		||||
      <view class="tableContent">  {{data.currentMoney}} </view>
 | 
			
		||||
    </van-col>
 | 
			
		||||
  </van-row>
 | 
			
		||||
    <view class="title">
 | 
			
		||||
        <span>{{data.meter.address}}</span>
 | 
			
		||||
        <span style="font-size: 30rpx; margin-left: 100rpx;">电表编号:{{data.meter.sn}}</span>
 | 
			
		||||
    </view>
 | 
			
		||||
    <van-row>
 | 
			
		||||
        <view class="table-header" style="border-bottom: 2rpx solid #000; ">
 | 
			
		||||
            <view class="table-header-row">
 | 
			
		||||
                <text class="table-header-cell">类目</text>
 | 
			
		||||
                <text class="table-header-cell">金额</text>
 | 
			
		||||
                <text class="table-header-cell">更新时间</text>
 | 
			
		||||
            </view>
 | 
			
		||||
        </view>
 | 
			
		||||
    </van-row>
 | 
			
		||||
 | 
			
		||||
    <view style="border-bottom: 2rpx solid rgba(12, 236, 188, 0.26); ">
 | 
			
		||||
        <van-row>
 | 
			
		||||
            <van-col span="7">
 | 
			
		||||
                <view class="tableTitle"> 初始余额 </view>
 | 
			
		||||
            </van-col>
 | 
			
		||||
            <van-col span="10">
 | 
			
		||||
                <view class="tableContent"> {{data.startMoney}} </view>
 | 
			
		||||
            </van-col>
 | 
			
		||||
            <van-col span="7">
 | 
			
		||||
                <view calss="tableContent"> {{data.updateStartMoneyAt || '--'}} </view>
 | 
			
		||||
            </van-col>
 | 
			
		||||
        </van-row>
 | 
			
		||||
    </view>
 | 
			
		||||
 | 
			
		||||
    <view style="border-bottom: 2rpx solid rgba(12, 236, 188, 0.26); ">
 | 
			
		||||
        <van-row>
 | 
			
		||||
            <van-col span="7">
 | 
			
		||||
                <view class="tableTitle"> 累计充值金额 </view>
 | 
			
		||||
            </van-col>
 | 
			
		||||
            <van-col span="10">
 | 
			
		||||
                <view class="tableContent"> {{data.rechargeMoney}} </view>
 | 
			
		||||
            </van-col>
 | 
			
		||||
            <van-col span="7">
 | 
			
		||||
                <view calss="tableContent"> {{data.updateRechargeMoneyAt || '--'}} </view>
 | 
			
		||||
            </van-col>
 | 
			
		||||
        </van-row>
 | 
			
		||||
    </view>
 | 
			
		||||
 | 
			
		||||
    <view style="border-bottom: 2rpx solid rgba(12, 236, 188, 0.26); ">
 | 
			
		||||
        <van-row>
 | 
			
		||||
            <van-col span="7">
 | 
			
		||||
                <view class="tableTitle"> 电费 </view>
 | 
			
		||||
            </van-col>
 | 
			
		||||
            <van-col span="10">
 | 
			
		||||
                <view class="tableContent"> {{data.electricMoney}} </view>
 | 
			
		||||
            </van-col>
 | 
			
		||||
            <van-col span="7">
 | 
			
		||||
                <view calss="tableContent"> {{data.updateElectricMoneyAt  || '--'}} </view>
 | 
			
		||||
            </van-col>
 | 
			
		||||
        </van-row>
 | 
			
		||||
    </view>
 | 
			
		||||
 | 
			
		||||
    <view style="border-bottom: 2rpx solid rgba(12, 236, 188, 0.26); ">
 | 
			
		||||
        <van-row>
 | 
			
		||||
            <van-col span="7">
 | 
			
		||||
                <view class="tableTitle"> 账务余额 </view>
 | 
			
		||||
            </van-col>
 | 
			
		||||
            <van-col span="10">
 | 
			
		||||
                <view class="tableContent"> {{data.accountMoney}} </view>
 | 
			
		||||
            </van-col>
 | 
			
		||||
            <van-col span="7">
 | 
			
		||||
                <view calss="tableContent"> {{data.updateAccountMoneyAt  || '--'}} </view>
 | 
			
		||||
            </van-col>
 | 
			
		||||
        </van-row>
 | 
			
		||||
    </view>
 | 
			
		||||
 | 
			
		||||
    <view style="border-bottom: 2rpx solid rgba(12, 236, 188, 0.26); ">
 | 
			
		||||
        <van-row>
 | 
			
		||||
            <van-col span="7">
 | 
			
		||||
                <view class="tableTitle"> 电表余额 </view>
 | 
			
		||||
            </van-col>
 | 
			
		||||
            <van-col span="10">
 | 
			
		||||
                <view class="tableContent"> {{data.meterMoney}} </view>
 | 
			
		||||
            </van-col>
 | 
			
		||||
            <van-col span="7">
 | 
			
		||||
                <view calss="tableContent"> {{data.updateMeterMoneyAt  || '--'}} </view>
 | 
			
		||||
            </van-col>
 | 
			
		||||
        </van-row>
 | 
			
		||||
    </view>
 | 
			
		||||
</view>
 | 
			
		||||
@@ -17,8 +17,25 @@
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
.tableContent {
 | 
			
		||||
  margin-top: 10rpx;
 | 
			
		||||
  margin-top: 25rpx;
 | 
			
		||||
  margin-bottom: 20rpx;
 | 
			
		||||
  text-align: center;
 | 
			
		||||
  font-size: 32rpx;
 | 
			
		||||
}
 | 
			
		||||
}
 | 
			
		||||
.table-header {
 | 
			
		||||
    display: flex;
 | 
			
		||||
    width: 100%;
 | 
			
		||||
    background-color: #f5f5f5;
 | 
			
		||||
    border-bottom: 1rpx solid #eaeaea;
 | 
			
		||||
  }
 | 
			
		||||
  .table-header-row {
 | 
			
		||||
    display: flex;
 | 
			
		||||
    width: 100%;
 | 
			
		||||
  }
 | 
			
		||||
  .table-header-cell {
 | 
			
		||||
    flex: 1;
 | 
			
		||||
    text-align: center;
 | 
			
		||||
    padding: 20rpx 0;
 | 
			
		||||
    font-size: 25rpx;
 | 
			
		||||
    color: #333;
 | 
			
		||||
  }
 | 
			
		||||
							
								
								
									
										128
									
								
								childPackage/pages/electricQuery/components/reading/index.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										128
									
								
								childPackage/pages/electricQuery/components/reading/index.js
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,128 @@
 | 
			
		||||
// childPackage/pages/electricQuery/components/reading/index.js
 | 
			
		||||
import { exportElectricityList, getAccountingList, getElectricityList, getMeterReadingList } from "../../../../../service/accounting";
 | 
			
		||||
import { getTenementMeterList } from "../../../../../service/meter";
 | 
			
		||||
import dayjs from "../../../../../utils/dayjs";
 | 
			
		||||
import { getParkInfoByTime } from "../../../../../service/park";
 | 
			
		||||
import request from '../../../../../utils/request';
 | 
			
		||||
import { alertInfo, getPixelRatio, loadingFunc } from "../../../../../utils/index";
 | 
			
		||||
const { OK } = request;
 | 
			
		||||
Component({
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * 组件的属性列表
 | 
			
		||||
   */
 | 
			
		||||
  properties: {
 | 
			
		||||
    meter: String,
 | 
			
		||||
    parkInfo: Object,
 | 
			
		||||
  },
 | 
			
		||||
  observers: {
 | 
			
		||||
    'meter': function() {
 | 
			
		||||
      loadingFunc(async () => {
 | 
			
		||||
        await this.getReadingList();
 | 
			
		||||
      })
 | 
			
		||||
    },
 | 
			
		||||
    "parkInfo": function(newValue) {
 | 
			
		||||
      this.setData({ park: newValue })
 | 
			
		||||
    }
 | 
			
		||||
  },
 | 
			
		||||
  /**
 | 
			
		||||
   * 组件的初始数据
 | 
			
		||||
   */
 | 
			
		||||
  data: {
 | 
			
		||||
    readingDetailShow: false,
 | 
			
		||||
    readingDetail: {},
 | 
			
		||||
    park: {},
 | 
			
		||||
    meterReadingHeader: [
 | 
			
		||||
      { key: 'address', title: '电表地址', renderBody: (item) => item.meter?.address },
 | 
			
		||||
      { title: '倍率', key: 'ratio' },
 | 
			
		||||
      { key: 'number', title: '当前表字' },
 | 
			
		||||
    ],
 | 
			
		||||
    meterReadingList: [],
 | 
			
		||||
    yearMonthDayReading: dayjs().format("YYYY-MM-DD"),
 | 
			
		||||
    yearMonthDayReadingStamp: new Date().getTime(),
 | 
			
		||||
    readingPage: 1,
 | 
			
		||||
  },
 | 
			
		||||
 | 
			
		||||
  /**
 | 
			
		||||
   * 组件的方法列表
 | 
			
		||||
   */
 | 
			
		||||
  methods: {
 | 
			
		||||
    clickReadingTime() {
 | 
			
		||||
      this.setData({
 | 
			
		||||
        readingVisible: true
 | 
			
		||||
      })
 | 
			
		||||
    },
 | 
			
		||||
    async getReadingList() {
 | 
			
		||||
      const { meter, yearMonthDayReading, readingPage } = this.data;
 | 
			
		||||
      const { code, message, data, total } = await getMeterReadingList({
 | 
			
		||||
        id: meter,
 | 
			
		||||
        time: yearMonthDayReading,
 | 
			
		||||
        page: readingPage
 | 
			
		||||
      })
 | 
			
		||||
      if (code !== OK) {
 | 
			
		||||
        alertInfo(message)
 | 
			
		||||
        return;
 | 
			
		||||
      }
 | 
			
		||||
      this.setData({ meterReadingList: data, totalPage: Math.ceil(total / 20) })
 | 
			
		||||
    },
 | 
			
		||||
    onReadingTimeClose() {
 | 
			
		||||
      this.setData({ readingVisible: false })
 | 
			
		||||
    },
 | 
			
		||||
    onReadingTimeCancel() {
 | 
			
		||||
      this.setData({ readingVisible: false })
 | 
			
		||||
    },
 | 
			
		||||
    onReadingTimeConfirm(e) {
 | 
			
		||||
      const { time } = e.detail;
 | 
			
		||||
      
 | 
			
		||||
      this.setData({ 
 | 
			
		||||
        yearMonthDayReading: time, 
 | 
			
		||||
        yearMonthDayReadingStamp: new Date(time).getTime(),
 | 
			
		||||
        readingVisible: false,
 | 
			
		||||
        readingPage: 1,
 | 
			
		||||
      }, () => {
 | 
			
		||||
        loadingFunc(async () => {
 | 
			
		||||
          await this.getParkInfo(time)
 | 
			
		||||
          await this.getReadingList();
 | 
			
		||||
        })
 | 
			
		||||
      })
 | 
			
		||||
         
 | 
			
		||||
    },
 | 
			
		||||
    async getParkInfo(time) {
 | 
			
		||||
      const park = wx.getStorageSync('park');
 | 
			
		||||
      const { park:parkInfo, code, message } = await getParkInfoByTime(park?.id,  `${time}`, `${0}`,)
 | 
			
		||||
      if (code !== OK) {
 | 
			
		||||
        alertInfo(message)
 | 
			
		||||
        return;
 | 
			
		||||
      }
 | 
			
		||||
      const that = this;
 | 
			
		||||
      return new Promise((resolve) => {
 | 
			
		||||
       
 | 
			
		||||
        that.setData({
 | 
			
		||||
          parkInfo: parkInfo
 | 
			
		||||
        }, () => {
 | 
			
		||||
          resolve()
 | 
			
		||||
        })
 | 
			
		||||
      })
 | 
			
		||||
  
 | 
			
		||||
      
 | 
			
		||||
    },
 | 
			
		||||
    showDetail(e) {
 | 
			
		||||
      const { index, data = {} } = e.detail;
 | 
			
		||||
      this.setData({
 | 
			
		||||
        readingDetailShow: true,
 | 
			
		||||
        readingDetail: data || {}
 | 
			
		||||
      })
 | 
			
		||||
    },
 | 
			
		||||
    async onChangePage(e) {
 | 
			
		||||
      const page = e.detail.currentIndex;
 | 
			
		||||
      const that = this;
 | 
			
		||||
      this.setData({
 | 
			
		||||
        readingPage: page
 | 
			
		||||
      }, () => {
 | 
			
		||||
        loadingFunc(async () => {
 | 
			
		||||
          await that.getReadingList();
 | 
			
		||||
        })
 | 
			
		||||
      })
 | 
			
		||||
    },
 | 
			
		||||
  }
 | 
			
		||||
})
 | 
			
		||||
@@ -0,0 +1,13 @@
 | 
			
		||||
{
 | 
			
		||||
  "component": true,
 | 
			
		||||
  "usingComponents": {
 | 
			
		||||
    "custom-picker": "/components/picker/index",
 | 
			
		||||
    "table": "/components/table/table",
 | 
			
		||||
    "empty": "/components/empty/index",
 | 
			
		||||
    "timePicker": "/components/timePicker/index",
 | 
			
		||||
    "pagination": "/components/pagination/index",
 | 
			
		||||
    "van-dialog": "@vant/weapp/dialog/index",
 | 
			
		||||
    "van-field": "@vant/weapp/field/index",
 | 
			
		||||
    "van-icon": "@vant/weapp/icon/index"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										150
									
								
								childPackage/pages/electricQuery/components/reading/index.wxml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										150
									
								
								childPackage/pages/electricQuery/components/reading/index.wxml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,150 @@
 | 
			
		||||
<!--childPackage/pages/electricQuery/components/reading/index.wxml-->
 | 
			
		||||
<view style="margin-left: 30rpx;">
 | 
			
		||||
    <view class="timeChooseWrapper">
 | 
			
		||||
        <view> 选择时间 </view>
 | 
			
		||||
        <view class="time" bind:tap="clickReadingTime">
 | 
			
		||||
            <view class="timeText"> {{yearMonthDayReading}} </view>
 | 
			
		||||
            <van-icon name="arrow-down" />
 | 
			
		||||
        </view>
 | 
			
		||||
    </view>
 | 
			
		||||
</view>
 | 
			
		||||
<view style="margin: 30rpx;">
 | 
			
		||||
    <view wx:if="{{meterReadingList.length}}">
 | 
			
		||||
        <table 
 | 
			
		||||
          header="{{meterReadingHeader}}" 
 | 
			
		||||
          list="{{meterReadingList}}" 
 | 
			
		||||
          bind:onClick="showDetail"
 | 
			
		||||
        />
 | 
			
		||||
        <pagination 
 | 
			
		||||
            currentIndex="{{readingPage}}" 
 | 
			
		||||
            totalPage="{{totalPage}}" 
 | 
			
		||||
            bind:pagingChange="onChangePage"  
 | 
			
		||||
        />
 | 
			
		||||
    </view>
 | 
			
		||||
      
 | 
			
		||||
    <empty bind:refresh="getReadingList" wx:else />
 | 
			
		||||
</view>
 | 
			
		||||
 | 
			
		||||
<timePicker 
 | 
			
		||||
  type="day" 
 | 
			
		||||
  day="{{yearMonthDayReadingStamp}}" 
 | 
			
		||||
  show="{{readingVisible}}" 
 | 
			
		||||
  bind:cancel="onReadingTimeCancel" 
 | 
			
		||||
  bind:close="onReadingTimeClose" 
 | 
			
		||||
  bind:confirm="onReadingTimeConfirm" 
 | 
			
		||||
/>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
<van-dialog
 | 
			
		||||
  use-slot
 | 
			
		||||
  title="抄表记录详情"
 | 
			
		||||
  show="{{ readingDetailShow }}"
 | 
			
		||||
  bind:close="onClose"
 | 
			
		||||
>
 | 
			
		||||
  <view style="margin-top: 10px;">
 | 
			
		||||
    <van-cell-group>
 | 
			
		||||
      <van-field
 | 
			
		||||
        value="{{ readingDetail.meter.address }}"
 | 
			
		||||
        border="{{ false }}"
 | 
			
		||||
        label="地址"
 | 
			
		||||
        readonly
 | 
			
		||||
      />
 | 
			
		||||
      <van-field
 | 
			
		||||
        value="{{ readingDetail.meter.sn }}(SN)"
 | 
			
		||||
        border="{{ false }}"
 | 
			
		||||
        label="编号"
 | 
			
		||||
        readonly
 | 
			
		||||
      />
 | 
			
		||||
 | 
			
		||||
      <van-field
 | 
			
		||||
        value="{{ readingDetail.readAt }}"
 | 
			
		||||
        border="{{ false }}"
 | 
			
		||||
        label="时间"
 | 
			
		||||
        readonly
 | 
			
		||||
      />
 | 
			
		||||
 | 
			
		||||
      <van-field
 | 
			
		||||
        value="{{ readingDetail.ratio }}"
 | 
			
		||||
        border="{{ false }}"
 | 
			
		||||
        label="倍率"
 | 
			
		||||
        readonly
 | 
			
		||||
      />
 | 
			
		||||
     
 | 
			
		||||
      <van-field
 | 
			
		||||
        value="{{ readingDetail.number }}"
 | 
			
		||||
        border="{{ false }}"
 | 
			
		||||
        label="当前表字(总)"
 | 
			
		||||
        readonly
 | 
			
		||||
      />
 | 
			
		||||
 | 
			
		||||
      <van-field
 | 
			
		||||
        value="{{ readingDetail.overall }}"
 | 
			
		||||
        border="{{ false }}"
 | 
			
		||||
        label="总用电量"
 | 
			
		||||
        readonly
 | 
			
		||||
      />
 | 
			
		||||
     
 | 
			
		||||
      <van-field
 | 
			
		||||
        value="{{ readingDetail.sharp }}"
 | 
			
		||||
        border="{{ false }}"
 | 
			
		||||
        label="当前表字(尖)"
 | 
			
		||||
        readonly
 | 
			
		||||
        wx:if="{{park.meter04kvType === 1|| park.meter04kvType === 2}}"
 | 
			
		||||
      />
 | 
			
		||||
      <van-field
 | 
			
		||||
        value="{{ readingDetail.sharpAmount }}"
 | 
			
		||||
        border="{{ false }}"
 | 
			
		||||
        label="尖用电量"
 | 
			
		||||
        readonly
 | 
			
		||||
        wx:if="{{park.meter04kvType === 1|| park.meter04kvType === 2}}"
 | 
			
		||||
      />
 | 
			
		||||
 | 
			
		||||
      <van-field
 | 
			
		||||
        value="{{ readingDetail.peak }}"
 | 
			
		||||
        border="{{ false }}"
 | 
			
		||||
        label="当前表字(峰)"
 | 
			
		||||
        readonly
 | 
			
		||||
        wx:if="{{park.meter04kvType === 1 || park.meter04kvType === 2}}"
 | 
			
		||||
      />
 | 
			
		||||
      <van-field
 | 
			
		||||
        value="{{ readingDetail.peakAmount }}"
 | 
			
		||||
        border="{{ false }}"
 | 
			
		||||
        label="峰用电量"
 | 
			
		||||
        readonly
 | 
			
		||||
        wx:if="{{park.meter04kvType === 1|| park.meter04kvType === 2}}"
 | 
			
		||||
      />
 | 
			
		||||
 | 
			
		||||
      <van-field
 | 
			
		||||
        value="{{ readingDetail.flat }}"
 | 
			
		||||
        border="{{ false }}"
 | 
			
		||||
        label="当前表字(平)"
 | 
			
		||||
        readonly
 | 
			
		||||
        wx:if="{{park.meter04kvType === 1|| park.meter04kvType === 2}}"
 | 
			
		||||
      />
 | 
			
		||||
      <van-field
 | 
			
		||||
        value="{{ readingDetail.flatAmount }}"
 | 
			
		||||
        border="{{ false }}"
 | 
			
		||||
        label="平用电量"
 | 
			
		||||
        readonly
 | 
			
		||||
        wx:if="{{park.meter04kvType === 1|| park.meter04kvType === 2}}"
 | 
			
		||||
      />
 | 
			
		||||
 | 
			
		||||
      <van-field
 | 
			
		||||
        value="{{ readingDetail.valley }}"
 | 
			
		||||
        border="{{ false }}"
 | 
			
		||||
        label="当前表字(谷)"
 | 
			
		||||
        readonly
 | 
			
		||||
        wx:if="{{park.meter04kvType === 1|| park.meter04kvType === 2}}"
 | 
			
		||||
      />
 | 
			
		||||
      <van-field
 | 
			
		||||
        value="{{ readingDetail.valleyAmount }}"
 | 
			
		||||
        border="{{ false }}"
 | 
			
		||||
        label="谷用电量"
 | 
			
		||||
        readonly
 | 
			
		||||
        wx:if="{{park.meter04kvType === 1|| park.meter04kvType === 2}}"
 | 
			
		||||
      />
 | 
			
		||||
      <view class="text">上次抄表记录起,至现在时间内的用电量</view>
 | 
			
		||||
    </van-cell-group>
 | 
			
		||||
  
 | 
			
		||||
  </view>
 | 
			
		||||
</van-dialog>
 | 
			
		||||
							
								
								
									
										102
									
								
								childPackage/pages/electricQuery/components/reading/index.wxss
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										102
									
								
								childPackage/pages/electricQuery/components/reading/index.wxss
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,102 @@
 | 
			
		||||
/* childPackage/pages/electricQuery/components/reading/index.wxss */
 | 
			
		||||
 | 
			
		||||
/* pages/electricQuery/index.wxss */
 | 
			
		||||
page {
 | 
			
		||||
    background-color: var(--transparent-green);
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  .queryWrapper {
 | 
			
		||||
    margin: 20rpx 0rpx;
 | 
			
		||||
    background-color: #fff;
 | 
			
		||||
    padding:15rpx 20rpx;
 | 
			
		||||
    box-sizing: border-box;
 | 
			
		||||
    border-radius: 20rpx;
 | 
			
		||||
    display: flex;
 | 
			
		||||
    align-items: center;
 | 
			
		||||
    font-size: 32rpx;
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  .label {
 | 
			
		||||
    width: 180rpx;
 | 
			
		||||
    font-size: 32rpx;
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  .sum {
 | 
			
		||||
    margin-bottom: 30rpx;
 | 
			
		||||
    margin-left: 30rpx;
 | 
			
		||||
    margin-right: 30rpx;
 | 
			
		||||
    padding-bottom: 50rpx;
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  .query {
 | 
			
		||||
    margin: 20rpx 0rpx;
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  .typeQueryText {
 | 
			
		||||
    text-align: center;
 | 
			
		||||
    padding: 20rpx;
 | 
			
		||||
    background-color: var(--light-green);
 | 
			
		||||
    font-size: 32rpx;
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  .select {
 | 
			
		||||
    border: 1rpx solid #ccc;
 | 
			
		||||
    padding: 12rpx;
 | 
			
		||||
    border-radius: 12rpx;
 | 
			
		||||
    flex: 1;
 | 
			
		||||
    display: flex;
 | 
			
		||||
    justify-content: space-between;
 | 
			
		||||
    font-size: 30rpx;
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  .timeQueryText {
 | 
			
		||||
    text-align: center;
 | 
			
		||||
    padding: 20rpx;
 | 
			
		||||
    background-color: rgb(242,248,246);
 | 
			
		||||
    font-size: 30rpx;
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  .wrapper {
 | 
			
		||||
    margin-left: 30rpx;
 | 
			
		||||
    margin-right: 30rpx;
 | 
			
		||||
    padding: 0;
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  .tooltip {
 | 
			
		||||
    margin: 20rpx 0;
 | 
			
		||||
    font-size: 28rpx;
 | 
			
		||||
    color: rgb(97, 93, 93);
 | 
			
		||||
  }
 | 
			
		||||
  .timeChooseWrapper {
 | 
			
		||||
    display: flex;
 | 
			
		||||
    align-items: center;
 | 
			
		||||
    font-size: 30rpx;
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  .time {
 | 
			
		||||
    flex: 1;
 | 
			
		||||
    margin-left: 30rpx;
 | 
			
		||||
    margin-right: 30rpx;
 | 
			
		||||
    display: flex;
 | 
			
		||||
    padding: 10rpx 20rpx;
 | 
			
		||||
    border-radius: 12rpx;
 | 
			
		||||
    border: 1rpx solid #ccc;
 | 
			
		||||
    background-color: #fff;
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  .timeText {
 | 
			
		||||
    flex: 1;
 | 
			
		||||
  }
 | 
			
		||||
  
 | 
			
		||||
  .mychart-bar::after{
 | 
			
		||||
    content:"";   
 | 
			
		||||
    display:block; 
 | 
			
		||||
    clear:both
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  .text{
 | 
			
		||||
    font-size: 28rpx;
 | 
			
		||||
    color: #999999;
 | 
			
		||||
    margin: 10rpx 0;
 | 
			
		||||
    text-align: center;
 | 
			
		||||
  }
 | 
			
		||||
		Reference in New Issue
	
	Block a user