| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206 |
- <template>
- <view class="container">
- <view class="container_navbar">
- <view class="container_top">
-
- </view>
- <uni-nav-bar color="#222" :border="false" :shadow="false" :fixed="true"
- backgroundColor="rgba(255, 255, 255, 0.3)" shadow left-icon="left" title="经济测算" @clickLeft="onclickLeft" />
- </view>
-
- <view class="container_box">
- <view class="container_title">
- 项目测算!
- </view>
- <view class="container_Subtitle">
- 模拟运行投资回报
- </view>
- </view>
- <view class="calculation">
- <view class="calculation_box">
- <picker @columnchange="bindcolumn" @change="bindPickerChange" mode=multiSelector :value="index"
- :range="array" range-key="name">
- <view class="calculation_top">
- <view class="calculation_left">
- <text class="testbox"></text>选择地区
- </view>
- <view class="uni-input">{{array[0][index[0]].name}} | {{array[1][index[1]].name}}</view>
- </view>
-
- </picker>
- </view>
- <view class="calculation_type">
- <view class="calculation_electricity">
- <picker @change="bindelectricity" :value="categoryindex" range-key="name" :range="electricity">
- <view class="calculation_title">
- <view class="calculation_use">
- 用电类型
- </view>
- <text class="test"></text>
- </view>
- <view class="calculation_worker">
- {{electricity[categoryindex].name||'--'}}
- </view>
- </picker>
- </view>
-
- <view class="calculation_electricity1"></view>
- <view class="calculation_electricity">
- <picker @change="bindlevel" :value="levelindex" range-key="name" :range="voltage">
- <!-- <view class="uni-input">{{voltage[levelindex].levelname}}
- <icon :type="value" size="26" />
- <text class="test"></text>
- </view> -->
- <view class="calculation_title">
- <view class="calculation_use">
- 电压级别
- </view>
- <text class="test"></text>
- </view>
- <view class="calculation_worker">
- {{voltage[levelindex].name??'--'}}
- </view>
- </picker>
-
- </view>
- </view>
- <view class="calculation_type">
- <view class="calculation_strategy">
- 运行策略
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- <view class="custom-switch" :class="{ 'active': isActive }" @click="toggleSwitch">
- <text class="bg-text off">1充1放</text>
- <view class="switch-thumb">
- <text class="thumb-text">{{ isActive ? '2充2放' : '1充1放' }}</text>
- </view>
- <text class="bg-text on">2充2放</text>
- </view>
-
- </view>
- </view>
- </view>
- <view class="calculation_type">
- <view class="calculation_Days">
- <view class="calculation_strategy">
- 全年有限运行天数
- </view>
- <view class="calculation_capsule">
- 330天
- </view>
- </view>
-
- </view>
- <view class="calculation_type">
- <view class="installequipment">
- <!-- 装机功率 -->
- <view class="calculation_bottom">
- <view class="calculation_electricity">
- <view class="calculation_title1">
- <view class="calculation_use">
- <uni-easyinput class="uni-mt-5" trim="all" v-model="installvalue" clearSize="0"
- placeholder="装机功率"></uni-easyinput>
- </view>
- MW
- </view>
-
- </view>
- <view class="calculation_electricity2">
- </view>
- <view class="calculation_electricity">
-
- <view class="calculation_title1">
- <view class="calculation_use">
- <uni-easyinput class="uni-mt-5" trim="all" v-model="equipmentvalue" clearSize="0"
- placeholder="装机容量"></uni-easyinput>
- </view>
- MWh
- </view>
-
-
- </view>
- </view>
-
- </view>
- </view>
- </view>
-
- <view class="owner" v-if="nextstep">
- <view class="owner_type">
- <view class="owner_type1">
- <view class="calculation_strategy">
- 投资方式
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- <view class="custom-switch" :class="{ 'active': invest }" @click="investselect">
- <text class="bg-text off">业主自投</text>
- <view class="switch-thumb">
- <text class="thumb-text">{{ invest ? '资方合作' : '业主自投' }}</text>
- </view>
- <text class="bg-text on">资方合作</text>
- </view>
-
- </view>
- </view>
- </view>
- <view class="owner_type1" v-if="invest">
- <view class="calculation_strategy">
- 业主分成比例
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- <view class="owner_easyinput">
- <view class="calculation_use">
- <uni-easyinput class="uni-mt-5" trim="all" v-model="shareratiovalue" clearSize="0"
- placeholder="业主分成比例" @input="shareratio"></uni-easyinput>
- </view>
- %
- </view>
-
- </view>
- </view>
- </view>
- <view class="owner_type1">
- <view class="calculation_strategy">
- EPC单位造价
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- <view class="owner_easyinput">
- <view class="calculation_use">
- <uni-easyinput class="uni-mt-5" trim="all" v-model="unitcostvalue" clearSize="0"
- placeholder="EPC单位造价" @input="unitcost"></uni-easyinput>
- </view>
- 元/wh
- </view>
-
- </view>
- </view>
- </view>
- <view class="owner_type1">
- <view class="calculation_strategy">
- 是否小微企业
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- <view class="custom-switch" :class="{ 'active': enterprise }" @click="onenterprise">
- <text class="bg-text off">否</text>
- <view class="switch-thumb">
- <text class="thumb-text">{{ enterprise ? '是' : '否' }}</text>
- </view>
- <text class="bg-text on">是</text>
- </view>
-
- </view>
- </view>
- </view>
- <view class="owner_type1">
- <view class="calculation_strategy">
- 测算年份
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- <view class="custom-switch" :class="{ 'active': calculate }" @click="Calculateyear">
- <text class="bg-text off">10年</text>
- <view class="switch-thumb">
- <text class="thumb-text">{{ calculate ? '15年' : '10年' }}</text>
- </view>
- <text class="bg-text on">15年</text>
- </view>
-
- </view>
- </view>
- </view>
- <view class="owner_more" @click="clickfold">
- 更多信息 <text class="test" v-if="fold"></text> <text class="test" v-if="!fold"></text>
- </view>
- <view v-if="fold">
- <view class="owner_type1">
- <view class="calculation_strategy">
- 换电单位造价
- </view>
- <!-- <view class="calculation_capsule">
- <view class="switch-container">
- 111 元/Wh
- </view>
- </view> -->
-
- <view class="owner_easyinput">
- <view class="calculation_use">
- <uni-easyinput class="uni-mt-5" trim="all" v-model="Unitcost" clearSize="0"
- placeholder="请输入" @input="onUnitcost"></uni-easyinput>
- </view>
- 元/Wh
- </view>
- </view>
-
- <view class="owner_type1">
- <view class="calculation_strategy">
- 换电年份
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- 9 年
- </view>
- </view>
- </view>
-
- <view class="owner_type1">
- <view class="calculation_strategy">
- 维保单价
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- 0.015 元/Wh
- </view>
- </view>
- </view>
-
- <view class="owner_type1">
- <view class="calculation_strategy">
- 固定资产保险费率
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- 0.15 %
- </view>
- </view>
- </view>
-
- <view class="owner_type1">
- <view class="calculation_strategy">
- 充放电深度
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- <view class="owner_easyinput1">
- <view class="calculation_use">
- <uni-easyinput class="uni-mt-6" trim="all" v-model="ischargevalue" clearSize="0"
- placeholder="请输入" @input="chargeandd"></uni-easyinput>
- </view>
- %
- </view>
-
- </view>
- </view>
- </view>
-
- <view class="owner_type1">
- <view class="calculation_strategy">
- 充电效率
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- <view class="owner_easyinput1">
- <view class="calculation_use">
- <uni-easyinput class="uni-mt-6" trim="all" v-model="chargeevalue" clearSize="0"
- placeholder="请输入" @input="onchargeefficiency"></uni-easyinput>
- </view>
- %
- </view>
-
- </view>
- </view>
- </view>
- <view class="owner_type1">
- <view class="calculation_strategy">
- 放电效率
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- <view class="owner_easyinput1">
- <view class="calculation_use">
- <uni-easyinput class="uni-mt-6" trim="all" v-model="dischargevalue"
- clearSize="0" placeholder="请输入"
- @input="ondischargeefficiency"></uni-easyinput>
- </view>
- %
- </view>
-
- </view>
- </view>
- </view>
- <view class="owner_type1">
- <view class="calculation_strategy">
- 计划达成率
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- <view class="owner_easyinput1">
- <view class="calculation_use">
- <uni-easyinput class="uni-mt-6" trim="all" v-model="achievementvalue"
- clearSize="0" placeholder="请输入" @input="onachievementrate"></uni-easyinput>
- </view>
- %
- </view>
-
- </view>
- </view>
- </view>
- <view class="owner_type1">
- <view class="calculation_strategy">
- 折旧残值率
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- <view class="owner_easyinput1">
- <view class="calculation_use">
- <uni-easyinput class="uni-mt-6" trim="all" v-model="valueratio" clearSize="0"
- placeholder="请输入" @input="ondepreciation"></uni-easyinput>
- </view>
- %
- </view>
-
- </view>
- </view>
- </view>
-
- <view class="owner_type2">
- <view class="calculation_strategy">
- 折现率
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- <view class="owner_easyinput1">
- <view class="calculation_use">
- <uni-easyinput class="uni-mt-5" trim="all" v-model="discountvalue" clearSize="0"
- placeholder="请输入" @input="discountrate"></uni-easyinput>
- </view>
- %
- </view>
-
- </view>
- </view>
- </view>
-
-
- </view>
- </view>
- <view class="owner_type_box">
-
- <view class="owner_type2">
- <view class="calculation_strategy">
- 电价方式
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- <view class="custom-switch1" :class="{ 'active': pricing }" @click="pricingmethod">
- <text class="bg-text off">当前地区电价</text>
- <view class="switch-thumb1">
- <text class="thumb-text1">{{ pricing ? '自定义电价' : '当前地区电价' }}</text>
- </view>
- <text class="bg-text on">自定义电价</text>
- </view>
-
- </view>
- </view>
- </view>
- <view v-if="pricing">
-
- <view class="owner_type1">
- <view class="calculation_strategy">
- 谷时电价
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- <view class="owner_easyinput1">
- <view class="calculation_use">
- <uni-easyinput class="uni-mt-5" trim="all" v-model="valleytime" clearSize="0"
- placeholder="必填" @input="ontimesharing"></uni-easyinput>
- </view>
- 元/kwh
- </view>
-
- </view>
- </view>
- </view>
-
-
-
- <view class="owner_type1">
- <view class="calculation_strategy">
- 平时电价
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- <view class="owner_easyinput1">
- <view class="calculation_use">
- <uni-easyinput class="uni-mt-5" trim="all" v-model="regular" clearSize="0"
- placeholder="必填" @input="onregular"></uni-easyinput>
- </view>
- 元/kwh
- </view>
-
- </view>
- </view>
- </view>
-
- <view class="owner_type1">
- <view class="calculation_strategy">
- 高峰电价
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- <view class="owner_easyinput1">
- <view class="calculation_use">
- <uni-easyinput class="uni-mt-5" trim="all" v-model="Peakprice" clearSize="0"
- placeholder="必填" @input="onPeakprice"></uni-easyinput>
- </view>
- 元/kwh
- </view>
-
- </view>
- </view>
- </view>
- <view class="owner_more" @click="clicktimesharing">
- 更多信息 <text class="test" v-if="timesharing"></text> <text class="test"
- v-if="!timesharing"></text>
- </view>
- <view v-if="timesharing">
- <view class="owner_type1">
- <view class="calculation_strategy">
- 尖时电价
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- <view class="owner_easyinput1">
- <view class="calculation_use">
- <uni-easyinput class="uni-mt-5" trim="all" v-model="Sharpperiodvalue"
- clearSize="0" placeholder="请输入" @input="onsharpperiod"></uni-easyinput>
- </view>
- 元/kwh
- </view>
-
- </view>
- </view>
- </view>
- <view class="owner_type2">
- <view class="calculation_strategy">
- 深谷电价
- </view>
- <view class="calculation_capsule">
- <view class="switch-container">
- <view class="owner_easyinput1">
- <view class="calculation_use">
- <uni-easyinput class="uni-mt-5" trim="all" v-model="deepvalley" clearSize="0"
- placeholder="请输入" @input="ondeepvalley"></uni-easyinput>
- </view>
- 元/kwh
- </view>
-
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
- </view>
-
- <view class="buttonbottom">
- <view class="button_bottom" @click="clicknextstep" v-if="!nextstep">
- 下一步
- </view>
- <view class="button_bottom" v-else @click="onReport">
- 查看测算结果
- </view>
- </view>
- </view>
- </template>
- <!-- -->
- <script>
- import request from '@/utils/request';
- export default {
- data() {
- return {
- array: [],
- arrayname: [],
- index: [0, 0],
- isActive: false, // 运行策略 false 1充1放 true 2充2放
- invest: false, // 投资方式 false 业主自投 true 投资合作
- equipmentvalue: "", // 装机容量
- shareratiovalue: 10, // 业主分成比例
- unitcostvalue: 1.0, // EPC单位造价
- enterprise:true, // 是否小微企业
- calculate: true, // 测算年份
- Unitcost: 0.3, //换电单位造价
- ischargevalue: 100, //充放电深度
- chargeevalue: 92.5, // 充电效率
- dischargevalue: 93, // 放电效率
- achievementvalue: 95, // 计划达成率
- valueratio: 5, //折旧残值率
- discountvalue: 6, // 折旧率
- pricing: false, // 电价方式
- valleytime: "", // 谷时电价
- regular: "", // 平时电价
- Peakprice: "", // 峰时电价
- Sharpperiodvalue: "", // 尖期
- deepvalley: "", // 深谷
- categoryindex: 0,
- levelindex: 0,
- voltage: [],
- electricity: [],
- provinceid: "",
- installvalue: "",
- nextstep: false,
- fold: false,
- timesharing: false
- }
- },
- onLoad() {
- this.getselecteconomize()
- },
- methods: {
- // 查询省
- async getselecteconomize() {
- try {
- let data = {
- provinceId: this.provinceid
- }
- const response = await request({
- url: `/tdengineyuanshi/selecteconomize`,
- method: 'POST',
- data: data,
- header: {
- 'Content-Type': 'application/x-www-form-urlencoded'
- }
-
- });
- this.array[0] = response.data
- this.getselectmarket(this.array[0][this.index[0]].id)
- } catch (error) {
- console.error('登录失败:', error);
- }
- },
- // 查询市
- async getselectmarket(id) {
- try {
- let data = {
- id: id
- }
- const response = await request({
- url: `/tdengineyuanshi/selectmarket`,
- method: 'POST',
- data: data,
- header: {
- 'Content-Type': 'application/x-www-form-urlencoded'
- }
-
- });
- console.log(response.data);
- this.array[1] = response.data
- this.getselectElectricitycategory(this.array[1][this.index[1]].id)
- } catch (error) {
- console.error('登录失败:', error);
- }
- },
- // 查询用电类型
- async getselectElectricitycategory(id) {
-
- try {
- let data = {
- id: id
-
- }
- const response = await request({
- url: `/tdengineyuanshi/selectElectricitycategory`,
- method: 'POST',
- data: data,
- header: {
- 'Content-Type': 'application/x-www-form-urlencoded'
- }
-
- });
- console.log(response.data);
- this.electricity = response.data
- this.getselectlevel(this.electricity[this.categoryindex].id)
- } catch (error) {
- console.error('登录失败:', error);
- }
- }, // 查询用电类型
- async getselectlevel(id) {
- try {
- let data = {
- id: id
- }
- const response = await request({
- url: `/tdengineyuanshi/selectlevel`,
- method: 'POST',
- data: data,
- header: {
- 'Content-Type': 'application/x-www-form-urlencoded'
- }
-
- });
- console.log(response.data);
- this.voltage = response.data
- } catch (error) {
- console.error('登录失败:', error);
- }
- },
- bindcolumn(e) {
- if (e.detail.column == 0) {
- this.index[0] = e.detail.value
- console.log(e.detail.value);
- }
- },
- // 选择地区
- bindPickerChange(e) {
- console.log('picker发送选择改变,携带值为', e.detail.value)
- this.index = e.detail.value
- // this.getselectmarket(this.array[0][this.index[0]].id)
- },
-
- // 用户类型
- bindelectricity(e) {
- console.log('picker发送选择改变,携带值为', e.detail.value)
- this.categoryindex = e.detail.value
- // this.getselectlevel(this.electricity[e.detail.value].id)
-
- },
- // 电压级别
- bindlevel(e) {
- console.log(e);
-
- },
- // 运行策略
- toggleSwitch() {
- this.isActive = !this.isActive
- console.log('开关状态:', this.isActive)
- },
-
- // 装机功率
- easyinputinput(e) {
- console.log(e);
- },
- // 装机容量
- equipmentinput(e) {
- console.log(e);
- },
- // 下一步
- clicknextstep() {
- console.log(this.installvalue);
- console.log(this.equipmentvalue);
-
- if(this.installvalue==''||this.equipmentvalue==''){
- uni.showToast({
- title: '请填写完整信息',
- icon:'none',
- duration: 2000
- });
- }else{
- this.nextstep = !this.nextstep
- }
- },
- // 投资方式
- investselect() {
- this.invest = !this.invest
- console.log(this.invest);
- },
- // 业主分成比例
- shareratio(e) {
- console.log(e);
- },
- // EPC单位造价
- unitcost(e) {
- console.log(e);
- },
- // 是否小微企业
- onenterprise() {
- this.enterprise = !this.enterprise
- },
- // 测算年份
- Calculateyear() {
- this.calculate = !this.calculate
- },
- // 换电单位造价
- onUnitcost() {
-
- },
- // 充放电深度
- chargeandd() {
-
- },
- // 充电效率
- onchargeefficiency() {
-
- },
- // 放电效率
- ondischargeefficiency() {},
- // 计划达成率
- onachievementrate() {
-
- },
- // 折旧拆值率
- ondepreciation() {
-
- },
- // 折旧率
- discountrate() {
-
- },
- // 电价方式
- pricingmethod() {
- this.pricing = !this.pricing
- },
- // 谷时电价
- ontimesharing() {},
- // 平时电价
- onregular() {
-
- },
- // 高峰电价
- onPeakprice() {},
- // 更多消息
- clickfold() {
- this.fold = !this.fold
- },
- // 查看测算结果
- onReport() {
- uni.navigateTo({
- url: '/pages/report/index'
- })
- },
- // 电价更多消息
- clicktimesharing() {
- this.timesharing = !this.timesharing
- },
- // 尖期
- onsharpperiod() {},
- // 深谷
- ondeepvalley() {
-
- },
- onclickLeft() {
- uni.navigateBack({
- delta: 1 // 返回的页面数,默认为1
- });
- }
- }
- }
- </script>
-
- <style scoped>
- .uni-page {
- width: 100%;
- height: 100%;
- }
-
- /deep/ .uni-nav-bar-text {
- font-weight: 600;
- }
- .container_navbar{
- width: 100%;
- position: fixed;
- top: 0rpx;
- left: 0rpx;
- padding: 0rpx;
- }
- .container_top{
- width: 100%;
- height: 60rpx;
- background-color:rgba(255, 255, 255, 0.5);
- }
- .container {
- /* background-color: #f0f5f5; */
- box-sizing: border-box;
- display: flex;
- flex-direction: column;
- /* align-items: center; */
- background-image: url('https://esos-iot.bjdexn.cn/myminio/project/475a3a10bcf74300895b3dc82897237e.jpeg');
- background-size: 100% auto;
- background-repeat: no-repeat;
- padding-bottom: 140rpx;
- }
-
- .account_number {
- width: 100%;
- padding: 20rpx;
- display: flex;
- justify-content: center;
- box-sizing: border-box;
- }
-
-
- .toptabbar {
- width: 100%;
- padding: 10rpx 20rpx;
- box-sizing: border-box;
- }
-
- .container_box {
- height: 500rpx;
- color: #222;
- padding-top: 100rpx;
- box-sizing: border-box;
- display: flex;
- flex-direction: column;
- justify-content: center;
- background: linear-gradient(to bottom,
- rgba(255, 255, 255, 0),
- /* 完全透明 */
- rgba(255, 255, 255, 0.5),
- /* 完全透明 */
- rgba(255, 255, 255, 1)
- /* 80% 不透明 */
- );
- }
-
- .container_title {
- font-size: 62rpx;
- padding: 0rpx 20rpx;
- }
-
- .container_Subtitle {
- font-size: 60rpx;
- padding: 0rpx 20rpx;
- margin-top: 20rpx;
- }
-
- .calculation {
- margin-top: -40rpx;
- width: 100%;
- background-color: #fff;
- border-top-left-radius: 20rpx;
- border-top-right-radius: 20rpx;
- padding-top: 20rpx;
- padding: 20rpx 20rpx;
- box-sizing: border-box;
- }
-
- .calculation_box {
- width: 100%;
- height: 80rpx;
- border-radius: 100rpx;
- background-color: #f0f5f5;
- padding-right: 30rpx;
- display: flex;
- flex-direction: column;
- justify-content: center;
- box-sizing: border-box;
- }
-
- .calculation_top {
- width: 100%;
- height: 100%;
- font-size: 26rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
-
- .calculation_left {
- font-size: 28rpx;
- }
- .uni-input{
- font-size: 28rpx;
- }
- @font-face {
- font-family: 'iconfont';
- /* Project id 4935042 */
- src: url('//at.alicdn.com/t/c/font_4935042_1qob4kor3dt.woff2?t=1749628842617') format('woff2'),
- url('//at.alicdn.com/t/c/font_4935042_1qob4kor3dt.woff?t=1749628842617') format('woff'),
- url('//at.alicdn.com/t/c/font_4935042_1qob4kor3dt.ttf?t=1749628842617') format('truetype');
- /* src: url('@/font/iconfont.woff2?t=1748497918806') format('woff2'),
- url('@/font/iconfont.woff?t=1748497918806') format('woff'),
- url('@/font/iconfont.ttf?t=1748497918806') format('truetype'); */
- }
-
- .test {
- font-family: iconfont;
- margin-left: 16rpx;
- }
-
- .testbox {
- font-family: iconfont;
- margin-left: 32rpx;
- margin-right: 10rpx;
- }
-
- .calculation_type {
- width: 100%;
- border: #f0f5f5 1rpx solid;
- margin-top: 20rpx;
- border-radius: 8rpx;
- padding:18rpx 20rpx;
- box-sizing: border-box;
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
-
- .calculation_electricity {
- flex: 1;
- height: 100%;
- box-sizing: border-box;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- }
-
- .calculation_electricity1 {
- width: 1rpx;
- height: 80rpx;
- margin: 0rpx 15rpx;
- border-left: #f5f5f5 1rpx solid;
- }
-
- .calculation_title {
- font-size: 26rpx;
- color: #ccc;
- display: flex;
- justify-content: space-between;
- }
-
- .calculation_title1 {
- font-size: 26rpx;
- color: #ccc;
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
-
- .calculation_use {
- width: 100%;
- font-size: 26rpx;
- display: flex;
- justify-content: space-between;
- }
-
- .calculation_worker {
- font-size: 26rpx;
- font-weight: 400;
- color: #222;
- margin-top: 20rpx;
- }
-
- .calculation_strategy {
- font-size: 26rpx;
- color: #222;
- padding: 10rpx 0rpx;
- }
-
- .calculation_capsule {
- font-size: 26rpx;
- color: #222;
- padding: 10rpx 0rpx;
- }
-
- /* 胶囊容器 */
- .custom-switch {
- width: 250rpx;
- height: 60rpx;
- display: flex;
- align-items: center;
- justify-content: space-around;
- border-radius: 100rpx;
- /* 圆角胶囊 */
- background-color: #e0e0e0;
- /* 关闭时背景色 */
- position: relative;
- transition: background-color 0.3s;
- }
-
- /* 开启状态 */
- .custom-switch.active {
- background-color: #e0e0e0;
- /* 开启时背景色 */
- }
-
- /* 滑块 */
- .switch-thumb {
- width: 127rpx;
- height: 56rpx;
- border-radius: 100rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- background-color: white;
- position: absolute;
- left: 2rpx;
- top: 2rpx;
- transition: transform 0.3s;
- }
-
- /* 滑块开启状态 */
- .custom-switch.active .switch-thumb {
- transform: translateX(118rpx);
- /* 向右移动 */
- }
-
- .installequipment {
- width: 100%;
- height: 80rpx;
- display: flex;
- align-items: center;
- flex-direction: column;
- justify-content: space-between;
- }
-
- .calculation_bottom {
- width: 100%;
- /* margin-top: 20rpx; */
- display: flex;
- justify-content: space-between;
- }
-
- .calculation_electricity2 {
- width: 20rpx;
- }
-
- .uni-mt-5 {
- width: 100%;
- }
-
- /deep/ .is-input-border {
- border: 0rpx solid #fff !important;
- }
-
- .buttonbottom {
- width: 100%;
- height: 140rpx;
- padding-top: 20rpx;
- box-sizing: border-box;
- display: flex;
- justify-content: center;
- position: fixed;
- bottom: 0rpx;
- left: 0rpx;
- background-color: #ffffff;
- }
-
- .button_bottom {
- width: 80%;
- height: 80rpx;
- background-color: #222;
- border-radius: 100rpx;
- color: #fff;
- display: flex;
- align-items: center;
- justify-content: center;
- }
-
- .calculation_Days {
- width: 100%;
- height: 80rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
-
- .owner {
- width: 100%;
- padding: 0rpx 20rpx 20rpx 20rpx;
- box-sizing: border-box;
- background-color: #fff;
- }
-
- .owner_type {
- width: 100%;
- padding:0rpx 20rpx 20rpx 20rpx;
- border: #f0f5f5 1rpx solid;
- border-radius: 10rpx;
- box-sizing: border-box;
- }
-
- .owner_type_box {
- width: 100%;
- padding: 20rpx;
- border: #f0f5f5 1rpx solid;
- padding: 20rpx;
- border-radius: 10rpx;
- box-sizing: border-box;
- margin-top: 20rpx;
- }
-
- .owner_type1 {
- width: 100%;
- height: 100rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- border-bottom: #f0f5f5 1rpx solid;
- }
-
- .owner_type2 {
- width: 100%;
- height: 100rpx;
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
-
- .owner_easyinput {
- width: 240rpx;
- font-size: 26rpx;
- display: flex;
- align-items: center;
- }
-
- .owner_easyinput1 {
- width: 240rpx;
- display: flex;
- align-items: center;
- }
-
- .owner_more {
- font-size: 24rpx;
- color: #ccc;
- margin-top: 20rpx;
- }
-
- /* 电价方式胶囊容器 */
- .custom-switch1 {
- width: 440rpx;
- height: 60rpx;
- display: flex;
- align-items: center;
- justify-content: space-around;
- border-radius: 100rpx;
- /* 圆角胶囊 */
- background-color: #e0e0e0;
- /* 关闭时背景色 */
- position: relative;
- transition: background-color 0.3s;
- }
-
- /* 开启状态 */
- .custom-switch1.active1 {
- background-color: #e0e0e0;
- /* 开启时背景色 */
- }
-
- /* 滑块 */
- .switch-thumb1 {
- width: 224rpx;
- height: 56rpx;
- border-radius: 100rpx;
- display: flex;
- align-items: center;
- justify-content: center;
- background-color: white;
- position: absolute;
- left: 2rpx;
- top: 2rpx;
- transition: transform 0.3s;
- }
-
- /* 滑块开启状态 */
- .custom-switch1.active .switch-thumb1 {
- transform: translateX(212rpx);
- /* 向右移动 */
- }
- .uni-easyinput{
- text-align: right;
- padding-right: 10rpx;
- }
- .content-clear-icon{
- padding: 0rpx;
- }
- </style>
- <!--
-
- -->
-
-
|