You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
16 KiB
1 line
16 KiB
![]()
1 year ago
|
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/index/index"],{"028b":function(t,e,n){"use strict";var a=n("287e"),i=n.n(a);i.a},"0c7b":function(t,e,n){"use strict";n.r(e);var a=n("d262"),i=n("e1b6");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("d9db");var r=n("f0c5"),u=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"253392c2",null,!1,a["a"],void 0);e["default"]=u.exports},"0dfe":function(t,e,n){"use strict";(function(t,a){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("2eee")),r=i(n("c973")),u=i(n("76d8")),c={data:function(){return{imgUrl:this.baseImgURL,cards:t.getStorageSync("cards"),user:t.getStorageSync("user"),others:[{title:"个人信息"},{title:"密码设置"},{title:"关于我们"},{title:"退出登录",functionName:"goM78"}],options:[{logo:n("aa6c"),title:"我的订单",functionName:"KillTheRecord"},{logo:n("feca"),title:"我的车辆",functionName:"ultramanVehicle"},{logo:n("64b8"),title:"我的收藏",functionName:"goCollect"},{logo:n("d881"),title:"客服中心"}],titleStyle:{}}},created:function(){this.init()},onShow:function(){},filters:{filterPhone:function(t){if(!t)return" ";var e=t.slice(0,3)+"****"+t.slice(t.length-4);return e}},methods:{ultramanVehicle:function(){t.navigateTo({url:"/ChargingStation/pages/vehicle/index"})},goCollect:function(){t.navigateTo({url:"/ChargingStation/pages/collect/index"})},KillTheRecord:function(){this.$emit("switchTabBar",3)},login:function(){this.user||(t.clearStorageSync(),t.reLaunch({url:"/pages/login/index"}))},isEyeFn:function(t){t.isEye=!t.isEye,console.log(t,"isEyeFnisEyeFnisEyeFn")},othersClick:function(e){e.functionName?this[e.functionName]():t.showToast({title:"功能暂未开放",icon:"none"})},init:function(){this.titleStyle=a.getMenuButtonBoundingClientRect(),this.user||this.others.pop()},goM78:function(){return(0,r.default)(o.default.mark((function e(){var n;return o.default.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,u.default.loginOut();case 2:n=e.sent,n&&(t.clearStorageSync(),t.reLaunch({url:"/pages/login/index"}));case 4:case"end":return e.stop()}}),e)})))()}}};e.default=c}).call(this,n("543d")["default"],n("bc2e")["default"])},1540:function(t,e,n){"use strict";(function(t,a){var i=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=i(n("2eee")),r=i(n("c973")),u=(n("43d7"),i(n("2303")),{components:{ChargingStationMap:function(){Promise.all([n.e("common/vendor"),n.e("components/ChargingStationMap/ChargingStationMap")]).then(function(){return resolve(n("29ee"))}.bind(null,n)).catch(n.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 e=this.$refs.ChargingStationMap.location,n=e.latitude,a=e.longitude;t.navigateTo({url:"/ChargingStation/pages/chooseLocation/index?type="+"start/".concat(n,",").concat(a)})},onshow:function(){this.$refs.ChargingStationMap.onshow(),this.$refs.ChargingStationMap.getPosition()},refresherrefresh:function(){this.seach()},seach:function(){},init:function(){var e=this;return(0,r.default)(o.default.mark((function n(){var i;return o.default.wrap((function(n){while(1)switch(n.prev=n.next){case 0:i=e,e.titleStyle=a.getMenuButtonBoundingClientRect(),t.$on("UpdateAddress",(function(t){i.pageData.address="".concat(t.title).concat(t.address);var e=t.location,n=e.lat,a=e.lng;i.$refs.ChargingStationMap.moveToLocation(a,n)}));case 3:case"end":return n.stop()}}),n)})))()}}});e.default=u}).call(this,n("543d")["default"],n("bc2e")["default"])},"20b1":function(t,e,n){"use strict";n.r(e);var a=n("0dfe"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},"24fa":function(t,e
|