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 request_index=require("../request/index.js");const loginCodeApi=(params,config={})=>request_index.http("/api/v0/login/loginByWxCode",params);const loginByZfbCode=(params,config={})=>request_index.http("/api/v0/login/loginByZfbCode",params);const aroundAreaApi=(params,config={})=>request_index.http("/api/v0/stations/aroundArea",params,"GET");const infoAroundApi=(params,config={})=>request_index.http("/api/v0/stations/info",params,"GET");const listByStationId=(params,config={})=>request_index.http("/api/v0/device/gun/listByStationId",params,"GET");const gunInfo=(params,config={})=>request_index.http("/api/v0/device/gun/info",params,"GET");const userInfo=(params,config={})=>request_index.http("/api/v0/user/info",params,"GET");const ordersList=(params,config={})=>request_index.http("/api/v0/orders/list",params,"GET");const startChargingByWallet=(params,config={})=>request_index.http("/api/v0/orders/startChargingByWallet",params);const startChargingByCard=(params,config={})=>request_index.http("/api/v0/orders/startChargingByCard",params);const startChargingByAdaPay=(params,config={})=>request_index.http("/api/v0/orders/startChargingByAdaPay",params);const stopCharging=(params,config={})=>request_index.http("/api/v0/orders/stopCharging",params);const bannerList=(params,config={})=>request_index.http("/api/v0/banner/list",params,"GET");const updateNickName=(params,config={})=>request_index.http("/api/v0/user/updateNickName",params);const updateAvatar=(params,config={})=>request_index.http("/api/v0/user/updateAvatar",params);const getOssUploadParams=(params,config={})=>request_index.http("/api/v0/user/getOssUploadParams",params,"GET");const realtimeInfo=(params,config={})=>request_index.http("/api/v0/orders/realtimeInfo",params,"GET");const walletRecord=(params,config={})=>request_index.http("/api/v0/wallet/record",params,"GET");const userCardList=(params,config={})=>request_index.http("/api/v0/card/userCardList",params,"GET");const userCardRecord=(params,config={})=>request_index.http("/api/v0/card/userCardRecord",params,"GET");const adaPay=(params,config={})=>request_index.http("/api/v0/wallet/charge/adaPay",params);const aroundAreaMap=(params,config={})=>request_index.http("/api/v0/stations/aroundAreaMap",params,"GET");const selectProtocolInfo=(params,config={})=>request_index.http("/api/v0/protocol/info",params,"GET");const invoiceList=(params,config={})=>request_index.http("/api/v0/invoice/list",params,"GET");const orderList=(params,config={})=>request_index.http("/api/v0/invoice/orderList",params,"GET");const preApply=(params,config={})=>request_index.http("/api/v0/invoice/preApply",params);const apply=(params,config={})=>request_index.http("/api/v0/invoice/apply",params);const userCardUsableList=(params,config={})=>request_index.http("/api/v0/card/userCardUsableList",params,"GET");const refund=(params,config={})=>request_index.http("/api/v0/wallet/refund",params);const ordersInfo=(params,config={})=>request_index.http("/api/v0/orders/info",params,"GET");exports.adaPay=adaPay;exports.apply=apply;exports.aroundAreaApi=aroundAreaApi;exports.aroundAreaMap=aroundAreaMap;exports.bannerList=bannerList;exports.getOssUploadParams=getOssUploadParams;exports.gunInfo=gunInfo;exports.infoAroundApi=infoAroundApi;exports.invoiceList=invoiceList;exports.listByStationId=listByStationId;exports.loginByZfbCode=loginByZfbCode;exports.loginCodeApi=loginCodeApi;exports.orderList=orderList;exports.ordersInfo=ordersInfo;exports.ordersList=ordersList;exports.preApply=preApply;exports.realtimeInfo=realtimeInfo;exports.refund=refund;exports.selectProtocolInfo=selectProtocolInfo;exports.startChargingByAdaPay=startChargingByAdaPay;exports.startChargingByCard=startChargingByCard;exports.startChargingByWallet=startChargingByWallet;exports.stopCharging=stopCharging;exports.updateAvatar=updateAvatar;exports.updateNickName=updateNickName;exports.userCardList=userCardList;exports.userCardRecord=userCardRecord;exports.userCardUsableList=userCardUsableList;exports.userInfo=userInfo;exports.walletRecord=walletRecord;

File diff suppressed because one or more lines are too long

1
unpackage/dist/build/mp-alipay/app.js vendored Normal file
View File

