订单信息

This commit is contained in:
cun-nan 2023-12-06 10:28:49 +08:00
parent 899623c5b0
commit e70e41434f
6 changed files with 58 additions and 8 deletions

View File

@ -255,7 +255,7 @@
page: 1, page: 1,
pageSize: 5, pageSize: 5,
storeId: "", storeId: "",
orderStatus: "", orderStatus: "paid",
remark: "待评价", remark: "待评价",
} }
this.getMyOrder() this.getMyOrder()

View File

@ -231,8 +231,8 @@
} }
}, },
onLoad(e) { onLoad(e) {
// this.orderNo = e.orderNo this.orderNo = e.orderNo
this.orderNo = "20231201114800ebe24b" // this.orderNo = "20231201114800ebe24b"
}, },
onShow() { onShow() {
this.getOilOrder(); this.getOilOrder();

View File

@ -2,7 +2,6 @@
"navigationBarTitleText": "充值记录", "navigationBarTitleText": "充值记录",
"navigationStyle": "custom", "navigationStyle": "custom",
"usingComponents": { "usingComponents": {
"uni-icons": "/node-modules/@dcloudio/uni-ui/lib/uni-icons/uni-icons", "uni-icons": "/node-modules/@dcloudio/uni-ui/lib/uni-icons/uni-icons"
"u-empty": "/uni_modules/uview-ui/components/u-empty/u-empty"
} }
} }

View File

@ -1 +1 @@
<view class="content data-v-4ea1f3b2"><view class="container data-v-4ea1f3b2"><view class="my-header data-v-4ea1f3b2"><view data-event-opts="{{[['tap',[['goback',['$event']]]]]}}" class="my-icons data-v-4ea1f3b2" bindtap="__e"><uni-icons vue-id="f4c5f8d8-1" type="left" size="16" class="data-v-4ea1f3b2" bind:__l="__l"></uni-icons></view><view class="my-text data-v-4ea1f3b2">充值记录</view><view class="my-icons data-v-4ea1f3b2"></view></view><view class="tap-top data-v-4ea1f3b2"><block wx:for="{{tapList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tapindex',[index]]]]]}}" class="{{['tap-box','data-v-4ea1f3b2',(tindex==index)?'act':'']}}" bindtap="__e"><view class="data-v-4ea1f3b2">{{item.text}}</view><view class="{{['gang','data-v-4ea1f3b2',(tindex==index)?'lan':'']}}"></view></view></block></view><block wx:if="{{$root.g0==0}}"><u-empty vue-id="f4c5f8d8-2" mode="coupon" text="内容为空" icon="http://cdn.uviewui.com/uview/empty/coupon.png" class="data-v-4ea1f3b2" bind:__l="__l"></u-empty></block></view></view> <view class="content data-v-4ea1f3b2"><view class="container data-v-4ea1f3b2"><view class="my-header data-v-4ea1f3b2"><view data-event-opts="{{[['tap',[['goback',['$event']]]]]}}" class="my-icons data-v-4ea1f3b2" bindtap="__e"><uni-icons vue-id="f4c5f8d8-1" type="left" size="16" class="data-v-4ea1f3b2" bind:__l="__l"></uni-icons></view><view class="my-text data-v-4ea1f3b2">充值记录</view><view class="my-icons data-v-4ea1f3b2"></view></view><view class="tap-top data-v-4ea1f3b2"><block wx:for="{{tapList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['tapindex',[index]]]]]}}" class="{{['tap-box','data-v-4ea1f3b2',(tindex==index)?'act':'']}}" bindtap="__e"><view class="data-v-4ea1f3b2">{{item.text}}</view><view class="{{['gang','data-v-4ea1f3b2',(tindex==index)?'lan':'']}}"></view></view></block></view><view class="ail data-v-4ea1f3b2"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="box-order data-v-4ea1f3b2"><view class="or-box-top data-v-4ea1f3b2"><view class="data-v-4ea1f3b2">储值卡</view><view class="chengg data-v-4ea1f3b2">充值成功</view></view><view class="but-box data-v-4ea1f3b2"><view class="huis data-v-4ea1f3b2">充值金额</view><view class="data-v-4ea1f3b2">¥123</view></view><view class="but-box data-v-4ea1f3b2"><view class="huis data-v-4ea1f3b2">优惠合计</view><view class="reds data-v-4ea1f3b2">¥999</view></view><view class="but-box data-v-4ea1f3b2"><view class="huis data-v-4ea1f3b2">订单时间</view><view class="data-v-4ea1f3b2">20230304</view></view></view></block></view></view></view>

View File

@ -76,4 +76,55 @@
.lan.data-v-4ea1f3b2 { .lan.data-v-4ea1f3b2 {
background: #0000ff; background: #0000ff;
} }
.box-order.data-v-4ea1f3b2 {
width: 95%;
border-radius: 8px;
background: #ffffff;
box-sizing: border-box;
padding: 10px;
margin: 10px auto;
}
.or-box-top.data-v-4ea1f3b2 {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
box-sizing: border-box;
padding: 5px 0px;
border-bottom: 1px solid #e5e5e5;
}
.chengg.data-v-4ea1f3b2 {
color: #1678ff;
}
.but-box.data-v-4ea1f3b2 {
width: 100%;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 14px;
margin: 5px 0px;
}
.reds.data-v-4ea1f3b2 {
color: red;
}
.huis.data-v-4ea1f3b2 {
color: #666666;
}
.end-box.data-v-4ea1f3b2 {
width: 100%;
display: flex;
align-items: center;
justify-content: flex-end;
}
.anniu.data-v-4ea1f3b2 {
width: 70px;
height: 25px;
background-color: #1678ff;
color: #ffffff;
display: flex;
align-items: center;
justify-content: center;
font-size: 14px;
border-radius: 15px;
}

View File

@ -104,10 +104,10 @@ try {
return Promise.all(/*! import() | node-modules/@dcloudio/uni-ui/lib/uni-icons/uni-icons */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/@dcloudio/uni-ui/lib/uni-icons/uni-icons")]).then(__webpack_require__.bind(null, /*! @dcloudio/uni-ui/lib/uni-icons/uni-icons.vue */ 453)) return Promise.all(/*! import() | node-modules/@dcloudio/uni-ui/lib/uni-icons/uni-icons */[__webpack_require__.e("common/vendor"), __webpack_require__.e("node-modules/@dcloudio/uni-ui/lib/uni-icons/uni-icons")]).then(__webpack_require__.bind(null, /*! @dcloudio/uni-ui/lib/uni-icons/uni-icons.vue */ 453))
}, },
"u-Textarea": function () { "u-Textarea": function () {
return Promise.all(/*! import() | uni_modules/uview-ui/components/u--textarea/u--textarea */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u--textarea/u--textarea")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u--textarea/u--textarea.vue */ 632)) return Promise.all(/*! import() | uni_modules/uview-ui/components/u--textarea/u--textarea */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u--textarea/u--textarea")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u--textarea/u--textarea.vue */ 640))
}, },
uUpload: function () { uUpload: function () {
return Promise.all(/*! import() | uni_modules/uview-ui/components/u-upload/u-upload */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-upload/u-upload")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-upload/u-upload.vue */ 638)) return Promise.all(/*! import() | uni_modules/uview-ui/components/u-upload/u-upload */[__webpack_require__.e("common/vendor"), __webpack_require__.e("uni_modules/uview-ui/components/u-upload/u-upload")]).then(__webpack_require__.bind(null, /*! @/uni_modules/uview-ui/components/u-upload/u-upload.vue */ 646))
}, },
} }
} catch (e) { } catch (e) {