d第一次提交

This commit is contained in:
dt_2916866708
2024-02-28 17:34:03 +08:00
commit 0689cf2677
1234 changed files with 144804 additions and 0 deletions

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"station-item": "/components/stationItem/stationItem"
}
}

View File

@@ -0,0 +1 @@
<view class="ChargingStationMap_body data-v-45f7f06c"><map class="ChargingStationMap data-v-45f7f06c" scale="{{10}}" circles="{{circles}}" show-location="{{true}}" id="map_Id" markers="{{markers}}" latitude="{{location.latitude}}" longitude="{{location.longitude}}" data-event-opts="{{[['tap',[['mapTap',['$event']]]],['callouttap',[['callouttap',['$event']]]],['regionchange',[['regionchange',['$event']]]],['markertap',[['markertap',['$event']]]]]}}" bindtap="__e" bindcallouttap="__e" bindregionchange="__e" bindmarkertap="__e"><cover-view slot="callout" class="data-v-45f7f06c"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block class="data-v-45f7f06c"><cover-view class="customCallout data-v-45f7f06c" marker-id="{{item.$orig.id}}"><cover-image class="customCallout_img data-v-45f7f06c" src="../../static/customCallout.png"></cover-image><cover-view class="data-v-45f7f06c"></cover-view><cover-view class="content flex column data-v-45f7f06c"><cover-view class="flex data-v-45f7f06c" style="width:100%;"><cover-view class="content_label data-v-45f7f06c">{{'闲 '+item.$orig.idleNum+''}}</cover-view><cover-view class="oneflex flex jc ac data-v-45f7f06c" style="text-align:center;line-height:26rpx;padding-top:10rpx;">{{'¥'+item.g0}}</cover-view></cover-view><cover-view class="content_value flex oneflex ac data-v-45f7f06c"><cover-view class="content_value_price oneflex data-v-45f7f06c">{{'快 '+item.$orig.fastNum+''}}</cover-view><cover-view class="content_value_price oneflex data-v-45f7f06c">{{'慢\n\t\t\t\t\t\t\t\t'+item.$orig.slowNum}}</cover-view></cover-view></cover-view></cover-view></block></block></cover-view></map><block wx:if="{{stationData}}"><station-item style="position:absolute;bottom:50rpx;left:0;right:0;margin:0 auto;" vue-id="41c6f762-1" data="{{stationData}}" class="data-v-45f7f06c" bind:__l="__l"></station-item></block></view>

View File

@@ -0,0 +1 @@
.ChargingStationMap_body.data-v-45f7f06c{width:100%;height:100%;position:relative}.ChargingStationMap_body .ChargingStationMap.data-v-45f7f06c{width:100%;height:100%}.customCallout.data-v-45f7f06c{width:218rpx;height:108rpx;font-size:22rpx;position:relative;padding:10rpx;box-sizing:border-box}.customCallout .triangle.data-v-45f7f06c{width:42rpx;height:42rpx;background-color:#000;position:absolute;left:0;right:0;margin:0 auto;transition:rotate(180deg)}.customCallout .content.data-v-45f7f06c{width:100%;height:87rpx;border-radius:10rpx}.customCallout .content .content_value.data-v-45f7f06c{padding:0 20rpx;box-sizing:border-box}.customCallout .content .content_value .content_value_price.data-v-45f7f06c{color:#000;font-size:22rpx}.customCallout .content .content_label.data-v-45f7f06c{width:89rpx;padding:5rpx 5rpx;height:-webkit-fit-content;height:fit-content;background:#476ffa;border-radius:10rpx 60rpx 60rpx 0rpx;opacity:1;color:#fff;font-size:26rpx}.customCallout .customCallout_img.data-v-45f7f06c{z-index:-1;width:220rpx;height:108rpx;position:absolute;left:0;right:0}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/orderItem/orderItem"],{"03ba":function(t,r,e){"use strict";e.r(r);var a=e("1d00"),n=e.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(r,t,(function(){return a[t]}))}(o);r["default"]=n.a},"1a59":function(t,r,e){},"1d00":function(t,r,e){"use strict";(function(t){Object.defineProperty(r,"__esModule",{value:!0}),r.default=void 0;var e={name:"orderItem",props:{orderData:{type:Object,default:function(){return null}},listIndex:{type:Number,default:0}},data:function(){return{}},filters:{orderStatus:function(t){switch(Number(t)){case 1:return"启动中";case 2:return"充电中";case 3:return"停止中";case 4:return"已结束";default:return"数据错误"}}},methods:{goDetails:function(){2==this.orderData.orderStatus||3==this.orderData.orderStatus?t.navigateTo({url:"/Order/pages/charging/index?id=".concat(this.orderData.id)}):t.navigateTo({url:"/Order/pages/index/index?id=".concat(this.orderData.id)})}}};r.default=e}).call(this,e("543d")["default"])},"92c1":function(t,r,e){"use strict";e.d(r,"b",(function(){return a})),e.d(r,"c",(function(){return n})),e.d(r,"a",(function(){}));var a=function(){var t=this,r=t.$createElement,e=(t._self._c,t.orderData?t._f("orderStatus")(t.orderData.orderStatus):null),a=t.orderData&&4==t.orderData.orderStatus?t.tool.getnum(t.orderData.payMoneyAcc,3):null,n=t.orderData&&4!=t.orderData.orderStatus?t.tool.getnum(t.orderData.payMoneyPre,3):null;t.$mp.data=Object.assign({},{$root:{f0:e,g0:a,g1:n}})},n=[]},9721:function(t,r,e){"use strict";e.r(r);var a=e("92c1"),n=e("03ba");for(var o in n)["default"].indexOf(o)<0&&function(t){e.d(r,t,(function(){return n[t]}))}(o);e("b604");var u=e("f0c5"),d=Object(u["a"])(n["default"],a["b"],a["c"],!1,null,"7c84acb2",null,!1,a["a"],void 0);r["default"]=d.exports},b604:function(t,r,e){"use strict";var a=e("1a59"),n=e.n(a);n.a}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/orderItem/orderItem-create-component',
{
'components/orderItem/orderItem-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("9721"))
})
},
[['components/orderItem/orderItem-create-component']]
]);

