no message
This commit is contained in:
1
unpackage/dist/build/mp-weixin/api/api.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/api/api.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const t=require("../request/index.js");exports.adaPay=(r,p={})=>t.http("/api/v0/wallet/charge/adaPay",r),exports.apply=(r,p={})=>t.http("/api/v0/invoice/apply",r),exports.aroundAreaApi=(r,p={})=>t.http("/api/v0/stations/aroundArea",r,"GET"),exports.aroundAreaMap=(r,p={})=>t.http("/api/v0/stations/aroundAreaMap",r,"GET"),exports.bannerList=(r,p={})=>t.http("/api/v0/banner/list",r,"GET"),exports.getOssUploadParams=(r,p={})=>t.http("/api/v0/user/getOssUploadParams",r,"GET"),exports.gunInfo=(r,p={})=>t.http("/api/v0/device/gun/info",r,"GET"),exports.infoAroundApi=(r,p={})=>t.http("/api/v0/stations/info",r,"GET"),exports.invoiceList=(r,p={})=>t.http("/api/v0/invoice/list",r,"GET"),exports.listByStationId=(r,p={})=>t.http("/api/v0/device/gun/listByStationId",r,"GET"),exports.loginApi=(r,p={})=>t.http("/api/v0/login/loginByWx",r),exports.loginCodeApi=(r,p={})=>t.http("/api/v0/login/loginByWxCode",r),exports.orderList=(r,p={})=>t.http("/api/v0/invoice/orderList",r,"GET"),exports.ordersInfo=(r,p={})=>t.http("/api/v0/orders/info",r,"GET"),exports.ordersList=(r,p={})=>t.http("/api/v0/orders/list",r,"GET"),exports.preApply=(r,p={})=>t.http("/api/v0/invoice/preApply",r),exports.realtimeInfo=(r,p={})=>t.http("/api/v0/orders/realtimeInfo",r,"GET"),exports.refund=(r,p={})=>t.http("/api/v0/wallet/refund",r),exports.selectProtocolInfo=(r,p={})=>t.http("/api/v0/protocol/info",r,"GET"),exports.startChargingByAdaPay=(r,p={})=>t.http("/api/v0/orders/startChargingByAdaPay",r),exports.startChargingByCard=(r,p={})=>t.http("/api/v0/orders/startChargingByCard",r),exports.startChargingByWallet=(r,p={})=>t.http("/api/v0/orders/startChargingByWallet",r),exports.stopCharging=(r,p={})=>t.http("/api/v0/orders/stopCharging",r),exports.updateAvatar=(r,p={})=>t.http("/api/v0/user/updateAvatar",r),exports.updateNickName=(r,p={})=>t.http("/api/v0/user/updateNickName",r),exports.userCardList=(r,p={})=>t.http("/api/v0/card/userCardList",r,"GET"),exports.userCardRecord=(r,p={})=>t.http("/api/v0/card/userCardRecord",r,"GET"),exports.userCardUsableList=(r,p={})=>t.http("/api/v0/card/userCardUsableList",r,"GET"),exports.userInfo=(r,p={})=>t.http("/api/v0/user/info",r,"GET"),exports.walletRecord=(r,p={})=>t.http("/api/v0/wallet/record",r,"GET");
|
||||
1
unpackage/dist/build/mp-weixin/app.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/app.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./common/vendor.js"),o=require("./uni_modules/uview-plus/index.js"),n=require("./utils/sok.js"),i=require("./store/index.js"),u=require("./uni_modules/uview-plus/libs/mixin/mpShare.js");Math;const r={onLaunch:function(){e.index.getStorageSync("token")&&n.init(),e.index.hideTabBar(),console.log("App Launch")},onShow:function(){console.log("App Show")},onHide:function(){console.log("App Hide")}};function s(){const n=e.createSSRApp(r);return n.mixin(u.mpShare),n.use(o.uviewPlus),n.use(i.store),{app:n}}s().app.mount("#app"),exports.createApp=s;
|
||||
81
unpackage/dist/build/mp-weixin/app.json
vendored
Normal file
81
unpackage/dist/build/mp-weixin/app.json
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
{
|
||||
"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": {
|
||||
"navigationBarTextStyle": "black",
|
||||
"navigationBarTitleText": "",
|
||||
"navigationBarBackgroundColor": "#F8F8F8",
|
||||
"backgroundColor": "#F8F8F8"
|
||||
},
|
||||
"tabBar": {
|
||||
"color": "#999999",
|
||||
"selectedColor": "#999999",
|
||||
"borderStyle": "black",
|
||||
"backgroundColor": "#ffffff",
|
||||
"list": [
|
||||
{
|
||||
"pagePath": "pages/home/home",
|
||||
"text": "首页"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/index/index",
|
||||
"text": "地图"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/sweep/sweep",
|
||||
"text": "扫码充电"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/order/order",
|
||||
"text": "订单"
|
||||
},
|
||||
{
|
||||
"pagePath": "pages/mine/mine",
|
||||
"text": "我的"
|
||||
}
|
||||
]
|
||||
},
|
||||
"permission": {
|
||||
"scope.userLocation": {
|
||||
"desc": "你的位置信息将用于小程序位置接口的效果展示"
|
||||
}
|
||||
},
|
||||
"requiredPrivateInfos": [
|
||||
"getLocation"
|
||||
],
|
||||
"usingComponents": {}
|
||||
}
|
||||
2
unpackage/dist/build/mp-weixin/app.wxss
vendored
Normal file
2
unpackage/dist/build/mp-weixin/app.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/common/assets.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/common/assets.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";exports._imports_0="/static/icon/dd.png",exports._imports_0$1="/static/icon/mc.png",exports._imports_0$2="/static/icon/sett.png",exports._imports_0$3="/static/image/djk.png",exports._imports_0$4="/static/icon/eleclist-terminal.png",exports._imports_0$5="/static/image/login26_bg.png",exports._imports_0$6="/static/icon/copy.png",exports._imports_0$7="/static/icon/ic-copy1.png",exports._imports_0$8="/static/icon/cd.png",exports._imports_1="/static/icon/kj.png",exports._imports_1$1="/static/icon/location-marker-icon.png",exports._imports_1$2="/static/image/djs.png",exports._imports_1$3="/static/icon/9you.png",exports._imports_1$4="/static/icon/dw.png",exports._imports_2="/static/icon/kp.png",exports._imports_2$1="/static/image/cs.png",exports._imports_2$2="/static/icon/tc.png",exports._imports_3="/static/icon/kf.png";
|
||||
1
unpackage/dist/build/mp-weixin/common/js/user.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/common/js/user.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../vendor.js"),i=require("../../api/api.js"),o=require("../../utils/sok.js");exports.login=async(n,t=1)=>{if(1==t){var{code:a}=await e.index.login({provider:"weixin"});try{let{token:o,userInfo:n}=await i.loginCodeApi({loginCode:a});e.index.setStorageSync("token",o),e.index.setStorageSync("user",n)}catch(s){10==s.code&&e.index.setStorageSync("token",!1)}}else if(2==t){var{code:r}=n.detail,{code:a}=await e.index.login({provider:"alipay"});try{let{token:n,user:t}=await i.loginApi({phoneCode:r,loginCode:a});e.index.setStorageSync("token",n),e.index.setStorageSync("user",t),e.index.navigateBack(),o.init()}catch(s){console.log(s)}}};
|
||||
7
unpackage/dist/build/mp-weixin/common/vendor.js
vendored
Normal file
7
unpackage/dist/build/mp-weixin/common/vendor.js
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/components/orderList/orderList.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/orderList/orderList.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const t=require("../../common/vendor.js"),e=require("../../common/assets.js"),n={__name:"orderList",props:{Image:{type:Boolean,default:!1},toNav:{type:Boolean,default:!1},info:{type:Object,default:{}},list:{type:Array,default:[]},type:{type:String,default:"list"}},setup(n){const o=n;let i=()=>{if(!o.toNav)return!0;t.index.navigateTo({url:`/pages/home/detail?id=${o.info.id}&distance=${o.info.distance}`})},s=()=>{t.index.openLocation({name:o.info.stationName,latitude:o.info.location.lat,longitude:o.info.location.lng,success:function(){console.log("success")}})};return(o,a)=>t.e({a:n.Image&&0!=n.list.length},n.Image&&0!=n.list.length?t.e({b:t.f(n.list,((t,e,n)=>({a:e,b:t}))),c:2==n.list.length},(n.list.length,{})):{},{d:e._imports_0$8,e:t.t(n.info.stationName),f:t.t(n.info.priceAmount),g:t.t(n.info.gunUseCount||0),h:t.t(n.info.gunCount||0),i:t.t(n.info.distance),j:e._imports_1$4,k:t.o(((...e)=>t.unref(s)&&t.unref(s)(...e))),l:e._imports_2$2,m:t.t(n.info.parkCostInfo),n:t.n("list"==n.type?"nowrapText":""),o:t.o(((...e)=>t.unref(i)&&t.unref(i)(...e)))})}},o=t._export_sfc(n,[["__scopeId","data-v-6853530d"]]);wx.createComponent(o);
|
||||
4
unpackage/dist/build/mp-weixin/components/orderList/orderList.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/orderList/orderList.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/orderList/orderList.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/orderList/orderList.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="data-v-6853530d"><view class="orderList data-v-6853530d" bindtap="{{o}}"><view wx:if="{{a}}" class="orderList_img data-v-6853530d"><image wx:for="{{b}}" wx:for-item="i" wx:key="a" class="data-v-6853530d" src="{{i.b}}" mode="aspectFill"></image><view wx:if="{{c}}" class="data-v-6853530d"></view></view><view class="data-v-6853530d" style="display:flex;align-items:center;justify-content:space-between"><view class="data-v-6853530d"><view class="orderList_header data-v-6853530d"><image class="orderList_header_img data-v-6853530d" src="{{d}}" mode="widthFix"></image><view class="data-v-6853530d">{{e}}</view></view><view class="orderList_money data-v-6853530d"><view class="data-v-6853530d">{{f}}</view><view class="data-v-6853530d">元/度</view></view><view class="orderList_cd data-v-6853530d"><view class="orderList_cd_m data-v-6853530d"><text class="orderList_cd_m_x data-v-6853530d">闲</text><text class="orderList_cd_m_n data-v-6853530d">{{g}}/{{h}}</text></view></view></view><view class="orderList_right data-v-6853530d" bindtap="{{k}}"><view class="data-v-6853530d">{{i}}KM</view><image class="orderList_note_img data-v-6853530d" src="{{j}}" mode="widthFix"></image></view></view><view class="orderList_note data-v-6853530d"><image class="orderList_note_img data-v-6853530d" src="{{l}}" mode="widthFix"></image><view class="{{['data-v-6853530d', n]}}">{{m}}</view></view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/components/orderList/orderList.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/orderList/orderList.wxss
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/components/search/search.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/search/search.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js");if(!Array){e.resolveComponent("up-input")()}Math;const n={__name:"search",props:{Fixed:{type:Boolean,default:!1}},emits:["change","search"],setup(n,{emit:o}){let r=e.ref("");const t=e.index.getSystemInfoSync().statusBarHeight+"px",s=o;let a=e=>{s("change",e)},c=e=>{s("search",e)};return(o,s)=>({a:t,b:e.o(e.unref(a)),c:e.o(e.unref(c)),d:e.o((n=>e.isRef(r)?r.value=n:r=n)),e:e.p({placeholder:"查找地点、电站",confirmType:"search",suffixIcon:"/static/icon/search.png",border:"none",modelValue:e.unref(r)}),f:e.n(n.Fixed?"Fixed":"")})}};wx.createComponent(n);
|
||||
6
unpackage/dist/build/mp-weixin/components/search/search.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/components/search/search.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"up-input": "../../uni_modules/uview-plus/components/u-input/u-input"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/search/search.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/search/search.wxml
vendored
Normal 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 wx:if="{{e}}" bindchange="{{b}}" bindconfirm="{{c}}" u-i="030144b5-0" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"></up-input></view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/components/search/search.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/search/search.wxss
vendored
Normal 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}
|
||||
1
unpackage/dist/build/mp-weixin/components/statusBar/statusBar.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/statusBar/statusBar.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const t=require("../../common/vendor.js"),e={__name:"statusBar",setup(e){const n=t.index.getSystemInfoSync().statusBarHeight+"px";return(t,e)=>({a:n})}};wx.createComponent(e);
|
||||
4
unpackage/dist/build/mp-weixin/components/statusBar/statusBar.json
vendored
Normal file
4
unpackage/dist/build/mp-weixin/components/statusBar/statusBar.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/components/statusBar/statusBar.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/statusBar/statusBar.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view style="position:relative"><view style="{{'height:' + a}}"></view><view style="height:44px"></view><view class="statusBar_blur"></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/components/statusBar/statusBar.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/components/statusBar/statusBar.wxss
vendored
Normal 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:-1}
|
||||
1
unpackage/dist/build/mp-weixin/config.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/config.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";exports.config={baseUrl:"http://192.168.1.63:1017",sok:"192.168.1.63:1017"};
|
||||
1
unpackage/dist/build/mp-weixin/hooks/useNav.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/hooks/useNav.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../common/vendor.js");exports.useNav=function(){return{nav:n=>{n.call?e.index.makePhoneCall({phoneNumber:"4008005326"}):e.index.getStorageSync("token")?e.index["nav"!=n.type&&n.type&&"switchTab"==n.type?"switchTab":"navigateTo"]({url:n.path}):e.index.showModal({title:"提示",content:"为提供更好的服务,请前往登录",success:n=>{n.confirm?e.index.navigateTo({url:"/pages/login/login"}):n.cancel&&console.log("用户点击取消")}})},navTo:(n,o,t)=>{e.index.getStorageSync("token")?e.index.navigateTo({url:n}):e.index.showModal({title:"提示",content:"为提供更好的服务,请前往登录",success:n=>{n.confirm?e.index.navigateTo({url:"/pages/login/login"}):n.cancel&&console.log("用户点击取消")}})}}};
|
||||
1
unpackage/dist/build/mp-weixin/pageMake/invoice/applyFor.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pageMake/invoice/applyFor.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../hooks/useNav.js"),l=require("../../api/api.js");if(!Array){(e.resolveComponent("up-icon")+e.resolveComponent("up-checkbox")+e.resolveComponent("up-checkbox-group")+e.resolveComponent("z-paging")+e.resolveComponent("up-button"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uview-plus/components/u-checkbox/u-checkbox.js")+(()=>"../../uni_modules/uview-plus/components/u-checkbox-group/u-checkbox-group.js")+(()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js")+(()=>"../../uni_modules/uview-plus/components/u-button/u-button.js"))();const n={__name:"applyFor",setup(n){const{nav:u,navTo:a}=o.useNav();let c=e.ref([]);const t=e.ref([]),r=e.ref(null);let s=e.ref(!1);const p=e=>{c.value=e?t.value.map(((e,o)=>e.id)):[],s.value=e,console.log(e)},i=async(o,n)=>{const u={current:o,pageSize:n};l.orderList(u).then((o=>{r.value.complete(o),e.index.hideLoading()})).catch((o=>{r.value.complete(!1),e.index.hideLoading()}))},m=e=>{e.length==t.value.length?s.value=!0:s.value=!1,console.log(e)};let v=()=>!r.value;return e.onPullDownRefresh((()=>{v()||r.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{v()||(r.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&r.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{v()||r.value.pageReachBottom()})),(o,l)=>({a:e.p({name:"error-circle-fill",color:"#3c9cff"}),b:e.f(t.value,((o,l,n)=>({a:"8baf785a-3-"+n+",8baf785a-2",b:e.p({shape:"circle",customStyle:{margin:"0"},name:o.id}),c:e.t(o.orderNo),d:e.t(o.electricityAmount),e:e.t(o.serviceAmount),f:e.t(o.actuallyAmount),g:l}))),c:e.o(m),d:e.o((o=>e.isRef(c)?c.value=o:c=o)),e:e.p({placement:"column",modelValue:e.unref(c)}),f:e.sr(r,"8baf785a-1",{k:"paging"}),g:e.o(i),h:e.o((e=>t.value=e)),i:e.p({"use-page-scroll":!0,modelValue:t.value}),j:e.o(p),k:e.o((o=>e.isRef(s)?s.value=o:s=o)),l:e.p({label:"本页全选",shape:"circle",usedAlone:!0,customStyle:{margin:"0 10rpx 0 0"},checked:e.unref(s)}),m:e.o((o=>e.unref(a)(`/pageMake/invoice/applyForDay?list=${encodeURIComponent(JSON.stringify(e.unref(c)))}`))),n:e.p({customStyle:{height:"80rpx",width:"230rpx"},color:"#4879e6",text:"下一步",shape:"circle",disabled:0==e.unref(c).length})})}},u=e._export_sfc(n,[["__scopeId","data-v-8baf785a"]]);n.__runtimeHooks=1,wx.createPage(u);
|
||||
10
unpackage/dist/build/mp-weixin/pageMake/invoice/applyFor.json
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pageMake/invoice/applyFor.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"navigationBarTitleText": "申请开票",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pageMake/invoice/applyFor.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pageMake/invoice/applyFor.wxml
vendored
Normal 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 wx:if="{{a}}" class="data-v-8baf785a" u-i="8baf785a-0" bind:__l="__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 wx:if="{{i}}" class="r data-v-8baf785a" u-s="{{['d']}}" u-r="paging" bindquery="{{g}}" u-i="8baf785a-1" bind:__l="__l" bindupdateModelValue="{{h}}" u-p="{{i}}"><up-checkbox-group wx:if="{{e}}" class="data-v-8baf785a" u-s="{{['d']}}" bindchange="{{c}}" u-i="8baf785a-2,8baf785a-1" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><view wx:for="{{b}}" wx:for-item="item" wx: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 wx:if="{{item.b}}" class="data-v-8baf785a" u-i="{{item.a}}" bind:__l="__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 wx:if="{{l}}" class="data-v-8baf785a" bindchange="{{j}}" u-i="8baf785a-4" bind:__l="__l" bindupdateChecked="{{k}}" u-p="{{l}}"></up-checkbox></view><view class="data-v-8baf785a" style="width:230rpx"><up-button wx:if="{{n}}" class="data-v-8baf785a" bindclick="{{m}}" u-i="8baf785a-5" bind:__l="__l" u-p="{{n}}"></up-button></view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pageMake/invoice/applyFor.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pageMake/invoice/applyFor.wxss
vendored
Normal 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}
|
||||
1
unpackage/dist/build/mp-weixin/pageMake/invoice/applyForDay.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pageMake/invoice/applyForDay.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../hooks/useNav.js"),t=require("../../api/api.js");if(!Array){(e.resolveComponent("up-icon")+e.resolveComponent("up-button"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uview-plus/components/u-button/u-button.js"))();const n={__name:"applyForDay",setup(n){const{nav:r,navTo:c}=o.useNav(),s=e.ref([]);let u=e.ref([]);return e.onLoad((async e=>{u.value=JSON.parse(decodeURIComponent(e.list)),console.log(u.value);let o=await t.preApply({ordersIds:JSON.parse(decodeURIComponent(e.list))});s.value=o})),(o,t)=>({a:e.p({name:"error-circle-fill",color:"#3c9cff"}),b:e.f(s.value,((o,t,n)=>({a:e.t(o.merchantName),b:e.t(o.electricityAmount),c:e.t(o.serviceAmount),d:e.t(o.invoiceAmount),e:t}))),c:e.o((o=>e.unref(c)(`/pageMake/invoice/makeInvoice?list=${encodeURIComponent(JSON.stringify(e.unref(u)))}`))),d:e.p({customStyle:{height:"80rpx",width:"230rpx"},color:"#4879e6",text:"下一步",shape:"circle"})})}},r=e._export_sfc(n,[["__scopeId","data-v-5655c689"]]);wx.createPage(r);
|
||||
7
unpackage/dist/build/mp-weixin/pageMake/invoice/applyForDay.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/pageMake/invoice/applyForDay.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "申请开票",
|
||||
"usingComponents": {
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
|
||||
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pageMake/invoice/applyForDay.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pageMake/invoice/applyForDay.wxml
vendored
Normal 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 wx:if="{{a}}" class="data-v-5655c689" u-i="5655c689-0" bind:__l="__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 wx:for="{{b}}" wx:for-item="item" wx: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 wx:if="{{d}}" class="data-v-5655c689" bindclick="{{c}}" u-i="5655c689-1" bind:__l="__l" u-p="{{d}}"></up-button></view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pageMake/invoice/applyForDay.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pageMake/invoice/applyForDay.wxss
vendored
Normal 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}
|
||||
1
unpackage/dist/build/mp-weixin/pageMake/invoice/invoice.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pageMake/invoice/invoice.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),c=require("../../hooks/useNav.js"),o=require("../../api/api.js");if(!Array){(e.resolveComponent("up-icon")+e.resolveComponent("up-tag")+e.resolveComponent("z-paging")+e.resolveComponent("up-button"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uview-plus/components/u-tag/u-tag.js")+(()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js")+(()=>"../../uni_modules/uview-plus/components/u-button/u-button.js"))();const t={__name:"invoice",setup(t){const{nav:n,navTo:a}=c.useNav(),l=e.ref([]),i=e.ref(null),u=async(c,t)=>{const n={current:c,pageSize:t};o.invoiceList(n).then((c=>{i.value.complete(c),e.index.hideLoading()})).catch((c=>{i.value.complete(!1),e.index.hideLoading()}))};let s=()=>!i.value;return e.onPullDownRefresh((()=>{s()||i.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{s()||(i.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&i.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{s()||i.value.pageReachBottom()})),(c,o)=>({a:e.p({name:"error-circle-fill",color:"#3c9cff"}),b:e.f(l.value,((c,o,t)=>e.e({a:"c39f8dcc-2-"+t+",c39f8dcc-1",b:e.t(c.createTime),c:"c39f8dcc-3-"+t+",c39f8dcc-1",d:e.t(c.invoiceTitle),e:e.t(c.merchantInvoice||"-"),f:0==c.status},0==c.status?{g:"c39f8dcc-4-"+t+",c39f8dcc-1",h:e.p({text:"待开票",type:"warning",plain:!0,plainFill:!0})}:{},{i:1==c.status},1==c.status?{j:"c39f8dcc-5-"+t+",c39f8dcc-1",k:e.p({text:"已开票",type:"success",plain:!0,plainFill:!0})}:{},{l:-1==c.status},-1==c.status?{m:"c39f8dcc-6-"+t+",c39f8dcc-1",n:e.p({text:"取消",type:"error",plain:!0,plainFill:!0})}:{},{o:e.t(c.invoiceAmount),p:o}))),c:e.p({name:"clock-fill"}),d:e.p({name:"arrow-right"}),e:e.sr(i,"c39f8dcc-1",{k:"paging"}),f:e.o(u),g:e.o((e=>l.value=e)),h:e.p({"use-page-scroll":!0,modelValue:l.value}),i:e.o((c=>e.unref(a)("/pageMake/invoice/applyFor"))),j:e.p({customStyle:{height:"80rpx"},color:"#4879e6",text:"申请开票",shape:"circle"})})}},n=e._export_sfc(t,[["__scopeId","data-v-c39f8dcc"]]);t.__runtimeHooks=1,wx.createPage(n);
|
||||
9
unpackage/dist/build/mp-weixin/pageMake/invoice/invoice.json
vendored
Normal file
9
unpackage/dist/build/mp-weixin/pageMake/invoice/invoice.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationBarTitleText": "开票记录",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pageMake/invoice/invoice.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pageMake/invoice/invoice.wxml
vendored
Normal 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 wx:if="{{a}}" class="data-v-c39f8dcc" u-i="c39f8dcc-0" bind:__l="__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 wx:if="{{h}}" class="r data-v-c39f8dcc" u-s="{{['d']}}" u-r="paging" bindquery="{{f}}" u-i="c39f8dcc-1" bind:__l="__l" bindupdateModelValue="{{g}}" u-p="{{h}}"><view wx:for="{{b}}" wx:for-item="item" wx: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 wx:if="{{c}}" class="data-v-c39f8dcc" u-i="{{item.a}}" bind:__l="__l" u-p="{{c}}"></up-icon> {{item.b}}</view><up-icon wx:if="{{d}}" class="data-v-c39f8dcc" u-i="{{item.c}}" bind:__l="__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 wx:if="{{item.f}}" class="data-v-c39f8dcc" u-i="{{item.g}}" bind:__l="__l" u-p="{{item.h}}"></up-tag><up-tag wx:if="{{item.i}}" class="data-v-c39f8dcc" u-i="{{item.j}}" bind:__l="__l" u-p="{{item.k}}"></up-tag><up-tag wx:if="{{item.l}}" class="data-v-c39f8dcc" u-i="{{item.m}}" bind:__l="__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 wx:if="{{j}}" class="data-v-c39f8dcc" bindclick="{{i}}" u-i="c39f8dcc-7" bind:__l="__l" u-p="{{j}}"></up-button></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pageMake/invoice/invoice.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pageMake/invoice/invoice.wxss
vendored
Normal 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}
|
||||
1
unpackage/dist/build/mp-weixin/pageMake/invoice/makeInvoice.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pageMake/invoice/makeInvoice.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),n=require("../../api/api.js");if(!Array){(e.resolveComponent("up-icon")+e.resolveComponent("up-textarea")+e.resolveComponent("up-button")+e.resolveComponent("up-picker"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-icon/u-icon.js")+(()=>"../../uni_modules/uview-plus/components/u-textarea/u-textarea.js")+(()=>"../../uni_modules/uview-plus/components/u-button/u-button.js")+(()=>"../../uni_modules/uview-plus/components/u-picker/u-picker.js"))();const o={__name:"makeInvoice",setup(o){e.ref([]);let i=e.ref({invoiceType:null,subjectType:null,ordersIds:[]}),u=e.ref(!1),a=e.ref(!1);e.onLoad((async e=>{console.log(e),console.log(JSON.parse(decodeURIComponent(e.list))),i.value.ordersIds=JSON.parse(decodeURIComponent(e.list))}));const l=async()=>i.value.subjectType?i.value.invoiceType?(1!=!i.value.invoiceType||i.value.taxNumber)&&(1!=!i.value.subjectType||i.value.registrationPhone)&&(1!=!i.value.subjectType||2!=!i.value.invoiceType||i.value.taxNumber)?1!=!i.value.subjectType||2!=!i.value.invoiceType||i.value.registrationAddress?1!=!i.value.subjectType||2!=!i.value.invoiceType||i.value.registrationPhone?1!=!i.value.subjectType||2!=!i.value.invoiceType||i.value.bankName?1!=!i.value.subjectType||2!=!i.value.invoiceType||i.value.bankAccount?i.value.name?i.value.address?i.value.phone?i.value.email?(await n.apply(i.value),void e.index.navigateBack({delta:3})):e.index.showToast({title:"请输入收票人邮箱",icon:"none"}):e.index.showToast({title:"请输入收票人电话",icon:"none"}):e.index.showToast({title:"请输入收票人地址",icon:"none"}):e.index.showToast({title:"请输入收票人姓名",icon:"none"}):e.index.showToast({title:"请输入开户行账户",icon:"none"}):e.index.showToast({title:"请输入开户行名称",icon:"none"}):e.index.showToast({title:"请输入公司电话",icon:"none"}):e.index.showToast({title:"请输入公司地址",icon:"none"}):e.index.showToast({title:"请输入发票税号",icon:"none"}):e.index.showToast({title:"请选择发票类型",icon:"none"}):e.index.showToast({title:"请选择发票主体",icon:"none"}),t=e=>{i.value.invoiceType=e.value[0].id,u.value=!1,console.log(i.value.invoiceType)},r=e=>{i.value.subjectType=e.value[0].id,a.value=!1,2==e.value[0].id&&(i.value.invoiceType=1)},s=()=>{2!=i.value.subjectType&&(u.value=!0)},c=e.reactive([[{label:"增值税普通发票",id:1},{label:"增值税专用发票",id:2}]]),v=e.reactive([[{label:"企业",id:1},{label:"个人",id:2}]]);return(n,o)=>e.e({a:e.p({name:"error-circle-fill",color:"#3c9cff"}),b:e.t(e.unref(i).subjectType?v[0].find((n=>n.id==e.unref(i).subjectType)).label:"请选择"),c:e.unref(i).subjectType?"":"#808080",d:e.p({name:"arrow-down"}),e:e.o((n=>e.isRef(a)?a.value=!0:a=!0)),f:e.t(e.unref(i).invoiceType?c[0].find((n=>n.id==e.unref(i).invoiceType)).label:"请选择"),g:e.unref(i).invoiceType?"":"#808080",h:e.p({name:"arrow-down"}),i:e.o(s),j:e.unref(i).invoiceTitle,k:e.o((n=>e.unref(i).invoiceTitle=n.detail.value)),l:1==e.unref(i).subjectType},1==e.unref(i).subjectType?{m:e.unref(i).taxNumber,n:e.o((n=>e.unref(i).taxNumber=n.detail.value))}:{},{o:2==e.unref(i).invoiceType},2==e.unref(i).invoiceType?{p:e.unref(i).registrationAddress,q:e.o((n=>e.unref(i).registrationAddress=n.detail.value))}:{},{r:2==e.unref(i).invoiceType},2==e.unref(i).invoiceType?{s:e.unref(i).registrationPhone,t:e.o((n=>e.unref(i).registrationPhone=n.detail.value))}:{},{v:2==e.unref(i).invoiceType},2==e.unref(i).invoiceType?{w:e.unref(i).bankName,x:e.o((n=>e.unref(i).bankName=n.detail.value))}:{},{y:2==e.unref(i).invoiceType},2==e.unref(i).invoiceType?{z:e.unref(i).bankAccount,A:e.o((n=>e.unref(i).bankAccount=n.detail.value))}:{},{B:e.unref(i).name,C:e.o((n=>e.unref(i).name=n.detail.value)),D:e.unref(i).phone,E:e.o((n=>e.unref(i).phone=n.detail.value)),F:e.unref(i).address,G:e.o((n=>e.unref(i).address=n.detail.value)),H:e.unref(i).email,I:e.o((n=>e.unref(i).email=n.detail.value)),J:e.o((n=>e.unref(i).invoiceRemark=n)),K:e.p({placeholder:"请输入内容",modelValue:e.unref(i).invoiceRemark}),L:e.o(l),M:e.p({customStyle:{height:"80rpx",width:"230rpx"},color:"#4879e6",text:"确认开票",shape:"circle"}),N:e.o(t),O:e.o((n=>e.isRef(u)?u.value=!1:u=!1)),P:e.p({keyName:"label",show:e.unref(u),columns:c}),Q:e.o(r),R:e.o((n=>e.isRef(a)?a.value=!1:a=!1)),S:e.p({keyName:"label",show:e.unref(a),columns:v})})}},i=e._export_sfc(o,[["__scopeId","data-v-fc7ee96e"]]);wx.createPage(i);
|
||||
9
unpackage/dist/build/mp-weixin/pageMake/invoice/makeInvoice.json
vendored
Normal file
9
unpackage/dist/build/mp-weixin/pageMake/invoice/makeInvoice.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationBarTitleText": "申请开票",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pageMake/invoice/makeInvoice.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pageMake/invoice/makeInvoice.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/pageMake/invoice/makeInvoice.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pageMake/invoice/makeInvoice.wxss
vendored
Normal 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}
|
||||
1
unpackage/dist/build/mp-weixin/pageMake/refund/refund.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pageMake/refund/refund.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),t=require("../../api/api.js"),o={data:()=>({balance:0,dataFrom:{amount:"",refundReason:""}}),onLoad(e){e.balance&&(this.balance=e.balance)},methods:{toKft(){e.index.makePhoneCall({phoneNumber:"4008005326"})},refundTo(){if(!this.dataFrom.amount)return e.index.showToast({title:"请输入退款金额",icon:"none"});t.refund(this.dataFrom).then((t=>{e.index.showModal({title:"提示",content:"提交成功",showCancel:!1,success:function(t){e.index.navigateBack()}})}))}}};if(!Array){(e.resolveComponent("up-textarea")+e.resolveComponent("up-button"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-textarea/u-textarea.js")+(()=>"../../uni_modules/uview-plus/components/u-button/u-button.js"))();const a=e._export_sfc(o,[["render",function(t,o,a,n,r,u){return{a:`可申请退款${r.balance}元`,b:r.dataFrom.amount,c:e.o((e=>r.dataFrom.amount=e.detail.value)),d:e.o((e=>r.dataFrom.amount=r.balance)),e:e.o((e=>r.dataFrom.refundReason=e)),f:e.p({placeholder:"请输入退款理由",modelValue:r.dataFrom.refundReason}),g:e.o(u.toKft),h:e.p({customStyle:{height:"80rpx"},text:"联系客服",shape:"circle"}),i:e.o(u.refundTo),j:e.p({customStyle:{height:"80rpx"},color:"#4879e6",text:"提交",shape:"circle"})}}]]);wx.createPage(a);
|
||||
7
unpackage/dist/build/mp-weixin/pageMake/refund/refund.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/pageMake/refund/refund.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "退款申请",
|
||||
"usingComponents": {
|
||||
"up-textarea": "../../uni_modules/uview-plus/components/u-textarea/u-textarea",
|
||||
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pageMake/refund/refund.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pageMake/refund/refund.wxml
vendored
Normal 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}}" bindinput="{{c}}"/><view bindtap="{{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 wx:if="{{f}}" u-i="53c42ebc-0" bind:__l="__l" bindupdateModelValue="{{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 wx:if="{{h}}" bindclick="{{g}}" u-i="53c42ebc-1" bind:__l="__l" u-p="{{h}}"></up-button></view><view style="width:400rpx"><up-button wx:if="{{j}}" bindclick="{{i}}" u-i="53c42ebc-2" bind:__l="__l" u-p="{{j}}"></up-button></view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pageMake/refund/refund.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pageMake/refund/refund.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
page{background-color:#fff}
|
||||
1
unpackage/dist/build/mp-weixin/pageOrder/recharge/recharge.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pageOrder/recharge/recharge.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const t=require("../../common/vendor.js"),e=require("../../common/assets.js"),a=require("../../api/api.js"),s=require("../../utils/fun.js"),o=require("../../store/index.js"),r={__name:"recharge",setup(r){let n=t.ref("");t.ref(""),t.onLoad((async t=>{if(n.value=t.transactionNo,t.type){let e=await a.realtimeInfo({transactionNo:t.transactionNo});o.store.commit("setDataObj",e)}}));const u=e=>{t.index.showModal({title:"提示",content:1==e?"是否确认结束充电?":"结束充电失败,请重试!",success:function(e){e.confirm?a.stopCharging({transactionNo:n.value}).then((e=>{t.index.showLoading({title:"停止充电中..."}),o.store.commit("setSokStatus",0),i(n.value)})):e.cancel&&console.log("用户点击取消")}})},i=e=>{setTimeout((async()=>{if(1!=o.store.state.sokStatus){let s=await a.ordersInfo({transactionNo:e});o.store.commit("setDataObj",s),3!=s.status&&4!=s.status||(t.index.hideLoading(),u(2)),5!=s.status&&6!=s.status||(t.index.hideLoading(),t.index.navigateBack(),o.store.commit("setSokStatus",0))}}),3e4)};return(a,r)=>({a:t.t(t.unref(o.store).state.dataObj.orderNo),b:e._imports_0$7,c:t.o((e=>t.unref(s.copy)(t.unref(o.store).state.dataObj.orderNo))),d:t.t(t.unref(o.store).state.dataObj.currentAmount||0),e:t.t(t.unref(o.store).state.dataObj.cumulativeTime||0),f:t.t(t.unref(o.store).state.dataObj.chargingDegree||0),g:t.t(t.unref(o.store).state.dataObj.cumulativeTime||0),h:t.t(t.unref(o.store).state.dataObj.currentAmount||0),i:t.t(t.unref(o.store).state.dataObj.outputVoltage||0),j:t.t(t.unref(o.store).state.dataObj.outputCurrent||0),k:t.t(t.unref(o.store).state.dataObj.power||0),l:t.t(t.unref(o.store).state.dataObj.gunNo),m:t.t(t.unref(o.store).state.dataObj.deviceNo||""),n:t.o((t=>u(1)))})}},n=t._export_sfc(r,[["__scopeId","data-v-3c0c9951"]]);wx.createPage(n);
|
||||
6
unpackage/dist/build/mp-weixin/pageOrder/recharge/recharge.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pageOrder/recharge/recharge.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "充电中",
|
||||
"navigationBarBackgroundColor": "#000",
|
||||
"navigationBarTextStyle": "white",
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pageOrder/recharge/recharge.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pageOrder/recharge/recharge.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="recharge data-v-3c0c9951"><view class="recharge_orderId data-v-3c0c9951"><view class="data-v-3c0c9951"> 订单号:{{a}} <image class="data-v-3c0c9951" src="{{b}}" bindtap="{{c}}" mode="widthFix"></image></view></view><view class="recharge_trn data-v-3c0c9951"><view class="recharge_trn_yuan data-v-3c0c9951"><image class="recharge_trn_yuan_img data-v-3c0c9951" 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-3c0c9951" 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-3c0c9951"><view class="data-v-3c0c9951">¥{{d}}</view><view class="data-v-3c0c9951">已用时长</view><view class="data-v-3c0c9951">{{e}}min</view></view><view class="recharge_trn_car data-v-3c0c9951"><image class="recharge_trn_car_img data-v-3c0c9951" 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-3c0c9951" 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-3c0c9951"><view class="recharge_list_view data-v-3c0c9951"><image class="data-v-3c0c9951" 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-3c0c9951">{{f}}</view><view class="recharge_list_view_name data-v-3c0c9951">已充电量(度)</view></view><view class="recharge_list_view data-v-3c0c9951"><image class="data-v-3c0c9951" 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-3c0c9951">{{g}}min</view><view class="recharge_list_view_name data-v-3c0c9951">已充时长</view></view><view class="recharge_list_view data-v-3c0c9951"><image class="data-v-3c0c9951" 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-3c0c9951">{{h}}</view><view class="recharge_list_view_name data-v-3c0c9951">已充金额(元)</view></view></view><view class="recharge_block p30 data-v-3c0c9951"><view class="recharge_block_view data-v-3c0c9951"><view class="data-v-3c0c9951">{{i}}</view><view class="data-v-3c0c9951">实时电压(V)</view></view><view class="recharge_block_view data-v-3c0c9951"><view class="data-v-3c0c9951">{{j}}</view><view class="data-v-3c0c9951">实时电流(A)</view></view><view class="recharge_block_view data-v-3c0c9951"><view class="data-v-3c0c9951">{{k}}</view><view class="data-v-3c0c9951">实时功率(KW)</view></view></view><view class="recharge_note p30 data-v-3c0c9951"><view class="data-v-3c0c9951">终端名称:{{l}}</view><view class="data-v-3c0c9951">终端编码:{{m}}</view></view><view class="recharge_btn1 data-v-3c0c9951" bindtap="{{n}}">结束充电</view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pageOrder/recharge/recharge.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pageOrder/recharge/recharge.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
page{background-color:#000}.recharge_orderId.data-v-3c0c9951{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-3c0c9951{display:flex;align-items:center;flex-direction:row;justify-content:center}.recharge_orderId view image.data-v-3c0c9951{width:30rpx;height:30rpx;margin-left:15rpx}.recharge_trn.data-v-3c0c9951{margin-top:-130rpx;display:flex;align-items:center;flex-direction:column;justify-content:center}.recharge_trn_yuan.data-v-3c0c9951{width:500rpx;height:500rpx;position:relative}.recharge_trn_yuan_img.data-v-3c0c9951{width:100%;height:100%;animation:rotate-3c0c9951 5s linear infinite}.recharge_trn_text.data-v-3c0c9951{z-index:9;display:flex;align-items:center;flex-direction:column;justify-content:center;margin-top:-470rpx}.recharge_trn_text view.data-v-3c0c9951:nth-child(1){color:#fff;font-weight:700;font-size:60rpx}.recharge_trn_text view.data-v-3c0c9951:nth-child(2){color:#11927c;font-size:28rpx;margin:25rpx 0 15rpx}.recharge_trn_text view.data-v-3c0c9951:nth-child(3){color:#24efe8;font-weight:700;font-size:36rpx;margin-bottom:30rpx}.recharge_trn_hei.data-v-3c0c9951{margin-top:-360rpx;width:500rpx;height:500rpx;z-index:9}.recharge_trn_car.data-v-3c0c9951{z-index:10;width:450rpx;position:relative}.recharge_trn_car_img.data-v-3c0c9951{position:absolute;top:0;left:0;width:100%;height:100%}.recharge_trn_car_img1.data-v-3c0c9951{width:100%;height:100%}.recharge_list.data-v-3c0c9951{display:flex;align-items:center;flex-direction:row;justify-content:space-between;padding:0 50rpx}.recharge_list_view.data-v-3c0c9951{display:flex;align-items:center;flex-direction:column;justify-content:center}.recharge_list_view image.data-v-3c0c9951{width:75rpx;height:75rpx}.recharge_list_view_num.data-v-3c0c9951{color:#fff;font-weight:700;font-size:36rpx;margin:10rpx 0}.recharge_list_view_name.data-v-3c0c9951{color:#8b8b8b;font-weight:700;font-size:28rpx}.recharge_block.data-v-3c0c9951{margin-top:50rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.recharge_block_view.data-v-3c0c9951{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-3c0c9951:nth-child(1){color:#fff}.recharge_block_view view.data-v-3c0c9951:nth-child(2){color:#8b98a0}.recharge_note.data-v-3c0c9951{margin-top:30rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between;color:#828282;font-size:24rpx}.recharge_btn1.data-v-3c0c9951{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-3c0c9951{0%{transform:rotate(0)}to{transform:rotate(360deg)}}
|
||||
1
unpackage/dist/build/mp-weixin/pages/agreement/agreement.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/agreement/agreement.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),t=require("../../api/api.js");if(!Array){e.resolveComponent("mp-html")()}Math;const o={__name:"agreement",setup(o){let n=e.ref({});return e.onLoad((async e=>{let o=await t.selectProtocolInfo({id:e.id});n.value=o})),(t,o)=>({a:e.p({content:e.unref(n).protocolContent})})}};wx.createPage(o);
|
||||
6
unpackage/dist/build/mp-weixin/pages/agreement/agreement.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/agreement/agreement.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"mp-html": "../../uni_modules/mp-html/components/mp-html/mp-html"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/agreement/agreement.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/agreement/agreement.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30"><mp-html wx:if="{{a}}" u-i="984f50ea-0" bind:__l="__l" u-p="{{a}}"/><view style="height:100rpx"></view></view>
|
||||
0
unpackage/dist/build/mp-weixin/pages/agreement/agreement.wxss
vendored
Normal file
0
unpackage/dist/build/mp-weixin/pages/agreement/agreement.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/home/detail.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/home/detail.js
vendored
Normal file
File diff suppressed because one or more lines are too long
13
unpackage/dist/build/mp-weixin/pages/home/detail.json
vendored
Normal file
13
unpackage/dist/build/mp-weixin/pages/home/detail.json
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"navigationBarTitleText": "电站详情",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
|
||||
"up-swiper": "../../uni_modules/uview-plus/components/u-swiper/u-swiper",
|
||||
"order-list": "../../components/orderList/orderList",
|
||||
"up-tag": "../../uni_modules/uview-plus/components/u-tag/u-tag",
|
||||
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button",
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging",
|
||||
"up-popup": "../../uni_modules/uview-plus/components/u-popup/u-popup"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/home/detail.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/home/detail.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/pages/home/detail.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/home/detail.wxss
vendored
Normal 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}
|
||||
1
unpackage/dist/build/mp-weixin/pages/home/home.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/home/home.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../common/assets.js"),a=require("../../api/api.js"),r=require("../../hooks/useNav.js");if(!Array){(e.resolveComponent("search")+e.resolveComponent("up-swiper")+e.resolveComponent("orderList")+e.resolveComponent("z-paging")+e.resolveComponent("cc-myTabbar"))()}Math||((()=>"../../components/search/search.js")+(()=>"../../uni_modules/uview-plus/components/u-swiper/u-swiper.js")+(()=>"../../components/orderList/orderList.js")+(()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js")+(()=>"../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar.js"))();const n={__name:"home",setup(n){const{nav:t,navTo:s}=r.useNav(),l=e.ref([]),i=e.ref(null),c=e.reactive({lon:"",lat:"",orderByType:1,keyWord:""}),u=e.ref([]);e.onLoad((async()=>{let e=await a.bannerList();u.value=e})),e.onShow((()=>{e.index.hideTabBar()}));let d=o=>{e.index.makePhoneCall({phoneNumber:"4008005326"})};const p=async()=>{e.index.showLoading({title:"加载中..."});try{if(!c.lon&&!c.lat){const{longitude:o,latitude:a}=await e.index.getLocation();c.lon=o,c.lat=a}}catch(o){console.log(o)}console.log(c),a.aroundAreaApi(c).then((o=>{console.log(o,"list"),i.value.complete(o),e.index.hideLoading()})).catch((o=>{i.value.complete(!1),e.index.hideLoading()}))};let m=e=>{c.orderByType=e,i.value.reload()},v=()=>!i.value;e.onPullDownRefresh((()=>{v()||i.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{v()||(i.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&i.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{v()||i.value.pageReachBottom()}));const g=()=>{e.index.switchTab({url:"/pages/order/order"})};let h=e=>{c.keyWord=e,i.value.reload()},_=()=>{e.index.showModal({title:"提示",content:"暂未开放",showCancel:!1,confirmText:"确认",success:()=>{}})};return(a,r)=>({a:e.o(e.unref(h)),b:e.p({list:u.value,height:"150rpx",keyName:"imageUrl",indicator:!0}),c:o._imports_0,d:e.o(g),e:o._imports_1,f:e.o(((...o)=>e.unref(_)&&e.unref(_)(...o))),g:o._imports_2,h:e.o((o=>e.unref(s)("/pageMake/invoice/invoice"))),i:o._imports_3,j:e.o(((...o)=>e.unref(d)&&e.unref(d)(...o))),k:e.n(1==c.orderByType?"order_list_active":""),l:e.o((o=>e.unref(m)(1))),m:e.n(2==c.orderByType?"order_list_active":""),n:e.o((o=>e.unref(m)(2))),o:e.f(l.value,((o,a,r)=>({a:"c14d5158-3-"+r+",c14d5158-2",b:e.p({toNav:!0,info:o}),c:a}))),p:e.sr(i,"c14d5158-2",{k:"paging"}),q:e.o(p),r:e.o((e=>l.value=e)),s:e.p({"use-page-scroll":!0,modelValue:l.value}),t:e.p({tabBarShow:0})})}},t=e._export_sfc(n,[["__scopeId","data-v-c14d5158"]]);n.__runtimeHooks=1,wx.createPage(t);
|
||||
12
unpackage/dist/build/mp-weixin/pages/home/home.json
vendored
Normal file
12
unpackage/dist/build/mp-weixin/pages/home/home.json
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"search": "../../components/search/search",
|
||||
"up-swiper": "../../uni_modules/uview-plus/components/u-swiper/u-swiper",
|
||||
"order-list": "../../components/orderList/orderList",
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging",
|
||||
"cc-my-tabbar": "../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/home/home.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/home/home.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="data-v-c14d5158"><view class="search_header p30 data-v-c14d5158"><view class="data-v-c14d5158" style="width:100%"><view class="search_header_blur data-v-c14d5158"></view><search class="data-v-c14d5158" bindsearch="{{a}}" u-i="c14d5158-0" bind:__l="__l"/></view><view class="data-v-c14d5158" style="margin:30rpx 0 0"><up-swiper wx:if="{{b}}" class="data-v-c14d5158" u-i="c14d5158-1" bind:__l="__l" u-p="{{b}}"></up-swiper></view><view class="search_header_grid data-v-c14d5158" style="position:sticky;top:0;left:0;background-color:#ffffff;padding:15rpx"><view class="search_header_grid_view data-v-c14d5158" bindtap="{{d}}"><image class="data-v-c14d5158" src="{{c}}"></image><view class="data-v-c14d5158">我的订单</view></view><view class="search_header_grid_view data-v-c14d5158" bindtap="{{f}}"><image class="data-v-c14d5158" src="{{e}}"></image><view class="data-v-c14d5158">卡卷中心</view></view><view class="search_header_grid_view data-v-c14d5158" bindtap="{{h}}"><image class="data-v-c14d5158" src="{{g}}"></image><view class="data-v-c14d5158">我要开票</view></view><button class="data-v-c14d5158" style="all:unset" bindtap="{{j}}"><view class="search_header_grid_view data-v-c14d5158"><image class="data-v-c14d5158" src="{{i}}"></image><view class="data-v-c14d5158">在线客服</view></view></button></view></view><z-paging wx:if="{{s}}" class="r data-v-c14d5158" u-s="{{['d']}}" u-r="paging" bindquery="{{q}}" u-i="c14d5158-2" bind:__l="__l" bindupdateModelValue="{{r}}" u-p="{{s}}"><view class="data-v-c14d5158" style="height:35rpx"></view><view class="order_list data-v-c14d5158"><view class="{{[k, 'order_list_view', 'data-v-c14d5158']}}" bindtap="{{l}}">距我最近</view><view class="{{[m, 'order_list_view', 'data-v-c14d5158']}}" bindtap="{{n}}">空闲最多</view></view><view wx:for="{{o}}" wx:for-item="item" wx:key="c" class="data-v-c14d5158" style="margin-bottom:30rpx;padding:0 30rpx"><order-list wx:if="{{item.b}}" class="data-v-c14d5158" u-i="{{item.a}}" bind:__l="__l" u-p="{{item.b}}"></order-list></view></z-paging><view class="data-v-c14d5158" style="height:180rpx"></view><cc-my-tabbar wx:if="{{t}}" class="data-v-c14d5158" u-i="c14d5158-4" bind:__l="__l" u-p="{{t}}"></cc-my-tabbar></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/home/home.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/home/home.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
page{background-color:#f7f7f7}.search_header.data-v-c14d5158{position:relative}.search_header_blur.data-v-c14d5158{width:100%;height:185rpx;position:absolute;top:0;left:0;background:#dbe6ff;opacity:.8;filter:blur(50px);z-index:-1}.search_header_grid.data-v-c14d5158{margin-top:25rpx;border-radius:15rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.search_header_grid_view.data-v-c14d5158{display:flex;flex-direction:column;align-items:center;width:126rpx;font-size:26rpx}.search_header_grid_view image.data-v-c14d5158{width:99rpx;height:99rpx;margin-bottom:10rpx}.order_list.data-v-c14d5158{display:flex;align-items:center;padding:15rpx;margin-bottom:30rpx;font-size:30rpx;background-color:#fff;width:690rpx;margin:0 30rpx 30rpx;border-radius:15rpx}.order_list_view.data-v-c14d5158{padding:15rpx 30rpx;background-color:#fff;border-radius:15rpx;margin-right:30rpx}.order_list_active.data-v-c14d5158{background-color:#4879e6;color:#fff}button.data-v-c14d5158:after{all:unset}
|
||||
1
unpackage/dist/build/mp-weixin/pages/home/star.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/home/star.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
unpackage/dist/build/mp-weixin/pages/home/star.json
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/home/star.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"navigationBarTitleText": "开始充电",
|
||||
"usingComponents": {
|
||||
"up-tag": "../../uni_modules/uview-plus/components/u-tag/u-tag",
|
||||
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button",
|
||||
"up-icon": "../../uni_modules/uview-plus/components/u-icon/u-icon",
|
||||
"uni-popup-dialog": "../../uni_modules/uni-popup/components/uni-popup-dialog/uni-popup-dialog",
|
||||
"uni-popup": "../../uni_modules/uni-popup/components/uni-popup/uni-popup"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/home/star.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/home/star.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30"><view class="orderdetail_info" style="margin-bottom:30rpx"><view class="orderdetail_info_title"><view>{{a}}</view></view><view style="font-size:26rpx;margin-bottom:15rpx;display:flex;align-items:center"><view style="opacity:0.7">枪号:{{b}}</view><image style="width:40rpx;height:40rpx;margin-left:15rpx" src="{{c}}" bindtap="{{d}}" mode="widthFix"></image></view><view style="font-size:26rpx;margin-bottom:15rpx;opacity:0.7">停车收费说明:{{e}}</view><view style="font-size:26rpx;opacity:0.7">占用收费说明:{{f}}</view></view><view class="orderdetail_info" style="margin-bottom:30rpx"><view class="orderdetail_info_title"><view>费用信息</view></view><view style="max-width:420rpx"><up-tag wx:if="{{g}}" u-i="2dd6a3c8-0" bind:__l="__l" u-p="{{g}}"></up-tag></view><view class="orderdetail_info_fy"><view class="orderdetail_info_fy_left">电站价格</view><view class="orderdetail_info_fy_right">{{h}} <text style="font-weight:500;font-size:24rpx;color:#333;margin-left:15rpx">元/度</text></view></view></view><view class="orderdetail_info" style="margin-bottom:30rpx"><view class="orderdetail_info_title"><view style="display:flex;align-items:center"><view>支付方式</view><view style="margin-left:15rpx"><up-tag wx:if="{{i}}" u-i="2dd6a3c8-1" bind:__l="__l" u-p="{{j}}"></up-tag></view></view><view style="display:flex;align-items:center"><up-button wx:if="{{l}}" bindclick="{{k}}" u-i="2dd6a3c8-2" bind:__l="__l" u-p="{{l}}"></up-button></view></view><view style="font-size:30rpx;margin-bottom:30rpx"><view><view wx:for="{{m}}" wx:for-item="item" wx:key="e" class="flex-acsb" style="{{'padding:15rpx 30rpx;border-radius:10rpx' + ';' + ('border:' + item.f)}}" bindtap="{{item.g}}"><view style="display:flex;align-items:center"><image src="{{item.a}}" style="width:50rpx;height:50rpx;margin-right:25rpx"></image> {{item.b}}</view><view wx:if="{{item.c}}" style="font-size:28rpx;opacity:0.7">可用余额:{{item.d}}</view></view></view></view></view><view class="orderdetail_info" style="margin-bottom:30rpx"><view class="orderdetail_info_yf"><view class="orderdetail_info_yf_left"><view class="orderdetail_info_yf_left_tit"><view style="margin-right:30rpx">预付费</view><up-tag wx:if="{{n}}" u-i="2dd6a3c8-3" bind:__l="__l" u-p="{{n}}"></up-tag></view><view class="orderdetail_info_yf_left_mon"><view bindtap="{{o}}" style="{{'border:' + p}}"> 30 </view><view bindtap="{{q}}" style="{{'border:' + r}}"> 50 </view><view bindtap="{{s}}" style="{{'border:' + t}}"> 100 </view><view bindtap="{{y}}" style="{{'border:' + z}}"><input wx:if="{{v}}" adjust-position focus type="number" placeholder="自定义" value="{{w}}" bindinput="{{x}}"/><text wx:else>自定义</text></view></view></view></view></view><view wx:if="{{A}}" class="orderdetail_info" style="margin-bottom:30rpx"><view><view class="flex-acsb" style="font-size:30rpx;margin-bottom:20rpx"><view>当前可用电卡</view></view><view wx:for="{{B}}" wx:for-item="item" wx:key="h" bindtap="{{item.g}}" style="margin-bottom:30rpx;position:relative" class="mt30 wallet_list"><view wx:if="{{item.a}}" style="position:absolute;top:0;left:0;background-color:#e45656;border-radius:0 0 20rpx 0"><up-icon wx:if="{{item.c}}" u-i="{{item.b}}" bind:__l="__l" u-p="{{item.c}}"></up-icon></view><view style="color:#fff"><view style="font-weight:bold;font-size:30rpx;margin-bottom:18rpx">{{item.d}}</view><view style="font-size:28rpx;color:#eee">卡号:{{item.e}}</view></view><view style="display:flex;flex-direction:column;align-items:center;color:#fff;font-weight:bold;font-size:26rpx"><view style="font-size:36rpx;margin-bottom:10rpx">{{item.f}}</view><view style="font-weight:500">余额</view></view></view></view></view><view style="height:500rpx"></view><view class="orderdetail_btn p30" style="background-color:#fff"><view class="orderdetail_btn_left">{{C}} <text>元/度 免费停车</text></view><view><up-button wx:if="{{D}}" u-i="2dd6a3c8-5" bind:__l="__l" u-p="{{E}}"></up-button><up-button wx:if="{{F}}" bindclick="{{G}}" u-i="2dd6a3c8-6" bind:__l="__l" u-p="{{H}}"></up-button><up-button wx:if="{{I}}" bindclick="{{J}}" u-i="2dd6a3c8-7" bind:__l="__l" u-p="{{K}}"></up-button><up-button wx:if="{{L}}" bindclick="{{M}}" u-i="2dd6a3c8-8" bind:__l="__l" u-p="{{N}}"></up-button></view></view><uni-popup wx:if="{{S}}" class="r" u-s="{{['d']}}" u-r="inputDialog" u-i="2dd6a3c8-9" bind:__l="__l" u-p="{{S}}"><uni-popup-dialog wx:if="{{Q}}" class="r" u-r="inputClose" bindconfirm="{{P}}" u-i="2dd6a3c8-10,2dd6a3c8-9" bind:__l="__l" u-p="{{Q}}"></uni-popup-dialog></uni-popup></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/home/star.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/home/star.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.star_pile{width:100%;box-shadow:0 -6rpx 8rpx 2rpx rgba(66,115,229,.05);border-radius:16rpx;padding:20rpx;background-color:#fff}.orderdetail_info{background:#fff;border-radius:16rpx;padding:25rpx;box-shadow:0 -6rpx 8rpx 2rpx rgba(66,115,229,.05)}.orderdetail_info_title{font-size:32rpx;color:#232323;margin-bottom:30rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.orderdetail_info_fy{background:linear-gradient(to right,rgba(72,121,230,.4),rgba(72,121,230,0));border-radius:15rpx;padding:40rpx 20rpx 40rpx 40rpx;color:#fff;margin-top:30rpx;display:flex;align-items:center;flex-direction:row;justify-content:start}.orderdetail_info_fy_left{font-size:32rpx;font-weight:800;font-style:italic;color:#4879e6}.orderdetail_info_fy_right{font-size:36rpx;font-weight:800;color:#4879e6;margin-left:30rpx;display:flex;align-items:center;flex-direction:row;justify-content:start}.orderdetail_info_yf{display:flex;align-items:center;flex-direction:row;justify-content:space-between}.orderdetail_info_yf_left{flex:1}.orderdetail_info_yf_left_tit{font-size:28rpx;color:rgba(51,51,51,.8);margin-bottom:20rpx;display:flex;align-items:center;flex-direction:row;justify-content:start}.orderdetail_info_yf_left_mon{font-size:30rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.orderdetail_info_yf_left_mon view{padding:15rpx 35rpx;border:1rpx solid #c5c5c5;margin-right:15rpx;border-radius:10rpx}.orderdetail_info_yf_left_mon input{width:100rpx}.orderdetail_info_yf_right{padding:15rpx 30rpx;color:#1779ff;border:1rpx solid #1779ff;border-radius:50rpx}.orderdetail_btn{width:100%;position:fixed;left:0;bottom:0rpx;padding:30rpx;display:flex;align-items:center;flex-direction:row;justify-content:space-between}.orderdetail_btn_left{color:#333;font-size:38rpx;font-weight:700}.orderdetail_btn_left text{font-size:26rpx;font-weight:500}.orderdetail_btn_right{background:#1779ff;color:#fff;font-weight:700;font-size:32rpx;padding:0 40rpx}.wallet_list{border-radius:15rpx;background-color:#4879e6;padding:20rpx 50rpx 20rpx 30rpx;display:flex;align-items:flex-end;justify-content:space-between}
|
||||
1
unpackage/dist/build/mp-weixin/pages/index/index.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/index/index.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),n=require("../../common/assets.js"),t=require("../../api/api.js");if(!Array){(e.resolveComponent("uni-transition")+e.resolveComponent("orderList")+e.resolveComponent("cc-myTabbar"))()}Math||((()=>"../../uni_modules/uni-transition/components/uni-transition/uni-transition.js")+(()=>"../../components/orderList/orderList.js")+(()=>"../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar.js"))();const o={__name:"index",setup(o){let a=e.ref(113.675688),i=e.ref(34.75527700365562),r=e.ref(null),u=e.ref(!1),s=e.ref(),l=e.ref([]),c=e.ref([]);e.onLoad((async()=>{r.value=e.index.createMapContext("map");const{longitude:n,latitude:t}=await e.index.getLocation({type:"gcj02"});i.value=t,a.value=n,d(),setTimeout((()=>{m()}),300)}));let d=async()=>{let e=(await t.aroundAreaMap({orderByType:1,lat:i.value,lon:a.value})).map(((e,n)=>({id:e.id,longitude:e.location.lng,latitude:e.location.lat,iconPath:"/static/icon/marker-pointer.png",width:20,height:23,content:"2",gunUseCount:e.gunUseCount,gunCount:e.gunCount,distance:e.distance,customCallout:{display:"ALWAYS",anchorX:0,anchorY:-10}})));e.unshift({longitude:a.value,latitude:i.value,iconPath:"/static/icon/my-location-default.png",width:45,height:45,id:-1}),c.value=e};const m=()=>{const e=a.value,n=i.value;r.value.moveToLocation({longitude:e,latitude:n})},p=e=>{"end"==e.type&&(console.log(e),console.log(e.detail.scale),u.value=!1,g(!1))},f=async n=>{var o;if(console.log(n,"eeeeeee"),-1==n.markerId)return;e.index.showLoading();let a=await t.infoAroundApi({id:n.markerId}),i=c.value.find((e=>e.id==n.markerId)),r=null==(o=null==a?void 0:a.priceList)?void 0:o.find((e=>1==e.isCurrent));l.value={...a,distance:i.distance,priceAmount:r.totalAmount},console.log(l,"infoDzinfoDz"),e.index.hideLoading(),u.value=!0,g(!0)},g=e=>{e?s.value.step({translateY:"-200rpx"},{timingFunction:"ease-in",duration:100}):s.value.step({translateY:"0rpx"},{timingFunction:"ease",duration:500}),s.value.run()};return(t,o)=>({a:e.f(e.unref(c),((n,t,o)=>({a:e.t(n.gunUseCount||0),b:e.t(n.gunCount||0),c:n.id}))),b:n._imports_0$1,c:e.unref(a),d:e.o(f),e:e.o(f),f:e.o(p),g:e.unref(c),h:e.unref(i),i:n._imports_1$1,j:e.o(m),k:e.sr(s,"1a922a9b-0",{k:"mapLocationRef"}),l:e.p({show:!0}),m:e.p({toNav:!0,Image:!0,info:e.unref(l),list:e.unref(l).pictures}),n:e.p({modeClass:"fade",show:e.unref(u)}),o:e.p({tabBarShow:1})})}};wx.createPage(o);
|
||||
9
unpackage/dist/build/mp-weixin/pages/index/index.json
vendored
Normal file
9
unpackage/dist/build/mp-weixin/pages/index/index.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"uni-transition": "../../uni_modules/uni-transition/components/uni-transition/uni-transition",
|
||||
"order-list": "../../components/orderList/orderList",
|
||||
"cc-my-tabbar": "../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/index/index.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/index/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="content"><map id="map" longitude="{{c}}" bindmarkertap="{{d}}" bindcallouttap="{{e}}" bindregionchange="{{f}}" height="90" width="90" markers="{{g}}" latitude="{{h}}" class="map_content"><cover-view slot="callout"><block wx:for="{{a}}" wx:for-item="item"><cover-view class="callout" marker-id="{{item.c}}"><cover-view class="callout_item"><cover-image class="callout_item_img" src="{{b}}"></cover-image><cover-view class="callout_item_view">闲 {{item.a}}/{{item.b}}</cover-view></cover-view></cover-view></block></cover-view></map><uni-transition wx:if="{{l}}" class="r" u-s="{{['d']}}" u-r="mapLocationRef" u-i="1a922a9b-0" bind:__l="__l" u-p="{{l}}"><view class="map-location" bindtap="{{j}}"><image src="{{i}}" mode="widthFix"></image></view></uni-transition><uni-transition wx:if="{{n}}" u-s="{{['d']}}" u-i="1a922a9b-1" bind:__l="__l" u-p="{{n}}"><view class="map_box"><order-list wx:if="{{m}}" u-i="1a922a9b-2,1a922a9b-1" bind:__l="__l" u-p="{{m}}"/></view></uni-transition><cc-my-tabbar wx:if="{{o}}" u-i="1a922a9b-3" bind:__l="__l" u-p="{{o}}"></cc-my-tabbar></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/index/index.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/index/index.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.map_content{width:750rpx;height:100vh}.map-location{width:90rpx;height:90rpx;background-color:#fff;position:fixed;left:30rpx;bottom:570rpx;border-radius:20rpx;display:flex;align-items:center;justify-content:center;box-shadow:0 5px 11px rgba(0,0,0,.2)}.map-location image{width:45rpx;height:45rpx}.callout{box-sizing:border-box;background:rgba(15,75,203,.26);border-radius:15rpx 15rpx 15rpx 0;padding:10rpx 15rpx;display:flex;align-items:center;flex-direction:column;justify-content:start}.callout_item{display:flex;align-items:center;flex-direction:row;justify-content:start;font-weight:700;font-size:28rpx;color:#fff;box-sizing:border-box}.callout_item_img{width:40rpx;height:40rpx;margin-right:15rpx}.callout_item:nth-child(1){margin-bottom:15rpx}.recharge{width:690rpx;background-color:#fff;min-height:300rpx;position:fixed;left:30rpx;bottom:250rpx;border-radius:20rpx;padding:20rpx;box-shadow:0 5px 11px rgba(0,0,0,.2)}.recharge_title{font-size:36rpx;margin-bottom:20rpx}.recharge_con{font-size:26rpx}.map_box{width:690rpx;position:fixed;left:30rpx;bottom:230rpx;z-index:999}
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/login.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/login.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),n=require("../../common/assets.js"),o=require("../../common/js/user.js");if(!Array){e.resolveComponent("up-checkbox")()}Math;const r={__name:"login",setup(r){let t=e.ref(!1),s=async n=>{if(!t.value)return e.index.showToast({title:"请先阅读并同意用户协议和隐私政策",icon:"none"});try{o.login(n,2)}catch(r){e.index.showToast({title:r,icon:"none"})}};const a=n=>{e.index.navigateTo({url:n})},i=e=>{t.value=e};return(o,r)=>({a:n._imports_0$5,b:!e.unref(t),c:e.o(((...n)=>e.unref(s)&&e.unref(s)(...n))),d:e.o(i),e:e.p({shape:"circle",name:"agree",usedAlone:!0}),f:e.o((e=>a("/pages/agreement/agreement?id=9"))),g:e.o((e=>a("/pages/agreement/agreement?id=10")))})}};wx.createPage(r);
|
||||
7
unpackage/dist/build/mp-weixin/pages/login/login.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/pages/login/login.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"up-checkbox": "../../uni_modules/uview-plus/components/u-checkbox/u-checkbox"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/login.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/login.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="content"><view class="head"><image src="{{a}}" mode="widthFix"></image></view><view class="title"><text class="name">Hello!</text><text class="sub-name">欢迎登录云快充</text></view><view class="form-box"><button class="login-btn" disabled="{{b}}" open-type="getPhoneNumber" bindgetphonenumber="{{c}}">一键注册登录</button><view class="tip-link" style="display:flex;align-items:center"><up-checkbox wx:if="{{e}}" bindchange="{{d}}" u-i="25eaf8ee-0" bind:__l="__l" u-p="{{e}}"></up-checkbox> 我已阅读并同意 <text bindtap="{{f}}">用户协议</text> 和 <text bindtap="{{g}}">隐私政策</text></view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/login/login.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/login/login.wxss
vendored
Normal 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}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/card.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/card.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const a=require("../../common/vendor.js");require("../../uni_modules/uview-plus/index.js");const o=require("../../api/api.js");if(!Array){a.resolveComponent("z-paging")()}Math;const r={__name:"card",setup(r){a.ref({});const t=a.ref(null);let l=a.ref([]),c=()=>!t.value;a.onPullDownRefresh((()=>{c()||t.value.reload().catch((()=>{}))})),a.onPageScroll((e=>{c()||(t.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&t.value.doChatRecordLoadMore())})),a.onReachBottom((()=>{c()||t.value.pageReachBottom()}));const n=(e,a)=>{const r={current:e,pageSize:a};o.userCardList(r).then((e=>{t.value.complete(e)})).catch((e=>{t.value.complete(!1)}))};let u=()=>{a.index.navigateTo({url:"./cardList?id="+e.id})};return(e,o)=>({a:a.f(a.unref(l),((e,o,r)=>({a:a.t(e.name),b:a.t(e.cardNo),c:a.t(e.stationName),d:a.t(e.merchantName),e:a.t(e.balance),f:a.o((o=>a.unref(u)(e)),o),g:o}))),b:a.sr(t,"7a477d9a-0",{k:"paging"}),c:a.o(n),d:a.o((e=>a.isRef(l)?l.value=e:l=e)),e:a.p({"use-page-scroll":!0,modelValue:a.unref(l)})})}},t=a._export_sfc(r,[["__scopeId","data-v-7a477d9a"]]);r.__runtimeHooks=1,wx.createPage(t);
|
||||
6
unpackage/dist/build/mp-weixin/pages/mine/card.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/mine/card.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "我的电卡",
|
||||
"usingComponents": {
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/card.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/card.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="earnings p30 data-v-7a477d9a"><z-paging wx:if="{{e}}" class="r data-v-7a477d9a" u-s="{{['d']}}" u-r="paging" bindquery="{{c}}" u-i="7a477d9a-0" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="g" style="margin-bottom:30rpx" bindtap="{{item.f}}" class="mt30 wallet_list data-v-7a477d9a"><view class="data-v-7a477d9a" style="color:#fff"><view class="data-v-7a477d9a" style="font-weight:bold;font-size:32rpx;margin-bottom:18rpx">{{item.a}}</view><view class="data-v-7a477d9a" style="margin-bottom:12rpx;font-size:28rpx;color:#eee"> 卡号:{{item.b}}</view><view class="data-v-7a477d9a" style="margin-bottom:12rpx;font-size:28rpx;color:#eee"> 电站:{{item.c}}</view><view class="data-v-7a477d9a" style="font-size:28rpx;color:#eee"> 商户:{{item.d}}</view></view><view class="data-v-7a477d9a" style="display:flex;flex-direction:column;align-items:center;color:#fff;font-weight:bold;font-size:26rpx"><view class="data-v-7a477d9a" style="font-size:55rpx;margin-bottom:30rpx">{{item.e}}</view><view class="data-v-7a477d9a" style="font-weight:500">余额</view></view></view></z-paging></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/card.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/card.wxss
vendored
Normal 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}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/cardList.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/cardList.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js");require("../../uni_modules/uview-plus/index.js");const o=require("../../api/api.js");if(!Array){e.resolveComponent("z-paging")()}Math;const a={__name:"cardList",setup(a){let r=e.ref("");e.ref({});const t=e.ref(null);let c=e.ref([]),l=()=>!t.value;e.onLoad((e=>{r.value=e.id})),e.onPullDownRefresh((()=>{l()||t.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{l()||(t.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&t.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{l()||t.value.pageReachBottom()}));const u=(e,a)=>{const c={current:e,pageSize:a,id:r.value};o.userCardRecord(c).then((e=>{t.value.complete(e)})).catch((e=>{t.value.complete(!1)}))};return(o,a)=>({a:e.f(e.unref(c),((o,a,r)=>({a:e.t(o.recordName||"-"),b:e.t(o.createTime),c:e.t(o.amount),d:a}))),b:e.sr(t,"1c414874-0",{k:"paging"}),c:e.o(u),d:e.o((o=>e.isRef(c)?c.value=o:c=o)),e:e.p({"use-page-scroll":!0,modelValue:e.unref(c)})})}},r=e._export_sfc(a,[["__scopeId","data-v-1c414874"]]);a.__runtimeHooks=1,wx.createPage(r);
|
||||
6
unpackage/dist/build/mp-weixin/pages/mine/cardList.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/mine/cardList.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "电卡记录",
|
||||
"usingComponents": {
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/cardList.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/cardList.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="earnings p30 data-v-1c414874"><z-paging wx:if="{{e}}" class="r data-v-1c414874" u-s="{{['d']}}" u-r="paging" bindquery="{{c}}" u-i="1c414874-0" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="d" style="margin-bottom:30rpx" class="mt30 wallet_list data-v-1c414874"><view class="wallet_list_left data-v-1c414874"><view class="data-v-1c414874">{{item.a}}</view><view class="data-v-1c414874">{{item.b}}</view></view><view class="wallet_list_right data-v-1c414874" style="display:flex;flex-direction:column;align-items:flex-end"><view class="data-v-1c414874">{{item.c}}元</view></view></view></z-paging></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/cardList.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/cardList.wxss
vendored
Normal 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}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/earnings.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/earnings.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o={data:()=>({}),methods:{}};if(!Array){(e.resolveComponent("up-cell")+e.resolveComponent("up-cell-group"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-cell/u-cell.js")+(()=>"../../uni_modules/uview-plus/components/u-cell-group/u-cell-group.js"))();const l=e._export_sfc(o,[["render",function(o,l,u,n,r,t){return{a:e.p({icon:"integral-fill",title:"会员等级",value:"新版本"})}}]]);wx.createPage(l);
|
||||
7
unpackage/dist/build/mp-weixin/pages/mine/earnings.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/pages/mine/earnings.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "收益",
|
||||
"usingComponents": {
|
||||
"up-cell": "../../uni_modules/uview-plus/components/u-cell/u-cell",
|
||||
"up-cell-group": "../../uni_modules/uview-plus/components/u-cell-group/u-cell-group"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/earnings.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/earnings.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="earnings"><up-cell-group u-s="{{['d']}}" u-i="c749b6aa-0" bind:__l="__l"><up-cell wx:if="{{a}}" u-i="c749b6aa-1,c749b6aa-0" bind:__l="__l" u-p="{{a}}"></up-cell></up-cell-group></view>
|
||||
0
unpackage/dist/build/mp-weixin/pages/mine/earnings.wxss
vendored
Normal file
0
unpackage/dist/build/mp-weixin/pages/mine/earnings.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/incomeList.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/incomeList.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js");require("../../uni_modules/uview-plus/index.js");const o=require("../../api/api.js");if(!Array){e.resolveComponent("z-paging")()}Math;const a={__name:"incomeList",setup(a){e.ref({});const r=e.ref(null);let t=e.ref([]),l=()=>!r.value;e.onPullDownRefresh((()=>{l()||r.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{l()||(r.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&r.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{l()||r.value.pageReachBottom()}));const c=(e,a)=>{const t={current:e,pageSize:a};o.walletRecord(t).then((e=>{r.value.complete(e)})).catch((e=>{r.value.complete(!1)}))};return(o,a)=>({a:e.f(e.unref(t),((o,a,r)=>({a:e.t(o.recordName||"-"),b:e.t(o.createTime),c:e.t(o.amount),d:a}))),b:e.sr(r,"6ff95d97-0",{k:"paging"}),c:e.o(c),d:e.o((o=>e.isRef(t)?t.value=o:t=o)),e:e.p({"use-page-scroll":!0,modelValue:e.unref(t)})})}},r=e._export_sfc(a,[["__scopeId","data-v-6ff95d97"]]);a.__runtimeHooks=1,wx.createPage(r);
|
||||
6
unpackage/dist/build/mp-weixin/pages/mine/incomeList.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/mine/incomeList.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "余额明细",
|
||||
"usingComponents": {
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/incomeList.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/incomeList.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="earnings p30 data-v-6ff95d97"><z-paging wx:if="{{e}}" class="r data-v-6ff95d97" u-s="{{['d']}}" u-r="paging" bindquery="{{c}}" u-i="6ff95d97-0" bind:__l="__l" bindupdateModelValue="{{d}}" u-p="{{e}}"><view wx:for="{{a}}" wx:for-item="item" wx:key="d" style="margin-bottom:30rpx" class="mt30 wallet_list data-v-6ff95d97"><view class="wallet_list_left data-v-6ff95d97"><view class="data-v-6ff95d97">{{item.a}}</view><view class="data-v-6ff95d97">{{item.b}}</view></view><view class="wallet_list_right data-v-6ff95d97" style="display:flex;flex-direction:column;align-items:flex-end"><view class="data-v-6ff95d97">{{item.c}}元</view></view></view></z-paging></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/incomeList.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/incomeList.wxss
vendored
Normal 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}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/mine.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/mine.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),a=require("../../common/assets.js"),n=require("../../api/api.js"),r=require("../../hooks/useNav.js");if(!Array){(e.resolveComponent("statusBar")+e.resolveComponent("up-avatar")+e.resolveComponent("cc-myTabbar"))()}Math||((()=>"../../components/statusBar/statusBar.js")+(()=>"../../uni_modules/uview-plus/components/u-avatar/u-avatar.js")+(()=>"../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar.js"))();const t={__name:"mine",setup(t){const{nav:s,navTo:o}=r.useNav();let i=e.ref({}),c=e.ref([{name:"我的电卡",img:"/static/icon/dk_mine.png",path:"/pages/mine/card",type:"nav"},{name:"充电订单",img:"/static/icon/cd_mine.png",path:"/pages/order/order",type:"switchTab"},{name:"余额明细",img:"/static/icon/ye_mine.png",path:"/pages/mine/incomeList",type:"nav"},{name:"客服中心",img:"/static/icon/kf_mine.png",call:!0}]);e.onShow((async()=>{e.index.hideTabBar();let a=await n.userInfo();i.value=a}));const m=()=>{e.index.navigateTo({url:"./sett"})};return(n,r)=>({a:e.p({size:"150rpx",src:e.unref(i).avatar}),b:e.t(e.unref(i).nickName),c:e.t(e.unref(i).phone||""),d:e.o(m),e:a._imports_0$2,f:e.t(e.unref(i).balance||0),g:e.o((a=>e.unref(o)("/pages/mine/incomeList"))),h:e.o((a=>e.unref(o)("/pages/mine/incomeList"))),i:e.o((a=>e.unref(o)(`/pageMake/refund/refund?balance=${e.unref(i).refundableAmount}`))),j:e.o((a=>e.unref(o)("/pages/money/recharge"))),k:e.f(e.unref(c),((a,n,r)=>({a:a.img,b:e.t(a.name),c:n,d:e.o((n=>e.unref(s)(a)),n)}))),l:e.p({tabBarShow:4})})}},s=e._export_sfc(t,[["__scopeId","data-v-4a8b484a"]]);wx.createPage(s);
|
||||
10
unpackage/dist/build/mp-weixin/pages/mine/mine.json
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/mine/mine.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"status-bar": "../../components/statusBar/statusBar",
|
||||
"up-avatar": "../../uni_modules/uview-plus/components/u-avatar/u-avatar",
|
||||
"cc-my-tabbar": "../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/mine.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/mine.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="mine data-v-4a8b484a"><status-bar class="data-v-4a8b484a" u-i="4a8b484a-0" bind:__l="__l"/><view class="p30 data-v-4a8b484a"><view class="mine_header data-v-4a8b484a"><view class="mine_header_img data-v-4a8b484a"><up-avatar wx:if="{{a}}" class="data-v-4a8b484a" u-i="4a8b484a-1" bind:__l="__l" u-p="{{a}}"></up-avatar></view><view class="mine_header_user data-v-4a8b484a"><view class="data-v-4a8b484a">{{b}}</view><view class="data-v-4a8b484a">{{c}}</view></view><image class="mine_header_sett data-v-4a8b484a" bindtap="{{d}}" src="{{e}}"></image></view><view class="mine_money data-v-4a8b484a"><view class="flex-acsb flex1 mine_money_top data-v-4a8b484a" style="width:100%"><view class="mine_money_left data-v-4a8b484a" bindtap="{{g}}"><view class="data-v-4a8b484a">{{f}}</view><view class="data-v-4a8b484a">钱包余额</view></view><view class="mine_money_left data-v-4a8b484a" bindtap="{{h}}"><view class="data-v-4a8b484a">0</view><view class="data-v-4a8b484a">赠送余额</view></view></view><view class="flex1 mine_money_bottom data-v-4a8b484a" style="display:flex;align-items:center"><view class="data-v-4a8b484a" bindtap="{{i}}">退款</view><view class="data-v-4a8b484a" bindtap="{{j}}">充值</view></view></view><view class="mine_grid data-v-4a8b484a"><view class="mine_grid_tit data-v-4a8b484a">常用功能</view><view class="mine_grid_views data-v-4a8b484a"><view wx:for="{{k}}" wx:for-item="item" wx:key="c" class="mine_grid_views_block data-v-4a8b484a" bindtap="{{item.d}}"><image class="data-v-4a8b484a" src="{{item.a}}" mode="widthFix"></image><view class="data-v-4a8b484a">{{item.b}}</view></view></view></view></view><view class="data-v-4a8b484a" style="width:100%;height:100vh;background:#f7f7f7;position:absolute;top:0;left:0;z-index:-1"></view><cc-my-tabbar wx:if="{{l}}" class="data-v-4a8b484a" u-i="4a8b484a-2" bind:__l="__l" u-p="{{l}}"></cc-my-tabbar></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/mine.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/mine.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.mine_header.data-v-4a8b484a{display:flex;align-items:center;flex-direction:row;justify-content:space-between}.mine_header_img.data-v-4a8b484a{width:150rpx;height:150rpx;margin-right:15rpx}.mine_header_user.data-v-4a8b484a{flex:1}.mine_header_user view.data-v-4a8b484a:nth-child(1){font-weight:700;font-size:32rpx;color:#232323;margin-bottom:15rpx}.mine_header_user view.data-v-4a8b484a:nth-child(2){font-weight:700;font-size:44rpx;color:#232323}.mine_header_sett.data-v-4a8b484a{width:42rpx;height:42rpx}.mine_money.data-v-4a8b484a{margin-top:35rpx;display:flex;align-items:center;flex-direction:column;justify-content:start;width:100%;background:linear-gradient(178deg,#9ab6ff,#4879e6);border-radius:16rpx;padding:20rpx 0rpx 0}.mine_money_top.data-v-4a8b484a{padding:0 150rpx}.mine_money_bottom.data-v-4a8b484a{width:100%;display:flex;align-items:center;flex-direction:row;justify-content:center;border-top:1rpx solid rgba(255,255,255,.3);margin-top:20rpx;padding:15rpx 0}.mine_money_bottom view.data-v-4a8b484a{width:50%;display:flex;align-items:center;justify-content:center;font-size:30rpx;color:#fff}.mine_money_left.data-v-4a8b484a{display:flex;align-items:center;flex-direction:column;justify-content:center}.mine_money_left view.data-v-4a8b484a:nth-child(1){font-weight:700;font-size:48rpx;color:#fff;margin-bottom:5rpx}.mine_money_left view.data-v-4a8b484a:nth-child(2){font-weight:700;font-size:20rpx;color:#fff}.mine_money_right.data-v-4a8b484a{display:flex;align-items:center;flex-direction:row;justify-content:center;width:124rpx;height:54rpx;background:rgba(255,255,255,.24);border-radius:140rpx;font-weight:700;font-size:24rpx;color:#fff}.mine_grid.data-v-4a8b484a{width:100%;padding:20rpx 30rpx;background-color:#fff;border-radius:15rpx;margin-top:30rpx}.mine_grid_tit.data-v-4a8b484a{font-size:30rpx;color:#333;opacity:.8}.mine_grid_views.data-v-4a8b484a{margin-top:20rpx;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;width:100%}.mine_grid_views_block.data-v-4a8b484a{height:95rpx;display:flex;flex-direction:column;align-items:center;justify-content:space-between;font-size:30rpx;color:#333}.mine_grid_views_block image.data-v-4a8b484a{width:45rpx;height:45rpx}.mine_fun.data-v-4a8b484a{margin-top:35rpx;width:100%;background-color:#fff;border-radius:16rpx;padding:35rpx}.mine_fun_view.data-v-4a8b484a{display:flex;align-items:center;flex-direction:row;justify-content:space-between;margin-bottom:35rpx}.mine_fun_view_left.data-v-4a8b484a{width:58rpx;height:58rpx;margin-right:20rpx}.mine_fun_view_name.data-v-4a8b484a{flex:1;font-weight:700;font-size:24rpx;color:#232323}.mine_fun_view_right.data-v-4a8b484a{width:24rpx;height:24rpx}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/sett.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/sett.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),o=require("../../api/api.js"),n=require("../../utils/fun.js");if(!Array){(e.resolveComponent("up-avatar")+e.resolveComponent("up-cell")+e.resolveComponent("up-cell-group")+e.resolveComponent("up-button"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-avatar/u-avatar.js")+(()=>"../../uni_modules/uview-plus/components/u-cell/u-cell.js")+(()=>"../../uni_modules/uview-plus/components/u-cell-group/u-cell-group.js")+(()=>"../../uni_modules/uview-plus/components/u-button/u-button.js"))();const t={__name:"sett",setup(t){let l=e.ref({});e.onShow((async()=>{s()}));const s=async()=>{let e=await o.userInfo();l.value=e},u=async e=>{let t=await n.uploadFiles(e.detail.avatarUrl);o.updateAvatar({avatar:t}).then((e=>{s()})),console.log(t)},a=()=>{e.index.showModal({title:"修改昵称",content:l.value.nickName,editable:!0,success:function(e){e.confirm?(o.updateNickName({nickName:e.content}).then((e=>{s()})),console.log(e),console.log("用户点击确定")):e.cancel&&console.log("用户点击取消")}})},i=()=>{e.index.showModal({title:"提示",content:"是否确认退出登录?",success:o=>{o.confirm?(e.index.clearStorageSync(),e.index.reLaunch({url:"/pages/home/home"})):o.cancel&&console.log("用户点击取消")}})};return(o,n)=>({a:e.p({src:e.unref(l).avatar}),b:e.p({title:"头像",isLink:!0,size:"min"}),c:e.o(u),d:e.t(e.unref(l).nickName),e:e.o(a),f:e.p({title:"昵称",isLink:!0,size:"min"}),g:e.t(e.unref(l).phone||"-"),h:e.p({title:"手机号",size:"min",border:!1}),i:e.p({border:!1}),j:e.o(i),k:e.p({type:"error",text:"退出登录"})})}};wx.createPage(t);
|
||||
9
unpackage/dist/build/mp-weixin/pages/mine/sett.json
vendored
Normal file
9
unpackage/dist/build/mp-weixin/pages/mine/sett.json
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"up-avatar": "../../uni_modules/uview-plus/components/u-avatar/u-avatar",
|
||||
"up-cell": "../../uni_modules/uview-plus/components/u-cell/u-cell",
|
||||
"up-cell-group": "../../uni_modules/uview-plus/components/u-cell-group/u-cell-group",
|
||||
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/sett.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/sett.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="p30"><view style="background-color:#fff;border-radius:15rpx"><up-cell-group wx:if="{{i}}" u-s="{{['d']}}" u-i="442b60d4-0" bind:__l="__l" u-p="{{i}}"><button style="all:unset" open-type="chooseAvatar" bindchooseavatar="{{c}}"><up-cell wx:if="{{b}}" u-s="{{['value']}}" u-i="442b60d4-1,442b60d4-0" bind:__l="__l" u-p="{{b}}"><up-avatar u-i="442b60d4-2,442b60d4-1" bind:__l="__l" u-p="{{a}}" slot="value"></up-avatar></up-cell></button><up-cell wx:if="{{f}}" u-s="{{['value']}}" bindclick="{{e}}" u-i="442b60d4-3,442b60d4-0" bind:__l="__l" u-p="{{f}}"><text class="u-slot-value" slot="value">{{d}}</text></up-cell><up-cell wx:if="{{h}}" u-s="{{['value']}}" u-i="442b60d4-4,442b60d4-0" bind:__l="__l" u-p="{{h}}"><text class="u-slot-value" slot="value">{{g}}</text></up-cell></up-cell-group></view><view style="height:100rpx"></view><up-button wx:if="{{k}}" bindclick="{{j}}" u-i="442b60d4-5" bind:__l="__l" u-p="{{k}}"></up-button></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/mine/sett.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/mine/sett.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
button:after{all:unset}
|
||||
1
unpackage/dist/build/mp-weixin/pages/money/recharge.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/money/recharge.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),n=require("../../api/api.js");if(!Array){(e.resolveComponent("up-checkbox")+e.resolveComponent("up-button"))()}Math||((()=>"../../uni_modules/uview-plus/components/u-checkbox/u-checkbox.js")+(()=>"../../uni_modules/uview-plus/components/u-button/u-button.js"))();const o={__name:"recharge",setup(o){let u=e.ref({}),a=e.ref(30),t=e.ref(""),r=e.ref(0),c=e.ref(!1),i=e.ref([{number:"¥30",money:"30"},{number:"¥50",money:"50"},{number:"¥80",money:"80"},{number:"¥100",money:"100"},{number:"¥200",money:"200"},{number:"¥300",money:"300"},{number:"¥400",money:"400"},{number:"¥500",money:"500"}]);const l=(e,n)=>{"input"!=e&&(a.value=e.money,t.value=""),r.value=n},s=e=>{c.value=e,console.log(e)},m=()=>{n.adaPay({amount:a.value}).then((n=>{let o=n;e.index.requestPayment({provider:"wxpay",timeStamp:o.timeStamp,nonceStr:o.nonceStr,package:o.package,signType:o.signType,paySign:o.paySign,success:function(n){e.index.showModal({title:"提示",content:"充值成功",showCancel:!1,success:function(n){n.confirm?e.index.navigateBack():n.cancel&&console.log("用户点击取消")}})},fail:function(e){console.log("fail:"+JSON.stringify(e))}})}))};e.onShow((async()=>{let e=await n.userInfo();u.value=e}));const p=e=>{a.value=e.detail.value};return(n,o)=>({a:e.t(e.unref(u).balance),b:e.f(e.unref(i),((n,o,u)=>({a:e.t(n.number),b:e.n(e.unref(r)==o?"item real":"item"),c:o,d:e.o((e=>l(n,o)),o)}))),c:e.o(p),d:e.unref(t),e:e.o((n=>e.isRef(t)?t.value=n.detail.value:t=n.detail.value)),f:e.n("input"==e.unref(r)?"item real":"item"),g:e.o((e=>l("input","input"))),h:e.o(s),i:e.p({shape:"circle",name:"agree",usedAlone:!0}),j:e.t(e.unref(a)),k:e.o(m),l:e.p({color:"#4879e6",text:"充值",shape:"circle",disabled:!e.unref(c)})})}},u=e._export_sfc(o,[["__scopeId","data-v-f4a9697d"]]);wx.createPage(u);
|
||||
7
unpackage/dist/build/mp-weixin/pages/money/recharge.json
vendored
Normal file
7
unpackage/dist/build/mp-weixin/pages/money/recharge.json
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "充值",
|
||||
"usingComponents": {
|
||||
"up-checkbox": "../../uni_modules/uview-plus/components/u-checkbox/u-checkbox",
|
||||
"up-button": "../../uni_modules/uview-plus/components/u-button/u-button"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/money/recharge.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/money/recharge.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="buy data-v-f4a9697d"><view class="title data-v-f4a9697d"><text class="text data-v-f4a9697d">当前余额:</text><text class="num data-v-f4a9697d">{{a}}</text></view><view class="number data-v-f4a9697d"><view class="list data-v-f4a9697d"><view wx:for="{{b}}" wx:for-item="item" wx:key="c" class="{{['data-v-f4a9697d', item.b]}}" bindtap="{{item.d}}"><view class="card data-v-f4a9697d"><view class="top data-v-f4a9697d"><text class="data-v-f4a9697d">{{item.a}}</text></view></view></view><view class="{{['data-v-f4a9697d', f]}}" bindtap="{{g}}"><view class="card data-v-f4a9697d"><view class="top data-v-f4a9697d" style="padding:0 15rpx;text-align:center"><input class="data-v-f4a9697d" bindchange="{{c}}" placeholder="其他面额" style="font-weight:bold;color:#666666" type="number" value="{{d}}" bindinput="{{e}}"/></view></view></view></view><view class="tip data-v-f4a9697d"><text class="titl data-v-f4a9697d">温馨提示</text><view class="data-v-f4a9697d"><text class="data-v-f4a9697d">1、本次充值金额尽可用于充电消费</text></view><view class="data-v-f4a9697d"><text class="data-v-f4a9697d">2、若充值时若使用了第三方优惠抵扣时,该笔金额不支持直接退款</text></view></view></view><view class="data-v-f4a9697d" style="position:fixed;bottom:0;left:0;width:750rpx"><view class="data-v-f4a9697d" style="display:flex;align-items:center;justify-content:center;font-size:26rpx;background-color:rgba(72, 121, 230, 0.3);padding:15rpx 0"><up-checkbox wx:if="{{i}}" class="data-v-f4a9697d" bindchange="{{h}}" u-i="f4a9697d-0" bind:__l="__l" u-p="{{i}}"></up-checkbox> 我已阅读并同意《 <text class="data-v-f4a9697d" style="color:#4879e6">云充电用户充值协议</text> 》 </view><view class="data-v-f4a9697d" style="display:flex;align-items:center;justify-content:space-between;padding:20rpx 30rpx"><view class="data-v-f4a9697d" style="font-size:40rpx;font-weight:bold">{{j}} <text class="data-v-f4a9697d" style="font-size:26rpx;font-weight:500">元</text></view><view class="data-v-f4a9697d" style="width:220rpx"><up-button wx:if="{{l}}" class="data-v-f4a9697d" bindclick="{{k}}" u-i="f4a9697d-1" bind:__l="__l" u-p="{{l}}"></up-button></view></view></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/money/recharge.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/money/recharge.wxss
vendored
Normal 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}
|
||||
1
unpackage/dist/build/mp-weixin/pages/order/detail.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/order/detail.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),r={data:()=>({}),methods:{}};if(!Array){e.resolveComponent("statusBar")()}Math;const t=e._export_sfc(r,[["render",function(e,r,t,o,n,s){return{}}]]);wx.createPage(t);
|
||||
6
unpackage/dist/build/mp-weixin/pages/order/detail.json
vendored
Normal file
6
unpackage/dist/build/mp-weixin/pages/order/detail.json
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"usingComponents": {
|
||||
"status-bar": "../../components/statusBar/statusBar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/order/detail.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/order/detail.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view><status-bar u-i="52b5345c-0" bind:__l="__l"/></view>
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user