no message
This commit is contained in:
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>
|
||||
0
unpackage/dist/build/mp-weixin/pages/order/detail.wxss
vendored
Normal file
0
unpackage/dist/build/mp-weixin/pages/order/detail.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/order/order.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/order/order.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
"use strict";const e=require("../../common/vendor.js"),a=require("../../api/api.js");if(!Array){(e.resolveComponent("statusBar")+e.resolveComponent("z-paging")+e.resolveComponent("cc-myTabbar"))()}Math||((()=>"../../components/statusBar/statusBar.js")+(()=>"../../uni_modules/z-paging/components/z-paging/z-paging.js")+(()=>"../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar.js"))();const t={__name:"order",setup(t){const o=e.ref(null);let r=e.ref([]);e.ref([]);let n=e.ref(1),s=e.ref([{name:"全部",type:""},{name:"进行中",type:1},{name:"已完成",type:2},{name:"待支付",type:3}]),c=e=>{n.value=e,o.value.reload()};e.onLoad((async()=>{}));let u=a=>{2!=a.status&&3!=a.status&&4!=a.status||e.index.navigateTo({url:`/pageOrder/recharge/recharge?transactionNo=${a.transactionNo}&type=order`})},l=()=>!o.value;e.onPullDownRefresh((()=>{l()||o.value.reload().catch((()=>{}))})),e.onPageScroll((e=>{l()||(o.value.updatePageScrollTop(e.scrollTop),e.scrollTop<10&&o.value.doChatRecordLoadMore())})),e.onReachBottom((()=>{l()||o.value.pageReachBottom()}));const p=(e,t)=>{const r={current:e,pageSize:t,type:n.value};a.ordersList(r).then((e=>{o.value.complete(e)})).catch((e=>{o.value.complete(!1)}))};return(a,t)=>({a:e.f(e.unref(s),((a,t,o)=>e.e({a:e.t(a.name),b:a.type==e.unref(n)},(a.type,e.unref(n),{}),{c:e.o((t=>e.unref(c)(a.type)),t),d:t,e:e.n(e.unref(n)==a.type?"order_header_active":"")}))),b:e.f(e.unref(r),((a,t,o)=>({a:e.t(a.orderNo),b:e.t(a.startTime),c:e.t(a.endTime),d:e.t(a.useDegree),e:e.t(a.serviceAmount),f:e.t(a.electricityAmount),g:e.t(a.preAmount),h:e.t(a.actuallyAmount),i:t,j:e.o((t=>e.unref(u)(a)),t)}))),c:e.sr(o,"2fb2318d-0",{k:"paging"}),d:e.o(p),e:e.o((a=>e.isRef(r)?r.value=a:r=a)),f:e.p({"use-page-scroll":!0,modelValue:e.unref(r)}),g:e.p({tabBarShow:3})})}},o=e._export_sfc(t,[["__scopeId","data-v-2fb2318d"]]);t.__runtimeHooks=1,wx.createPage(o);
|
||||
10
unpackage/dist/build/mp-weixin/pages/order/order.json
vendored
Normal file
10
unpackage/dist/build/mp-weixin/pages/order/order.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"navigationBarTitleText": "",
|
||||
"enablePullDownRefresh": false,
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"status-bar": "../../components/statusBar/statusBar",
|
||||
"z-paging": "../../uni_modules/z-paging/components/z-paging/z-paging",
|
||||
"cc-my-tabbar": "../../uni_modules/cc-myTabbar/components/cc-myTabbar/cc-myTabbar"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/pages/order/order.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/order/order.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view class="order data-v-2fb2318d"><z-paging wx:if="{{f}}" class="r data-v-2fb2318d" u-s="{{['d']}}" u-r="paging" bindquery="{{d}}" u-i="2fb2318d-0" bind:__l="__l" bindupdateModelValue="{{e}}" u-p="{{f}}"><view class="data-v-2fb2318d"><status-bar class="data-v-2fb2318d" u-i="2fb2318d-1,2fb2318d-0" bind:__l="__l"/><view class="p30 data-v-2fb2318d"><view class="order_header data-v-2fb2318d"><view wx:for="{{a}}" wx:for-item="item" wx:key="d" bindtap="{{item.c}}" class="{{['order_header_view', 'data-v-2fb2318d', item.e]}}">{{item.a}} <view wx:if="{{item.b}}" class="order_header_xian data-v-2fb2318d"></view></view></view></view></view><view class="p30 data-v-2fb2318d"><view wx:for="{{b}}" wx:for-item="item" wx:key="i" class="order_list data-v-2fb2318d" bindtap="{{item.j}}"><view class="order_list_header data-v-2fb2318d">订单编号:{{item.a}}</view><view class="order_list_view data-v-2fb2318d"><view class="data-v-2fb2318d">充电时间</view><view class="data-v-2fb2318d">{{item.b}}</view></view><view class="order_list_view data-v-2fb2318d"><view class="data-v-2fb2318d">结束时间</view><view class="data-v-2fb2318d">{{item.c}}</view></view><view class="order_list_view data-v-2fb2318d"><view class="data-v-2fb2318d">充电电量</view><view class="data-v-2fb2318d">{{item.d}}度</view></view><view class="order_list_view data-v-2fb2318d"><view class="data-v-2fb2318d">服务费</view><view class="data-v-2fb2318d">{{item.e}}元</view></view><view class="order_list_view data-v-2fb2318d"><view class="data-v-2fb2318d">电费</view><view class="data-v-2fb2318d">{{item.f}}元</view></view><view class="order_list_view data-v-2fb2318d"><view class="data-v-2fb2318d">预付金额</view><view class="data-v-2fb2318d">{{item.g}}元</view></view><view class="order_list_total data-v-2fb2318d">实付金额:{{item.h}}元</view></view></view></z-paging><view class="data-v-2fb2318d" style="height:180rpx"></view><cc-my-tabbar wx:if="{{g}}" class="data-v-2fb2318d" u-i="2fb2318d-2" bind:__l="__l" u-p="{{g}}"></cc-my-tabbar></view>
|
||||
1
unpackage/dist/build/mp-weixin/pages/order/order.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/pages/order/order.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.order_header.data-v-2fb2318d{display:flex;align-items:center;flex-direction:row;justify-content:space-between;font-weight:700;font-size:36rpx;color:#232323;border-bottom:4rpx solid #e9ecf2}.order_header_view.data-v-2fb2318d{padding:15rpx 0;position:relative}.order_header_view view.data-v-2fb2318d{position:absolute;left:calc(50% - 49rpx);bottom:-4rpx;width:98rpx;height:8rpx;background:#4879e6;border-radius:8rpx}.order_header_active.data-v-2fb2318d{color:#4879e6}.order_list.data-v-2fb2318d{padding:25rpx;background:#fff;border-radius:8rpx;margin-top:30rpx}.order_list_header.data-v-2fb2318d{font-weight:700;font-size:26rpx;color:#4879e6;padding-bottom:20rpx;border-bottom:2rpx solid #ebebeb;margin-bottom:20rpx}.order_list_view.data-v-2fb2318d{display:flex;align-items:center;flex-direction:row;justify-content:space-between;font-weight:400;font-size:26rpx;color:#232323;margin-bottom:20rpx}.order_list_total.data-v-2fb2318d{flex:1;text-align:right;font-weight:700;font-size:40rpx;color:#4879e6}
|
||||
Reference in New Issue
Block a user