View File

@@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@@ -0,0 +1 @@
<block wx:if="{{orderData}}"><view data-event-opts="{{[['tap',[['goDetails',['$event']]]]]}}" class="{{['data-v-7c84acb2',orderData.orderStatus==2?'orderItem charging ':'orderItem ']}}" bindtap="__e"><view class="orderItem_header flex data-v-7c84acb2"><view class="orderItem_header_number oneflex data-v-7c84acb2">{{orderData.id}}</view><view class="orderItem_header_type data-v-7c84acb2">{{''+$root.f0+''}}</view></view><view class="orderItem_bottom data-v-7c84acb2"><view class=" flex ac data-v-7c84acb2"><view class=" orderItem_bottom_name oneflex data-v-7c84acb2">{{orderData.stationName}}</view><view class="orderItem_bottom_price data-v-7c84acb2">{{'¥'+(orderData.orderStatus==4?$root.g0:$root.g1)+''}}</view></view><view class="orderItem_bottom_time data-v-7c84acb2">{{orderData.startTime}}</view></view></view></block>

View File

@@ -0,0 +1 @@
.orderItem.data-v-7c84acb2{font-family:PingFang SC-Medium,PingFang SC;width:691rpx;min-height:183rpx;background:#fff;border-radius:10rpx 10rpx 10rpx 10rpx;opacity:1;margin:0 auto;margin-top:28rpx;box-shadow:0rpx 2rpx 6rpx 0rpx rgba(0,0,0,.08);box-sizing:border-box;padding:30rpx 24rpx}.orderItem .orderItem_header.data-v-7c84acb2{border-bottom:1rpx solid #f1f2f7;padding-bottom:19rpx;margin-bottom:19rpx}.orderItem .orderItem_header .orderItem_header_number.data-v-7c84acb2{font-size:22rpx;color:#666}.orderItem .orderItem_header .orderItem_header_type.data-v-7c84acb2{color:#36658d;font-size:28rpx}.orderItem .orderItem_bottom .orderItem_bottom_time.data-v-7c84acb2{color:#666;font-size:24rpx}.orderItem .orderItem_bottom .orderItem_bottom_price.data-v-7c84acb2{font-size:38rpx;color:#ea0000}.orderItem .orderItem_bottom .orderItem_bottom_name.data-v-7c84acb2{color:#000;font-size:30rpx}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/stationItem/stationItem"],{2029:function(t,n,a){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a={name:"stationItem",props:{data:{type:Object,default:function(){}}},data:function(){return{}},created:function(){console.log(this.data.tags,"data.tags")},methods:{goDetails:function(){var n=this.data,a=(n.stationLng,n.stationLat,n.id),i=n.tags,e=t.getStorageSync("location")||{longitude:116.38,latitude:39.9};t.navigateTo({url:"/ChargingStation/pages/index/index?data=".concat(JSON.stringify({stationLng:e.longitude,stationLat:e.latitude,id:a,tags:i}))})}}};n.default=a}).call(this,a("543d")["default"])},6815:function(t,n,a){"use strict";a.r(n);var i=a("d873"),e=a("ceff");for(var o in e)["default"].indexOf(o)<0&&function(t){a.d(n,t,(function(){return e[t]}))}(o);a("aa2d");var u=a("f0c5"),c=Object(u["a"])(e["default"],i["b"],i["c"],!1,null,"57e7cd7c",null,!1,i["a"],void 0);n["default"]=c.exports},aa2d:function(t,n,a){"use strict";var i=a("b95c"),e=a.n(i);e.a},b95c:function(t,n,a){},ceff:function(t,n,a){"use strict";a.r(n);var i=a("2029"),e=a.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){a.d(n,t,(function(){return i[t]}))}(o);n["default"]=e.a},d873:function(t,n,a){"use strict";a.d(n,"b",(function(){return e})),a.d(n,"c",(function(){return o})),a.d(n,"a",(function(){return i}));var i={uniIcons:function(){return Promise.all([a.e("common/vendor"),a.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(a.bind(null,"e4f7"))}},e=function(){var t=this.$createElement,n=(this._self._c,this.data?this.tool.getnum(this.data.unitPrice,3):null);this.$mp.data=Object.assign({},{$root:{g0:n}})},o=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/stationItem/stationItem-create-component',
{
'components/stationItem/stationItem-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("6815"))
})
},
[['components/stationItem/stationItem-create-component']]
]);

