oms
This commit is contained in:
1
unpackage/dist/build/mp-weixin/orderList/index/index.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/orderList/index/index.js
vendored
Normal file
File diff suppressed because one or more lines are too long
8
unpackage/dist/build/mp-weixin/orderList/index/index.json
vendored
Normal file
8
unpackage/dist/build/mp-weixin/orderList/index/index.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "订单列表",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"uni-easyinput": "/uni_modules/uni-easyinput/components/uni-easyinput/uni-easyinput",
|
||||
"uni-icons": "/uni_modules/uni-icons/components/uni-icons/uni-icons"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/orderList/index/index.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/orderList/index/index.wxml
vendored
Normal file
@@ -0,0 +1 @@
|
||||
<view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" style="height:100vh;display:flex;flex-direction:column;" bindtap="__e"><top-bar vue-id="6676ef5c-1" height="343rpx" title="订单列表" bind:__l="__l" vue-slots="{{['coment']}}"><view slot="coment"><view class="header_seach"><view class="header_seach_seach"><view class="seach_input"><uni-easyinput vue-id="{{('6676ef5c-2')+','+('6676ef5c-1')}}" candidate="{{candidate}}" ejectOpen="{{ejectOpen}}" letfText="{{letfText}}" confirmType="search" placeholder-style="color:#bbbbbb;font-weight: 100;" placeholder="{{letfText=='订单号'?'订单编号':letfText=='司机'?'司机姓名,手机号码':'企业名称,企业编号'}}" value="{{seachValue}}" data-event-opts="{{[['^ejectFn',[['ejectFn']]],['^confirm',[['seachFn']]],['^iconClick',[['onClick']]],['^input',[['__set_model',['','seachValue','$event',[]]]]]]}}" bind:ejectFn="__e" bind:confirm="__e" bind:iconClick="__e" bind:input="__e" bind:__l="__l"></uni-easyinput></view></view><view class="Navigation"><block wx:for="{{navigation}}" wx:for-item="item" wx:for-index="index"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" data-event-params="{{({item,index})}}" class="{{[seleindex==index?'navigation_seleitem':'navigation_item']}}" bindtap="__e">{{''+item.text+''}}<block wx:if="{{index==0}}"><uni-icons class="icoon" style="margin-left:10rpx;" vue-id="{{('6676ef5c-3-'+index)+','+('6676ef5c-1')}}" animation="{{animationData}}" type="refreshempty" size="15" color="#bbbbbb" bind:__l="__l"></uni-icons></block></view></block></view></view></view></top-bar><view style="flex:1;overflow:hidden;"><block wx:if="{{listData.length!=0}}"><scroll-view style="height:100%;" scroll-y="true" data-event-opts="{{[['scrolltolower',[['scrolltolower',['$event']]]]]}}" bindscrolltolower="__e"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index"><view class="form_body"><view data-event-opts="{{[['tap',[['jump',[1,'$0'],[[['listData','',index]]]]]]]}}" class="form_body_item" bindtap="__e"><view class="form_body_item_top"><view class="form_body_item_top_label" style="{{'background-color:'+(item.$orig.payAccountType==0?'#FD9500':'#2866FF')+';'}}">{{item.$orig.payAccountType==0?'个人':'企业'}}</view><view>{{item.$orig.orderSerialNumber}}</view></view><view style="padding:0 25rpx;margin-top:23rpx;"><view class="from_body_item_container"><view class="flex between"><view class="flex"><view>{{item.$orig.phone}}</view><view class="samll_txext" style="margin-left:23rpx;">{{item.$orig.userName}}</view></view><block wx:if="{{item.$orig.orderWfStatus==0&&item.g0!==-1}}"><view style="color:;">待核销</view></block></view><view class="text" style="margin-bottom:23rpx;font-size:26rpx;">{{''+(item.$orig.companyName?item.$orig.companyName:'暂无')+''}}</view><view class="flex between"><view class="flex"><view class="samll_txext">{{item.$orig.siteName}}</view></view><view class="bgtext" style="color:#999999;">{{item.$orig.volume+"L"}}</view></view><view class="flex between"><view class="flex"><view class="samll_txext">{{item.$orig.oilsCode+" "+item.$orig.realPrice+"/L"}}</view></view><view class="bgtext">{{"¥"+item.$orig.payRealAmount}}</view></view></view></view><view class="form_body_item_footer"><view class="samll_txext" style="font-size:22rpx;">{{item.$orig.createTime}}</view><view style="{{'font-size:'+('24rpx')+';'+('color:'+(item.m0.color)+';')}}">{{item.m1.text}}</view></view></view></view></block></scroll-view></block><block wx:if="{{listData.length==0}}"><view style="width:100vw;height:100%;display:flex;align-items:center;justify-content:center;"><image style="width:536rpx;height:399rpx;" src="/static/qx.png"></image></view></block></view></view>
|
||||
1
unpackage/dist/build/mp-weixin/orderList/index/index.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/orderList/index/index.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.form_body_item_top{display:flex;justify-content:flex-end;font-size:22rpx;font-family:PingFang SC;font-weight:500;color:#999;position:relative;height:40rpx;align-items:center;margin-top:23rpx;padding-right:26rpx}.flex{display:flex;align-items:center}.between{justify-content:space-between}.form_body_item_footer{padding:15rpx 25rpx;display:flex;justify-content:space-between;align-items:center}.form_body_item_top_label{width:92rpx;height:40rpx;background:#2866ff;border-radius:0 7px 7px 0;position:absolute;left:0;color:#fff;font-size:24rpx;display:flex;align-items:center;justify-content:center}.from_body_item_container{border-top:solid 1px #f0f0f0;border-bottom:solid 1px #f0f0f0;padding:20rpx 0;font-size:26rpx;color:#333}.icoon :active{color:#007aff}.yuan{width:13rpx;height:13rpx;background:#e9cf31;border-radius:50%;margin-right:5rpx}.large_text{font-size:32rpx;font-family:PingFang SC;font-weight:700;color:#333}.company_msg_content{max-width:330rpx;font-size:28rpx;font-family:PingFang SC;font-weight:500;color:#333;text-align:end}.examine_popup_body{padding:0 47rpx;margin:33rpx 0}.company_msg{display:flex;justify-content:space-between;align-items:baseline}.bgtext{font-size:28rpx;font-family:PingFang SC;font-weight:700;color:#333}.item_price{font-size:24rpx;font-family:PingFang SC;font-weight:500;color:#333}.text{font-size:26rpx;font-family:PingFang SC;font-weight:500;color:#333}.samll_txext{font-size:24rpx;font-family:PingFang SC;font-weight:500;color:#999;display:flex;align-items:center}.leftTip{position:absolute;top:0;left:0;height:100%;background-color:#e9cf31;width:10rpx}.seach_input{background-color:#fff;border-radius:12rpx;flex:1}.typeyuan{background-color:#17a00e;width:14rpx;height:14rpx;border-radius:50px;margin-right:6rpx}.seletypeyuan{background-color:red;width:14rpx;height:14rpx;border-radius:50px;margin-right:6rpx}.is-input-border{border:0!important}page{background-color:#f0f2ff}.form_body_item{min-height:339rpx;background:#fff;box-shadow:0 3px 9px 0 rgba(88,88,88,.2);border-radius:12rpx;font-size:28rpx;display:flex;flex-direction:column;position:relative;overflow:hidden}.form_body{width:100vw;padding:0 10px;margin-top:40rpx;box-sizing:border-box}.navigation_seleitem{width:150rpx;height:59rpx;background:#f0f2ff;border-top-left-radius:11rpx;border-top-right-radius:11rpx;font-size:26rpx;color:#333;display:flex;justify-content:center;align-items:center;transition:all .3s;position:relative;bottom:-2px}.navigation_item{width:150rpx;height:59rpx;border-top-left-radius:11rpx;border-top-right-radius:11rpx;font-size:26rpx;color:#f0f2ff;display:flex;justify-content:center;align-items:center;transition:all .3s;bottom:-2px}.Navigation{display:flex;position:absolute;bottom:0;transition:all .5s}.header_seach_butten{font-size:24rpx!important;display:flex!important;align-items:center!important;margin:0!important;flex-shrink:1;margin-left:9rpx!important;background:#fff!important;justify-content:center}.uni-easyinput__content{height:80rpx}.uni-easyinput{height:80rpx}.header_seach_seach{display:flex;height:80rpx;margin-top:23rpx}.header_seach_title{display:flex;align-items:center}.header_seach{font-size:26rpx;padding:0 10px}.uni-navbar--border{border:0!important}.uni-navbar__header-btns-right{padding-right:0!important;width:120rpx!important}.top{height:25px}
|
||||
1
unpackage/dist/build/mp-weixin/orderList/orderDetails/orderDetails.js
vendored
Normal file
1
unpackage/dist/build/mp-weixin/orderList/orderDetails/orderDetails.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["orderList/orderDetails/orderDetails"],{"037b":function(e,t,n){"use strict";var o=n("20c4"),c=n.n(o);c.a},"20c4":function(e,t,n){},b009:function(e,t,n){"use strict";n.r(t);var o=n("ff1b"),c=n.n(o);for(var i in o)"default"!==i&&function(e){n.d(t,e,(function(){return o[e]}))}(i);t["default"]=c.a},c0bc:function(e,t,n){"use strict";n.r(t);var o=n("d8e0"),c=n("b009");for(var i in c)"default"!==i&&function(e){n.d(t,e,(function(){return c[e]}))}(i);n("037b");var r,a=n("f0c5"),s=Object(a["a"])(c["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],r);t["default"]=s.exports},d8e0:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){return o}));var o={uniIcons:function(){return Promise.all([n.e("common/vendor"),n.e("uni_modules/uni-icons/components/uni-icons/uni-icons")]).then(n.bind(null,"3b32"))}},c=function(){var e=this,t=e.$createElement,n=(e._self._c,e.paymentStatus(e.details.orderStatus)),o=e.paymentStatus(e.details.orderStatus),c=e.paymentStatus(e.details.orderStatus);e._isMounted||(e.e0=function(t){e.moreOpen=!e.moreOpen},e.e1=function(t){e.moreOpen=!1}),e.$mp.data=Object.assign({},{$root:{m0:n,m1:o,m2:c}})},i=[]},fb8a:function(e,t,n){"use strict";(function(e){n("6e43");o(n("66fd"));var t=o(n("c0bc"));function o(e){return e&&e.__esModule?e:{default:e}}wx.__webpack_require_UNI_MP_PLUGIN__=n,e(t.default)}).call(this,n("543d")["createPage"])},ff1b:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=i(n("1457")),c=i(n("69b8"));function i(e){return e&&e.__esModule?e:{default:e}}var r=function(){Promise.all([n.e("common/vendor"),n.e("components/tki-qrcode/tki-qrcode")]).then(function(){return resolve(n("9d2c"))}.bind(null,n)).catch(n.oe)},a={onShareAppMessage:function(e){return{title:"订单详情",path:"/orderList/orderDetails/orderDetails"}},components:{qrcode:r},data:function(){return{details:{},show:{img:!1,footer:!1},iShow:{seting:!1},moreOpen:!1,val:"898989898",butten:{colse:"取消",confirm:"确定",coloseBg:"",coloseColor:"",confirmBg:"",confirmColor:""}}},onLoad:function(e){e.jsData&&(console.log(JSON.parse(e.jsData)),this.getList(JSON.parse(e.jsData).id))},methods:{codeFn:function(){var t=this;0==this.details.orderWfStatus?o.default.getOrderQrCodeOms(this.details.orderSerialNumber).then((function(n){2e4==n.code?(console.log(n),t.val=n.data.codeStr,t.iShow.seting=!0):e.showToast({title:n.msg,icon:"none"})})):this.iShow.seting=!1},refund:function(){console.log("-----------------")},paymentStatus:function(e){switch(e){case 0:return{text:"待支付",color:"#EBC153",bg:"#FFF6DD"};case 1:return{text:"已支付",color:"#17A00E",bg:"#D1FFDA"};case-1:return{text:"支付失败",color:"#EC4645",bg:"#FFC8C8"};case 2:return{text:"已取消",color:"#999999",bg:"#E9E9E9"};case 3:return{text:"已退款",color:"#999999",bg:""};case 4:return{text:"退款中",color:"#EBC153",bg:""};case 5:return{text:"退款失败",color:"#EC4645",bg:""}}},getList:function(e){var t=this;o.default.findOrderDetails({orderId:e}).then((function(e){2e4===e.code&&(t.details=e.data,c.default.numberSetting(t.details,["realAmount","volume","realPrice","marketPrice","sitePrice"],2),console.log(t.details.secondChannelCode,"--------------------------------"))}))},qrR:function(){console.log("1")},closeFn:function(){console.log("点击取消")},confirmFn:function(){console.log("点击确定")},share:function(){e.share({provider:"weixin",scene:"WXSceneTimeline",type:1,summary:"我正在使用HBuilderX开发uni-app,赶紧跟我一起来体验!",success:function(e){console.log("success:"+JSON.stringify(e))},fail:function(e){console.log("fail:"+JSON.stringify(e))}})},copy:function(){e.setClipboardData({data:"订单ID:".concat(this.details.id,"\n订单流水号:").concat(this.details.orderSerialNumber,"\n订单金额:").concat(this.details.realAmount,"元\n订单升数:").concat(this.details.volume,"升\n订单类型:").concat(0==this.details.payAccountType?"个人":"企业","\n司机姓名:").concat(this.details.customerName,"\n司机id:").concat(this.details.customerId," ").concat(this.details.companyName?"\n订单所属公司:"+this.details.companyName:"","\n手机号码:").concat(this.details.customerPhone),success:function(){e.showToast({title:"复制成功"})}})}}};t.default=a}).call(this,n("543d")["default"])}},[["fb8a","common/runtime","common/vendor"]]]);
|
||||
8
unpackage/dist/build/mp-weixin/orderList/orderDetails/orderDetails.json
vendored
Normal file
8
unpackage/dist/build/mp-weixin/orderList/orderDetails/orderDetails.json
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationBarTitleText": "订单详情",
|
||||
"enablePullDownRefresh": false,
|
||||
"usingComponents": {
|
||||
"uni-icons": "/uni_modules/uni-icons/components/uni-icons/uni-icons",
|
||||
"qrcode": "/components/tki-qrcode/tki-qrcode"
|
||||
}
|
||||
}
|
||||
1
unpackage/dist/build/mp-weixin/orderList/orderDetails/orderDetails.wxml
vendored
Normal file
1
unpackage/dist/build/mp-weixin/orderList/orderDetails/orderDetails.wxml
vendored
Normal file
File diff suppressed because one or more lines are too long
1
unpackage/dist/build/mp-weixin/orderList/orderDetails/orderDetails.wxss
vendored
Normal file
1
unpackage/dist/build/mp-weixin/orderList/orderDetails/orderDetails.wxss
vendored
Normal file
@@ -0,0 +1 @@
|
||||
.copyButten{flex:1;height:76rpx;background:#2866ff;border-radius:10rpx;margin-right:19rpx}.forwardButten{flex:1;height:76rpx;background:#28c445;border-radius:10rpx;color:#fff;font-size:32rpx}.footerButten{padding:0 43rpx;font-size:32rpx;color:#fff;margin:43rpx 0}.dxx{transition:all .3s;overflow:hidden}.refund{height:76rpx;width:308rpx;background:#ec4645;border-radius:10rpx;color:#fff;font-size:32rpx;margin:0 auto}.more{padding:0 43rpx}.moreButten{height:67rpx;background:#f0f0f0;margin:0 43rpx;border-radius:10rpx}.writeOff{height:92rpx;background:#2866ff;border-radius:10rpx;font-size:32rpx;margin:37rpx 43rpx;color:#fff;font-weight:500}.bgtext{font-size:38rpx;font-family:PingFang SC;font-weight:700;color:#ec4645}.actualUnitPrice{width:160rpx;height:108rpx;background:#f4f4f4;margin-left:19rpx;text-align:center}.olitype{width:67rpx;height:108rpx;background:#f4f4f4}.price{padding-left:80rpx}.Line{position:relative;width:calc(100% - 100rpx);height:100%;display:flex;align-items:center}.splitLineyuan{width:45rpx;height:45rpx;border-radius:50%;background-color:#f0f2ff}.splitLine{height:45rpx;display:flex;justify-content:space-between;position:relative;margin:20rpx 0}.Text{font-size:28rpx;font-family:PingFang SC;font-weight:500;color:#333}.smallText{font-size:24rpx;font-family:PingFang SC;font-weight:500;color:#bbb}.paymentInformation{padding-top:140rpx;padding-left:35rpx;padding-right:35rpx}.details_body_car_lable .payment{width:160rpx;height:48rpx;background:#d1ffda;color:#17a00e;font-size:30rpx;position:absolute;right:46rpx}.justifyContent{justify-content:center}.alignItems{align-items:center}.felx{display:flex}.details_body_car_lable .payLi{width:100rpx;height:44rpx;background:#2866ff;border-radius:0 0 12rpx 12rpx;color:#fff;margin-left:51rpx}.details_body_car_lable .sign{width:140rpx;height:140rpx;background:#fff;box-shadow:0 5px 5px 0 rgba(88,88,88,.18);border-radius:50%;top:-50rpx;position:relative;display:flex;align-items:center;justify-content:center}.details_body_car_lable{width:100%;position:absolute;top:0;display:flex;padding:0 46rpx}.details_body_car{width:100%;background-color:#fff;border-radius:20rpx;position:relative;padding-bottom:63rpx}.details_body{padding:0 31rpx;padding-top:65rpx;width:100vw;height:100vh;overflow:auto}
|
||||
Reference in New Issue
Block a user