第一次提交

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,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}