no message

This commit is contained in:
PC-202306242200\Administrator
2026-03-28 23:00:29 +08:00
commit 4d06351f6a
2830 changed files with 166480 additions and 0 deletions

View File

@@ -0,0 +1 @@
"use strict";const t=require("../../common/vendor.js"),e=require("../../common/assets.js"),a=require("../../api/api.js"),s=require("../../utils/fun.js"),o=require("../../store/index.js"),r={__name:"recharge",setup(r){let n=t.ref("");t.ref(""),t.onLoad((async t=>{if(n.value=t.transactionNo,t.type){let e=await a.realtimeInfo({transactionNo:t.transactionNo});o.store.commit("setDataObj",e)}}));const u=e=>{t.index.showModal({title:"提示",content:1==e?"是否确认结束充电?":"结束充电失败,请重试!",success:function(e){e.confirm?a.stopCharging({transactionNo:n.value}).then((e=>{t.index.showLoading({title:"停止充电中..."}),o.store.commit("setSokStatus",0),i(n.value)})):e.cancel&&console.log("用户点击取消")}})},i=e=>{setTimeout((async()=>{if(1!=o.store.state.sokStatus){let s=await a.ordersInfo({transactionNo:e});o.store.commit("setDataObj",s),3!=s.status&&4!=s.status||(t.index.hideLoading(),u(2)),5!=s.status&&6!=s.status||(t.index.hideLoading(),t.index.navigateBack(),o.store.commit("setSokStatus",0))}}),3e4)};return(a,r)=>({a:t.t(t.unref(o.store).state.dataObj.orderNo),b:e._imports_0$7,c:t.o((e=>t.unref(s.copy)(t.unref(o.store).state.dataObj.orderNo))),d:t.t(t.unref(o.store).state.dataObj.currentAmount||0),e:t.t(t.unref(o.store).state.dataObj.cumulativeTime||0),f:t.t(t.unref(o.store).state.dataObj.chargingDegree||0),g:t.t(t.unref(o.store).state.dataObj.cumulativeTime||0),h:t.t(t.unref(o.store).state.dataObj.currentAmount||0),i:t.t(t.unref(o.store).state.dataObj.outputVoltage||0),j:t.t(t.unref(o.store).state.dataObj.outputCurrent||0),k:t.t(t.unref(o.store).state.dataObj.power||0),l:t.t(t.unref(o.store).state.dataObj.gunNo),m:t.t(t.unref(o.store).state.dataObj.deviceNo||""),n:t.o((t=>u(1)))})}},n=t._export_sfc(r,[["__scopeId","data-v-3c0c9951"]]);wx.createPage(n);

View File