View File

@@ -0,0 +1,6 @@
{
"usingComponents": {
"uni-icons": "/uni_modules/uni-icons/components/uni-icons/uni-icons"
},
"component": true
}

View File

@@ -0,0 +1 @@
<block wx:if="{{data}}"><view data-event-opts="{{[['tap',[['goDetails',['$event']]]]]}}" class="stationItem data-v-57e7cd7c" bindtap="__e"><view class="stationItem_top data-v-57e7cd7c"><view class="stationItem_top_title data-v-57e7cd7c">{{data.name}}</view><view class="flex ac data-v-57e7cd7c"><view class=" stationItem_top_label_container oneflex flex data-v-57e7cd7c"><block wx:for="{{data.tags}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="stationItem_top_label data-v-57e7cd7c" style="{{'background:'+(item.color)+';'}}">{{''+item.label}}</view></block></view><view class="stationItem_distance flex data-v-57e7cd7c"><uni-icons style="margin-right:10rpx;" vue-id="39abb5b2-1" type="paperplane-filled" color="#121836" size="15" class="data-v-57e7cd7c" bind:__l="__l"></uni-icons>{{''+data.distance+'KM'}}</view></view></view><view class="stationItem_bottom data-v-57e7cd7c"><view class="is_stop_row flex ac data-v-57e7cd7c"><image style="width:35rpx;height:40rpx;" src="../../static/stop.png" class="data-v-57e7cd7c"></image>{{''+data.parkFee+''}}</view><view class=" flex data-v-57e7cd7c"><view class="stationItem_bottom_label_container oneflex flex data-v-57e7cd7c"><view class="stationItem_bottom_label flex ac data-v-57e7cd7c"><view class="stationItem_bottom_label_logo flex ac jc data-v-57e7cd7c">快</view><text class="data-v-57e7cd7c">{{data.fastChargingIdleRatio}}</text></view><view class="stationItem_bottom_label flex ac data-v-57e7cd7c"><view class="stationItem_bottom_label_logo flex ac jc data-v-57e7cd7c" style="border:2rpx solid #36658DFF;color:#36658DFF;">慢</view><text class="data-v-57e7cd7c">{{data.slowChargingIdleRatio}}</text></view><view class="stationItem_bottom_label flex ac data-v-57e7cd7c"><view class="stationItem_bottom_label_logo flex ac jc data-v-57e7cd7c" style="border:2rpx solid #F67A22FF;color:#F67A22FF;">其他</view><text class="flex data-v-57e7cd7c">{{data.otherIdleRatio+''}}</text></view></view><view class="stationItem_bottom_price data-v-57e7cd7c">{{"¥"+$root.g0+"/度"}}</view></view></view></view></block>

View File

