no message

This commit is contained in:
PC-202306242200\Administrator
2026-03-28 23:00:29 +08:00
commit 4d06351f6a
2830 changed files with 166480 additions and 0 deletions

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),t=require("../../api/api.js");if(!Array){e.resolveComponent("mp-html")()}Math;const o={__name:"agreement",setup(o){let n=e.ref({});return e.onLoad((async e=>{let o=await t.selectProtocolInfo({id:e.id});n.value=o})),(t,o)=>({a:e.p({content:e.unref(n).protocolContent})})}};wx.createPage(o);

View File

@@ -0,0 +1,6 @@
{
"navigationBarTitleText": "",
"usingComponents": {
"mp-html": "../../uni_modules/mp-html/components/mp-html/mp-html"
}
}

View File

@@ -0,0 +1 @@
<view class="p30"><mp-html wx:if="{{a}}" u-i="984f50ea-0" bind:__l="__l" u-p="{{a}}"/><view style="height:100rpx"></view></view>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,13 @@
{
"navigationBarTitleText": "电站详情",
"navigationStyle": "custom",
"usingComponents": {
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
"up-swiper": "../../uni_modules/uview-plus/components/u-swiper/u-swiper",
"order-list": "../../components/orderList/orderList",
"up-tag": "../../uni_modules/uview-plus/components/u-tag/u-tag",
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button",
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging",
"up-popup": "../../uni_modules/uview-plus/components/u-popup/u-popup"
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.orderdetail.data-v-57f46e64{padding-bottom:150rpx}.orderdetail_header.data-v-57f46e64{width:750rpx;position:fixed;left:0;top:0;z-index:99;transition:all .5s}.orderdetail_info.data-v-57f46e64{background:#fff;border-radius:16rpx;padding:25rpx;box-shadow:0 -6rpx 8rpx 2rpx rgba(66,115,229,.05)}.orderdetail_info_title.data-v-57f46e64{font-size:32rpx;color:#232323;margin-bottom:30rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.orderdetail_info_fy.data-v-57f46e64{background:linear-gradient(to right,rgba(72,121,230,.4),rgba(72,121,230,0));border-radius:15rpx;padding:40rpx 20rpx 40rpx 40rpx;color:#fff;margin-top:30rpx;display:flex;align-items:center;flex-direction:row;justify-content:start}.orderdetail_info_fy_left.data-v-57f46e64{font-size:32rpx;font-weight:800;font-style:italic;color:#4879e6}.orderdetail_info_fy_right.data-v-57f46e64{font-size:36rpx;font-weight:800;color:#4879e6;margin-left:30rpx;display:flex;align-items:center;flex-direction:row;justify-content:start}.orderdetail_info_zd.data-v-57f46e64{border-radius:15rpx;padding:40rpx 20rpx 40rpx 130rpx;background-color:#4879e6;color:#fff;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.orderdetail_info_zd_zdbg.data-v-57f46e64{position:absolute;left:0;top:0;width:40%;height:100%;background:linear-gradient(to right,rgba(255,255,255,0),rgba(255,255,255,.3))}.orderdetail_info_view.data-v-57f46e64{display:flex;align-items:center;flex-direction:row;justify-content:space-between;margin-bottom:30rpx}.orderdetail_info_view_left.data-v-57f46e64{font-weight:400;font-size:28rpx;color:#232323}.orderdetail_info_view_right.data-v-57f46e64{display:flex;align-items:center;flex-direction:row;justify-content:start;font-weight:700;font-size:28rpx;color:#232323}.orderdetail_info_view_right image.data-v-57f46e64{width:28rpx;height:28rpx;margin-left:10rpx}.orderdetail_info_xian.data-v-57f46e64{width:100%;border:2rpx solid #707070;margin-bottom:30rpx;opacity:.06}.orderdetail_btn.data-v-57f46e64{width:100%;position:fixed;left:0;bottom:40rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.orderdetail_btn view.data-v-57f46e64{display:flex;align-items:center;flex-direction:row;justify-content:center;width:330rpx;height:92rpx;border-radius:46rpx}.orderdetail_btn_left.data-v-57f46e64{background-color:#e5eaf4;color:#4879e6;font-size:34rpx;font-weight:700}.orderdetail_btn_left text.data-v-57f46e64{font-size:26rpx}.orderdetail_btn_right.data-v-57f46e64{background:#4879e6;color:#fff;font-weight:700;font-size:32rpx}.orderdetail .gun.data-v-57f46e64{height:600rpx}.orderdetail .gun_list.data-v-57f46e64{display:flex;align-items:center;flex-direction:row;justify-content:space-between;padding:30rpx}.orderdetail .gun_list_left.data-v-57f46e64{flex:1}.orderdetail .gun_list_left_view.data-v-57f46e64{font-size:24rpx;color:#b0b2b6;margin-bottom:10rpx;display:flex;align-items:center;flex-direction:row;justify-content:start}.orderdetail .gun_list_left_view1.data-v-57f46e64{display:flex;align-items:center;flex-direction:row;justify-content:start;font-size:28rpx;color:#333;margin-bottom:10rpx}.orderdetail.data-v-57f46e64 .u-popup__content__close--top-right{top:10rpx}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),a=require("../../api/api.js"),r=require("../../hooks/useNav.js");if(!Array){(e.resolveComponent("search")+e.resolveComponent("up-swiper")+e.resolveComponent("orderList")+e.resolveComponent("z-paging")+e.resolveComponent("cc-myTabbar"))()}Math||((()=>"../../components/search/search.js")+(()=>"../../uni_modules/uview-plus/components/u-swiper/u-swiper.js")+(()=>"../../components/orderList/orderList.js")+(()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js")+(()=>"../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar.js"))();const n={__name:"home",setup(n){const{nav:t,navTo:s}=r.useNav(),l=e.ref([]),i=e.ref(null),c=e.reactive({lon:"",lat:"",orderByType:1,keyWord:""}),u=e.ref([]);e.onLoad((async()=>{let e=await a.bannerList();u.value=e})),e.onShow((()=>{e.index.hideTabBar()}));let d=o=>{e.index.makePhoneCall({phoneNumber:"4008005326"})};const p=async()=>{e.index.showLoading({title:"加载中..."});try{if(!c.lon&&!c.lat){const{longitude:o,latitude:a}=await e.index.getLocation();c.lon=o,c.lat=a}}catch(o){console.log(o)}console.log(c),a.aroundAreaApi(c).then((o=>{console.log(o,"list"),i.value.complete(o),e.index.hideLoading()})).catch((o=>{i.value.complete(!1),e.index.hideLoading()}))};let m=e=>{c.orderByType=e,i.value.reload()},v=()=>!i.value;e.onPullDownRefresh((()=>{v()||i.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{v()||(i.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&i.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{v()||i.value.pageReachBottom()}));const g=()=>{e.index.switchTab({url:"/pages/order/order"})};let h=e=>{c.keyWord=e,i.value.reload()},_=()=>{e.index.showModal({title:"提示",content:"暂未开放",showCancel:!1,confirmText:"确认",success:()=>{}})};return(a,r)=>({a:e.o(e.unref(h)),b:e.p({list:u.value,height:"150rpx",keyName:"imageUrl",indicator:!0}),c:o._imports_0,d:e.o(g),e:o._imports_1,f:e.o(((...o)=>e.unref(_)&&e.unref(_)(...o))),g:o._imports_2,h:e.o((o=>e.unref(s)("/pageMake/invoice/invoice"))),i:o._imports_3,j:e.o(((...o)=>e.unref(d)&&e.unref(d)(...o))),k:e.n(1==c.orderByType?"order_list_active":""),l:e.o((o=>e.unref(m)(1))),m:e.n(2==c.orderByType?"order_list_active":""),n:e.o((o=>e.unref(m)(2))),o:e.f(l.value,((o,a,r)=>({a:"c14d5158-3-"+r+",c14d5158-2",b:e.p({toNav:!0,info:o}),c:a}))),p:e.sr(i,"c14d5158-2",{k:"paging"}),q:e.o(p),r:e.o((e=>l.value=e)),s:e.p({"use-page-scroll":!0,modelValue:l.value}),t:e.p({tabBarShow:0})})}},t=e._export_sfc(n,[["__scopeId","data-v-c14d5158"]]);n.__runtimeHooks=1,wx.createPage(t);

View File

@@ -0,0 +1,12 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom",
"usingComponents": {
"search": "../../components/search/search",
"up-swiper": "../../uni_modules/uview-plus/components/u-swiper/u-swiper",
"order-list": "../../components/orderList/orderList",
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging",
"cc-my-tabbar": "../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar"
}
}

View File

@@ -0,0 +1 @@
<view class="data-v-c14d5158"><view class="search_header p30 data-v-c14d5158"><view class="data-v-c14d5158" style="width:100%"><view class="search_header_blur data-v-c14d5158"></view><search class="data-v-c14d5158" bindsearch="{{a}}" u-i="c14d5158-0" bind:__l="__l"/></view><view class="data-v-c14d5158" style="margin:30rpx 0 0"><up-swiper wx:if="{{b}}" class="data-v-c14d5158" u-i="c14d5158-1" bind:__l="__l" u-p="{{b}}"></up-swiper></view><view class="search_header_grid data-v-c14d5158" style="position:sticky;top:0;left:0;background-color:#ffffff;padding:15rpx"><view class="search_header_grid_view data-v-c14d5158" bindtap="{{d}}"><image class="data-v-c14d5158" src="{{c}}"></image><view class="data-v-c14d5158">我的订单</view></view><view class="search_header_grid_view data-v-c14d5158" bindtap="{{f}}"><image class="data-v-c14d5158" src="{{e}}"></image><view class="data-v-c14d5158">卡卷中心</view></view><view class="search_header_grid_view data-v-c14d5158" bindtap="{{h}}"><image class="data-v-c14d5158" src="{{g}}"></image><view class="data-v-c14d5158">我要开票</view></view><button class="data-v-c14d5158" style="all:unset" bindtap="{{j}}"><view class="search_header_grid_view data-v-c14d5158"><image class="data-v-c14d5158" src="{{i}}"></image><view class="data-v-c14d5158">在线客服</view></view></button></view></view><z-paging wx:if="{{s}}" class="r data-v-c14d5158" u-s="{{['d']}}" u-r="paging" bindquery="{{q}}" u-i="c14d5158-2" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"><view class="data-v-c14d5158" style="height:35rpx"></view><view class="order_list data-v-c14d5158"><view class="{{[k, 'order_list_view', 'data-v-c14d5158']}}" bindtap="{{l}}">距我最近</view><view class="{{[m, 'order_list_view', 'data-v-c14d5158']}}" bindtap="{{n}}">空闲最多</view></view><view wx:for="{{o}}" wx:for-item="item" wx:key="c" class="data-v-c14d5158" style="margin-bottom:30rpx;padding:0 30rpx"><order-list wx:if="{{item.b}}" class="data-v-c14d5158" u-i="{{item.a}}" bind:__l="__l" u-p="{{item.b}}"></order-list></view></z-paging><view class="data-v-c14d5158" style="height:180rpx"></view><cc-my-tabbar wx:if="{{t}}" class="data-v-c14d5158" u-i="c14d5158-4" bind:__l="__l" u-p="{{t}}"></cc-my-tabbar></view>

View File

@@ -0,0 +1 @@
page{background-color:#f7f7f7}.search_header.data-v-c14d5158{position:relative}.search_header_blur.data-v-c14d5158{width:100%;height:185rpx;position:absolute;top:0;left:0;background:#dbe6ff;opacity:.8;filter:blur(50px);z-index:-1}.search_header_grid.data-v-c14d5158{margin-top:25rpx;border-radius:15rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.search_header_grid_view.data-v-c14d5158{display:flex;flex-direction:column;align-items:center;width:126rpx;font-size:26rpx}.search_header_grid_view image.data-v-c14d5158{width:99rpx;height:99rpx;margin-bottom:10rpx}.order_list.data-v-c14d5158{display:flex;align-items:center;padding:15rpx;margin-bottom:30rpx;font-size:30rpx;background-color:#fff;width:690rpx;margin:0 30rpx 30rpx;border-radius:15rpx}.order_list_view.data-v-c14d5158{padding:15rpx 30rpx;background-color:#fff;border-radius:15rpx;margin-right:30rpx}.order_list_active.data-v-c14d5158{background-color:#4879e6;color:#fff}button.data-v-c14d5158:after{all:unset}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
{
"navigationBarTitleText": "开始充电",
"usingComponents": {
"up-tag": "../../uni_modules/uview-plus/components/u-tag/u-tag",
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button",
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
"uni-popup-dialog": "../../uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog",
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
}
}

View File

@@ -0,0 +1 @@
<view class="p30"><view class="orderdetail_info" style="margin-bottom:30rpx"><view class="orderdetail_info_title"><view>{{a}}</view></view><view style="font-size:26rpx;margin-bottom:15rpx;display:flex;align-items:center"><view style="opacity:0.7">枪号:{{b}}</view><image style="width:40rpx;height:40rpx;margin-left:15rpx" src="{{c}}" bindtap="{{d}}" mode="widthFix"></image></view><view style="font-size:26rpx;margin-bottom:15rpx;opacity:0.7">停车收费说明:{{e}}</view><view style="font-size:26rpx;opacity:0.7">占用收费说明:{{f}}</view></view><view class="orderdetail_info" style="margin-bottom:30rpx"><view class="orderdetail_info_title"><view>费用信息</view></view><view style="max-width:420rpx"><up-tag wx:if="{{g}}" u-i="2dd6a3c8-0" bind:__l="__l" u-p="{{g}}"></up-tag></view><view class="orderdetail_info_fy"><view class="orderdetail_info_fy_left">电站价格</view><view class="orderdetail_info_fy_right">{{h}} <text style="font-weight:500;font-size:24rpx;color:#333;margin-left:15rpx">元/度</text></view></view></view><view class="orderdetail_info" style="margin-bottom:30rpx"><view class="orderdetail_info_title"><view style="display:flex;align-items:center"><view>支付方式</view><view style="margin-left:15rpx"><up-tag wx:if="{{i}}" u-i="2dd6a3c8-1" bind:__l="__l" u-p="{{j}}"></up-tag></view></view><view style="display:flex;align-items:center"><up-button wx:if="{{l}}" bindclick="{{k}}" u-i="2dd6a3c8-2" bind:__l="__l" u-p="{{l}}"></up-button></view></view><view style="font-size:30rpx;margin-bottom:30rpx"><view><view wx:for="{{m}}" wx:for-item="item" wx:key="e" class="flex-acsb" style="{{'padding:15rpx 30rpx;border-radius:10rpx' + ';' + ('border:' + item.f)}}" bindtap="{{item.g}}"><view style="display:flex;align-items:center"><image src="{{item.a}}" style="width:50rpx;height:50rpx;margin-right:25rpx"></image> {{item.b}}</view><view wx:if="{{item.c}}" style="font-size:28rpx;opacity:0.7">可用余额:{{item.d}}</view></view></view></view></view><view class="orderdetail_info" style="margin-bottom:30rpx"><view class="orderdetail_info_yf"><view class="orderdetail_info_yf_left"><view class="orderdetail_info_yf_left_tit"><view style="margin-right:30rpx">预付费</view><up-tag wx:if="{{n}}" u-i="2dd6a3c8-3" bind:__l="__l" u-p="{{n}}"></up-tag></view><view class="orderdetail_info_yf_left_mon"><view bindtap="{{o}}" style="{{'border:' + p}}"> 30 </view><view bindtap="{{q}}" style="{{'border:' + r}}"> 50 </view><view bindtap="{{s}}" style="{{'border:' + t}}"> 100 </view><view bindtap="{{y}}" style="{{'border:' + z}}"><input wx:if="{{v}}" adjust-position focus type="number" placeholder="自定义" value="{{w}}" bindinput="{{x}}"/><text wx:else>自定义</text></view></view></view></view></view><view wx:if="{{A}}" class="orderdetail_info" style="margin-bottom:30rpx"><view><view class="flex-acsb" style="font-size:30rpx;margin-bottom:20rpx"><view>当前可用电卡</view></view><view wx:for="{{B}}" wx:for-item="item" wx:key="h" bindtap="{{item.g}}" style="margin-bottom:30rpx;position:relative" class="mt30 wallet_list"><view wx:if="{{item.a}}" style="position:absolute;top:0;left:0;background-color:#e45656;border-radius:0 0 20rpx 0"><up-icon wx:if="{{item.c}}" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"></up-icon></view><view style="color:#fff"><view style="font-weight:bold;font-size:30rpx;margin-bottom:18rpx">{{item.d}}</view><view style="font-size:28rpx;color:#eee">卡号:{{item.e}}</view></view><view style="display:flex;flex-direction:column;align-items:center;color:#fff;font-weight:bold;font-size:26rpx"><view style="font-size:36rpx;margin-bottom:10rpx">{{item.f}}</view><view style="font-weight:500">余额</view></view></view></view></view><view style="height:500rpx"></view><view class="orderdetail_btn p30" style="background-color:#fff"><view class="orderdetail_btn_left">{{C}} <text>元/度 免费停车</text></view><view><up-button wx:if="{{D}}" u-i="2dd6a3c8-5" bind:__l="__l" u-p="{{E}}"></up-button><up-button wx:if="{{F}}" bindclick="{{G}}" u-i="2dd6a3c8-6" bind:__l="__l" u-p="{{H}}"></up-button><up-button wx:if="{{I}}" bindclick="{{J}}" u-i="2dd6a3c8-7" bind:__l="__l" u-p="{{K}}"></up-button><up-button wx:if="{{L}}" bindclick="{{M}}" u-i="2dd6a3c8-8" bind:__l="__l" u-p="{{N}}"></up-button></view></view><uni-popup wx:if="{{S}}" class="r" u-s="{{['d']}}" u-r="inputDialog" u-i="2dd6a3c8-9" bind:__l="__l" u-p="{{S}}"><uni-popup-dialog wx:if="{{Q}}" class="r" u-r="inputClose" bindconfirm="{{P}}" u-i="2dd6a3c8-10,2dd6a3c8-9" bind:__l="__l" u-p="{{Q}}"></uni-popup-dialog></uni-popup></view>

View File

@@ -0,0 +1 @@
.star_pile{width:100%;box-shadow:0 -6rpx 8rpx 2rpx rgba(66,115,229,.05);border-radius:16rpx;padding:20rpx;background-color:#fff}.orderdetail_info{background:#fff;border-radius:16rpx;padding:25rpx;box-shadow:0 -6rpx 8rpx 2rpx rgba(66,115,229,.05)}.orderdetail_info_title{font-size:32rpx;color:#232323;margin-bottom:30rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.orderdetail_info_fy{background:linear-gradient(to right,rgba(72,121,230,.4),rgba(72,121,230,0));border-radius:15rpx;padding:40rpx 20rpx 40rpx 40rpx;color:#fff;margin-top:30rpx;display:flex;align-items:center;flex-direction:row;justify-content:start}.orderdetail_info_fy_left{font-size:32rpx;font-weight:800;font-style:italic;color:#4879e6}.orderdetail_info_fy_right{font-size:36rpx;font-weight:800;color:#4879e6;margin-left:30rpx;display:flex;align-items:center;flex-direction:row;justify-content:start}.orderdetail_info_yf{display:flex;align-items:center;flex-direction:row;justify-content:space-between}.orderdetail_info_yf_left{flex:1}.orderdetail_info_yf_left_tit{font-size:28rpx;color:rgba(51,51,51,.8);margin-bottom:20rpx;display:flex;align-items:center;flex-direction:row;justify-content:start}.orderdetail_info_yf_left_mon{font-size:30rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.orderdetail_info_yf_left_mon view{padding:15rpx 35rpx;border:1rpx solid #c5c5c5;margin-right:15rpx;border-radius:10rpx}.orderdetail_info_yf_left_mon input{width:100rpx}.orderdetail_info_yf_right{padding:15rpx 30rpx;color:#1779ff;border:1rpx solid #1779ff;border-radius:50rpx}.orderdetail_btn{width:100%;position:fixed;left:0;bottom:0rpx;padding:30rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.orderdetail_btn_left{color:#333;font-size:38rpx;font-weight:700}.orderdetail_btn_left text{font-size:26rpx;font-weight:500}.orderdetail_btn_right{background:#1779ff;color:#fff;font-weight:700;font-size:32rpx;padding:0 40rpx}.wallet_list{border-radius:15rpx;background-color:#4879e6;padding:20rpx 50rpx 20rpx 30rpx;display:flex;align-items:flex-end;justify-content:space-between}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),n=require("../../common/assets.js"),t=require("../../api/api.js");if(!Array){(e.resolveComponent("uni-transition")+e.resolveComponent("orderList")+e.resolveComponent("cc-myTabbar"))()}Math||((()=>"../../uni_modules/uni-transition/components/uni-transition/uni-transition.js")+(()=>"../../components/orderList/orderList.js")+(()=>"../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar.js"))();const o={__name:"index",setup(o){let a=e.ref(113.675688),i=e.ref(34.75527700365562),r=e.ref(null),u=e.ref(!1),s=e.ref(),l=e.ref([]),c=e.ref([]);e.onLoad((async()=>{r.value=e.index.createMapContext("map");const{longitude:n,latitude:t}=await e.index.getLocation({type:"gcj02"});i.value=t,a.value=n,d(),setTimeout((()=>{m()}),300)}));let d=async()=>{let e=(await t.aroundAreaMap({orderByType:1,lat:i.value,lon:a.value})).map(((e,n)=>({id:e.id,longitude:e.location.lng,latitude:e.location.lat,iconPath:"/static/icon/marker-pointer.png",width:20,height:23,content:"2",gunUseCount:e.gunUseCount,gunCount:e.gunCount,distance:e.distance,customCallout:{display:"ALWAYS",anchorX:0,anchorY:-10}})));e.unshift({longitude:a.value,latitude:i.value,iconPath:"/static/icon/my-location-default.png",width:45,height:45,id:-1}),c.value=e};const m=()=>{const e=a.value,n=i.value;r.value.moveToLocation({longitude:e,latitude:n})},p=e=>{"end"==e.type&&(console.log(e),console.log(e.detail.scale),u.value=!1,g(!1))},f=async n=>{var o;if(console.log(n,"eeeeeee"),-1==n.markerId)return;e.index.showLoading();let a=await t.infoAroundApi({id:n.markerId}),i=c.value.find((e=>e.id==n.markerId)),r=null==(o=null==a?void 0:a.priceList)?void 0:o.find((e=>1==e.isCurrent));l.value={...a,distance:i.distance,priceAmount:r.totalAmount},console.log(l,"infoDzinfoDz"),e.index.hideLoading(),u.value=!0,g(!0)},g=e=>{e?s.value.step({translateY:"-200rpx"},{timingFunction:"ease-in",duration:100}):s.value.step({translateY:"0rpx"},{timingFunction:"ease",duration:500}),s.value.run()};return(t,o)=>({a:e.f(e.unref(c),((n,t,o)=>({a:e.t(n.gunUseCount||0),b:e.t(n.gunCount||0),c:n.id}))),b:n._imports_0$1,c:e.unref(a),d:e.o(f),e:e.o(f),f:e.o(p),g:e.unref(c),h:e.unref(i),i:n._imports_1$1,j:e.o(m),k:e.sr(s,"1a922a9b-0",{k:"mapLocationRef"}),l:e.p({show:!0}),m:e.p({toNav:!0,Image:!0,info:e.unref(l),list:e.unref(l).pictures}),n:e.p({modeClass:"fade",show:e.unref(u)}),o:e.p({tabBarShow:1})})}};wx.createPage(o);

View File

@@ -0,0 +1,9 @@
{
"navigationBarTitleText": "",
"navigationStyle": "custom",
"usingComponents": {
"uni-transition": "../../uni_modules/uni-transition/components/uni-transition/uni-transition",
"order-list": "../../components/orderList/orderList",
"cc-my-tabbar": "../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar"
}
}

View File

@@ -0,0 +1 @@
<view class="content"><map id="map" longitude="{{c}}" bindmarkertap="{{d}}" bindcallouttap="{{e}}" bindregionchange="{{f}}" height="90" width="90" markers="{{g}}" latitude="{{h}}" class="map_content"><cover-view slot="callout"><block wx:for="{{a}}" wx:for-item="item"><cover-view class="callout" marker-id="{{item.c}}"><cover-view class="callout_item"><cover-image class="callout_item_img" src="{{b}}"></cover-image><cover-view class="callout_item_view">闲 {{item.a}}/{{item.b}}</cover-view></cover-view></cover-view></block></cover-view></map><uni-transition wx:if="{{l}}" class="r" u-s="{{['d']}}" u-r="mapLocationRef" u-i="1a922a9b-0" bind:__l="__l" u-p="{{l}}"><view class="map-location" bindtap="{{j}}"><image src="{{i}}" mode="widthFix"></image></view></uni-transition><uni-transition wx:if="{{n}}" u-s="{{['d']}}" u-i="1a922a9b-1" bind:__l="__l" u-p="{{n}}"><view class="map_box"><order-list wx:if="{{m}}" u-i="1a922a9b-2,1a922a9b-1" bind:__l="__l" u-p="{{m}}"/></view></uni-transition><cc-my-tabbar wx:if="{{o}}" u-i="1a922a9b-3" bind:__l="__l" u-p="{{o}}"></cc-my-tabbar></view>

View File

@@ -0,0 +1 @@
.map_content{width:750rpx;height:100vh}.map-location{width:90rpx;height:90rpx;background-color:#fff;position:fixed;left:30rpx;bottom:570rpx;border-radius:20rpx;display:flex;align-items:center;justify-content:center;box-shadow:0 5px 11px rgba(0,0,0,.2)}.map-location image{width:45rpx;height:45rpx}.callout{box-sizing:border-box;background:rgba(15,75,203,.26);border-radius:15rpx 15rpx 15rpx 0;padding:10rpx 15rpx;display:flex;align-items:center;flex-direction:column;justify-content:start}.callout_item{display:flex;align-items:center;flex-direction:row;justify-content:start;font-weight:700;font-size:28rpx;color:#fff;box-sizing:border-box}.callout_item_img{width:40rpx;height:40rpx;margin-right:15rpx}.callout_item:nth-child(1){margin-bottom:15rpx}.recharge{width:690rpx;background-color:#fff;min-height:300rpx;position:fixed;left:30rpx;bottom:250rpx;border-radius:20rpx;padding:20rpx;box-shadow:0 5px 11px rgba(0,0,0,.2)}.recharge_title{font-size:36rpx;margin-bottom:20rpx}.recharge_con{font-size:26rpx}.map_box{width:690rpx;position:fixed;left:30rpx;bottom:230rpx;z-index:999}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),n=require("../../common/assets.js"),o=require("../../common/js/user.js");if(!Array){e.resolveComponent("up-checkbox")()}Math;const r={__name:"login",setup(r){let t=e.ref(!1),s=async n=>{if(!t.value)return e.index.showToast({title:"请先阅读并同意用户协议和隐私政策",icon:"none"});try{o.login(n,2)}catch(r){e.index.showToast({title:r,icon:"none"})}};const a=n=>{e.index.navigateTo({url:n})},i=e=>{t.value=e};return(o,r)=>({a:n._imports_0$5,b:!e.unref(t),c:e.o(((...n)=>e.unref(s)&&e.unref(s)(...n))),d:e.o(i),e:e.p({shape:"circle",name:"agree",usedAlone:!0}),f:e.o((e=>a("/pages/agreement/agreement?id=9"))),g:e.o((e=>a("/pages/agreement/agreement?id=10")))})}};wx.createPage(r);

View File

@@ -0,0 +1,7 @@
{
"navigationBarTitleText": "",
"navigationStyle": "custom",
"usingComponents": {
"up-checkbox": "../../uni_modules/uview-plus/components/u-checkbox/u-checkbox"
}
}

View File

@@ -0,0 +1 @@
<view class="content"><view class="head"><image src="{{a}}" mode="widthFix"></image></view><view class="title"><text class="name">Hello!</text><text class="sub-name">欢迎登录云快充</text></view><view class="form-box"><button class="login-btn" disabled="{{b}}" open-type="getPhoneNumber" bindgetphonenumber="{{c}}">一键注册登录</button><view class="tip-link" style="display:flex;align-items:center"><up-checkbox wx:if="{{e}}" bindchange="{{d}}" u-i="25eaf8ee-0" bind:__l="__l" u-p="{{e}}"></up-checkbox> 我已阅读并同意 <text bindtap="{{f}}">用户协议</text> 和 <text bindtap="{{g}}">隐私政策</text></view></view></view>

View File

@@ -0,0 +1 @@
page{background-color:#e9edf6}.head{position:fixed;top:0;left:0;right:0;width:100%;height:30vh;z-index:-1}.head image{width:100%;height:100%}.title{padding-left:80rpx;padding-top:100rpx;display:flex;justify-content:center;align-items:flex-start;flex-direction:column;height:30vh}.title .name{font-size:70rpx;line-height:100rpx;font-weight:700}.title .sub-name{line-height:80rpx;font-size:45rpx;letter-spacing:8rpx;font-weight:700}.form-box{padding:0rpx 80rpx}.form-box .row-input{display:flex;justify-content:flex-start;align-items:center;height:100rpx;background-color:#fff;border-radius:12rpx;margin:50rpx 0rpx}.form-box .row-input image{margin:0 25rpx;flex-shrink:0;width:31rpx;height:35rpx}.form-box .row-input input{font-size:30rpx;flex:1}.form-box .menu-link{display:flex;justify-content:space-between;align-items:center;font-size:26rpx}.form-box .login-btn{margin-top:250rpx;display:flex;justify-content:center;align-items:center;height:90rpx;border-radius:12rpx;background-color:#819682;color:#f4f4f4;font-size:30rpx;letter-spacing:5rpx;box-shadow:0 5rpx 20rpx #94ac95}.form-box .tip-link{display:flex;justify-content:center;letter-spacing:3rpx;line-height:150rpx;font-size:26rpx}.form-box .tip-link text{color:#57a2ee}

View File

@@ -0,0 +1 @@
"use strict";const a=require("../../common/vendor.js");require("../../uni_modules/uview-plus/index.js");const o=require("../../api/api.js");if(!Array){a.resolveComponent("z-paging")()}Math;const r={__name:"card",setup(r){a.ref({});const t=a.ref(null);let l=a.ref([]),c=()=>!t.value;a.onPullDownRefresh((()=>{c()||t.value.reload().catch((()=>{}))})),a.onPageScroll((e=>{c()||(t.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&t.value.doChatRecordLoadMore())})),a.onReachBottom((()=>{c()||t.value.pageReachBottom()}));const n=(e,a)=>{const r={current:e,pageSize:a};o.userCardList(r).then((e=>{t.value.complete(e)})).catch((e=>{t.value.complete(!1)}))};let u=()=>{a.index.navigateTo({url:"./cardList?id="+e.id})};return(e,o)=>({a:a.f(a.unref(l),((e,o,r)=>({a:a.t(e.name),b:a.t(e.cardNo),c:a.t(e.stationName),d:a.t(e.merchantName),e:a.t(e.balance),f:a.o((o=>a.unref(u)(e)),o),g:o}))),b:a.sr(t,"7a477d9a-0",{k:"paging"}),c:a.o(n),d:a.o((e=>a.isRef(l)?l.value=e:l=e)),e:a.p({"use-page-scroll":!0,modelValue:a.unref(l)})})}},t=a._export_sfc(r,[["__scopeId","data-v-7a477d9a"]]);r.__runtimeHooks=1,wx.createPage(t);

View File

@@ -0,0 +1,6 @@
{
"navigationBarTitleText": "我的电卡",
"usingComponents": {
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
}
}

View File

@@ -0,0 +1 @@
<view class="earnings p30 data-v-7a477d9a"><z-paging wx:if="{{e}}" class="r data-v-7a477d9a" u-s="{{['d']}}" u-r="paging" bindquery="{{c}}" u-i="7a477d9a-0" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="g" style="margin-bottom:30rpx" bindtap="{{item.f}}" class="mt30 wallet_list data-v-7a477d9a"><view class="data-v-7a477d9a" style="color:#fff"><view class="data-v-7a477d9a" style="font-weight:bold;font-size:32rpx;margin-bottom:18rpx">{{item.a}}</view><view class="data-v-7a477d9a" style="margin-bottom:12rpx;font-size:28rpx;color:#eee"> 卡号:{{item.b}}</view><view class="data-v-7a477d9a" style="margin-bottom:12rpx;font-size:28rpx;color:#eee"> 电站:{{item.c}}</view><view class="data-v-7a477d9a" style="font-size:28rpx;color:#eee"> 商户:{{item.d}}</view></view><view class="data-v-7a477d9a" style="display:flex;flex-direction:column;align-items:center;color:#fff;font-weight:bold;font-size:26rpx"><view class="data-v-7a477d9a" style="font-size:55rpx;margin-bottom:30rpx">{{item.e}}</view><view class="data-v-7a477d9a" style="font-weight:500">余额</view></view></view></z-paging></view>

View File

@@ -0,0 +1 @@
.wallet_list.data-v-7a477d9a{border-radius:15rpx;background-color:#4879e6;padding:35rpx 50rpx 35rpx 30rpx;display:flex;align-items:flex-end;justify-content:space-between}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js");require("../../uni_modules/uview-plus/index.js");const o=require("../../api/api.js");if(!Array){e.resolveComponent("z-paging")()}Math;const a={__name:"cardList",setup(a){let r=e.ref("");e.ref({});const t=e.ref(null);let c=e.ref([]),l=()=>!t.value;e.onLoad((e=>{r.value=e.id})),e.onPullDownRefresh((()=>{l()||t.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{l()||(t.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&t.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{l()||t.value.pageReachBottom()}));const u=(e,a)=>{const c={current:e,pageSize:a,id:r.value};o.userCardRecord(c).then((e=>{t.value.complete(e)})).catch((e=>{t.value.complete(!1)}))};return(o,a)=>({a:e.f(e.unref(c),((o,a,r)=>({a:e.t(o.recordName||"-"),b:e.t(o.createTime),c:e.t(o.amount),d:a}))),b:e.sr(t,"1c414874-0",{k:"paging"}),c:e.o(u),d:e.o((o=>e.isRef(c)?c.value=o:c=o)),e:e.p({"use-page-scroll":!0,modelValue:e.unref(c)})})}},r=e._export_sfc(a,[["__scopeId","data-v-1c414874"]]);a.__runtimeHooks=1,wx.createPage(r);

View File

@@ -0,0 +1,6 @@
{
"navigationBarTitleText": "电卡记录",
"usingComponents": {
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
}
}

View File

@@ -0,0 +1 @@
<view class="earnings p30 data-v-1c414874"><z-paging wx:if="{{e}}" class="r data-v-1c414874" u-s="{{['d']}}" u-r="paging" bindquery="{{c}}" u-i="1c414874-0" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="d" style="margin-bottom:30rpx" class="mt30 wallet_list data-v-1c414874"><view class="wallet_list_left data-v-1c414874"><view class="data-v-1c414874">{{item.a}}</view><view class="data-v-1c414874">{{item.b}}</view></view><view class="wallet_list_right data-v-1c414874" style="display:flex;flex-direction:column;align-items:flex-end"><view class="data-v-1c414874">{{item.c}}元</view></view></view></z-paging></view>

View File

@@ -0,0 +1 @@
.wallet_pall.data-v-1c414874{width:690rpx;height:272rpx;border-radius:16rpx;padding:40rpx;background:#fff}.wallet_pall_header.data-v-1c414874{font-weight:700;font-size:26rpx;color:#002ea4}.wallet_pall_ye.data-v-1c414874{display:flex;align-items:center;justify-content:space-between;height:70%}.wallet_pall_ye view.data-v-1c414874:nth-child(1){font-weight:700;font-size:68rpx;color:#002ea4}.wallet_pall_ye view.data-v-1c414874:nth-child(2){width:128rpx;height:58rpx;background:rgba(0,46,164,.07);border-radius:32rpx;display:flex;align-items:center;justify-content:center;font-size:26rpx;color:#002ea4}.wallet_list.data-v-1c414874{width:690rpx;background:#fff;border-radius:8rpx;padding:15rpx 30rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.wallet_list_left view.data-v-1c414874:nth-child(1){font-weight:700;font-size:28rpx;color:#232323;margin-bottom:10rpx}.wallet_list_left view.data-v-1c414874:nth-child(2){font-size:24rpx;color:#232323}.wallet_list_left view.data-v-1c414874:nth-child(3){font-size:24rpx;color:#232323}.wallet_list_left view.data-v-1c414874:nth-child(4){font-size:24rpx;color:#232323}.wallet_list_right.data-v-1c414874{font-weight:700;font-size:28rpx;color:#ff2727}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),o={data:()=>({}),methods:{}};if(!Array){(e.resolveComponent("up-cell")+e.resolveComponent("up-cell-group"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-cell/u-cell.js")+(()=>"../../uni_modules/uview-plus/components/u-cell-group/u-cell-group.js"))();const l=e._export_sfc(o,[["render",function(o,l,u,n,r,t){return{a:e.p({icon:"integral-fill",title:"会员等级",value:"新版本"})}}]]);wx.createPage(l);

View File

@@ -0,0 +1,7 @@
{
"navigationBarTitleText": "收益",
"usingComponents": {
"up-cell": "../../uni_modules/uview-plus/components/u-cell/u-cell",
"up-cell-group": "../../uni_modules/uview-plus/components/u-cell-group/u-cell-group"
}
}

View File

@@ -0,0 +1 @@
<view class="earnings"><up-cell-group u-s="{{['d']}}" u-i="c749b6aa-0" bind:__l="__l"><up-cell wx:if="{{a}}" u-i="c749b6aa-1,c749b6aa-0" bind:__l="__l" u-p="{{a}}"></up-cell></up-cell-group></view>

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js");require("../../uni_modules/uview-plus/index.js");const o=require("../../api/api.js");if(!Array){e.resolveComponent("z-paging")()}Math;const a={__name:"incomeList",setup(a){e.ref({});const r=e.ref(null);let t=e.ref([]),l=()=>!r.value;e.onPullDownRefresh((()=>{l()||r.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{l()||(r.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&r.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{l()||r.value.pageReachBottom()}));const c=(e,a)=>{const t={current:e,pageSize:a};o.walletRecord(t).then((e=>{r.value.complete(e)})).catch((e=>{r.value.complete(!1)}))};return(o,a)=>({a:e.f(e.unref(t),((o,a,r)=>({a:e.t(o.recordName||"-"),b:e.t(o.createTime),c:e.t(o.amount),d:a}))),b:e.sr(r,"6ff95d97-0",{k:"paging"}),c:e.o(c),d:e.o((o=>e.isRef(t)?t.value=o:t=o)),e:e.p({"use-page-scroll":!0,modelValue:e.unref(t)})})}},r=e._export_sfc(a,[["__scopeId","data-v-6ff95d97"]]);a.__runtimeHooks=1,wx.createPage(r);

View File

@@ -0,0 +1,6 @@
{
"navigationBarTitleText": "余额明细",
"usingComponents": {
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
}
}

View File

@@ -0,0 +1 @@
<view class="earnings p30 data-v-6ff95d97"><z-paging wx:if="{{e}}" class="r data-v-6ff95d97" u-s="{{['d']}}" u-r="paging" bindquery="{{c}}" u-i="6ff95d97-0" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="d" style="margin-bottom:30rpx" class="mt30 wallet_list data-v-6ff95d97"><view class="wallet_list_left data-v-6ff95d97"><view class="data-v-6ff95d97">{{item.a}}</view><view class="data-v-6ff95d97">{{item.b}}</view></view><view class="wallet_list_right data-v-6ff95d97" style="display:flex;flex-direction:column;align-items:flex-end"><view class="data-v-6ff95d97">{{item.c}}元</view></view></view></z-paging></view>

View File

@@ -0,0 +1 @@
.wallet_pall.data-v-6ff95d97{width:690rpx;height:272rpx;border-radius:16rpx;padding:40rpx;background:#fff}.wallet_pall_header.data-v-6ff95d97{font-weight:700;font-size:26rpx;color:#002ea4}.wallet_pall_ye.data-v-6ff95d97{display:flex;align-items:center;justify-content:space-between;height:70%}.wallet_pall_ye view.data-v-6ff95d97:nth-child(1){font-weight:700;font-size:68rpx;color:#002ea4}.wallet_pall_ye view.data-v-6ff95d97:nth-child(2){width:128rpx;height:58rpx;background:rgba(0,46,164,.07);border-radius:32rpx;display:flex;align-items:center;justify-content:center;font-size:26rpx;color:#002ea4}.wallet_list.data-v-6ff95d97{width:690rpx;background:#fff;border-radius:8rpx;padding:15rpx 30rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.wallet_list_left view.data-v-6ff95d97:nth-child(1){font-weight:700;font-size:28rpx;color:#232323;margin-bottom:10rpx}.wallet_list_left view.data-v-6ff95d97:nth-child(2){font-size:24rpx;color:#232323}.wallet_list_left view.data-v-6ff95d97:nth-child(3){font-size:24rpx;color:#232323}.wallet_list_left view.data-v-6ff95d97:nth-child(4){font-size:24rpx;color:#232323}.wallet_list_right.data-v-6ff95d97{font-weight:700;font-size:28rpx;color:#ff2727}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),a=require("../../common/assets.js"),n=require("../../api/api.js"),r=require("../../hooks/useNav.js");if(!Array){(e.resolveComponent("statusBar")+e.resolveComponent("up-avatar")+e.resolveComponent("cc-myTabbar"))()}Math||((()=>"../../components/statusBar/statusBar.js")+(()=>"../../uni_modules/uview-plus/components/u-avatar/u-avatar.js")+(()=>"../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar.js"))();const t={__name:"mine",setup(t){const{nav:s,navTo:o}=r.useNav();let i=e.ref({}),c=e.ref([{name:"我的电卡",img:"/static/icon/dk_mine.png",path:"/pages/mine/card",type:"nav"},{name:"充电订单",img:"/static/icon/cd_mine.png",path:"/pages/order/order",type:"switchTab"},{name:"余额明细",img:"/static/icon/ye_mine.png",path:"/pages/mine/incomeList",type:"nav"},{name:"客服中心",img:"/static/icon/kf_mine.png",call:!0}]);e.onShow((async()=>{e.index.hideTabBar();let a=await n.userInfo();i.value=a}));const m=()=>{e.index.navigateTo({url:"./sett"})};return(n,r)=>({a:e.p({size:"150rpx",src:e.unref(i).avatar}),b:e.t(e.unref(i).nickName),c:e.t(e.unref(i).phone||""),d:e.o(m),e:a._imports_0$2,f:e.t(e.unref(i).balance||0),g:e.o((a=>e.unref(o)("/pages/mine/incomeList"))),h:e.o((a=>e.unref(o)("/pages/mine/incomeList"))),i:e.o((a=>e.unref(o)(`/pageMake/refund/refund?balance=${e.unref(i).refundableAmount}`))),j:e.o((a=>e.unref(o)("/pages/money/recharge"))),k:e.f(e.unref(c),((a,n,r)=>({a:a.img,b:e.t(a.name),c:n,d:e.o((n=>e.unref(s)(a)),n)}))),l:e.p({tabBarShow:4})})}},s=e._export_sfc(t,[["__scopeId","data-v-4a8b484a"]]);wx.createPage(s);

View File

@@ -0,0 +1,10 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom",
"usingComponents": {
"status-bar": "../../components/statusBar/statusBar",
"up-avatar": "../../uni_modules/uview-plus/components/u-avatar/u-avatar",
"cc-my-tabbar": "../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar"
}
}

View File

@@ -0,0 +1 @@
<view class="mine data-v-4a8b484a"><status-bar class="data-v-4a8b484a" u-i="4a8b484a-0" bind:__l="__l"/><view class="p30 data-v-4a8b484a"><view class="mine_header data-v-4a8b484a"><view class="mine_header_img data-v-4a8b484a"><up-avatar wx:if="{{a}}" class="data-v-4a8b484a" u-i="4a8b484a-1" bind:__l="__l" u-p="{{a}}"></up-avatar></view><view class="mine_header_user data-v-4a8b484a"><view class="data-v-4a8b484a">{{b}}</view><view class="data-v-4a8b484a">{{c}}</view></view><image class="mine_header_sett data-v-4a8b484a" bindtap="{{d}}" src="{{e}}"></image></view><view class="mine_money data-v-4a8b484a"><view class="flex-acsb flex1 mine_money_top data-v-4a8b484a" style="width:100%"><view class="mine_money_left data-v-4a8b484a" bindtap="{{g}}"><view class="data-v-4a8b484a">{{f}}</view><view class="data-v-4a8b484a">钱包余额</view></view><view class="mine_money_left data-v-4a8b484a" bindtap="{{h}}"><view class="data-v-4a8b484a">0</view><view class="data-v-4a8b484a">赠送余额</view></view></view><view class="flex1 mine_money_bottom data-v-4a8b484a" style="display:flex;align-items:center"><view class="data-v-4a8b484a" bindtap="{{i}}">退款</view><view class="data-v-4a8b484a" bindtap="{{j}}">充值</view></view></view><view class="mine_grid data-v-4a8b484a"><view class="mine_grid_tit data-v-4a8b484a">常用功能</view><view class="mine_grid_views data-v-4a8b484a"><view wx:for="{{k}}" wx:for-item="item" wx:key="c" class="mine_grid_views_block data-v-4a8b484a" bindtap="{{item.d}}"><image class="data-v-4a8b484a" src="{{item.a}}" mode="widthFix"></image><view class="data-v-4a8b484a">{{item.b}}</view></view></view></view></view><view class="data-v-4a8b484a" style="width:100%;height:100vh;background:#f7f7f7;position:absolute;top:0;left:0;z-index:-1"></view><cc-my-tabbar wx:if="{{l}}" class="data-v-4a8b484a" u-i="4a8b484a-2" bind:__l="__l" u-p="{{l}}"></cc-my-tabbar></view>

View File

@@ -0,0 +1 @@
.mine_header.data-v-4a8b484a{display:flex;align-items:center;flex-direction:row;justify-content:space-between}.mine_header_img.data-v-4a8b484a{width:150rpx;height:150rpx;margin-right:15rpx}.mine_header_user.data-v-4a8b484a{flex:1}.mine_header_user view.data-v-4a8b484a:nth-child(1){font-weight:700;font-size:32rpx;color:#232323;margin-bottom:15rpx}.mine_header_user view.data-v-4a8b484a:nth-child(2){font-weight:700;font-size:44rpx;color:#232323}.mine_header_sett.data-v-4a8b484a{width:42rpx;height:42rpx}.mine_money.data-v-4a8b484a{margin-top:35rpx;display:flex;align-items:center;flex-direction:column;justify-content:start;width:100%;background:linear-gradient(178deg,#9ab6ff,#4879e6);border-radius:16rpx;padding:20rpx 0rpx 0}.mine_money_top.data-v-4a8b484a{padding:0 150rpx}.mine_money_bottom.data-v-4a8b484a{width:100%;display:flex;align-items:center;flex-direction:row;justify-content:center;border-top:1rpx solid rgba(255,255,255,.3);margin-top:20rpx;padding:15rpx 0}.mine_money_bottom view.data-v-4a8b484a{width:50%;display:flex;align-items:center;justify-content:center;font-size:30rpx;color:#fff}.mine_money_left.data-v-4a8b484a{display:flex;align-items:center;flex-direction:column;justify-content:center}.mine_money_left view.data-v-4a8b484a:nth-child(1){font-weight:700;font-size:48rpx;color:#fff;margin-bottom:5rpx}.mine_money_left view.data-v-4a8b484a:nth-child(2){font-weight:700;font-size:20rpx;color:#fff}.mine_money_right.data-v-4a8b484a{display:flex;align-items:center;flex-direction:row;justify-content:center;width:124rpx;height:54rpx;background:rgba(255,255,255,.24);border-radius:140rpx;font-weight:700;font-size:24rpx;color:#fff}.mine_grid.data-v-4a8b484a{width:100%;padding:20rpx 30rpx;background-color:#fff;border-radius:15rpx;margin-top:30rpx}.mine_grid_tit.data-v-4a8b484a{font-size:30rpx;color:#333;opacity:.8}.mine_grid_views.data-v-4a8b484a{margin-top:20rpx;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%}.mine_grid_views_block.data-v-4a8b484a{height:95rpx;display:flex;flex-direction:column;align-items:center;justify-content:space-between;font-size:30rpx;color:#333}.mine_grid_views_block image.data-v-4a8b484a{width:45rpx;height:45rpx}.mine_fun.data-v-4a8b484a{margin-top:35rpx;width:100%;background-color:#fff;border-radius:16rpx;padding:35rpx}.mine_fun_view.data-v-4a8b484a{display:flex;align-items:center;flex-direction:row;justify-content:space-between;margin-bottom:35rpx}.mine_fun_view_left.data-v-4a8b484a{width:58rpx;height:58rpx;margin-right:20rpx}.mine_fun_view_name.data-v-4a8b484a{flex:1;font-weight:700;font-size:24rpx;color:#232323}.mine_fun_view_right.data-v-4a8b484a{width:24rpx;height:24rpx}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),o=require("../../api/api.js"),n=require("../../utils/fun.js");if(!Array){(e.resolveComponent("up-avatar")+e.resolveComponent("up-cell")+e.resolveComponent("up-cell-group")+e.resolveComponent("up-button"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-avatar/u-avatar.js")+(()=>"../../uni_modules/uview-plus/components/u-cell/u-cell.js")+(()=>"../../uni_modules/uview-plus/components/u-cell-group/u-cell-group.js")+(()=>"../../uni_modules/uview-plus/components/u-button/u-button.js"))();const t={__name:"sett",setup(t){let l=e.ref({});e.onShow((async()=>{s()}));const s=async()=>{let e=await o.userInfo();l.value=e},u=async e=>{let t=await n.uploadFiles(e.detail.avatarUrl);o.updateAvatar({avatar:t}).then((e=>{s()})),console.log(t)},a=()=>{e.index.showModal({title:"修改昵称",content:l.value.nickName,editable:!0,success:function(e){e.confirm?(o.updateNickName({nickName:e.content}).then((e=>{s()})),console.log(e),console.log("用户点击确定")):e.cancel&&console.log("用户点击取消")}})},i=()=>{e.index.showModal({title:"提示",content:"是否确认退出登录?",success:o=>{o.confirm?(e.index.clearStorageSync(),e.index.reLaunch({url:"/pages/home/home"})):o.cancel&&console.log("用户点击取消")}})};return(o,n)=>({a:e.p({src:e.unref(l).avatar}),b:e.p({title:"头像",isLink:!0,size:"min"}),c:e.o(u),d:e.t(e.unref(l).nickName),e:e.o(a),f:e.p({title:"昵称",isLink:!0,size:"min"}),g:e.t(e.unref(l).phone||"-"),h:e.p({title:"手机号",size:"min",border:!1}),i:e.p({border:!1}),j:e.o(i),k:e.p({type:"error",text:"退出登录"})})}};wx.createPage(t);

View File

@@ -0,0 +1,9 @@
{
"navigationBarTitleText": "",
"usingComponents": {
"up-avatar": "../../uni_modules/uview-plus/components/u-avatar/u-avatar",
"up-cell": "../../uni_modules/uview-plus/components/u-cell/u-cell",
"up-cell-group": "../../uni_modules/uview-plus/components/u-cell-group/u-cell-group",
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
}
}

View File

@@ -0,0 +1 @@
<view class="p30"><view style="background-color:#fff;border-radius:15rpx"><up-cell-group wx:if="{{i}}" u-s="{{['d']}}" u-i="442b60d4-0" bind:__l="__l" u-p="{{i}}"><button style="all:unset" open-type="chooseAvatar" bindchooseavatar="{{c}}"><up-cell wx:if="{{b}}" u-s="{{['value']}}" u-i="442b60d4-1,442b60d4-0" bind:__l="__l" u-p="{{b}}"><up-avatar u-i="442b60d4-2,442b60d4-1" bind:__l="__l" u-p="{{a}}" slot="value"></up-avatar></up-cell></button><up-cell wx:if="{{f}}" u-s="{{['value']}}" bindclick="{{e}}" u-i="442b60d4-3,442b60d4-0" bind:__l="__l" u-p="{{f}}"><text class="u-slot-value" slot="value">{{d}}</text></up-cell><up-cell wx:if="{{h}}" u-s="{{['value']}}" u-i="442b60d4-4,442b60d4-0" bind:__l="__l" u-p="{{h}}"><text class="u-slot-value" slot="value">{{g}}</text></up-cell></up-cell-group></view><view style="height:100rpx"></view><up-button wx:if="{{k}}" bindclick="{{j}}" u-i="442b60d4-5" bind:__l="__l" u-p="{{k}}"></up-button></view>

View File

@@ -0,0 +1 @@
button:after{all:unset}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),n=require("../../api/api.js");if(!Array){(e.resolveComponent("up-checkbox")+e.resolveComponent("up-button"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-checkbox/u-checkbox.js")+(()=>"../../uni_modules/uview-plus/components/u-button/u-button.js"))();const o={__name:"recharge",setup(o){let u=e.ref({}),a=e.ref(30),t=e.ref(""),r=e.ref(0),c=e.ref(!1),i=e.ref([{number:"¥30",money:"30"},{number:"¥50",money:"50"},{number:"¥80",money:"80"},{number:"¥100",money:"100"},{number:"¥200",money:"200"},{number:"¥300",money:"300"},{number:"¥400",money:"400"},{number:"¥500",money:"500"}]);const l=(e,n)=>{"input"!=e&&(a.value=e.money,t.value=""),r.value=n},s=e=>{c.value=e,console.log(e)},m=()=>{n.adaPay({amount:a.value}).then((n=>{let o=n;e.index.requestPayment({provider:"wxpay",timeStamp:o.timeStamp,nonceStr:o.nonceStr,package:o.package,signType:o.signType,paySign:o.paySign,success:function(n){e.index.showModal({title:"提示",content:"充值成功",showCancel:!1,success:function(n){n.confirm?e.index.navigateBack():n.cancel&&console.log("用户点击取消")}})},fail:function(e){console.log("fail:"+JSON.stringify(e))}})}))};e.onShow((async()=>{let e=await n.userInfo();u.value=e}));const p=e=>{a.value=e.detail.value};return(n,o)=>({a:e.t(e.unref(u).balance),b:e.f(e.unref(i),((n,o,u)=>({a:e.t(n.number),b:e.n(e.unref(r)==o?"item real":"item"),c:o,d:e.o((e=>l(n,o)),o)}))),c:e.o(p),d:e.unref(t),e:e.o((n=>e.isRef(t)?t.value=n.detail.value:t=n.detail.value)),f:e.n("input"==e.unref(r)?"item real":"item"),g:e.o((e=>l("input","input"))),h:e.o(s),i:e.p({shape:"circle",name:"agree",usedAlone:!0}),j:e.t(e.unref(a)),k:e.o(m),l:e.p({color:"#4879e6",text:"充值",shape:"circle",disabled:!e.unref(c)})})}},u=e._export_sfc(o,[["__scopeId","data-v-f4a9697d"]]);wx.createPage(u);

View File

@@ -0,0 +1,7 @@
{
"navigationBarTitleText": "充值",
"usingComponents": {
"up-checkbox": "../../uni_modules/uview-plus/components/u-checkbox/u-checkbox",
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
}
}

View File

@@ -0,0 +1 @@
<view class="buy data-v-f4a9697d"><view class="title data-v-f4a9697d"><text class="text data-v-f4a9697d">当前余额:</text><text class="num data-v-f4a9697d">{{a}}</text></view><view class="number data-v-f4a9697d"><view class="list data-v-f4a9697d"><view wx:for="{{b}}" wx:for-item="item" wx:key="c" class="{{['data-v-f4a9697d', item.b]}}" bindtap="{{item.d}}"><view class="card data-v-f4a9697d"><view class="top data-v-f4a9697d"><text class="data-v-f4a9697d">{{item.a}}</text></view></view></view><view class="{{['data-v-f4a9697d', f]}}" bindtap="{{g}}"><view class="card data-v-f4a9697d"><view class="top data-v-f4a9697d" style="padding:0 15rpx;text-align:center"><input class="data-v-f4a9697d" bindchange="{{c}}" placeholder="其他面额" style="font-weight:bold;color:#666666" type="number" value="{{d}}" bindinput="{{e}}"/></view></view></view></view><view class="tip data-v-f4a9697d"><text class="titl data-v-f4a9697d">温馨提示</text><view class="data-v-f4a9697d"><text class="data-v-f4a9697d">1、本次充值金额尽可用于充电消费</text></view><view class="data-v-f4a9697d"><text class="data-v-f4a9697d">2、若充值时若使用了第三方优惠抵扣时,该笔金额不支持直接退款</text></view></view></view><view class="data-v-f4a9697d" style="position:fixed;bottom:0;left:0;width:750rpx"><view class="data-v-f4a9697d" style="display:flex;align-items:center;justify-content:center;font-size:26rpx;background-color:rgba(72, 121, 230, 0.3);padding:15rpx 0"><up-checkbox wx:if="{{i}}" class="data-v-f4a9697d" bindchange="{{h}}" u-i="f4a9697d-0" bind:__l="__l" u-p="{{i}}"></up-checkbox> 我已阅读并同意《 <text class="data-v-f4a9697d" style="color:#4879e6">云充电用户充值协议</text> 》 </view><view class="data-v-f4a9697d" style="display:flex;align-items:center;justify-content:space-between;padding:20rpx 30rpx"><view class="data-v-f4a9697d" style="font-size:40rpx;font-weight:bold">{{j}} <text class="data-v-f4a9697d" style="font-size:26rpx;font-weight:500">元</text></view><view class="data-v-f4a9697d" style="width:220rpx"><up-button wx:if="{{l}}" class="data-v-f4a9697d" bindclick="{{k}}" u-i="f4a9697d-1" bind:__l="__l" u-p="{{l}}"></up-button></view></view></view></view>

View File

@@ -0,0 +1 @@
.buy.data-v-f4a9697d{width:100%;height:100%}.buy .title.data-v-f4a9697d{display:flex;align-items:center;padding:20rpx 0 20rpx 50rpx;background-color:#fff}.buy .title>image.data-v-f4a9697d{width:32rpx;height:32rpx;margin-right:6rpx}.buy .title>text.data-v-f4a9697d{font-size:28rpx;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#666;line-height:40rpx}.buy .title .num.data-v-f4a9697d{color:#ff4141}.buy .number.data-v-f4a9697d{width:100%;background-color:#fff;margin-top:18rpx;display:flex;flex-direction:column;align-items:center}.buy .number .list.data-v-f4a9697d{display:flex;flex-wrap:wrap;justify-content:space-between;padding:38rpx 40rpx 0rpx}.buy .number .list .item.data-v-f4a9697d{width:194rpx;height:194rpx;background:#fff;box-shadow:0 0 6rpx rgba(0,0,0,.1);border-radius:20rpx;margin-bottom:44rpx;display:flex}.buy .number .list .item .card.data-v-f4a9697d{width:194rpx;height:194rpx;display:flex;flex-direction:column;align-items:center;justify-content:center}.buy .number .list .item .card .top.data-v-f4a9697d{display:flex;align-items:center}.buy .number .list .item .card .top>text.data-v-f4a9697d{font-size:32rpx;font-family:PingFangSC-Semibold,PingFang SC;font-weight:600;color:#666;line-height:44rpx;margin-right:12rpx}.buy .number .list .item .card .top>image.data-v-f4a9697d{width:30rpx;height:30rpx}.buy .number .list .item .card .money.data-v-f4a9697d{font-size:24rpx;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#999;line-height:34rpx;margin-top:12rpx}.buy .number .list .item .recommend.data-v-f4a9697d{width:112rpx;height:36rpx;background:#f3f2ea;border-radius:8rpx 0rpx;position:absolute;text-align:center;margin-top:-18rpx}.buy .number .list .item .recommend>text.data-v-f4a9697d{font-size:20rpx;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#666;line-height:36rpx}.buy .number .list .real.data-v-f4a9697d{border:2rpx solid #f88700;background-color:rgba(248,135,0,.1)}.buy .number .list.data-v-f4a9697d:after{content:"";width:194rpx}.buy .number .sure.data-v-f4a9697d{width:582rpx;height:80rpx;background:#ff6a5f;border-radius:40rpx;text-align:center}.buy .number .sure>text.data-v-f4a9697d{font-size:28rpx;font-family:PingFangSC-Medium,PingFang SC;font-weight:600;color:#fff;line-height:80rpx}.buy .tip.data-v-f4a9697d{background:#fff;padding:40rpx;padding-top:0}.buy .tip .titl.data-v-f4a9697d{font-size:28rpx;font-family:PingFangSC-Medium,PingFang SC;font-weight:600;color:#666;line-height:40rpx;margin-bottom:6rpx}.buy .tip>view>text.data-v-f4a9697d{font-size:22rpx;font-family:PingFangSC-Regular,PingFang SC;color:#999;line-height:32rpx}.buy .tip>view:nth-child(2)>text.data-v-f4a9697d:nth-child(2){color:#333}.buy .tip>view:nth-child(5)>text.data-v-f4a9697d:nth-child(2){color:#ff6a5f;font-weight:600;border-bottom:2rpx solid #ff6a5f}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),r={data:()=>({}),methods:{}};if(!Array){e.resolveComponent("statusBar")()}Math;const t=e._export_sfc(r,[["render",function(e,r,t,o,n,s){return{}}]]);wx.createPage(t);

View File

@@ -0,0 +1,6 @@
{
"navigationBarTitleText": "",
"usingComponents": {
"status-bar": "../../components/statusBar/statusBar"
}
}

View File

@@ -0,0 +1 @@
<view><status-bar u-i="52b5345c-0" bind:__l="__l"/></view>

View File

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),a=require("../../api/api.js");if(!Array){(e.resolveComponent("statusBar")+e.resolveComponent("z-paging")+e.resolveComponent("cc-myTabbar"))()}Math||((()=>"../../components/statusBar/statusBar.js")+(()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js")+(()=>"../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar.js"))();const t={__name:"order",setup(t){const o=e.ref(null);let r=e.ref([]);e.ref([]);let n=e.ref(1),s=e.ref([{name:"全部",type:""},{name:"进行中",type:1},{name:"已完成",type:2},{name:"待支付",type:3}]),c=e=>{n.value=e,o.value.reload()};e.onLoad((async()=>{}));let u=a=>{2!=a.status&&3!=a.status&&4!=a.status||e.index.navigateTo({url:`/pageOrder/recharge/recharge?transactionNo=${a.transactionNo}&type=order`})},l=()=>!o.value;e.onPullDownRefresh((()=>{l()||o.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{l()||(o.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&o.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{l()||o.value.pageReachBottom()}));const p=(e,t)=>{const r={current:e,pageSize:t,type:n.value};a.ordersList(r).then((e=>{o.value.complete(e)})).catch((e=>{o.value.complete(!1)}))};return(a,t)=>({a:e.f(e.unref(s),((a,t,o)=>e.e({a:e.t(a.name),b:a.type==e.unref(n)},(a.type,e.unref(n),{}),{c:e.o((t=>e.unref(c)(a.type)),t),d:t,e:e.n(e.unref(n)==a.type?"order_header_active":"")}))),b:e.f(e.unref(r),((a,t,o)=>({a:e.t(a.orderNo),b:e.t(a.startTime),c:e.t(a.endTime),d:e.t(a.useDegree),e:e.t(a.serviceAmount),f:e.t(a.electricityAmount),g:e.t(a.preAmount),h:e.t(a.actuallyAmount),i:t,j:e.o((t=>e.unref(u)(a)),t)}))),c:e.sr(o,"2fb2318d-0",{k:"paging"}),d:e.o(p),e:e.o((a=>e.isRef(r)?r.value=a:r=a)),f:e.p({"use-page-scroll":!0,modelValue:e.unref(r)}),g:e.p({tabBarShow:3})})}},o=e._export_sfc(t,[["__scopeId","data-v-2fb2318d"]]);t.__runtimeHooks=1,wx.createPage(o);

View File

@@ -0,0 +1,10 @@
{
"navigationBarTitleText": "",
"enablePullDownRefresh": false,
"navigationStyle": "custom",
"usingComponents": {
"status-bar": "../../components/statusBar/statusBar",
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging",
"cc-my-tabbar": "../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar"
}
}

View File

@@ -0,0 +1 @@
<view class="order data-v-2fb2318d"><z-paging wx:if="{{f}}" class="r data-v-2fb2318d" u-s="{{['d']}}" u-r="paging" bindquery="{{d}}" u-i="2fb2318d-0" bind:__l="__l" bindupdateModelValue="{{e}}" u-p="{{f}}"><view class="data-v-2fb2318d"><status-bar class="data-v-2fb2318d" u-i="2fb2318d-1,2fb2318d-0" bind:__l="__l"/><view class="p30 data-v-2fb2318d"><view class="order_header data-v-2fb2318d"><view wx:for="{{a}}" wx:for-item="item" wx:key="d" bindtap="{{item.c}}" class="{{['order_header_view', 'data-v-2fb2318d', item.e]}}">{{item.a}} <view wx:if="{{item.b}}" class="order_header_xian data-v-2fb2318d"></view></view></view></view></view><view class="p30 data-v-2fb2318d"><view wx:for="{{b}}" wx:for-item="item" wx:key="i" class="order_list data-v-2fb2318d" bindtap="{{item.j}}"><view class="order_list_header data-v-2fb2318d">订单编号:{{item.a}}</view><view class="order_list_view data-v-2fb2318d"><view class="data-v-2fb2318d">充电时间</view><view class="data-v-2fb2318d">{{item.b}}</view></view><view class="order_list_view data-v-2fb2318d"><view class="data-v-2fb2318d">结束时间</view><view class="data-v-2fb2318d">{{item.c}}</view></view><view class="order_list_view data-v-2fb2318d"><view class="data-v-2fb2318d">充电电量</view><view class="data-v-2fb2318d">{{item.d}}度</view></view><view class="order_list_view data-v-2fb2318d"><view class="data-v-2fb2318d">服务费</view><view class="data-v-2fb2318d">{{item.e}}元</view></view><view class="order_list_view data-v-2fb2318d"><view class="data-v-2fb2318d">电费</view><view class="data-v-2fb2318d">{{item.f}}元</view></view><view class="order_list_view data-v-2fb2318d"><view class="data-v-2fb2318d">预付金额</view><view class="data-v-2fb2318d">{{item.g}}元</view></view><view class="order_list_total data-v-2fb2318d">实付金额:{{item.h}}元</view></view></view></z-paging><view class="data-v-2fb2318d" style="height:180rpx"></view><cc-my-tabbar wx:if="{{g}}" class="data-v-2fb2318d" u-i="2fb2318d-2" bind:__l="__l" u-p="{{g}}"></cc-my-tabbar></view>

View File

@@ -0,0 +1 @@
.order_header.data-v-2fb2318d{display:flex;align-items:center;flex-direction:row;justify-content:space-between;font-weight:700;font-size:36rpx;color:#232323;border-bottom:4rpx solid #e9ecf2}.order_header_view.data-v-2fb2318d{padding:15rpx 0;position:relative}.order_header_view view.data-v-2fb2318d{position:absolute;left:calc(50% - 49rpx);bottom:-4rpx;width:98rpx;height:8rpx;background:#4879e6;border-radius:8rpx}.order_header_active.data-v-2fb2318d{color:#4879e6}.order_list.data-v-2fb2318d{padding:25rpx;background:#fff;border-radius:8rpx;margin-top:30rpx}.order_list_header.data-v-2fb2318d{font-weight:700;font-size:26rpx;color:#4879e6;padding-bottom:20rpx;border-bottom:2rpx solid #ebebeb;margin-bottom:20rpx}.order_list_view.data-v-2fb2318d{display:flex;align-items:center;flex-direction:row;justify-content:space-between;font-weight:400;font-size:26rpx;color:#232323;margin-bottom:20rpx}.order_list_total.data-v-2fb2318d{flex:1;text-align:right;font-weight:700;font-size:40rpx;color:#4879e6}

View File

@@ -0,0 +1 @@
"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),s=require("../../hooks/useNav.js"),t=require("../../utils/fun.js");if(!Array){(e.resolveComponent("statusBar")+e.resolveComponent("up-input")+e.resolveComponent("up-button")+e.resolveComponent("cc-myTabbar"))()}Math||((()=>"../../components/statusBar/statusBar.js")+(()=>"../../uni_modules/uview-plus/components/u-input/u-input.js")+(()=>"../../uni_modules/uview-plus/components/u-button/u-button.js")+(()=>"../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar.js"))();const n={__name:"sweep",setup(n){const{nav:u,navTo:r}=s.useNav();let a=e.ref("");e.onLoad((()=>{}));const c=async()=>{e.index.scanCode({success:function(o){let s=t.urlQuery(o.result);s.num?r(`/pages/home/star?id=${s.num}`):e.index.showToast({title:"请扫描正确的设备码",icon:"none"})}})},p=async()=>{a.value?r(`/pages/home/star?id=${a.value}`):e.index.showToast({title:"请输入枪号",icon:"none"})};return(s,t)=>({a:o._imports_0$3,b:o._imports_1$2,c:o._imports_2$1,d:e.o((o=>e.isRef(a)?a.value=o:a=o)),e:e.p({placeholder:"请输入充电枪编号",type:"number",border:"surround",modelValue:e.unref(a)}),f:e.o(p),g:e.p({type:"primary",text:"确定"}),h:e.o(c),i:e.p({type:"primary",shape:"circle",text:"扫码充电"}),j:e.p({tabBarShow:2})})}},u=e._export_sfc(n,[["__scopeId","data-v-2094e68c"]]);wx.createPage(u);

View File

@@ -0,0 +1,10 @@
{
"navigationBarTitleText": "扫码充电",
"navigationStyle": "custom",
"usingComponents": {
"status-bar": "../../components/statusBar/statusBar",
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input",
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button",
"cc-my-tabbar": "../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar"
}
}

View File

@@ -0,0 +1 @@
<view class="sweep data-v-2094e68c"><status-bar class="data-v-2094e68c" u-i="2094e68c-0" bind:__l="__l"/><view class="sweep_note data-v-2094e68c"><view class="sweep_note_view data-v-2094e68c"><view class="sweep_note_view_img data-v-2094e68c"><image class="data-v-2094e68c" src="{{a}}" mode="widthFix"></image></view><view class="data-v-2094e68c">插上</view><view class="data-v-2094e68c">充电枪</view></view><view class="sweep_note_view data-v-2094e68c"><view class="sweep_note_view_img data-v-2094e68c"><image class="data-v-2094e68c" src="{{b}}" mode="widthFix"></image></view><view class="data-v-2094e68c">点击</view><view class="data-v-2094e68c">扫码充电</view></view><view class="sweep_note_view data-v-2094e68c"><view class="sweep_note_view_img data-v-2094e68c"><image class="data-v-2094e68c" src="{{c}}" mode="widthFix"></image></view><view class="data-v-2094e68c">点击</view><view class="data-v-2094e68c">开始充电</view></view></view><view class="sweep_scan data-v-2094e68c" style="margin-top:300rpx"><up-input wx:if="{{e}}" class="data-v-2094e68c" u-i="2094e68c-1" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"></up-input><view class="data-v-2094e68c" style="width:100rpx"><up-button wx:if="{{g}}" class="data-v-2094e68c" bindclick="{{f}}" u-i="2094e68c-2" bind:__l="__l" u-p="{{g}}"></up-button></view></view><view class="sweep_scan data-v-2094e68c" style="margin-top:150rpx"><up-button wx:if="{{i}}" class="data-v-2094e68c" bindclick="{{h}}" u-i="2094e68c-3" bind:__l="__l" u-p="{{i}}"></up-button></view><cc-my-tabbar wx:if="{{j}}" class="data-v-2094e68c" u-i="2094e68c-4" bind:__l="__l" u-p="{{j}}"></cc-my-tabbar></view>

View File

@@ -0,0 +1 @@
.sweep_note.data-v-2094e68c{padding:0 60rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.sweep_note_view.data-v-2094e68c{display:flex;align-items:center;flex-direction:column;justify-content:center;font-weight:800;font-size:32rpx;color:#4879e6}.sweep_note_view_img.data-v-2094e68c{display:flex;align-items:flex-end;height:115rpx;margin-bottom:30rpx}.sweep_note_view:nth-child(1) image.data-v-2094e68c{width:151rpx;height:99rpx}.sweep_note_view:nth-child(2) image.data-v-2094e68c{width:120rpx;height:99rpx}.sweep_note_view:nth-child(3) image.data-v-2094e68c{width:106rpx;height:113rpx}.sweep_scan.data-v-2094e68c{display:flex;align-items:center;flex-direction:row;justify-content:start;padding:0 120rpx}