@@ -0,0 +1,6 @@
{
"navigationBarTitleText": "充电中",
"navigationBarBackgroundColor": "#000",
"navigationBarTextStyle": "white",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="recharge data-v-3c0c9951"><view class="recharge_orderId data-v-3c0c9951"><view class="data-v-3c0c9951"> 订单号:{{a}} <image class="data-v-3c0c9951" src="{{b}}" bindtap="{{c}}" mode="widthFix"></image></view></view><view class="recharge_trn data-v-3c0c9951"><view class="recharge_trn_yuan data-v-3c0c9951"><image class="recharge_trn_yuan_img data-v-3c0c9951" src="https://zhongshuai-prod.oss-cn-beijing.aliyuncs.com/appImage/order/bg_charging_turn.png" mode="widthFix"></image></view><image class="recharge_trn_hei data-v-3c0c9951" src="https://zhongshuai-prod.oss-cn-beijing.aliyuncs.com/appImage/order/order-charging-black-circle.png" mode="widthFix"></image><view class="recharge_trn_text data-v-3c0c9951"><view class="data-v-3c0c9951">¥{{d}}</view><view class="data-v-3c0c9951">已用时长</view><view class="data-v-3c0c9951">{{e}}min</view></view><view class="recharge_trn_car data-v-3c0c9951"><image class="recharge_trn_car_img data-v-3c0c9951" src="https://zhongshuai-prod.oss-cn-beijing.aliyuncs.com/appImage/order/order-real-time-car-bg.png" mode="widthFix"></image><image class="recharge_trn_car_img1 data-v-3c0c9951" src="https://zhongshuai-prod.oss-cn-beijing.aliyuncs.com/appImage/order/order-real-time-car-bg1.png" mode="widthFix"></image></view></view><view class="recharge_list p30 data-v-3c0c9951"><view class="recharge_list_view data-v-3c0c9951"><image class="data-v-3c0c9951" src="https://zhongshuai-prod.oss-cn-beijing.aliyuncs.com/appImage/order/order-real-time-charged-power.png" mode="widthFix"></image><view class="recharge_list_view_num data-v-3c0c9951">{{f}}</view><view class="recharge_list_view_name data-v-3c0c9951">已充电量(度)</view></view><view class="recharge_list_view data-v-3c0c9951"><image class="data-v-3c0c9951" src="https://zhongshuai-prod.oss-cn-beijing.aliyuncs.com/appImage/order/order-real-time-charged-time.png" mode="widthFix"></image><view class="recharge_list_view_num data-v-3c0c9951">{{g}}min</view><view class="recharge_list_view_name data-v-3c0c9951">已充时长</view></view><view class="recharge_list_view data-v-3c0c9951"><image class="data-v-3c0c9951" src="https://zhongshuai-prod.oss-cn-beijing.aliyuncs.com/appImage/order/order-real-time-charged-amount.png" mode="widthFix"></image><view class="recharge_list_view_num data-v-3c0c9951">{{h}}</view><view class="recharge_list_view_name data-v-3c0c9951">已充金额(元)</view></view></view><view class="recharge_block p30 data-v-3c0c9951"><view class="recharge_block_view data-v-3c0c9951"><view class="data-v-3c0c9951">{{i}}</view><view class="data-v-3c0c9951">实时电压(V)</view></view><view class="recharge_block_view data-v-3c0c9951"><view class="data-v-3c0c9951">{{j}}</view><view class="data-v-3c0c9951">实时电流(A)</view></view><view class="recharge_block_view data-v-3c0c9951"><view class="data-v-3c0c9951">{{k}}</view><view class="data-v-3c0c9951">实时功率(KW)</view></view></view><view class="recharge_note p30 data-v-3c0c9951"><view class="data-v-3c0c9951">终端名称:{{l}}</view><view class="data-v-3c0c9951">终端编码:{{m}}</view></view><view class="recharge_btn1 data-v-3c0c9951" bindtap="{{n}}">结束充电</view></view>

View File

@@ -0,0 +1 @@
page{background-color:#000}.recharge_orderId.data-v-3c0c9951{width:1000rpx;margin-left:-125rpx;margin-top:-20rpx;height:230rpx;background:url(https://zhongshuai-prod.oss-cn-beijing.aliyuncs.com/appImage/order/order-realtime-pile-number-bg.png) no-repeat 100% 100%/contain;color:#828282;text-align:center;padding-top:30rpx;font-size:26rpx}.recharge_orderId view.data-v-3c0c9951{display:flex;align-items:center;flex-direction:row;justify-content:center}.recharge_orderId view image.data-v-3c0c9951{width:30rpx;height:30rpx;margin-left:15rpx}.recharge_trn.data-v-3c0c9951{margin-top:-130rpx;display:flex;align-items:center;flex-direction:column;justify-content:center}.recharge_trn_yuan.data-v-3c0c9951{width:500rpx;height:500rpx;position:relative}.recharge_trn_yuan_img.data-v-3c0c9951{width:100%;height:100%;animation:rotate-3c0c9951 5s linear infinite}.recharge_trn_text.data-v-3c0c9951{z-index:9;display:flex;align-items:center;flex-direction:column;justify-content:center;margin-top:-470rpx}.recharge_trn_text view.data-v-3c0c9951:nth-child(1){color:#fff;font-weight:700;font-size:60rpx}.recharge_trn_text view.data-v-3c0c9951:nth-child(2){color:#11927c;font-size:28rpx;margin:25rpx 0 15rpx}.recharge_trn_text view.data-v-3c0c9951:nth-child(3){color:#24efe8;font-weight:700;font-size:36rpx;margin-bottom:30rpx}.recharge_trn_hei.data-v-3c0c9951{margin-top:-360rpx;width:500rpx;height:500rpx;z-index:9}.recharge_trn_car.data-v-3c0c9951{z-index:10;width:450rpx;position:relative}.recharge_trn_car_img.data-v-3c0c9951{position:absolute;top:0;left:0;width:100%;height:100%}.recharge_trn_car_img1.data-v-3c0c9951{width:100%;height:100%}.recharge_list.data-v-3c0c9951{display:flex;align-items:center;flex-direction:row;justify-content:space-between;padding:0 50rpx}.recharge_list_view.data-v-3c0c9951{display:flex;align-items:center;flex-direction:column;justify-content:center}.recharge_list_view image.data-v-3c0c9951{width:75rpx;height:75rpx}.recharge_list_view_num.data-v-3c0c9951{color:#fff;font-weight:700;font-size:36rpx;margin:10rpx 0}.recharge_list_view_name.data-v-3c0c9951{color:#8b8b8b;font-weight:700;font-size:28rpx}.recharge_block.data-v-3c0c9951{margin-top:50rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.recharge_block_view.data-v-3c0c9951{width:200rpx;padding:10rpx;border-radius:25rpx;background:linear-gradient(0deg,#0b1521,#193c65);font-size:28rpx;display:flex;align-items:center;flex-direction:column;justify-content:center}.recharge_block_view view.data-v-3c0c9951:nth-child(1){color:#fff}.recharge_block_view view.data-v-3c0c9951:nth-child(2){color:#8b98a0}.recharge_note.data-v-3c0c9951{margin-top:30rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between;color:#828282;font-size:24rpx}.recharge_btn1.data-v-3c0c9951{width:650rpx;height:100rpx;margin:0 auto;font-size:32rpx;font-weight:700;display:flex;align-items:center;flex-direction:row;justify-content:center;background-color:#1879fe;border-radius:50rpx;color:#fff;margin-top:150rpx}@keyframes rotate-3c0c9951{0%{transform:rotate(0)}to{transform:rotate(360deg)}}