@@ -0,0 +1 @@
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const common_vendor=require("./common/vendor.js");const uni_modules_uviewPlus_index=require("./uni_modules/uview-plus/index.js");const utils_sok=require("./utils/sok.js");const store_index=require("./store/index.js");const uni_modules_uviewPlus_libs_mixin_mpShare=require("./uni_modules/uview-plus/libs/mixin/mpShare.js");if(!Math){"./pages/home/home.js";"./pages/index/index.js";"./pages/mine/mine.js";"./pages/order/order.js";"./pages/sweep/sweep.js";"./pages/order/detail.js";"./pages/home/detail.js";"./pages/login/login.js";"./pages/home/star.js";"./pages/mine/earnings.js";"./pages/mine/sett.js";"./pages/mine/incomeList.js";"./pages/mine/card.js";"./pages/mine/cardList.js";"./pages/money/recharge.js";"./pages/agreement/agreement.js";"./pageOrder/recharge/recharge.js";"./pageMake/invoice/invoice.js";"./pageMake/invoice/applyFor.js";"./pageMake/invoice/makeInvoice.js";"./pageMake/invoice/applyForDay.js";"./pageMake/refund/refund.js"}const _sfc_main={onLaunch:function(){if(common_vendor.index.getStorageSync("token")){utils_sok.init()}common_vendor.index.hideTabBar();console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};function createApp(){const app=common_vendor.createSSRApp(_sfc_main);app.mixin(uni_modules_uviewPlus_libs_mixin_mpShare.mpShare);app.use(uni_modules_uviewPlus_index.uviewPlus);app.use(store_index.store);return{app:app}}createApp().app.mount("#app");exports.createApp=createApp;

72
unpackage/dist/build/mp-alipay/app.json vendored Normal file
View File

@@ -0,0 +1,72 @@
{
"pages": [
"pages/home/home",
"pages/index/index",
"pages/mine/mine",
"pages/order/order",
"pages/sweep/sweep",
"pages/order/detail",
"pages/home/detail",
"pages/login/login",
"pages/home/star",
"pages/mine/earnings",
"pages/mine/sett",
"pages/mine/incomeList",
"pages/mine/card",
"pages/mine/cardList",
"pages/money/recharge",
"pages/agreement/agreement"
],
"subPackages": [
{
"root": "pageOrder",
"pages": [
"recharge/recharge"
]
},
{
"root": "pageMake",
"pages": [
"invoice/invoice",
"invoice/applyFor",
"invoice/makeInvoice",
"invoice/applyForDay",
"refund/refund"
]
}
],
"window": {
"defaultTitle": "",
"titleBarColor": "#F8F8F8",
"backgroundColor": "#F8F8F8"
},
"tabBar": {
"textColor": "#999999",
"selectedColor": "#999999",
"backgroundColor": "#ffffff",
"items": [
{
"pagePath": "pages/home/home",
"name": "首页"
},
{
"pagePath": "pages/index/index",
"name": "地图"
},
{
"pagePath": "pages/sweep/sweep",
"name": "扫码充电"
},
{
"pagePath": "pages/order/order",
"name": "订单"
},
{
"pagePath": "pages/mine/mine",
"name": "我的"
}
]
},
"subPackageBuildType": "shared",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
"use strict";const _imports_0$8="/static/icon/dd.png";const _imports_1$4="/static/icon/kj.png";const _imports_2$2="/static/icon/kp.png";const _imports_3="/static/icon/kf.png";const _imports_0$7="/static/icon/location-marker-icon.png";const _imports_0$6="/static/icon/sett.png";const _imports_1$3="/static/icon/ka.png";const _imports_1$2="/static/icon/9you.png";const _imports_0$5="/static/image/djk.png";const _imports_1$1="/static/image/djs.png";const _imports_2$1="/static/image/cs.png";const _imports_0$4="/static/icon/eleclist-terminal.png";const _imports_0$3="/static/image/login26_bg.png";const _imports_0$2="/static/icon/copy.png";const _imports_0$1="/static/icon/ic-copy1.png";const _imports_0="/static/icon/cd.png";const _imports_1="/static/icon/dw.png";const _imports_2="/static/icon/tc.png";exports._imports_0=_imports_0$8;exports._imports_0$1=_imports_0$7;exports._imports_0$2=_imports_0$6;exports._imports_0$3=_imports_0$5;exports._imports_0$4=_imports_0$4;exports._imports_0$5=_imports_0$3;exports._imports_0$6=_imports_0$2;exports._imports_0$7=_imports_0$1;exports._imports_0$8=_imports_0;exports._imports_1=_imports_1$4;exports._imports_1$1=_imports_1$3;exports._imports_1$2=_imports_1$2;exports._imports_1$3=_imports_1$1;exports._imports_1$4=_imports_1;exports._imports_2=_imports_2$2;exports._imports_2$1=_imports_2$1;exports._imports_2$2=_imports_2;exports._imports_3=_imports_3;

View File

@@ -0,0 +1 @@
"use strict";const common_vendor=require("../vendor.js");const api_api=require("../../api/api.js");const utils_sok=require("../../utils/sok.js");const login=async(params,type=1)=>{if(type==1){var{code:loginCode}=await common_vendor.index.login({provider:"weixin"});try{let{token:token,userInfo:userInfo}=await api_api.loginCodeApi({loginCode:loginCode});common_vendor.index.setStorageSync("token",token);common_vendor.index.setStorageSync("user",userInfo)}catch(err){if(err.code==10){common_vendor.index.setStorageSync("token",false)}}}else if(type==2){var{code:phoneCode}=params.detail;var{code:loginCode}=await common_vendor.index.login({provider:"alipay"});try{let{token:token,user:user}=await api_api.loginByZfbCode({phoneCode:phoneCode,loginCode:loginCode});common_vendor.index.setStorageSync("token",token);common_vendor.index.setStorageSync("user",user);common_vendor.index.navigateBack();utils_sok.init()}catch(err){console.log(err)}}};exports.login=login;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
.orderList.data-v-28b22784{width:100%;padding:25rpx;box-shadow:0 -6rpx 8rpx 2rpx rgba(66,115,229,.05);border-radius:16rpx;position:relative;background:linear-gradient(270deg,rgba(247,247,247,0) -500%,#fff),url(../../static/icon/b1.png);background-size:cover;background-repeat:no-repeat}.orderList_right.data-v-28b22784{display:flex;align-items:center;flex-direction:column;justify-content:start;font-family:DIN,DIN;font-weight:700;font-size:28rpx;color:#232323}.orderList_right image.data-v-28b22784{margin-top:45rpx;width:50rpx;height:50rpx}.orderList_img.data-v-28b22784{flex:1;display:flex;align-items:center;flex-direction:row;justify-content:space-between;padding-bottom:20rpx;border-bottom:4rpx solid #ebebeb;margin-bottom:20rpx}.orderList_img view.data-v-28b22784{width:205rpx;height:170rpx}.orderList_img image.data-v-28b22784{width:205rpx;height:170rpx}.orderList_header.data-v-28b22784{flex:1;display:flex;align-items:center;flex-direction:row;justify-content:start;font-weight:700;font-size:32rpx;color:#232323;margin-bottom:20rpx}.orderList_header_img.data-v-28b22784{width:52rpx;height:52rpx;margin-right:20rpx}.orderList_money.data-v-28b22784{display:flex;align-items:center;flex-direction:row;justify-content:start;color:#eb2424;font-weight:700;margin-bottom:20rpx}.orderList_money view.data-v-28b22784:nth-child(1){font-size:48rpx}.orderList_money view.data-v-28b22784:nth-child(2){font-size:36rpx}.orderList_cd.data-v-28b22784{display:flex;align-items:center;flex-direction:row;justify-content:start;margin-bottom:20rpx}.orderList_cd_m.data-v-28b22784{display:flex;align-items:center;flex-direction:row;justify-content:start}.orderList_cd_m_img.data-v-28b22784{width:40rpx;height:40rpx;margin-right:15rpx}.orderList_cd_m_x.data-v-28b22784{margin-right:10rpx;font-size:28rpx;color:#232323}.orderList_cd_m_n.data-v-28b22784{font-weight:700;font-size:28rpx;color:#232323}.orderList_cd_m.data-v-28b22784:nth-child(1){margin-right:45rpx}.orderList_note.data-v-28b22784{display:flex;align-items:center;flex-direction:row;justify-content:start;flex:1;min-height:50rpx;background:linear-gradient(270deg,rgba(247,247,247,0),#f7f7f7);border-radius:4rpx;font-weight:700;font-size:24rpx;color:#232323;padding:0 15rpx}.orderList_note_img.data-v-28b22784{width:31rpx;height:31rpx;margin-right:20rpx}.nowrapText.data-v-28b22784{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

View File

@@ -0,0 +1 @@
<view class="data-v-28b22784"><view class="orderList data-v-28b22784" onTap="{{n}}"><view a:if="{{a}}" class="orderList_img data-v-28b22784"><image a:for="{{b}}" a:for-item="i" a:key="a" class="data-v-28b22784" src="{{i.b}}" mode="aspectFill"></image><view a:if="{{c}}" class="data-v-28b22784"></view></view><view class="data-v-28b22784" style="display:flex;align-items:center;justify-content:space-between"><view class="data-v-28b22784"><view class="orderList_header data-v-28b22784"><image class="orderList_header_img data-v-28b22784" src="{{d}}" mode="widthFix"></image><view class="data-v-28b22784">{{e}}</view></view><view class="orderList_money data-v-28b22784"><view class="data-v-28b22784">{{f}}</view><view class="data-v-28b22784">元/度</view></view><view class="orderList_cd data-v-28b22784"><view class="orderList_cd_m data-v-28b22784"><text class="orderList_cd_m_x data-v-28b22784">闲</text><text class="orderList_cd_m_n data-v-28b22784">{{g}}/{{h}}</text></view></view></view><view class="orderList_right data-v-28b22784"><view class="data-v-28b22784">{{i}}KM</view><image class="orderList_note_img data-v-28b22784" src="{{j}}" mode="widthFix"></image></view></view><view class="orderList_note data-v-28b22784"><image class="orderList_note_img data-v-28b22784" src="{{k}}" mode="widthFix"></image><view class="{{('data-v-28b22784') + ' ' + m}}">{{l}}</view></view></view></view>

View File

@@ -0,0 +1 @@
"use strict";const common_vendor=require("../../common/vendor.js");const common_assets=require("../../common/assets.js");const _sfc_main={__name:"orderList",props:{Image:{type:Boolean,default:false},toNav:{type:Boolean,default:false},info:{type:Object,default:{}},list:{type:Array,default:[]},type:{type:String,default:"list"}},setup(__props){const data=__props;let toPath=()=>{if(!data.toNav)return true;common_vendor.index.navigateTo({url:`/pages/home/detail?id=${data.info.id}&distance=${data.info.distance}`})};return(_ctx,_cache)=>common_vendor.e({a:__props.Image&&__props.list.length!=0},__props.Image&&__props.list.length!=0?common_vendor.e({b:common_vendor.f(__props.list,((i,n,i0)=>({a:n,b:i}))),c:__props.list.length==2},__props.list.length==2?{}:{}):{},{d:common_assets._imports_0$8,e:common_vendor.t(__props.info.stationName),f:common_vendor.t(__props.info.priceAmount),g:common_vendor.t(__props.info.gunUseCount||0),h:common_vendor.t(__props.info.gunCount||0),i:common_vendor.t(__props.info.distance),j:common_assets._imports_1$4,k:common_assets._imports_2$2,l:common_vendor.t(__props.info.parkCostInfo),m:common_vendor.n(__props.type=="list"?"nowrapText":""),n:common_vendor.o(((...args)=>common_vendor.unref(toPath)&&common_vendor.unref(toPath)(...args)))})}};const Component=common_vendor._export_sfc(_sfc_main,[["__scopeId","data-v-28b22784"]]);my.createComponent(Component);

View File

@@ -0,0 +1,5 @@
{
"component": true,
"styleIsolation": "apply-shared",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
.Fixed{position:fixed;left:0;width:100%;padding:0 30rpx;z-index:99}.search{display:flex;align-items:center;flex-direction:row;justify-content:space-between}.search_left{display:flex;align-items:center;flex-direction:row;justify-content:start;font-weight:700;font-size:40rpx;color:#232323;height:86rpx}.search_left_img{width:36rpx;height:36rpx;margin-right:15rpx}.search .opacityLeft{background:rgba(255,255,255,.27);border-radius:10rpx;padding:0 10rpx}.search_right{flex:1;display:flex;align-items:center;flex-direction:row;justify-content:start;height:86rpx;background:#fff;box-shadow:inset 0 0 22rpx 2rpx #f9fbff;border-radius:20rpx}

View File

@@ -0,0 +1 @@
<view class="{{f}}"><view style="{{'height:' + a}}"></view><view style="height:44px"></view><view class="search"><view class="search_right p30"><up-input onChange="{{b}}" onConfirm="{{c}}" u-i="030144b5-0" onVI="__l" onUpdateModelValue="{{d}}" u-p="{{e}}"></up-input></view></view></view>

View File

@@ -0,0 +1 @@
"use strict";const common_vendor=require("../../common/vendor.js");if(!Array){const _easycom_up_input2=common_vendor.resolveComponent("up-input");_easycom_up_input2()}const _easycom_up_input=()=>"../../uni_modules/uview-plus/components/u-input/u-input.js";if(!Math){_easycom_up_input()}const _sfc_main={__name:"search",props:{Fixed:{type:Boolean,default:false}},emits:["change","search"],setup(__props,{emit:__emit}){let value=common_vendor.ref("");const statusBarHeight=common_vendor.index.getSystemInfoSync().statusBarHeight+"px";const emits=__emit;let change=e=>{emits("change",e)};let confirm=e=>{emits("search",e)};return(_ctx,_cache)=>({a:statusBarHeight,b:common_vendor.o(common_vendor.unref(change)),c:common_vendor.o(common_vendor.unref(confirm)),d:common_vendor.o(($event=>common_vendor.isRef(value)?value.value=$event:value=$event)),e:common_vendor.p({placeholder:"查找地点、电站",confirmType:"search",suffixIcon:"/static/icon/search.png",border:"none",modelValue:common_vendor.unref(value)}),f:common_vendor.n(__props.Fixed?"Fixed":"")})}};my.createComponent(_sfc_main);

View File

@@ -0,0 +1,7 @@
{
"component": true,
"styleIsolation": "apply-shared",
"usingComponents": {
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input"
}
}

View File

@@ -0,0 +1 @@
.statusBar_blur{width:100%;height:185rpx;position:absolute;top:0;left:0;background:#dbe6ff;opacity:.8;filter:blur(50px);z-index:0}

View File

@@ -0,0 +1 @@
<view style="position:relative"><view style="{{'height:' + a}}"></view><view style="height:44px"></view><view class="statusBar_blur"></view></view>

View File

@@ -0,0 +1 @@
"use strict";const common_vendor=require("../../common/vendor.js");const _sfc_main={__name:"statusBar",setup(__props){const statusBarHeight=common_vendor.index.getSystemInfoSync().statusBarHeight+"px";return(_ctx,_cache)=>({a:statusBarHeight})}};my.createComponent(_sfc_main);

View File

@@ -0,0 +1,5 @@
{
"component": true,
"styleIsolation": "apply-shared",
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
"use strict";const config={baseUrl:"https://appapi.prod.zhongshuai2023.com"};exports.config=config;

View File

@@ -0,0 +1 @@
"use strict";const common_vendor=require("../common/vendor.js");function useNav(){const nav=e=>{common_vendor.index[e.type=="nav"||!e.type?"navigateTo":e.type=="switchTab"?"switchTab":"navigateTo"]({url:e.path})};const navTo=(path,token,call)=>{if(!common_vendor.index.getStorageSync("token")){common_vendor.index.showModal({title:"提示",content:"为提供更好的服务,请前往登录",success:res=>{if(res.confirm){common_vendor.index.navigateTo({url:"/pages/login/login"})}else if(res.cancel){console.log("用户点击取消")}}});return}common_vendor.index.navigateTo({url:path})};return{nav:nav,navTo:navTo}}exports.useNav=useNav;

View File

@@ -0,0 +1,11 @@
{
"format": 2,
"compileOptions": {
"component2": true,
"enableNodeModuleBabelTransform": true
},
"unknownConfig": {
"appid": "2021004150609395",
"projectname": "云充电"
}
}

View File

@@ -0,0 +1 @@
.invoice_tip.data-v-8baf785a{padding:20rpx;font-size:24rpx;color:#3c9cff;background-color:rgba(60,156,255,.2)}.invoice_tip view.data-v-8baf785a{line-height:40rpx}.invoice_list.data-v-8baf785a{padding:15rpx 30rpx;background-color:#fff}.invoice_list_view.data-v-8baf785a{display:flex;align-items:center;justify-content:space-between;font-size:28rpx;margin-bottom:25rpx}.invoice_list_view_left.data-v-8baf785a{color:#646368}.invoice_list_view_right.data-v-8baf785a{color:#262626}

View File

@@ -0,0 +1 @@
<view class="invoice data-v-8baf785a"><view class="invoice_tip data-v-8baf785a"><view class="data-v-8baf785a" style="display:flex;align-items:center"><up-icon class="data-v-8baf785a" u-i="8baf785a-0" onVI="__l" u-p="{{a}}"></up-icon> 发票须知: </view><view class="data-v-8baf785a">1.开票金额为用户实际支付金额(不含返利返佣)</view><view class="data-v-8baf785a">2.未寄出的纸质发票会在开票确认后的20个工作日内寄出</view><view class="data-v-8baf785a">3.单笔订单只支持开具一种发票类型</view><view class="data-v-8baf785a">4.云快充仅为平台方,实际开票主体以申请开票时展示的开票运营商公司为准</view><view class="data-v-8baf785a">5.发票由各家电站运营商提供,一起申请可能会生成多张发票</view><view class="data-v-8baf785a">6.若超过20个工作日仍未收到发票您可以通过(区号)+12366向开票公司所在区域的主管税务机关进行反馈处理</view></view><view class="data-v-8baf785a" style="height:20rpx"></view><view class="data-v-8baf785a"><z-paging class="data-v-8baf785a" u-s="{{['d']}}" ref="__r" u-r="{{f}}" onQuery="{{g}}" u-i="8baf785a-1" onVI="__l" onUpdateModelValue="{{h}}" u-p="{{i}}"><up-checkbox-group class="data-v-8baf785a" u-s="{{['d']}}" onChange="{{c}}" u-i="8baf785a-2,8baf785a-1" onVI="__l" onUpdateModelValue="{{d}}" u-p="{{e}}"><view a:for="{{b}}" a:for-item="item" a:key="g" class="invoice_list data-v-8baf785a" style="margin-bottom:20rpx"><view class="data-v-8baf785a" style="display:flex;align-items:center;font-weight:bold;font-size:30rpx;margin-bottom:30rpx"><up-checkbox class="data-v-8baf785a" u-i="{{item.a}}" onVI="__l" u-p="{{item.b}}"></up-checkbox> 充电单号:{{item.c}}</view><view class="data-v-8baf785a" style="display:flex;align-items:center;justify-content:space-between;background-color:#f6f6f6;border-radius:15rpx;padding:20rpx"><view class="data-v-8baf785a" style="font-size:28rpx"><view class="data-v-8baf785a" style="margin-bottom:15rpx">即途展厅</view><view class="data-v-8baf785a" style="margin-bottom:15rpx">{{item.d}}电费</view><view class="data-v-8baf785a">{{item.e}}服务费</view></view><view class="data-v-8baf785a" style="text-align:right"><view class="data-v-8baf785a" style="margin-bottom:25rpx;font-size:36rpx;font-weight:bold;color:#4879e6">{{item.f}} <text class="data-v-8baf785a" style="font-size:30rpx">元</text></view><view class="data-v-8baf785a" style="font-size:28rpx">个人支付</view></view></view></view></up-checkbox-group></z-paging></view><view class="data-v-8baf785a" style="position:fixed;bottom:0;left:0;width:750rpx;padding:20rpx 50rpx;background-color:#fff;display:flex;align-items:center;justify-content:space-between"><view class="data-v-8baf785a" style="display:flex;align-items:center"><up-checkbox class="data-v-8baf785a" onChange="{{j}}" u-i="8baf785a-4" onVI="__l" onUpdateChecked="{{k}}" u-p="{{l}}"></up-checkbox></view><view class="data-v-8baf785a" style="width:230rpx"><up-button class="data-v-8baf785a" onClick="{{m}}" u-i="8baf785a-5" onVI="__l" u-p="{{n}}"></up-button></view></view></view>

View File

@@ -0,0 +1 @@
"use strict";const common_vendor=require("../../common/vendor.js");const hooks_useNav=require("../../hooks/useNav.js");const api_api=require("../../api/api.js");if(!Array){const _easycom_up_icon2=common_vendor.resolveComponent("up-icon");const _easycom_up_checkbox2=common_vendor.resolveComponent("up-checkbox");const _easycom_up_checkbox_group2=common_vendor.resolveComponent("up-checkbox-group");const _easycom_z_paging2=common_vendor.resolveComponent("z-paging");const _easycom_up_button2=common_vendor.resolveComponent("up-button");(_easycom_up_icon2+_easycom_up_checkbox2+_easycom_up_checkbox_group2+_easycom_z_paging2+_easycom_up_button2)()}const _easycom_up_icon=()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js";const _easycom_up_checkbox=()=>"../../uni_modules/uview-plus/components/u-checkbox/u-checkbox.js";const _easycom_up_checkbox_group=()=>"../../uni_modules/uview-plus/components/u-checkbox-group/u-checkbox-group.js";const _easycom_z_paging=()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js";const _easycom_up_button=()=>"../../uni_modules/uview-plus/components/u-button/u-button.js";if(!Math){(_easycom_up_icon+_easycom_up_checkbox+_easycom_up_checkbox_group+_easycom_z_paging+_easycom_up_button)()}const _sfc_main={__name:"applyFor",setup(__props){const{nav:nav,navTo:navTo}=hooks_useNav.useNav();let checkboxValue1=common_vendor.ref([]);const dataList=common_vendor.ref([]);const paging=common_vendor.ref(null);let allCel=common_vendor.ref(false);const allCheck=e=>{if(e){checkboxValue1.value=dataList.value.map(((item,index)=>item.id))}else{checkboxValue1.value=[]}allCel.value=e;console.log(e)};const queryList=async(pageNo,pageSize)=>{const params={current:pageNo,pageSize:pageSize};api_api.orderList(params).then((res=>{paging.value.complete(res);common_vendor.index.hideLoading()})).catch((res=>{paging.value.complete(false);common_vendor.index.hideLoading()}))};const checkboxChange=e=>{if(e.length==dataList.value.length){allCel.value=true}else{allCel.value=false}console.log(e)};let isPagingRefNotFound=()=>!paging.value;common_vendor.onPullDownRefresh((()=>{if(isPagingRefNotFound())return;paging.value.reload().catch((()=>{}))}));common_vendor.onPageScroll((e=>{if(isPagingRefNotFound())return;paging.value.updatePageScrollTop(e.scrollTop);e.scrollTop<10&&paging.value.doChatRecordLoadMore()}));common_vendor.onReachBottom((()=>{if(isPagingRefNotFound())return;paging.value.pageReachBottom()}));return(_ctx,_cache)=>({a:common_vendor.p({name:"error-circle-fill",color:"#3c9cff"}),b:common_vendor.f(dataList.value,((item,index,i0)=>({a:"8baf785a-3-"+i0+",8baf785a-2",b:common_vendor.p({shape:"circle",customStyle:{margin:"0"},name:item.id}),c:common_vendor.t(item.orderNo),d:common_vendor.t(item.electricityAmount),e:common_vendor.t(item.serviceAmount),f:common_vendor.t(item.actuallyAmount),g:index}))),c:common_vendor.o(checkboxChange),d:common_vendor.o(($event=>common_vendor.isRef(checkboxValue1)?checkboxValue1.value=$event:checkboxValue1=$event)),e:common_vendor.p({placement:"column",modelValue:common_vendor.unref(checkboxValue1)}),f:()=>({r:paging,k:"paging"}),g:common_vendor.o(queryList),h:common_vendor.o(($event=>dataList.value=$event)),i:common_vendor.p({["use-page-scroll"]:true,modelValue:dataList.value}),j:common_vendor.o(allCheck),k:common_vendor.o(($event=>common_vendor.isRef(allCel)?allCel.value=$event:allCel=$event)),l:common_vendor.p({label:"本页全选",shape:"circle",usedAlone:true,customStyle:{margin:"0 10rpx 0 0"},checked:common_vendor.unref(allCel)}),m:common_vendor.o(($event=>common_vendor.unref(navTo)(`/pageMake/invoice/applyForDay?list=${encodeURIComponent(JSON.stringify(common_vendor.unref(checkboxValue1)))}`))),n:common_vendor.p({customStyle:{height:"80rpx",width:"230rpx"},color:"#4879e6",text:"下一步",shape:"circle",disabled:common_vendor.unref(checkboxValue1).length==0})})}};const MiniProgramPage=common_vendor._export_sfc(_sfc_main,[["__scopeId","data-v-8baf785a"]]);_sfc_main.__runtimeHooks=1;my.createPage(MiniProgramPage);

View File

@@ -0,0 +1,10 @@
{
"defaultTitle": "申请开票",
"usingComponents": {
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
"up-checkbox": "../../uni_modules/uview-plus/components/u-checkbox/u-checkbox",
"up-checkbox-group": "../../uni_modules/uview-plus/components/u-checkbox-group/u-checkbox-group",
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging",
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
}
}

View File

@@ -0,0 +1 @@
.invoice_tip.data-v-5655c689{padding:20rpx;font-size:24rpx;color:#3c9cff;background-color:rgba(60,156,255,.2)}.invoice_tip view.data-v-5655c689{line-height:40rpx}.invoice_list.data-v-5655c689{padding:15rpx 30rpx;background-color:#fff}.invoice_list_view.data-v-5655c689{display:flex;align-items:center;justify-content:space-between;font-size:28rpx;margin-bottom:25rpx}.invoice_list_view_left.data-v-5655c689{color:#646368}.invoice_list_view_right.data-v-5655c689{color:#262626}

View File

@@ -0,0 +1 @@
<view class="invoice data-v-5655c689"><view class="invoice_tip data-v-5655c689"><view class="data-v-5655c689" style="display:flex;align-items:center"><up-icon class="data-v-5655c689" u-i="5655c689-0" onVI="__l" u-p="{{a}}"></up-icon> 发票须知: </view><view class="data-v-5655c689">1.开票金额为用户实际支付金额(不含返利返佣)</view><view class="data-v-5655c689">2.未寄出的纸质发票会在开票确认后的20个工作日内寄出</view><view class="data-v-5655c689">3.单笔订单只支持开具一种发票类型</view><view class="data-v-5655c689">4.云快充仅为平台方,实际开票主体以申请开票时展示的开票运营商公司为准</view><view class="data-v-5655c689">5.发票由各家电站运营商提供,一起申请可能会生成多张发票</view><view class="data-v-5655c689">6.若超过20个工作日仍未收到发票您可以通过(区号)+12366向开票公司所在区域的主管税务机关进行反馈处理</view></view><view class="data-v-5655c689" style="height:20rpx"></view><view class="data-v-5655c689"><view a:for="{{b}}" a:for-item="item" a:key="e" class="invoice_list data-v-5655c689" style="margin-bottom:20rpx"><view class="data-v-5655c689" style="display:flex;align-items:center;font-weight:bold;font-size:30rpx;margin-bottom:30rpx"> 开票运营商:{{item.a}}</view><view class="data-v-5655c689" style="display:flex;align-items:center;justify-content:space-between;background-color:#f6f6f6;border-radius:15rpx;padding:20rpx"><view class="data-v-5655c689" style="font-size:28rpx"><view class="data-v-5655c689" style="margin-bottom:15rpx">{{item.b}}电费</view><view class="data-v-5655c689">{{item.c}}服务费</view></view><view class="data-v-5655c689" style="text-align:right"><view class="data-v-5655c689" style="margin-bottom:25rpx;font-size:36rpx;font-weight:bold;color:#4879e6">{{item.d}} <text class="data-v-5655c689" style="font-size:30rpx">元</text></view><view class="data-v-5655c689" style="font-size:28rpx">个人支付</view></view></view></view></view><view class="data-v-5655c689" style="position:fixed;bottom:0;left:0;width:750rpx;padding:20rpx 50rpx;background-color:#fff;display:flex;align-items:center;justify-content:space-between"><view class="data-v-5655c689"></view><view class="data-v-5655c689" style="width:230rpx"><up-button class="data-v-5655c689" onClick="{{c}}" u-i="5655c689-1" onVI="__l" u-p="{{d}}"></up-button></view></view></view>

View File

@@ -0,0 +1 @@
"use strict";const common_vendor=require("../../common/vendor.js");const hooks_useNav=require("../../hooks/useNav.js");const api_api=require("../../api/api.js");if(!Array){const _easycom_up_icon2=common_vendor.resolveComponent("up-icon");const _easycom_up_button2=common_vendor.resolveComponent("up-button");(_easycom_up_icon2+_easycom_up_button2)()}const _easycom_up_icon=()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js";const _easycom_up_button=()=>"../../uni_modules/uview-plus/components/u-button/u-button.js";if(!Math){(_easycom_up_icon+_easycom_up_button)()}const _sfc_main={__name:"applyForDay",setup(__props){const{nav:nav,navTo:navTo}=hooks_useNav.useNav();const dataList=common_vendor.ref([]);let checkboxValue1=common_vendor.ref([]);common_vendor.onLoad((async options=>{checkboxValue1.value=JSON.parse(decodeURIComponent(options.list));console.log(checkboxValue1.value);let _res=await api_api.preApply({ordersIds:JSON.parse(decodeURIComponent(options.list))});dataList.value=_res}));return(_ctx,_cache)=>({a:common_vendor.p({name:"error-circle-fill",color:"#3c9cff"}),b:common_vendor.f(dataList.value,((item,index,i0)=>({a:common_vendor.t(item.merchantName),b:common_vendor.t(item.electricityAmount),c:common_vendor.t(item.serviceAmount),d:common_vendor.t(item.invoiceAmount),e:index}))),c:common_vendor.o(($event=>common_vendor.unref(navTo)(`/pageMake/invoice/makeInvoice?list=${encodeURIComponent(JSON.stringify(common_vendor.unref(checkboxValue1)))}`))),d:common_vendor.p({customStyle:{height:"80rpx",width:"230rpx"},color:"#4879e6",text:"下一步",shape:"circle"})})}};const MiniProgramPage=common_vendor._export_sfc(_sfc_main,[["__scopeId","data-v-5655c689"]]);my.createPage(MiniProgramPage);

View File

@@ -0,0 +1,7 @@
{
"defaultTitle": "申请开票",
"usingComponents": {
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
}
}

View File

@@ -0,0 +1 @@
.invoice_tip.data-v-c39f8dcc{padding:20rpx;font-size:24rpx;color:#3c9cff;background-color:rgba(60,156,255,.2)}.invoice_tip view.data-v-c39f8dcc{line-height:40rpx}.invoice_list.data-v-c39f8dcc{padding:15rpx 30rpx;background-color:#fff}.invoice_list_view.data-v-c39f8dcc{display:flex;align-items:center;justify-content:space-between;font-size:28rpx;margin-bottom:25rpx}.invoice_list_view_left.data-v-c39f8dcc{color:#646368}.invoice_list_view_right.data-v-c39f8dcc{color:#262626}

View File

@@ -0,0 +1 @@
<view class="invoice data-v-c39f8dcc"><view class="invoice_tip data-v-c39f8dcc"><view class="data-v-c39f8dcc" style="display:flex;align-items:center"><up-icon class="data-v-c39f8dcc" u-i="c39f8dcc-0" onVI="__l" u-p="{{a}}"></up-icon> 温馨提示: </view><view class="data-v-c39f8dcc">1.云充电仅为平台方,实际开票主体以下方展示的开票公司为准</view><view class="data-v-c39f8dcc">2.若超过20个工作日仍未收到发票您可以通过(区号)+12366向开票公司所在区域的主管税务机关进行反馈处理</view></view><view class="data-v-c39f8dcc" style="height:20rpx"></view><z-paging class="data-v-c39f8dcc" u-s="{{['d']}}" ref="__r" u-r="{{e}}" onQuery="{{f}}" u-i="c39f8dcc-1" onVI="__l" onUpdateModelValue="{{g}}" u-p="{{h}}"><view a:for="{{b}}" a:for-item="item" a:key="p" class="invoice_list data-v-c39f8dcc"><view class="invoice_list_view data-v-c39f8dcc"><view class="invoice_list_view_left data-v-c39f8dcc" style="display:flex;align-items:center"><up-icon class="data-v-c39f8dcc" u-i="{{item.a}}" onVI="__l" u-p="{{c}}"></up-icon> {{item.b}}</view><up-icon class="data-v-c39f8dcc" u-i="{{item.c}}" onVI="__l" u-p="{{d}}"></up-icon></view><view class="invoice_list_view data-v-c39f8dcc"><view class="invoice_list_view_left data-v-c39f8dcc">发票抬头</view><view class="invoice_list_view_right data-v-c39f8dcc">{{item.d}}</view></view><view class="invoice_list_view data-v-c39f8dcc"><view class="invoice_list_view_left data-v-c39f8dcc">开票运营商</view><view class="invoice_list_view_right data-v-c39f8dcc">{{item.e}}</view></view><view class="data-v-c39f8dcc" style="border:1px dashed #eee"></view><view class="data-v-c39f8dcc" style="height:20rpx"></view><view class="data-v-c39f8dcc" style="display:flex;align-items:center;justify-content:space-between"><view class="data-v-c39f8dcc"><up-tag a:if="{{item.f}}" class="data-v-c39f8dcc" u-i="{{item.g}}" onVI="__l" u-p="{{item.h}}"></up-tag><up-tag a:if="{{item.i}}" class="data-v-c39f8dcc" u-i="{{item.j}}" onVI="__l" u-p="{{item.k}}"></up-tag><up-tag a:if="{{item.l}}" class="data-v-c39f8dcc" u-i="{{item.m}}" onVI="__l" u-p="{{item.n}}"></up-tag></view><view class="data-v-c39f8dcc" style="font-size:36rpx;font-weight:bold">{{item.o}} <text class="data-v-c39f8dcc" style="font-size:30rpx">元</text></view></view></view></z-paging><view class="data-v-c39f8dcc" style="height:150rpx"></view><view class="data-v-c39f8dcc" style="position:fixed;bottom:0;left:0;width:750rpx;padding:20rpx 50rpx;background-color:#fff"><up-button class="data-v-c39f8dcc" onClick="{{i}}" u-i="c39f8dcc-7" onVI="__l" u-p="{{j}}"></up-button></view></view>

View File

@@ -0,0 +1 @@
"use strict";const common_vendor=require("../../common/vendor.js");const hooks_useNav=require("../../hooks/useNav.js");const api_api=require("../../api/api.js");if(!Array){const _easycom_up_icon2=common_vendor.resolveComponent("up-icon");const _easycom_up_tag2=common_vendor.resolveComponent("up-tag");const _easycom_z_paging2=common_vendor.resolveComponent("z-paging");const _easycom_up_button2=common_vendor.resolveComponent("up-button");(_easycom_up_icon2+_easycom_up_tag2+_easycom_z_paging2+_easycom_up_button2)()}const _easycom_up_icon=()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js";const _easycom_up_tag=()=>"../../uni_modules/uview-plus/components/u-tag/u-tag.js";const _easycom_z_paging=()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js";const _easycom_up_button=()=>"../../uni_modules/uview-plus/components/u-button/u-button.js";if(!Math){(_easycom_up_icon+_easycom_up_tag+_easycom_z_paging+_easycom_up_button)()}const _sfc_main={__name:"invoice",setup(__props){const{nav:nav,navTo:navTo}=hooks_useNav.useNav();const dataList=common_vendor.ref([]);const paging=common_vendor.ref(null);const queryList=async(pageNo,pageSize)=>{const params={current:pageNo,pageSize:pageSize};api_api.invoiceList(params).then((res=>{paging.value.complete(res);common_vendor.index.hideLoading()})).catch((res=>{paging.value.complete(false);common_vendor.index.hideLoading()}))};let isPagingRefNotFound=()=>!paging.value;common_vendor.onPullDownRefresh((()=>{if(isPagingRefNotFound())return;paging.value.reload().catch((()=>{}))}));common_vendor.onPageScroll((e=>{if(isPagingRefNotFound())return;paging.value.updatePageScrollTop(e.scrollTop);e.scrollTop<10&&paging.value.doChatRecordLoadMore()}));common_vendor.onReachBottom((()=>{if(isPagingRefNotFound())return;paging.value.pageReachBottom()}));return(_ctx,_cache)=>({a:common_vendor.p({name:"error-circle-fill",color:"#3c9cff"}),b:common_vendor.f(dataList.value,((item,index,i0)=>common_vendor.e({a:"c39f8dcc-2-"+i0+",c39f8dcc-1",b:common_vendor.t(item.createTime),c:"c39f8dcc-3-"+i0+",c39f8dcc-1",d:common_vendor.t(item.invoiceTitle),e:common_vendor.t(item.merchantInvoice||"-"),f:item.status==0},item.status==0?{g:"c39f8dcc-4-"+i0+",c39f8dcc-1",h:common_vendor.p({text:"待开票",type:"warning",plain:true,plainFill:true})}:{},{i:item.status==1},item.status==1?{j:"c39f8dcc-5-"+i0+",c39f8dcc-1",k:common_vendor.p({text:"已开票",type:"success",plain:true,plainFill:true})}:{},{l:item.status==-1},item.status==-1?{m:"c39f8dcc-6-"+i0+",c39f8dcc-1",n:common_vendor.p({text:"取消",type:"error",plain:true,plainFill:true})}:{},{o:common_vendor.t(item.invoiceAmount),p:index}))),c:common_vendor.p({name:"clock-fill"}),d:common_vendor.p({name:"arrow-right"}),e:()=>({r:paging,k:"paging"}),f:common_vendor.o(queryList),g:common_vendor.o(($event=>dataList.value=$event)),h:common_vendor.p({["use-page-scroll"]:true,modelValue:dataList.value}),i:common_vendor.o(($event=>common_vendor.unref(navTo)("/pageMake/invoice/applyFor"))),j:common_vendor.p({customStyle:{height:"80rpx"},color:"#4879e6",text:"申请开票",shape:"circle"})})}};const MiniProgramPage=common_vendor._export_sfc(_sfc_main,[["__scopeId","data-v-c39f8dcc"]]);_sfc_main.__runtimeHooks=1;my.createPage(MiniProgramPage);

View File

@@ -0,0 +1,9 @@
{
"defaultTitle": "开票记录",
"usingComponents": {
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
"up-tag": "../../uni_modules/uview-plus/components/u-tag/u-tag",
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging",
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
}
}

View File

@@ -0,0 +1 @@
page{background-color:#f5f5f5}.invoice_tip.data-v-fc7ee96e{padding:20rpx;font-size:24rpx;color:#3c9cff;background-color:rgba(60,156,255,.2)}.invoice_tip view.data-v-fc7ee96e{line-height:40rpx}.invoice_list.data-v-fc7ee96e{padding:15rpx 30rpx;background-color:#fff}.invoice_list_view.data-v-fc7ee96e{display:flex;align-items:center;justify-content:space-between;font-size:28rpx;margin-bottom:25rpx}.invoice_list_view_left.data-v-fc7ee96e{color:#646368}.invoice_list_view_right.data-v-fc7ee96e{color:#262626}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,9 @@
{
"defaultTitle": "申请开票",
"usingComponents": {
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
"up-textarea": "../../uni_modules/uview-plus/components/u-textarea/u-textarea",
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button",
"up-picker": "../../uni_modules/uview-plus/components/u-picker/u-picker"
}
}

View File

@@ -0,0 +1 @@
page{background-color:#fff}

View File

@@ -0,0 +1 @@
<view class="p30"><view style="font-size:36rpx;font-weight:bold;margin-top:40rpx"> 退款信息 <text style="font-size:26rpx;color:chocolate;font-weight:500">活动金额不在退款范围内</text></view><view style="display:flex;align-items:center;height:100rpx;justify-content:space-between"><view>¥</view><input placeholder="{{a}}" style="width:500rpx;font-size:32rpx" type="number" value="{{b}}" onInput="{{c}}"/><view onTap="{{d}}" style="font-size:28rpx;color:#4879e6">全部</view></view><view style="font-size:28rpx;margin-bottom:20rpx">申请退款理由</view><view style="margin-bottom:30rpx"><up-textarea u-i="53c42ebc-0" onVI="__l" onUpdateModelValue="{{e}}" u-p="{{f}}"></up-textarea></view><view style="font-weight:bold;font-size:30rpx;margin-bottom:20rpx">退款须知:</view><view style="font-size:26rpx;color:#60646b;line-height:50rpx">1.退款金额不包含充值时使用的第三方优惠抵扣金额,退款时充值享受到的优惠金额也将全部扣除</view><view style="font-size:26rpx;color:#60646b;line-height:50rpx">2.您的退款金额到账时间由各充值渠道(微信/支付宝决定请耐心等待约1~3工作日到账</view><view style="font-size:26rpx;color:#60646b;line-height:50rpx">3.退款按照充值记录进行逐笔退款,一次申请可能产生多笔退款到账记录,请注意查收</view><view style="font-size:26rpx;color:#60646b;line-height:50rpx">4.正在充电或存在异常订单时无法进行退款操作</view><view style="font-size:26rpx;color:#60646b;line-height:50rpx">5.根据各充值渠道规则,只可退一年内的充值金额</view><view style="position:fixed;bottom:0;left:0;width:750rpx;padding:20rpx 30rpx;border-top:1rpx solid #eee" class="flex-acsb"><view style="width:230rpx"><up-button u-i="53c42ebc-1" onVI="__l" u-p="{{g}}"></up-button></view><view style="width:400rpx"><up-button onClick="{{h}}" u-i="53c42ebc-2" onVI="__l" u-p="{{i}}"></up-button></view></view></view>

View File

@@ -0,0 +1 @@
"use strict";const common_vendor=require("../../common/vendor.js");const api_api=require("../../api/api.js");const _sfc_main={data(){return{balance:0,dataFrom:{amount:"",refundReason:""}}},onLoad(options){if(options.balance){this.balance=options.balance}},methods:{refundTo(){if(!this.dataFrom.amount){return common_vendor.index.showToast({title:"请输入退款金额",icon:"none"})}api_api.refund(this.dataFrom).then((res=>{common_vendor.index.showModal({title:"提示",content:"提交成功",showCancel:false,success:function(res2){common_vendor.index.navigateBack()}})}))}}};if(!Array){const _easycom_up_textarea2=common_vendor.resolveComponent("up-textarea");const _easycom_up_button2=common_vendor.resolveComponent("up-button");(_easycom_up_textarea2+_easycom_up_button2)()}const _easycom_up_textarea=()=>"../../uni_modules/uview-plus/components/u-textarea/u-textarea.js";const _easycom_up_button=()=>"../../uni_modules/uview-plus/components/u-button/u-button.js";if(!Math){(_easycom_up_textarea+_easycom_up_button)()}function _sfc_render(_ctx,_cache,$props,$setup,$data,$options){return{a:`可申请退款${$data.balance}`,b:$data.dataFrom.amount,c:common_vendor.o(($event=>$data.dataFrom.amount=$event.detail.value)),d:common_vendor.o(($event=>$data.dataFrom.amount=$data.balance)),e:common_vendor.o(($event=>$data.dataFrom.refundReason=$event)),f:common_vendor.p({placeholder:"请输入退款理由",modelValue:$data.dataFrom.refundReason}),g:common_vendor.p({openType:"contact",customStyle:{height:"80rpx"},text:"联系客服",shape:"circle"}),h:common_vendor.o($options.refundTo),i:common_vendor.p({customStyle:{height:"80rpx"},color:"#4879e6",text:"提交",shape:"circle"})}}const MiniProgramPage=common_vendor._export_sfc(_sfc_main,[["render",_sfc_render]]);my.createPage(MiniProgramPage);

View File

@@ -0,0 +1,7 @@
{
"defaultTitle": "退款申请",
"usingComponents": {
"up-textarea": "../../uni_modules/uview-plus/components/u-textarea/u-textarea",
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
}
}

View File

@@ -0,0 +1 @@
page{background-color:#000}.recharge_orderId.data-v-138f8452{width:1000rpx;margin-left:-125rpx;margin-top:-20rpx;height:230rpx;background:url(https://zhongshuai-prod.oss-cn-beijing.aliyuncs.com/appImage/order/order-realtime-pile-number-bg.png) no-repeat 100% 100%/contain;color:#828282;text-align:center;padding-top:30rpx;font-size:26rpx}.recharge_orderId view.data-v-138f8452{display:flex;align-items:center;flex-direction:row;justify-content:center}.recharge_orderId view image.data-v-138f8452{width:30rpx;height:30rpx;margin-left:15rpx}.recharge_trn.data-v-138f8452{margin-top:-130rpx;display:flex;align-items:center;flex-direction:column;justify-content:center}.recharge_trn_yuan.data-v-138f8452{width:500rpx;height:500rpx;position:relative}.recharge_trn_yuan_img.data-v-138f8452{width:100%;height:100%;animation:rotate-138f8452 5s linear infinite}.recharge_trn_text.data-v-138f8452{z-index:9;display:flex;align-items:center;flex-direction:column;justify-content:center;margin-top:-470rpx}.recharge_trn_text view.data-v-138f8452:nth-child(1){color:#fff;font-weight:700;font-size:60rpx}.recharge_trn_text view.data-v-138f8452:nth-child(2){color:#11927c;font-size:28rpx;margin:25rpx 0 15rpx}.recharge_trn_text view.data-v-138f8452:nth-child(3){color:#24efe8;font-weight:700;font-size:36rpx;margin-bottom:30rpx}.recharge_trn_hei.data-v-138f8452{margin-top:-360rpx;width:500rpx;height:500rpx;z-index:9}.recharge_trn_car.data-v-138f8452{z-index:10;width:450rpx;position:relative}.recharge_trn_car_img.data-v-138f8452{position:absolute;top:0;left:0;width:100%;height:100%}.recharge_trn_car_img1.data-v-138f8452{width:100%;height:100%}.recharge_list.data-v-138f8452{display:flex;align-items:center;flex-direction:row;justify-content:space-between;padding:0 50rpx}.recharge_list_view.data-v-138f8452{display:flex;align-items:center;flex-direction:column;justify-content:center}.recharge_list_view image.data-v-138f8452{width:75rpx;height:75rpx}.recharge_list_view_num.data-v-138f8452{color:#fff;font-weight:700;font-size:36rpx;margin:10rpx 0}.recharge_list_view_name.data-v-138f8452{color:#8b8b8b;font-weight:700;font-size:28rpx}.recharge_block.data-v-138f8452{margin-top:50rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.recharge_block_view.data-v-138f8452{width:200rpx;padding:10rpx;border-radius:25rpx;background:linear-gradient(0deg,#0b1521,#193c65);font-size:28rpx;display:flex;align-items:center;flex-direction:column;justify-content:center}.recharge_block_view view.data-v-138f8452:nth-child(1){color:#fff}.recharge_block_view view.data-v-138f8452:nth-child(2){color:#8b98a0}.recharge_note.data-v-138f8452{margin-top:30rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between;color:#828282;font-size:24rpx}.recharge_btn1.data-v-138f8452{width:650rpx;height:100rpx;margin:0 auto;font-size:32rpx;font-weight:700;display:flex;align-items:center;flex-direction:row;justify-content:center;background-color:#1879fe;border-radius:50rpx;color:#fff;margin-top:150rpx}@keyframes rotate-138f8452{0%{transform:rotate(0)}to{transform:rotate(360deg)}}

View File

@@ -0,0 +1 @@
<view class="recharge data-v-138f8452"><view class="recharge_orderId data-v-138f8452"><view class="data-v-138f8452"> 订单号:{{a}} <image class="data-v-138f8452" src="{{b}}" onTap="{{c}}" mode="widthFix"></image></view></view><view class="recharge_trn data-v-138f8452"><view class="recharge_trn_yuan data-v-138f8452"><image class="recharge_trn_yuan_img data-v-138f8452" src="https://zhongshuai-prod.oss-cn-beijing.aliyuncs.com/appImage/order/bg_charging_turn.png" mode="widthFix"></image></view><image class="recharge_trn_hei data-v-138f8452" src="https://zhongshuai-prod.oss-cn-beijing.aliyuncs.com/appImage/order/order-charging-black-circle.png" mode="widthFix"></image><view class="recharge_trn_text data-v-138f8452"><view class="data-v-138f8452">¥{{d}}</view><view class="data-v-138f8452">已用时长</view><view class="data-v-138f8452">{{e}}</view></view><view class="recharge_trn_car data-v-138f8452"><image class="recharge_trn_car_img data-v-138f8452" src="https://zhongshuai-prod.oss-cn-beijing.aliyuncs.com/appImage/order/order-real-time-car-bg.png" mode="widthFix"></image><image class="recharge_trn_car_img1 data-v-138f8452" src="https://zhongshuai-prod.oss-cn-beijing.aliyuncs.com/appImage/order/order-real-time-car-bg1.png" mode="widthFix"></image></view></view><view class="recharge_list p30 data-v-138f8452"><view class="recharge_list_view data-v-138f8452"><image class="data-v-138f8452" src="https://zhongshuai-prod.oss-cn-beijing.aliyuncs.com/appImage/order/order-real-time-charged-power.png" mode="widthFix"></image><view class="recharge_list_view_num data-v-138f8452">{{f}}</view><view class="recharge_list_view_name data-v-138f8452">已充电量(度)</view></view><view class="recharge_list_view data-v-138f8452"><image class="data-v-138f8452" src="https://zhongshuai-prod.oss-cn-beijing.aliyuncs.com/appImage/order/order-real-time-charged-time.png" mode="widthFix"></image><view class="recharge_list_view_num data-v-138f8452">{{g}}</view><view class="recharge_list_view_name data-v-138f8452">已充时长</view></view><view class="recharge_list_view data-v-138f8452"><image class="data-v-138f8452" src="https://zhongshuai-prod.oss-cn-beijing.aliyuncs.com/appImage/order/order-real-time-charged-amount.png" mode="widthFix"></image><view class="recharge_list_view_num data-v-138f8452">{{h}}</view><view class="recharge_list_view_name data-v-138f8452">已充金额(元)</view></view></view><view class="recharge_block p30 data-v-138f8452"><view class="recharge_block_view data-v-138f8452"><view class="data-v-138f8452">{{i}}</view><view class="data-v-138f8452">实时电压(V)</view></view><view class="recharge_block_view data-v-138f8452"><view class="data-v-138f8452">{{j}}</view><view class="data-v-138f8452">实时电流(A)</view></view><view class="recharge_block_view data-v-138f8452"><view class="data-v-138f8452">{{k}}</view><view class="data-v-138f8452">实时功率(KW)</view></view></view><view class="recharge_note p30 data-v-138f8452"><view class="data-v-138f8452">终端名称:{{l}}</view><view class="data-v-138f8452">终端编码:{{m}}</view></view><view class="recharge_btn1 data-v-138f8452" onTap="{{n}}">结束充电</view></view>

View File

@@ -0,0 +1 @@
"use strict";const common_vendor=require("../../common/vendor.js");const common_assets=require("../../common/assets.js");const api_api=require("../../api/api.js");const utils_fun=require("../../utils/fun.js");const store_index=require("../../store/index.js");const _sfc_main={__name:"recharge",setup(__props){let transactionNo=common_vendor.ref("");common_vendor.ref("");common_vendor.onLoad((async options=>{transactionNo.value=options.transactionNo;if(options.type){let _res=await api_api.realtimeInfo({transactionNo:options.transactionNo});store_index.store.commit("setDataObj",_res)}}));const end=e=>{common_vendor.index.showModal({title:"提示",content:e==1?"是否确认结束充电?":"结束充电失败,请重试!",success:function(res){if(res.confirm){api_api.stopCharging({transactionNo:transactionNo.value}).then((res2=>{common_vendor.index.showLoading({title:"停止充电中..."});store_index.store.commit("setSokStatus",0);timeMap(transactionNo.value)}))}else if(res.cancel){console.log("用户点击取消")}}})};const timeMap=_res=>{setTimeout((async()=>{if(store_index.store.state.sokStatus!=1){let _data=await api_api.ordersInfo({transactionNo:_res});store_index.store.commit("setDataObj",_data);if(_data.status==3||_data.status==4){common_vendor.index.hideLoading();end(2)}if(_data.status==5||_data.status==6){common_vendor.index.hideLoading();common_vendor.index.navigateBack();store_index.store.commit("setSokStatus",0)}}}),3e4)};return(_ctx,_cache)=>({a:common_vendor.t(common_vendor.unref(store_index.store).state.dataObj.orderNo),b:common_assets._imports_0$7,c:common_vendor.o(($event=>common_vendor.unref(utils_fun.copy)(common_vendor.unref(store_index.store).state.dataObj.orderNo))),d:common_vendor.t(common_vendor.unref(store_index.store).state.dataObj.currentAmount||0),e:common_vendor.t(common_vendor.unref(store_index.store).state.dataObj.cumulativeTime||0),f:common_vendor.t(common_vendor.unref(store_index.store).state.dataObj.chargingDegree||0),g:common_vendor.t(common_vendor.unref(store_index.store).state.dataObj.cumulativeTime||0),h:common_vendor.t(common_vendor.unref(store_index.store).state.dataObj.currentAmount||0),i:common_vendor.t(common_vendor.unref(store_index.store).state.dataObj.outputVoltage||0),j:common_vendor.t(common_vendor.unref(store_index.store).state.dataObj.outputCurrent||0),k:common_vendor.t(common_vendor.unref(store_index.store).state.dataObj.power||0),l:common_vendor.t(common_vendor.unref(store_index.store).state.dataObj.gunNo),m:common_vendor.t(common_vendor.unref(store_index.store).state.dataObj.deviceNo||""),n:common_vendor.o(($event=>end(1)))})}};const MiniProgramPage=common_vendor._export_sfc(_sfc_main,[["__scopeId","data-v-138f8452"]]);my.createPage(MiniProgramPage);

View File

@@ -0,0 +1,7 @@
{
"defaultTitle": "充电中",
"titleBarColor": "#000",
"transparentTitle": "always",
"titlePenetrate": "YES",
"usingComponents": {}
}

View File

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

View File

@@ -0,0 +1 @@
"use strict";const common_vendor=require("../../common/vendor.js");const api_api=require("../../api/api.js");if(!Array){const _easycom_mp_html2=common_vendor.resolveComponent("mp-html");_easycom_mp_html2()}const _easycom_mp_html=()=>"../../uni_modules/mp-html/components/mp-html/mp-html.js";if(!Math){_easycom_mp_html()}const _sfc_main={__name:"agreement",setup(__props){let info=common_vendor.ref({});common_vendor.onLoad((async options=>{let _res=await api_api.selectProtocolInfo({id:options.id});info.value=_res}));return(_ctx,_cache)=>({a:common_vendor.p({content:common_vendor.unref(info).protocolContent})})}};my.createPage(_sfc_main);

View File

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

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}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,14 @@
{
"defaultTitle": "电站详情",
"transparentTitle": "always",
"titlePenetrate": "YES",
"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"
}
}

View File

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

View File

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

View File

@@ -0,0 +1 @@
"use strict";const common_vendor=require("../../common/vendor.js");const common_assets=require("../../common/assets.js");const api_api=require("../../api/api.js");const hooks_useNav=require("../../hooks/useNav.js");if(!Array){const _easycom_search2=common_vendor.resolveComponent("search");const _easycom_up_swiper2=common_vendor.resolveComponent("up-swiper");const _easycom_orderList2=common_vendor.resolveComponent("orderList");const _easycom_z_paging2=common_vendor.resolveComponent("z-paging");const _easycom_cc_myTabbar2=common_vendor.resolveComponent("cc-myTabbar");(_easycom_search2+_easycom_up_swiper2+_easycom_orderList2+_easycom_z_paging2+_easycom_cc_myTabbar2)()}const _easycom_search=()=>"../../components/search/search.js";const _easycom_up_swiper=()=>"../../uni_modules/uview-plus/components/u-swiper/u-swiper.js";const _easycom_orderList=()=>"../../components/orderList/orderList.js";const _easycom_z_paging=()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js";const _easycom_cc_myTabbar=()=>"../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar.js";if(!Math){(_easycom_search+_easycom_up_swiper+_easycom_orderList+_easycom_z_paging+_easycom_cc_myTabbar)()}const _sfc_main={__name:"home",setup(__props){const{nav:nav,navTo:navTo}=hooks_useNav.useNav();const dataList=common_vendor.ref([]);const paging=common_vendor.ref(null);const query=common_vendor.reactive({lon:"",lat:"",orderByType:1,keyWord:""});const list1=common_vendor.ref([]);common_vendor.onLoad((async()=>{let _res=await api_api.bannerList();list1.value=_res}));common_vendor.onShow((()=>{common_vendor.index.hideTabBar()}));const queryList=async()=>{common_vendor.index.showLoading({title:"加载中..."});try{if(!query.lon&&!query.lat){const{longitude:lon,latitude:lat}=await common_vendor.index.getLocation();query.lon=lon;query.lat=lat}}catch(err){console.log(err)}console.log(query);api_api.aroundAreaApi(query).then((res=>{console.log(res,"list");paging.value.complete(res);common_vendor.index.hideLoading()})).catch((res=>{paging.value.complete(false);common_vendor.index.hideLoading()}))};let tabChange=e=>{query.orderByType=e;paging.value.reload()};let isPagingRefNotFound=()=>!paging.value;common_vendor.onPullDownRefresh((()=>{if(isPagingRefNotFound())return;paging.value.reload().catch((()=>{}))}));common_vendor.onPageScroll((e=>{if(isPagingRefNotFound())return;paging.value.updatePageScrollTop(e.scrollTop);e.scrollTop<10&&paging.value.doChatRecordLoadMore()}));common_vendor.onReachBottom((()=>{if(isPagingRefNotFound())return;paging.value.pageReachBottom()}));const toOrder=()=>{common_vendor.index.switchTab({url:"/pages/order/order"})};let searchChange=e=>{query.keyWord=e;paging.value.reload()};let showMode=()=>{common_vendor.index.showModal({title:"提示",content:"暂未开放",showCancel:false,confirmText:"确认",success:()=>{}})};return(_ctx,_cache)=>({a:common_vendor.o(common_vendor.unref(searchChange)),b:common_vendor.p({list:list1.value,height:"150rpx",keyName:"imageUrl",indicator:true}),c:common_assets._imports_0,d:common_vendor.o(toOrder),e:common_assets._imports_1,f:common_vendor.o(((...args)=>common_vendor.unref(showMode)&&common_vendor.unref(showMode)(...args))),g:common_assets._imports_2,h:common_vendor.o(($event=>common_vendor.unref(navTo)("/pageMake/invoice/invoice"))),i:common_assets._imports_3,j:common_vendor.n(query.orderByType==1?"order_list_active":""),k:common_vendor.o(($event=>common_vendor.unref(tabChange)(1))),l:common_vendor.n(query.orderByType==2?"order_list_active":""),m:common_vendor.o(($event=>common_vendor.unref(tabChange)(2))),n:common_vendor.f(dataList.value,((item,index,i0)=>({a:"15586309-3-"+i0+",15586309-2",b:common_vendor.p({toNav:true,info:item}),c:index}))),o:()=>({r:paging,k:"paging"}),p:common_vendor.o(queryList),q:common_vendor.o(($event=>dataList.value=$event)),r:common_vendor.p({["use-page-scroll"]:true,modelValue:dataList.value}),s:common_vendor.p({tabBarShow:0})})}};const MiniProgramPage=common_vendor._export_sfc(_sfc_main,[["__scopeId","data-v-15586309"]]);_sfc_main.__runtimeHooks=1;my.createPage(MiniProgramPage);

View File

@@ -0,0 +1,13 @@
{
"defaultTitle": "",
"pullRefresh": false,
"transparentTitle": "always",
"titlePenetrate": "YES",
"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 @@
.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 view{display:flex;align-items:center;flex-direction:row;justify-content:start}.orderdetail_info_yf_left_tit{font-size:28rpx;color:rgba(51,51,51,.8);margin-bottom:20rpx}.orderdetail_info_yf_left_mon{font-size:32rpx}.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 @@
<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}}" onTap="{{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 u-i="2dd6a3c8-0" onVI="__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 a:if="{{i}}" u-i="2dd6a3c8-1" onVI="__l" u-p="{{j}}"></up-tag></view></view><view style="display:flex;align-items:center"><up-button onClick="{{k}}" u-i="2dd6a3c8-2" onVI="__l" u-p="{{l}}"></up-button></view></view><view style="font-size:30rpx;margin-bottom:30rpx"><view><view a:for="{{m}}" a:for-item="item" a:key="e" class="flex-acsb" style="{{'padding:15rpx 30rpx;border-radius:10rpx' + ';' + ('border:' + item.f)}}" onTap="{{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 a: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 a:if="{{n}}" 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 u-i="2dd6a3c8-3" onVI="__l" u-p="{{o}}"></up-tag></view><view class="orderdetail_info_yf_left_mon">预付金额:{{p}} 元</view></view><view class="orderdetail_info_yf_right" onTap="{{q}}">预付金额</view></view><view a:if="{{r}}"><view class="flex-acsb" style="font-size:30rpx;margin-bottom:20rpx"><view>当前可用电卡</view></view><view a:for="{{s}}" a:for-item="item" a:key="h" onTap="{{item.g}}" style="margin-bottom:30rpx;position:relative" class="mt30 wallet_list"><view a:if="{{item.a}}" style="position:absolute;top:0;left:0;background-color:#e45656;border-radius:0 0 20rpx 0"><up-icon u-i="{{item.b}}" onVI="__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 class="orderdetail_btn p30" style="background-color:#fff"><view class="orderdetail_btn_left">{{t}} <text>元/度 免费停车</text></view><view><up-button a:if="{{v}}" u-i="2dd6a3c8-5" onVI="__l" u-p="{{w}}"></up-button><up-button a:if="{{x}}" onClick="{{y}}" u-i="2dd6a3c8-6" onVI="__l" u-p="{{z}}"></up-button><up-button a:if="{{A}}" onClick="{{B}}" u-i="2dd6a3c8-7" onVI="__l" u-p="{{C}}"></up-button><up-button a:if="{{D}}" onClick="{{E}}" u-i="2dd6a3c8-8" onVI="__l" u-p="{{F}}"></up-button></view></view><uni-popup u-s="{{['d']}}" ref="__r" u-r="{{J}}" u-i="2dd6a3c8-9" onVI="__l" u-p="{{K}}"><uni-popup-dialog ref="__r" u-r="{{G}}" onConfirm="{{H}}" u-i="2dd6a3c8-10,2dd6a3c8-9" onVI="__l" u-p="{{I}}"></uni-popup-dialog></uni-popup></view>

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
{
"defaultTitle": "开始充电",
"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 @@
.map_content{width:750rpx;height:100vh;height:calc(100vh - 100rpx)}.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 @@
<view class="content"><map id="map" longitude="{{a}}" onMarkerTap="{{b}}" onCalloutTap="{{c}}" onRegionChange="{{d}}" height="90" width="90" markers="{{e}}" latitude="{{f}}" class="map_content"></map><uni-transition u-s="{{['d']}}" ref="__r" u-r="{{i}}" u-i="1a922a9b-0" onVI="__l" u-p="{{j}}"><view class="map-location" onTap="{{h}}"><image src="{{g}}" mode="widthFix"></image></view></uni-transition><uni-transition u-s="{{['d']}}" u-i="1a922a9b-1" onVI="__l" u-p="{{l}}"><view class="map_box"><order-list u-i="1a922a9b-2,1a922a9b-1" onVI="__l" u-p="{{k}}"/></view></uni-transition><cc-my-tabbar u-i="1a922a9b-3" onVI="__l" u-p="{{m}}"></cc-my-tabbar></view>

View File

@@ -0,0 +1 @@
"use strict";const common_vendor=require("../../common/vendor.js");const common_assets=require("../../common/assets.js");const api_api=require("../../api/api.js");if(!Array){const _easycom_uni_transition2=common_vendor.resolveComponent("uni-transition");const _easycom_orderList2=common_vendor.resolveComponent("orderList");const _easycom_cc_myTabbar2=common_vendor.resolveComponent("cc-myTabbar");(_easycom_uni_transition2+_easycom_orderList2+_easycom_cc_myTabbar2)()}const _easycom_uni_transition=()=>"../../uni_modules/uni-transition/components/uni-transition/uni-transition.js";const _easycom_orderList=()=>"../../components/orderList/orderList.js";const _easycom_cc_myTabbar=()=>"../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar.js";if(!Math){(_easycom_uni_transition+_easycom_orderList+_easycom_cc_myTabbar)()}const _sfc_main={__name:"index",setup(__props){let longitude=common_vendor.ref(113.675688);let latitude=common_vendor.ref(34.75527700365562);let mapContext=common_vendor.ref(null);let mapBox=common_vendor.ref(false);let mapLocationRef=common_vendor.ref();let infoDz=common_vendor.ref([]);let markList=common_vendor.ref([]);common_vendor.onLoad((async()=>{common_vendor.index.hideTabBar();mapContext.value=common_vendor.index.createMapContext("map");const{longitude:lon,latitude:lat}=await common_vendor.index.getLocation({type:"gcj02"});latitude.value=lat;longitude.value=lon;getInfo();setTimeout((()=>{mapLocation()}),300)}));let getInfo=async()=>{let _res=await api_api.aroundAreaMap({orderByType:1,lat:latitude.value,lon:longitude.value});let list=_res.map(((item,index)=>({id:item.id,longitude:item.location.lng,latitude:item.location.lat,iconPath:"/static/icon/marker-pointer.png",width:20,height:23,content:"2",gunUseCount:item.gunUseCount,gunCount:item.gunCount,distance:item.distance,customCallout:{display:"ALWAYS",anchorX:0,anchorY:-10}})));list.unshift({longitude:longitude.value,latitude:latitude.value,iconPath:"/static/icon/my-location-default.png",width:45,height:45,id:-1});markList.value=list};const mapLocation=()=>{const log=longitude.value;const lat=latitude.value;mapContext.value.moveToLocation({longitude:log,latitude:lat})};const regionchange=e=>{if(e.type=="end"){console.log(e);console.log(e.detail.scale);mapBox.value=false;mapLocationRefStep(false)}};const markerClick=async e=>{var _a;console.log(e,"eeeeeee");if(e.markerId==-1){return}common_vendor.index.showLoading();let _res=await api_api.infoAroundApi({id:e.markerId});let markerInfo=markList.value.find((val=>val.id==e.markerId));let data=(_a=_res==null?void 0:_res.priceList)==null?void 0:_a.find((val=>val.isCurrent==1));infoDz.value={..._res,distance:markerInfo.distance,priceAmount:data.totalAmount};console.log(infoDz,"infoDzinfoDz");common_vendor.index.hideLoading();mapBox.value=true;mapLocationRefStep(true)};const mapLocationRefStep=type=>{if(type){mapLocationRef.value.step({translateY:"-200rpx"},{timingFunction:"ease-in",duration:100})}else{mapLocationRef.value.step({translateY:"0rpx"},{timingFunction:"ease",duration:500})}mapLocationRef.value.run()};return(_ctx,_cache)=>({a:common_vendor.unref(longitude),b:common_vendor.o(markerClick),c:common_vendor.o(markerClick),d:common_vendor.o(regionchange),e:common_vendor.unref(markList),f:common_vendor.unref(latitude),g:common_assets._imports_0$1,h:common_vendor.o(mapLocation),i:()=>({r:mapLocationRef,k:"mapLocationRef"}),j:common_vendor.p({show:true}),k:common_vendor.p({toNav:true,Image:true,info:common_vendor.unref(infoDz),list:common_vendor.unref(infoDz).pictures}),l:common_vendor.p({modeClass:"fade",show:common_vendor.unref(mapBox)}),m:common_vendor.p({tabBarShow:1})})}};my.createPage(_sfc_main);

View File

@@ -0,0 +1,10 @@
{
"defaultTitle": "",
"transparentTitle": "always",
"titlePenetrate": "YES",
"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 @@
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 @@
<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="getAuthorize" scope="phoneNumber" onGetAuthorize="{{c}}" onError="{{d}}">一键注册登录</button><view class="tip-link" style="display:flex;align-items:center"><up-checkbox onChange="{{e}}" u-i="25eaf8ee-0" onVI="__l" u-p="{{f}}"></up-checkbox> 我已阅读并同意 <text onTap="{{g}}">用户协议</text> 和 <text onTap="{{h}}">隐私政策</text></view></view></view>

View File

@@ -0,0 +1 @@
"use strict";const common_vendor=require("../../common/vendor.js");const common_assets=require("../../common/assets.js");const common_js_user=require("../../common/js/user.js");if(!Array){const _easycom_up_checkbox2=common_vendor.resolveComponent("up-checkbox");_easycom_up_checkbox2()}const _easycom_up_checkbox=()=>"../../uni_modules/uview-plus/components/u-checkbox/u-checkbox.js";if(!Math){_easycom_up_checkbox()}const _sfc_main={__name:"login",setup(__props){let aloneChecked=common_vendor.ref(false);let getPhoneNumber=async e=>{if(!aloneChecked.value){return common_vendor.index.showToast({title:"请先阅读并同意用户协议和隐私政策",icon:"none"})}try{common_js_user.login(e,2)}catch(err){common_vendor.index.showToast({title:err,icon:"none"})}};const toNav=e=>{common_vendor.index.navigateTo({url:e})};const change=e=>{aloneChecked.value=e};return(_ctx,_cache)=>({a:common_assets._imports_0$5,b:!common_vendor.unref(aloneChecked),c:common_vendor.o(($event=>_ctx.$onAliGetAuthorize(common_vendor.unref(getPhoneNumber),$event))),d:common_vendor.o(($event=>_ctx.$onAliAuthError(common_vendor.unref(getPhoneNumber),$event))),e:common_vendor.o(change),f:common_vendor.p({shape:"circle",name:"agree",usedAlone:true}),g:common_vendor.o(($event=>toNav("/pages/agreement/agreement?id=9"))),h:common_vendor.o(($event=>toNav("/pages/agreement/agreement?id=10")))})}};my.createPage(_sfc_main);

View File

@@ -0,0 +1,8 @@
{
"defaultTitle": "",
"transparentTitle": "always",
"titlePenetrate": "YES",
"usingComponents": {
"up-checkbox": "../../uni_modules/uview-plus/components/u-checkbox/u-checkbox"
}
}

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 @@
<view class="earnings p30 data-v-7a477d9a"><z-paging class="data-v-7a477d9a" u-s="{{['d']}}" ref="__r" u-r="{{b}}" onQuery="{{c}}" u-i="7a477d9a-0" onVI="__l" onUpdateModelValue="{{d}}" u-p="{{e}}"><view a:for="{{a}}" a:for-item="item" a:key="g" style="margin-bottom:30rpx" onTap="{{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 @@
"use strict";const common_vendor=require("../../common/vendor.js");require("../../uni_modules/uview-plus/index.js");const api_api=require("../../api/api.js");if(!Array){const _easycom_z_paging2=common_vendor.resolveComponent("z-paging");_easycom_z_paging2()}const _easycom_z_paging=()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js";if(!Math){_easycom_z_paging()}const _sfc_main={__name:"card",setup(__props){common_vendor.ref({});const paging=common_vendor.ref(null);let dataList=common_vendor.ref([]);let isPagingRefNotFound=()=>!paging.value;common_vendor.onPullDownRefresh((()=>{if(isPagingRefNotFound())return;paging.value.reload().catch((()=>{}))}));common_vendor.onPageScroll((e2=>{if(isPagingRefNotFound())return;paging.value.updatePageScrollTop(e2.scrollTop);e2.scrollTop<10&&paging.value.doChatRecordLoadMore()}));common_vendor.onReachBottom((()=>{if(isPagingRefNotFound())return;paging.value.pageReachBottom()}));const queryList=(pageNo,pageSize)=>{const params={current:pageNo,pageSize:pageSize};api_api.userCardList(params).then((res=>{paging.value.complete(res)})).catch((res=>{paging.value.complete(false)}))};let toCrud=()=>{common_vendor.index.navigateTo({url:"./cardList?id="+e.id})};return(_ctx,_cache)=>({a:common_vendor.f(common_vendor.unref(dataList),((item,index,i0)=>({a:common_vendor.t(item.name),b:common_vendor.t(item.cardNo),c:common_vendor.t(item.stationName),d:common_vendor.t(item.merchantName),e:common_vendor.t(item.balance),f:common_vendor.o(($event=>common_vendor.unref(toCrud)(item))),g:index}))),b:()=>({r:paging,k:"paging"}),c:common_vendor.o(queryList),d:common_vendor.o(($event=>common_vendor.isRef(dataList)?dataList.value=$event:dataList=$event)),e:common_vendor.p({["use-page-scroll"]:true,modelValue:common_vendor.unref(dataList)})})}};const MiniProgramPage=common_vendor._export_sfc(_sfc_main,[["__scopeId","data-v-7a477d9a"]]);_sfc_main.__runtimeHooks=1;my.createPage(MiniProgramPage);

View File

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

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 @@
<view class="earnings p30 data-v-1c414874"><z-paging class="data-v-1c414874" u-s="{{['d']}}" ref="__r" u-r="{{b}}" onQuery="{{c}}" u-i="1c414874-0" onVI="__l" onUpdateModelValue="{{d}}" u-p="{{e}}"><view a:for="{{a}}" a:for-item="item" a: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 @@
"use strict";const common_vendor=require("../../common/vendor.js");require("../../uni_modules/uview-plus/index.js");const api_api=require("../../api/api.js");if(!Array){const _easycom_z_paging2=common_vendor.resolveComponent("z-paging");_easycom_z_paging2()}const _easycom_z_paging=()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js";if(!Math){_easycom_z_paging()}const _sfc_main={__name:"cardList",setup(__props){let id=common_vendor.ref("");common_vendor.ref({});const paging=common_vendor.ref(null);let dataList=common_vendor.ref([]);let isPagingRefNotFound=()=>!paging.value;common_vendor.onLoad((options=>{id.value=options.id}));common_vendor.onPullDownRefresh((()=>{if(isPagingRefNotFound())return;paging.value.reload().catch((()=>{}))}));common_vendor.onPageScroll((e=>{if(isPagingRefNotFound())return;paging.value.updatePageScrollTop(e.scrollTop);e.scrollTop<10&&paging.value.doChatRecordLoadMore()}));common_vendor.onReachBottom((()=>{if(isPagingRefNotFound())return;paging.value.pageReachBottom()}));const queryList=(pageNo,pageSize)=>{const params={current:pageNo,pageSize:pageSize,id:id.value};api_api.userCardRecord(params).then((res=>{paging.value.complete(res)})).catch((res=>{paging.value.complete(false)}))};return(_ctx,_cache)=>({a:common_vendor.f(common_vendor.unref(dataList),((item,index,i0)=>({a:common_vendor.t(item.recordName||"-"),b:common_vendor.t(item.createTime),c:common_vendor.t(item.amount),d:index}))),b:()=>({r:paging,k:"paging"}),c:common_vendor.o(queryList),d:common_vendor.o(($event=>common_vendor.isRef(dataList)?dataList.value=$event:dataList=$event)),e:common_vendor.p({["use-page-scroll"]:true,modelValue:common_vendor.unref(dataList)})})}};const MiniProgramPage=common_vendor._export_sfc(_sfc_main,[["__scopeId","data-v-1c414874"]]);_sfc_main.__runtimeHooks=1;my.createPage(MiniProgramPage);

View File

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

View File

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

View File

@@ -0,0 +1 @@
"use strict";const common_vendor=require("../../common/vendor.js");const _sfc_main={data(){return{}},methods:{}};if(!Array){const _easycom_up_cell2=common_vendor.resolveComponent("up-cell");const _easycom_up_cell_group2=common_vendor.resolveComponent("up-cell-group");(_easycom_up_cell2+_easycom_up_cell_group2)()}const _easycom_up_cell=()=>"../../uni_modules/uview-plus/components/u-cell/u-cell.js";const _easycom_up_cell_group=()=>"../../uni_modules/uview-plus/components/u-cell-group/u-cell-group.js";if(!Math){(_easycom_up_cell+_easycom_up_cell_group)()}function _sfc_render(_ctx,_cache,$props,$setup,$data,$options){return{a:common_vendor.p({icon:"integral-fill",title:"会员等级",value:"新版本"})}}const MiniProgramPage=common_vendor._export_sfc(_sfc_main,[["render",_sfc_render]]);my.createPage(MiniProgramPage);

View File

@@ -0,0 +1,7 @@
{
"defaultTitle": "收益",
"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 @@
.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 @@
<view class="earnings p30 data-v-6ff95d97"><z-paging class="data-v-6ff95d97" u-s="{{['d']}}" ref="__r" u-r="{{b}}" onQuery="{{c}}" u-i="6ff95d97-0" onVI="__l" onUpdateModelValue="{{d}}" u-p="{{e}}"><view a:for="{{a}}" a:for-item="item" a: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 @@
"use strict";const common_vendor=require("../../common/vendor.js");require("../../uni_modules/uview-plus/index.js");const api_api=require("../../api/api.js");if(!Array){const _easycom_z_paging2=common_vendor.resolveComponent("z-paging");_easycom_z_paging2()}const _easycom_z_paging=()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js";if(!Math){_easycom_z_paging()}const _sfc_main={__name:"incomeList",setup(__props){common_vendor.ref({});const paging=common_vendor.ref(null);let dataList=common_vendor.ref([]);let isPagingRefNotFound=()=>!paging.value;common_vendor.onPullDownRefresh((()=>{if(isPagingRefNotFound())return;paging.value.reload().catch((()=>{}))}));common_vendor.onPageScroll((e=>{if(isPagingRefNotFound())return;paging.value.updatePageScrollTop(e.scrollTop);e.scrollTop<10&&paging.value.doChatRecordLoadMore()}));common_vendor.onReachBottom((()=>{if(isPagingRefNotFound())return;paging.value.pageReachBottom()}));const queryList=(pageNo,pageSize)=>{const params={current:pageNo,pageSize:pageSize};api_api.walletRecord(params).then((res=>{paging.value.complete(res)})).catch((res=>{paging.value.complete(false)}))};return(_ctx,_cache)=>({a:common_vendor.f(common_vendor.unref(dataList),((item,index,i0)=>({a:common_vendor.t(item.recordName||"-"),b:common_vendor.t(item.createTime),c:common_vendor.t(item.amount),d:index}))),b:()=>({r:paging,k:"paging"}),c:common_vendor.o(queryList),d:common_vendor.o(($event=>common_vendor.isRef(dataList)?dataList.value=$event:dataList=$event)),e:common_vendor.p({["use-page-scroll"]:true,modelValue:common_vendor.unref(dataList)})})}};const MiniProgramPage=common_vendor._export_sfc(_sfc_main,[["__scopeId","data-v-6ff95d97"]]);_sfc_main.__runtimeHooks=1;my.createPage(MiniProgramPage);

View File

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

View File

@@ -0,0 +1 @@
.mine_header.data-v-41705366{display:flex;align-items:center;flex-direction:row;justify-content:space-between}.mine_header_img.data-v-41705366{width:150rpx;height:150rpx;margin-right:15rpx}.mine_header_user.data-v-41705366{flex:1}.mine_header_user view.data-v-41705366:nth-child(1){font-weight:700;font-size:32rpx;color:#232323;margin-bottom:15rpx}.mine_header_user view.data-v-41705366:nth-child(2){font-weight:700;font-size:44rpx;color:#232323}.mine_header_sett.data-v-41705366{width:42rpx;height:42rpx}.mine_money.data-v-41705366{margin-top:35rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between;width:100%;height:152rpx;background:linear-gradient(178deg,#9ab6ff,#4879e6);border-radius:16rpx;padding:0 60rpx}.mine_money_left.data-v-41705366{display:flex;align-items:center;flex-direction:column;justify-content:center}.mine_money_left view.data-v-41705366:nth-child(1){font-weight:700;font-size:48rpx;color:#fff;margin-bottom:5rpx}.mine_money_left view.data-v-41705366:nth-child(2){font-weight:700;font-size:20rpx;color:#fff}.mine_money_right.data-v-41705366{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_fun.data-v-41705366{margin-top:35rpx;width:100%;background-color:#fff;border-radius:16rpx;padding:35rpx}.mine_fun_view.data-v-41705366{display:flex;align-items:center;flex-direction:row;justify-content:space-between;margin-bottom:35rpx}.mine_fun_view_left.data-v-41705366{width:58rpx;height:58rpx;margin-right:20rpx}.mine_fun_view_name.data-v-41705366{flex:1;font-weight:700;font-size:24rpx;color:#232323}.mine_fun_view_right.data-v-41705366{width:24rpx;height:24rpx}

View File

@@ -0,0 +1 @@
<view class="mine data-v-41705366"><status-bar class="data-v-41705366" u-i="41705366-0" onVI="__l"/><view class="p30 data-v-41705366"><view class="mine_header data-v-41705366"><view class="mine_header_img data-v-41705366"><up-avatar class="data-v-41705366" u-i="41705366-1" onVI="__l" u-p="{{a}}"></up-avatar></view><view class="mine_header_user data-v-41705366"><view class="data-v-41705366">{{b}}</view><view class="data-v-41705366">{{c}}</view></view><image class="mine_header_sett data-v-41705366" onTap="{{d}}" src="{{e}}"></image></view><view class="mine_money data-v-41705366"><view class="mine_money_left data-v-41705366" onTap="{{g}}"><view class="data-v-41705366">{{f}}</view><view class="data-v-41705366">钱包余额</view></view><view class="data-v-41705366" style="display:flex;align-items:center"><view class="mine_money_right data-v-41705366" style="margin-right:20rpx" onTap="{{h}}">退款</view><view class="mine_money_right data-v-41705366" onTap="{{i}}">充值</view></view></view><view class="mine_fun data-v-41705366"><view class="mine_fun_view data-v-41705366" onTap="{{l}}"><image class="mine_fun_view_left data-v-41705366" src="{{j}}"></image><view class="mine_fun_view_name data-v-41705366">充电卡</view><image class="mine_fun_view_right data-v-41705366" src="{{k}}" mode="widthFix"></image></view></view></view><view class="data-v-41705366" style="width:100%;height:100vh;background:#f7f7f7;position:absolute;top:0;left:0;z-index:-1"></view><cc-my-tabbar class="data-v-41705366" u-i="41705366-2" onVI="__l" u-p="{{m}}"></cc-my-tabbar></view>

View File

@@ -0,0 +1 @@
"use strict";const common_vendor=require("../../common/vendor.js");const common_assets=require("../../common/assets.js");const api_api=require("../../api/api.js");const hooks_useNav=require("../../hooks/useNav.js");if(!Array){const _easycom_statusBar2=common_vendor.resolveComponent("statusBar");const _easycom_up_avatar2=common_vendor.resolveComponent("up-avatar");const _easycom_cc_myTabbar2=common_vendor.resolveComponent("cc-myTabbar");(_easycom_statusBar2+_easycom_up_avatar2+_easycom_cc_myTabbar2)()}const _easycom_statusBar=()=>"../../components/statusBar/statusBar.js";const _easycom_up_avatar=()=>"../../uni_modules/uview-plus/components/u-avatar/u-avatar.js";const _easycom_cc_myTabbar=()=>"../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar.js";if(!Math){(_easycom_statusBar+_easycom_up_avatar+_easycom_cc_myTabbar)()}const _sfc_main={__name:"mine",setup(__props){const{nav:nav,navTo:navTo}=hooks_useNav.useNav();let info=common_vendor.ref({});common_vendor.onShow((async()=>{common_vendor.index.hideTabBar();let _res=await api_api.userInfo();info.value=_res}));const toEarnings=()=>{common_vendor.index.navigateTo({url:"./sett"})};return(_ctx,_cache)=>({a:common_vendor.p({size:"150rpx",src:common_vendor.unref(info).avatar}),b:common_vendor.t(common_vendor.unref(info).nickName),c:common_vendor.t(common_vendor.unref(info).phone||""),d:common_vendor.o(toEarnings),e:common_assets._imports_0$2,f:common_vendor.t(common_vendor.unref(info).balance),g:common_vendor.o(($event=>common_vendor.unref(navTo)("/pages/mine/incomeList"))),h:common_vendor.o(($event=>common_vendor.unref(navTo)(`/pageMake/refund/refund?balance=${common_vendor.unref(info).balance}`))),i:common_vendor.o(($event=>common_vendor.unref(navTo)("/pages/money/recharge"))),j:common_assets._imports_1$1,k:common_assets._imports_1$2,l:common_vendor.o(($event=>common_vendor.unref(navTo)("/pages/mine/card"))),m:common_vendor.p({tabBarShow:4})})}};const MiniProgramPage=common_vendor._export_sfc(_sfc_main,[["__scopeId","data-v-41705366"]]);my.createPage(MiniProgramPage);

View File

@@ -0,0 +1,11 @@
{
"defaultTitle": "",
"pullRefresh": false,
"transparentTitle": "always",
"titlePenetrate": "YES",
"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 @@
button:after{all:unset}

View File

@@ -0,0 +1 @@
<view class="p30"><view style="background-color:#fff;border-radius:15rpx"><up-cell-group u-s="{{['d']}}" u-i="442b60d4-0" onVI="__l" u-p="{{i}}"><button style="all:unset" open-type="chooseAvatar" onChooseAvatar="{{c}}"><up-cell u-s="{{['value']}}" u-i="442b60d4-1,442b60d4-0" onVI="__l" u-p="{{b}}"><up-avatar u-i="442b60d4-2,442b60d4-1" onVI="__l" u-p="{{a}}" slot="value"></up-avatar></up-cell></button><up-cell u-s="{{['value']}}" onClick="{{e}}" u-i="442b60d4-3,442b60d4-0" onVI="__l" u-p="{{f}}"><text class="u-slot-value" slot="value">{{d}}</text></up-cell><up-cell u-s="{{['value']}}" u-i="442b60d4-4,442b60d4-0" onVI="__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 onClick="{{j}}" u-i="442b60d4-5" onVI="__l" u-p="{{k}}"></up-button></view>

View File

@@ -0,0 +1 @@
"use strict";const common_vendor=require("../../common/vendor.js");const api_api=require("../../api/api.js");const utils_fun=require("../../utils/fun.js");if(!Array){const _easycom_up_avatar2=common_vendor.resolveComponent("up-avatar");const _easycom_up_cell2=common_vendor.resolveComponent("up-cell");const _easycom_up_cell_group2=common_vendor.resolveComponent("up-cell-group");const _easycom_up_button2=common_vendor.resolveComponent("up-button");(_easycom_up_avatar2+_easycom_up_cell2+_easycom_up_cell_group2+_easycom_up_button2)()}const _easycom_up_avatar=()=>"../../uni_modules/uview-plus/components/u-avatar/u-avatar.js";const _easycom_up_cell=()=>"../../uni_modules/uview-plus/components/u-cell/u-cell.js";const _easycom_up_cell_group=()=>"../../uni_modules/uview-plus/components/u-cell-group/u-cell-group.js";const _easycom_up_button=()=>"../../uni_modules/uview-plus/components/u-button/u-button.js";if(!Math){(_easycom_up_avatar+_easycom_up_cell+_easycom_up_cell_group+_easycom_up_button)()}const _sfc_main={__name:"sett",setup(__props){let info=common_vendor.ref({});common_vendor.onShow((async()=>{getInfo()}));const getInfo=async()=>{let _res=await api_api.userInfo();info.value=_res};const chooseAvatar=async e=>{let img=await utils_fun.uploadFiles(e.detail.avatarUrl);api_api.updateAvatar({avatar:img}).then((res=>{getInfo()}));console.log(img)};const upNickName=()=>{common_vendor.index.showModal({title:"修改昵称",content:info.value.nickName,editable:true,success:function(res){if(res.confirm){api_api.updateNickName({nickName:res.content}).then((res2=>{getInfo()}));console.log(res);console.log("用户点击确定")}else if(res.cancel){console.log("用户点击取消")}}})};const outLogin=()=>{common_vendor.index.showModal({title:"提示",content:"是否确认退出登录?",success:res=>{if(res.confirm){common_vendor.index.clearStorageSync();common_vendor.index.reLaunch({url:"/pages/home/home"})}else if(res.cancel){console.log("用户点击取消")}}})};return(_ctx,_cache)=>({a:common_vendor.p({src:common_vendor.unref(info).avatar}),b:common_vendor.p({title:"头像",isLink:true,size:"min"}),c:common_vendor.o(chooseAvatar),d:common_vendor.t(common_vendor.unref(info).nickName),e:common_vendor.o(upNickName),f:common_vendor.p({title:"昵称",isLink:true,size:"min"}),g:common_vendor.t(common_vendor.unref(info).phone||"-"),h:common_vendor.p({title:"手机号",size:"min",border:false}),i:common_vendor.p({border:false}),j:common_vendor.o(outLogin),k:common_vendor.p({type:"error",text:"退出登录"})})}};my.createPage(_sfc_main);

View File

@@ -0,0 +1,9 @@
{
"defaultTitle": "",
"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 @@
.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 @@
<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 a:for="{{b}}" a:for-item="item" a:key="c" class="{{('data-v-f4a9697d') + ' ' + item.b}}" onTap="{{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}}" onTap="{{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" onChange="{{c}}" placeholder="其他面额" style="font-weight:bold;color:#666666" type="number" value="{{d}}" onInput="{{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 class="data-v-f4a9697d" onChange="{{h}}" u-i="f4a9697d-0" onVI="__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 class="data-v-f4a9697d" onClick="{{k}}" u-i="f4a9697d-1" onVI="__l" u-p="{{l}}"></up-button></view></view></view></view>

View File

@@ -0,0 +1 @@
"use strict";const common_vendor=require("../../common/vendor.js");const api_api=require("../../api/api.js");if(!Array){const _easycom_up_checkbox2=common_vendor.resolveComponent("up-checkbox");const _easycom_up_button2=common_vendor.resolveComponent("up-button");(_easycom_up_checkbox2+_easycom_up_button2)()}const _easycom_up_checkbox=()=>"../../uni_modules/uview-plus/components/u-checkbox/u-checkbox.js";const _easycom_up_button=()=>"../../uni_modules/uview-plus/components/u-button/u-button.js";if(!Math){(_easycom_up_checkbox+_easycom_up_button)()}const _sfc_main={__name:"recharge",setup(__props){let info=common_vendor.ref({});let money=common_vendor.ref(30);let moneyNum=common_vendor.ref("");let num=common_vendor.ref(0);let aloneChecked=common_vendor.ref(false);let list=common_vendor.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 pick=(item,index)=>{if(item!="input"){money.value=item.money;moneyNum.value=""}num.value=index};const change=e=>{aloneChecked.value=e;console.log(e)};const toUp=()=>{api_api.adaPay({amount:money.value}).then((res=>{let data=res;common_vendor.index.requestPayment({provider:"wxpay",timeStamp:data.timeStamp,nonceStr:data.nonceStr,package:data.package,signType:data.signType,paySign:data.paySign,success:function(r){common_vendor.index.showModal({title:"提示",content:"充值成功",showCancel:false,success:function(res2){if(res2.confirm){common_vendor.index.navigateBack()}else if(res2.cancel){console.log("用户点击取消")}}})},fail:function(err){console.log("fail:"+JSON.stringify(err))}})}))};common_vendor.onShow((async()=>{let _res=await api_api.userInfo();info.value=_res}));const inputChange=e=>{money.value=e.detail.value};return(_ctx,_cache)=>({a:common_vendor.t(common_vendor.unref(info).balance),b:common_vendor.f(common_vendor.unref(list),((item,index,i0)=>({a:common_vendor.t(item.number),b:common_vendor.n(common_vendor.unref(num)==index?"item real":"item"),c:index,d:common_vendor.o(($event=>pick(item,index)))}))),c:common_vendor.o(inputChange),d:common_vendor.unref(moneyNum),e:common_vendor.o(($event=>common_vendor.isRef(moneyNum)?moneyNum.value=$event.detail.value:moneyNum=$event.detail.value)),f:common_vendor.n(common_vendor.unref(num)=="input"?"item real":"item"),g:common_vendor.o(($event=>pick("input","input"))),h:common_vendor.o(change),i:common_vendor.p({shape:"circle",name:"agree",usedAlone:true}),j:common_vendor.t(common_vendor.unref(money)),k:common_vendor.o(toUp),l:common_vendor.p({color:"#4879e6",text:"充值",shape:"circle",disabled:!common_vendor.unref(aloneChecked)})})}};const MiniProgramPage=common_vendor._export_sfc(_sfc_main,[["__scopeId","data-v-f4a9697d"]]);my.createPage(MiniProgramPage);

View File

@@ -0,0 +1,7 @@
{
"defaultTitle": "充值",
"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

View File

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

Some files were not shown because too many files have changed in this diff Show More