@@ -0,0 +1 @@
.stationItem_bottom_label.data-v-57e7cd7c{margin-right:15rpx}.stationItem_bottom_label.data-v-57e7cd7c:last-child{margin-right:0}.stationItem_bottom_label text.data-v-57e7cd7c{font-size:24rpx;color:#000}.stationItem_bottom_label_logo.data-v-57e7cd7c{padding:2rpx 8rpx;opacity:1;border:2rpx solid #48b8ba;border-radius:30rpx;font-size:20rpx;color:#48b8ba;margin-right:8rpx}.stationItem_bottom_price.data-v-57e7cd7c{font-size:32rpx;color:#121836}.is_stop_row.data-v-57e7cd7c{font-size:24rpx;color:#cacaca;margin-bottom:18rpx}.is_stop_row image.data-v-57e7cd7c{margin-right:14rpx}.stationItem_bottom.data-v-57e7cd7c{margin-top:30rpx}.stationItem_address.data-v-57e7cd7c{font-size:24rpx;color:#cacaca}.stationItem_distance.data-v-57e7cd7c{font-size:24rpx;color:#121836}.stationItem_top_label_container.data-v-57e7cd7c{margin-top:10rpx}.stationItem_top_label.data-v-57e7cd7c{font-size:22rpx;color:#fff;padding:5rpx 17rpx;border-radius:20rpx 20rpx 20rpx 20rpx;margin-right:12rpx}.stationItem_top_title.data-v-57e7cd7c{font-size:30rpx;font-weight:400;color:#000}.stationItem.data-v-57e7cd7c{position:relative;width:690rpx;margin:0 auto;min-height:234rpx;background:#fff;box-shadow:0rpx 2rpx 6rpx 0rpx rgba(0,0,0,.08);border-radius:15rpx 15rpx 15rpx 15rpx;margin-top:60rpx;padding:25rpx 30rpx;box-sizing:border-box!important}

View File

@@ -0,0 +1,10 @@
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/tabBar/tabBar"],{"0dbb":function(e,t,n){},"473a":function(e,t,n){"use strict";n.r(t);var a=n("ab2c"),c=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(o);t["default"]=c.a},"6d3e":function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return c})),n.d(t,"a",(function(){}));var a=function(){var e=this.$createElement;this._self._c},c=[]},"71bb":function(e,t,n){"use strict";var a=n("0dbb"),c=n.n(a);c.a},"78d6":function(e,t,n){"use strict";n.r(t);var a=n("6d3e"),c=n("473a");for(var o in c)["default"].indexOf(o)<0&&function(e){n.d(t,e,(function(){return c[e]}))}(o);n("71bb");var r=n("f0c5"),u=Object(r["a"])(c["default"],a["b"],a["c"],!1,null,"4d18757e",null,!1,a["a"],void 0);t["default"]=u.exports},ab2c:function(e,t,n){"use strict";(function(e){var a=n("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=a(n("2eee")),o=a(n("c973")),r=(a(n("2303")),{name:"tabBar",props:{value:{type:Number,default:0}},data:function(){return{tabBarList:[{selectIndex:0,iconPath:n("fa27"),selectedIconPath:n("10a4"),text:"首页"},{selectIndex:1,iconPath:n("df93"),selectedIconPath:n("8b28"),text:"电站"},{selectIndex:2,iconPath:n("84c2"),selectedIconPath:n("84c2"),text:" "},{selectIndex:3,iconPath:n("f0c0"),selectedIconPath:n("a61a"),text:"订单"},{selectIndex:4,iconPath:n("7da0"),selectedIconPath:n("f072"),text:"我的"}]}},created:function(){console.log(this.tool)},methods:{scanCode:function(){var t=this;return(0,o.default)(c.default.mark((function n(){var a;return c.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:return n.next=2,t.tool.scanCode();case 2:a=n.sent,a.result&&e.navigateTo({url:"/ChargingStation/pages/placeOrder/index?type=qrCode&id=".concat(a.result)});case 4:case"end":return n.stop()}}),n)})))()},selectFn:function(e,t){this.$emit("input",e.selectIndex)}}});t.default=r}).call(this,n("543d")["default"])}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'components/tabBar/tabBar-create-component',
{
'components/tabBar/tabBar-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('543d')['createComponent'](__webpack_require__("78d6"))
})
},
[['components/tabBar/tabBar-create-component']]
]);

View File

@@ -0,0 +1,4 @@
{
"usingComponents": {},
"component": true
}

View File

@@ -0,0 +1 @@
<view class="tabBar_contaier flex around data-v-4d18757e"><block wx:for="{{tabBarList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['selectFn',['$0',index],[[['tabBarList','',index]]]]]]]}}" class="tabBar_item flex jc column ac data-v-4d18757e" bindtap="__e"><image src="{{value==item.selectIndex?item.selectedIconPath:item.iconPath}}" class="data-v-4d18757e"></image><view class="{{['data-v-4d18757e','tabBar_item_text'+(value==item.selectIndex?' .select_tabBar_item_text':'')]}}">{{item.text}}</view></view></block></view>

View File

@@ -0,0 +1 @@
.tabBar_contaier.data-v-4d18757e{background:#fff;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);padding-top:26rpx}.tabBar_contaier .tabBar_item image.data-v-4d18757e{width:50rpx;height:50rpx}.tabBar_contaier .tabBar_item .tabBar_item_text.data-v-4d18757e{color:#cacaca;font-size:20rpx;margin-top:10rpx}.tabBar_contaier .tabBar_item .select_tabBar_item_text.data-v-4d18757e{color:#121836}.tabBar_contaier .tabBar_item.data-v-4d18757e:nth-child(3){width:50rpx;position:relative}.tabBar_contaier .tabBar_item:nth-child(3) image.data-v-4d18757e{position:absolute;width:150rpx;height:150rpx;top:-60rpx;padding:10rpx;background-color:#fff;border-radius:50%}