d第一次提交
This commit is contained in:
1
unpackage/dist/build/mp-weixin/pages/ChargingStation/index.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/ChargingStation/index.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/ChargingStation/index"],{1540:function(t,n,e){"use strict";(function(t,a){var i=e("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=i(e("2eee")),r=i(e("c973")),u=(e("43d7"),i(e("2303")),{components:{ChargingStationMap:function(){Promise.all([e.e("common/vendor"),e.e("components/ChargingStationMap/ChargingStationMap")]).then(function(){return resolve(e("29ee"))}.bind(null,e)).catch(e.oe)}},data:function(){return{pageData:{equipmentTypes:[],ranger:2e3,stationLng:"",stationLat:"",address:""},titleStyle:{},options:[{label:"快充",value:1},{label:"慢充",value:2}]}},created:function(){this.init()},watch:{"pageData.equipmentTypes":function(t){this.$refs.ChargingStationMap.getList(0)}},onShow:function(){this.$refs.ChargingStationMap.getPosition()},methods:{focus:function(){var n=this.$refs.ChargingStationMap.location,e=n.latitude,a=n.longitude;t.navigateTo({url:"/ChargingStation/pages/chooseLocation/index?type="+"start/".concat(e,",").concat(a)})},onshow:function(){this.$refs.ChargingStationMap.onshow(),this.$refs.ChargingStationMap.getPosition()},refresherrefresh:function(){this.seach()},seach:function(){},init:function(){var n=this;return(0,r.default)(o.default.mark((function e(){var i;return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:i=n,n.titleStyle=a.getMenuButtonBoundingClientRect(),t.$on("UpdateAddress",(function(t){i.pageData.address="".concat(t.title).concat(t.address);var n=t.location,e=n.lat,a=n.lng;i.$refs.ChargingStationMap.moveToLocation(a,e)}));case 3:case"end":return e.stop()}}),e)})))()}}});n.default=u}).call(this,e("543d")["default"],e("bc2e")["default"])},"570a":function(t,n,e){"use strict";var a=e("9d24"),i=e.n(a);i.a},"635c":function(t,n,e){"use strict";(function(t,n){var a=e("4ea4");e("9773");a(e("66fd"));var i=a(e("af80"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(i.default)}).call(this,e("bc2e")["default"],e("543d")["createPage"])},"9d24":function(t,n,e){},a293:function(t,n,e){"use strict";e.r(n);var a=e("1540"),i=e.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);n["default"]=i.a},af80:function(t,n,e){"use strict";e.r(n);var a=e("c698"),i=e("a293");for(var o in i)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(o);e("570a");var r=e("f0c5"),u=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"42afc7b5",null,!1,a["a"],void 0);n["default"]=u.exports},c698:function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return o})),e.d(n,"a",(function(){return a}));var a={uniIcons:function(){return Promise.all([e.e("common/vendor"),e.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(e.bind(null,"e4f7"))}},i=function(){var t=this,n=t.$createElement,e=(t._self._c,t.pageData.equipmentTypes.length),a=t.__map(t.options,(function(n,e){var a=t.__get_orig(n),i=t.pageData.equipmentTypes.includes(n.value);return{$orig:a,g1:i}}));t._isMounted||(t.e0=function(n){t.pageData.equipmentTypes=[]},t.e1=function(n,e){var a=arguments[arguments.length-1].currentTarget.dataset,i=a.eventParams||a["event-params"];e=i.item;t.pageData.equipmentTypes=[e.value]}),t.$mp.data=Object.assign({},{$root:{g0:e,l0:a}})},o=[]}},[["635c","common/runtime","common/vendor"]]]);
|
||||
9
unpackage/dist/build/mp-weixin/pages/ChargingStation/index.json
vendored
Normal file
9
unpackage/dist/build/mp-weixin/pages/ChargingStation/index.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"uni-icons": "/uni_modules/uni-icons/components/uni-icons/uni-icons",
|
||||
"charging-station-map": "/components/ChargingStationMap/ChargingStationMap"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/ChargingStation/index.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/ChargingStation/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="ChargingStation_container data-v-42afc7b5" style="height:100%;overflow:hidden;"><view class="ChargingStation_title data-v-42afc7b5" style="{{'height:'+(titleStyle.height+'px')+';'}}"><text class="data-v-42afc7b5">星云闪充</text></view><view class="ChargingStation_list_container flex column data-v-42afc7b5" style="overflow:hidden;"><view class="ChargingStation_list_header data-v-42afc7b5"><view class="flex data-v-42afc7b5"><view class="ChargingStation_list_header_input oneflex data-v-42afc7b5"><uni-icons class="ChargingStation_list_header_input_icon data-v-42afc7b5" vue-id="17d67129-1" type="search" size="20" bind:__l="__l"></uni-icons><input disabled="{{true}}" placeholder="搜索" type="text" data-event-opts="{{[['confirm',[['seach',['$event']]]],['tap',[['focus',['$event']]]],['input',[['__set_model',['$0','address','$event',[]],['pageData']]]]]}}" value="{{pageData.address}}" bindconfirm="__e" bindtap="__e" bindinput="__e" class="data-v-42afc7b5"/></view></view><view class="ChargingStation_list_option_list flex around data-v-42afc7b5"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="{{['data-v-42afc7b5','ChargingStation_list_option_list_item flex jc ac'+(!$root.g0?' select_ChargingStation_list_option_list_item':'')]}}" bindtap="__e">全部</view><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" data-event-params="{{({item:item.$orig})}}" class="{{['data-v-42afc7b5','ChargingStation_list_option_list_item flex jc ac'+(item.g1?' select_ChargingStation_list_option_list_item':'')]}}" bindtap="__e">{{''+item.$orig.label+''}}</view></block></view></view><view class="ChargingStation_list data-v-42afc7b5"><charging-station-map vue-id="17d67129-2" pageData="{{pageData}}" data-ref="ChargingStationMap" data-event-opts="{{[['^updatePageData',[['__set_sync',['$0','pageData','$event'],['']]]],['^updatePageData',[['__set_sync',['$0','pageData','$event'],['']]]]]}}" bind:updatePageData="__e" class="data-v-42afc7b5 vue-ref" bind:__l="__l"></charging-station-map></view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/ChargingStation/index.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/ChargingStation/index.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.ChargingStation_container.data-v-42afc7b5{display:flex;flex-direction:column}.ChargingStation_container .ChargingStation_list_container.data-v-42afc7b5{flex:1;background:#fff;border-radius:70rpx 70rpx 0rpx 0rpx;padding:44rpx 0rpx;box-sizing:border-box;padding-bottom:0;overflow:hidden}.ChargingStation_container .ChargingStation_list_container .ChargingStation_list_header.data-v-42afc7b5{padding:0 31rpx}.ChargingStation_container .ChargingStation_list_container .ChargingStation_list_header .switch.data-v-42afc7b5{margin-left:20rpx}.ChargingStation_container .ChargingStation_list_container .ChargingStation_list_header .switch text.data-v-42afc7b5{font-size:26rpx;color:#000;font-weight:600}.ChargingStation_container .ChargingStation_list_container .ChargingStation_list_header .switch .switch_logo.data-v-42afc7b5{margin-right:20rpx;width:37.11rpx;height:33rpx}.ChargingStation_container .ChargingStation_list_container .ChargingStation_list_header .ChargingStation_list_header_input.data-v-42afc7b5{background:#f7f7f7;border-radius:81rpx;overflow-x:hidden;display:flex;padding:10rpx 31rpx}.ChargingStation_container .ChargingStation_list_container .ChargingStation_list_header .ChargingStation_list_header_input .ChargingStation_list_header_input_icon.data-v-42afc7b5{margin-right:10rpx}.ChargingStation_container .ChargingStation_list_container .ChargingStation_list_header .ChargingStation_list_header_input input.data-v-42afc7b5{flex:1;font-size:26rpx}.ChargingStation_container .ChargingStation_list_container .ChargingStation_list_header .ChargingStation_list_option_list.data-v-42afc7b5{font-size:24rpx;margin:30rpx 0}.ChargingStation_container .ChargingStation_list_container .ChargingStation_list_header .ChargingStation_list_option_list .ChargingStation_list_option_list_item.data-v-42afc7b5{width:142rpx;height:40rpx;border-radius:48rpx 48rpx 48rpx 48rpx;border:1rpx solid #121836;box-sizing:border-box;color:#121836}.ChargingStation_container .ChargingStation_list_container .ChargingStation_list_header .ChargingStation_list_option_list .select_ChargingStation_list_option_list_item.data-v-42afc7b5{background-color:#0b1123;color:#fff}.ChargingStation_container .ChargingStation_list_container .ChargingStation_list.data-v-42afc7b5{flex:1;overflow:hidden}.ChargingStation_container .ChargingStation_list_container .ChargingStation_list.data-v-42afc7b5 ::-webkit-scrollbar{width:0;height:0;background-color:initial}.ChargingStation_container .ChargingStation_title.data-v-42afc7b5{width:100%;box-sizing:border-box;display:flex;align-items:center;margin-bottom:32rpx;font-size:26rpx;color:#333}.ChargingStation_container .ChargingStation_title text.data-v-42afc7b5{width:100%;text-align:center;font-size:34rpx;font-weight:600;color:#000}.ChargingStation_container .ChargingStation_title .ChargingStation_title_logo.data-v-42afc7b5{width:38rpx;height:38rpx;margin-right:18rpx}.page_body.data-v-42afc7b5{width:100vw;height:100vh;display:flex;flex-direction:column;box-sizing:border-box;background:linear-gradient(133deg,rgba(219,235,250,.9) 2%,rgba(241,248,253,.9))}.page_body .page_container.data-v-42afc7b5{flex:1;overflow:hidden}
|
||||
Reference in New Issue
Block a user