第一次提交

This commit is contained in:
dt_2916866708
2024-02-28 17:26:46 +08:00
commit f756390529
991 changed files with 126914 additions and 0 deletions

View File

@@ -0,0 +1 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["ChargingStation/pages/periodPrice/index"],{"039a":function(t,n,e){},"0a8e":function(t,n,e){"use strict";(function(t,n){var i=e("4ea4");e("9773");i(e("66fd"));var a=i(e("cdd9"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(a.default)}).call(this,e("bc2e")["default"],e("543d")["createPage"])},"0ff4":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var i={components:{qiunDataCharts:function(){Promise.all([e.e("common/vendor"),e.e("ChargingStation/components/qiun-data-charts/components/qiun-data-charts/qiun-data-charts")]).then(function(){return resolve(e("17b9"))}.bind(null,e)).catch(e.oe)}},data:function(){return{priceList:[],Line:null,now:""}},onLoad:function(t){var n=this;t.priceList&&(this.priceList=JSON.parse(t.priceList).map((function(t){return t.totalFee=n.tool.getnum(t.totalFee,3),t})),this.lineInit()),t.now&&(this.now=t.now)},methods:{lineInit:function(){var t=this.priceList.map((function(t){return t.startTime})),n=this.priceList.map((function(t){return t.totalFee}));this.Line={categories:t,series:[{name:"金额",data:n}]}},scrolltolower:function(){t.showToast({title:"到底了",icon:"none"})}}};n.default=i}).call(this,e("543d")["default"])},"6f28":function(t,n,e){"use strict";var i=e("039a"),a=e.n(i);a.a},bbaf:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return a})),e.d(n,"a",(function(){}));var i=function(){var t=this,n=t.$createElement,e=(t._self._c,t.priceList.length),i=e>2?{enableScroll:!0,extra:{area:{type:"curve",addLine:!0,gradient:!0}},xAxis:{itemCount:5,scrollShow:!0},fontColor:"#000000"}:null,a=t.__map(t.priceList,(function(n,e){var i=t.__get_orig(n),a=t.tool.getnum(n.electricityFee,3),o=t.tool.getnum(n.serviceFee,3);return{$orig:i,g1:a,g2:o}}));t.$mp.data=Object.assign({},{$root:{g0:e,a0:i,l0:a}})},a=[]},cdd9:function(t,n,e){"use strict";e.r(n);var i=e("bbaf"),a=e("df6f");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("6f28");var r=e("f0c5"),c=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"6abb6d89",null,!1,i["a"],void 0);n["default"]=c.exports},df6f:function(t,n,e){"use strict";e.r(n);var i=e("0ff4"),a=e.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);n["default"]=a.a}},[["0a8e","common/runtime","common/vendor"]]]);

View File

@@ -0,0 +1,8 @@
{
"navigationBarBackgroundColor": "#FFFFFF",
"navigationBarTitleText": "价格详情",
"enablePullDownRefresh": false,
"usingComponents": {
"qiun-data-charts": "/ChargingStation/components/qiun-data-charts/components/qiun-data-charts/qiun-data-charts"
}
}

View File

@@ -0,0 +1 @@
<view class="periodPrice_body data-v-6abb6d89"><block wx:if="{{$root.g0>2}}"><scroll-view style="width:100%;height:380rpx;" scroll-x="true" class="data-v-6abb6d89"><qiun-data-charts vue-id="15250b10-1" ontouch="{{true}}" canvas2d="{{true}}" canvasId="canvasIdt" inScrollView="true" type="area" opts="{{$root.a0}}" chartData="{{Line}}" class="data-v-6abb6d89" bind:__l="__l"></qiun-data-charts></scroll-view></block><view style="flex:1;overflow:hidden;" class="data-v-6abb6d89"><scroll-view style="height:100%;" scroll-y="true" data-event-opts="{{[['scrolltolower',[['scrolltolower',['$event']]]]]}}" bindscrolltolower="__e" class="data-v-6abb6d89"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="periodPrice_item data-v-6abb6d89"><view class="periodPrice_item_top flex data-v-6abb6d89"><view class=" periodPrice_item_top_label oneflex data-v-6abb6d89">{{''+item.$orig.startTime+"-"+item.$orig.endTime+' \n\n\n'}}<block wx:if="{{item.$orig.startTime+' - '+item.$orig.endTime==now}}"><text class="data-v-6abb6d89">(当前时间段)</text></block></view><view class="periodPrice_item_top_value data-v-6abb6d89">{{"¥"+item.$orig.totalFee+"/度"}}</view></view><view class="periodPrice_item_bottom data-v-6abb6d89"><text class="data-v-6abb6d89">电费:<text class="blue data-v-6abb6d89">{{item.g1+"元/度"}}</text></text><text style="margin-left:19rpx;" class="data-v-6abb6d89">服务费:<text class="blue data-v-6abb6d89">{{item.g2+"元/度"}}</text></text></view></view></block></scroll-view></view></view>

View File

@@ -0,0 +1 @@
.periodPrice_body.data-v-6abb6d89{width:100vw;height:100vh;overflow:hidden;box-sizing:border-box;padding:0 30rpx;display:flex;flex-direction:column}.periodPrice_body .periodPrice_item.data-v-6abb6d89{width:100%;border-bottom:solid 1px #ededed;padding:46rpx 0;box-sizing:border-box}.periodPrice_body .periodPrice_item .blue.data-v-6abb6d89{color:#476ffa}.periodPrice_body .periodPrice_item .periodPrice_item_bottom.data-v-6abb6d89{color:rgba(0,0,0,.85);font-size:24rpx}.periodPrice_body .periodPrice_item .periodPrice_item_top.data-v-6abb6d89{margin-bottom:14rpx}.periodPrice_body .periodPrice_item .periodPrice_item_top .periodPrice_item_top_value.data-v-6abb6d89{font-weight:600;color:#121836;font-size:30rpx}.periodPrice_body .periodPrice_item .periodPrice_item_top .periodPrice_item_top_label.data-v-6abb6d89{font-size:28rpx;color:rgba(0,0,0,.85)}