12 changed files with 569 additions and 81 deletions
-
12src/pages.json
-
29src/subpackage/order/components/order_list/filter_modal.vue
-
10src/subpackage/order/components/order_list/header.vue
-
27src/subpackage/order/components/order_list/period_modal.vue
-
19src/subpackage/order/pages/timekeeping/modules/order_detail/bottom_fixed.vue
-
23src/subpackage/order/pages/timekeeping/modules/order_detail/fixed_button.vue
-
21src/subpackage/order/pages/timekeeping/modules/order_list/item_temp.vue
-
31src/subpackage/order/pages/timekeeping/modules/order_list/person.vue
-
120src/subpackage/order/pages/timekeeping/order_detail/deposit.vue
-
30src/subpackage/order/pages/timekeeping/order_detail/person.vue
-
150src/subpackage/order/pages/timekeeping/order_detail/site.vue
-
178src/subpackage/order/pages/timekeeping/order_list.vue
@ -0,0 +1,23 @@ |
|||
<template> |
|||
<view class="fixed-button"> |
|||
<slot>click</slot> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
export default { |
|||
|
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss"> |
|||
.fixed-button{ |
|||
padding: 0 32upx; |
|||
display: inline-block; |
|||
min-width: 192upx; |
|||
text-align: center; |
|||
border-radius: 10upx; |
|||
background: #fff; |
|||
@include flcw(32upx, 88upx, $mColor, 500); |
|||
} |
|||
</style> |
@ -0,0 +1,120 @@ |
|||
<template> |
|||
<view class="deposit-order-detail"> |
|||
<header-temp> |
|||
<kv-line label="订单编号:"> |
|||
<template v-slot:default>qp20200150150245569qp20200150150245569qp20200150150245569</template> |
|||
<template v-slot:right> |
|||
<text class="dod-status">已完成</text> |
|||
</template> |
|||
</kv-line> |
|||
<kv-line label="创建时间:">2019-08-17 18:02:58</kv-line> |
|||
<kv-line label="手机号码:">18316553478</kv-line> |
|||
<kv-line label="用户昵称:">i术生</kv-line> |
|||
<kv-line label="订单来源:">占用分享(张三)</kv-line> |
|||
<kv-line label="订单备注:">订单备注</kv-line> |
|||
</header-temp> |
|||
|
|||
<view class="od-margin"></view> |
|||
<info-temp title="场地计时信息"> |
|||
<kv-line label="项目类型:">茶室(1号茶室)</kv-line> |
|||
<kv-line label="进场时间:">2020-01-10 15:02:24</kv-line> |
|||
<kv-line label="离场时间:">现场扫码结算</kv-line> |
|||
<kv-line label="时长合计:">00小时00分00秒</kv-line> |
|||
|
|||
<view class="od-pay-info"> |
|||
<kvs-line label="金额小计">¥10.5</kvs-line> |
|||
<kvs-line label="折扣金额">-¥0</kvs-line> |
|||
<kvs-line label="积分抵扣">-¥0</kvs-line> |
|||
<kvs-line label="优惠券优惠">-¥1</kvs-line> |
|||
</view> |
|||
<view class="od-total"> |
|||
<text class="ot-name">合计支付:</text>¥9.5 |
|||
</view> |
|||
</info-temp> |
|||
|
|||
<view class="od-margin"></view> |
|||
<info-temp title="关联押金订单"> |
|||
<kv-line label="押金订单号:"> |
|||
<template v-slot:default>qp20200150150245569</template> |
|||
<template v-slot:right> |
|||
<text class="od-check">查看押金订单</text> |
|||
</template> |
|||
</kv-line> |
|||
<kv-line label="押金金额:">¥50</kv-line> |
|||
<kv-line label="订单状态:">已退款</kv-line> |
|||
</info-temp> |
|||
|
|||
<view class="od-margin"></view> |
|||
<info-temp title="支付信息"> |
|||
<kv-line label="支付方式:">微信支付</kv-line> |
|||
<kv-line label="支付时间:">2019-05-17 11:12:58</kv-line> |
|||
<kv-line label="交易流水:">4200225665566566565455</kv-line> |
|||
</info-temp> |
|||
|
|||
<view class="od-margin"></view> |
|||
<info-temp title="退款信息2"> |
|||
<kv-line label="退款金额:">¥998</kv-line> |
|||
<kv-line label="退款单号:">TF-20195171564566</kv-line> |
|||
<kv-line label="退款时间:">2019-05-17 11:12:58</kv-line> |
|||
<kv-line label="退款原因:">商家主动退款</kv-line> |
|||
</info-temp> |
|||
|
|||
<bottom-fixed> |
|||
<fixed-button>退款</fixed-button> |
|||
</bottom-fixed> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import headerTemp from "../modules/order_detail/header_temp.vue"; |
|||
import infoTemp from "../modules/order_detail/info_temp.vue"; |
|||
import kvLine from "../../../components/kv_line.vue"; |
|||
import kvsLine from "../../../components/kvs_line.vue"; |
|||
import bottomFixed from "../modules/order_detail/bottom_fixed.vue"; |
|||
import fixedButton from "../modules/order_detail/fixed_button.vue"; |
|||
export default { |
|||
components: { |
|||
'header-temp': headerTemp, |
|||
'info-temp': infoTemp, |
|||
'kv-line': kvLine, |
|||
'kvs-line': kvsLine, |
|||
'bottom-fixed': bottomFixed, |
|||
'fixed-button': fixedButton, |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss"> |
|||
.deposit-order-detail{ |
|||
padding: 24upx; |
|||
.dod-status{ |
|||
margin-left: auto; |
|||
flex-shrink: 0; |
|||
@include flcw(28upx, 40upx, #9C9C9F); |
|||
} |
|||
|
|||
.od-margin{ |
|||
height: 24upx; |
|||
background: transparent; |
|||
} |
|||
.od-pay-info{ |
|||
margin-top: 20upx; |
|||
border-top: 1px solid #D8D8D8; |
|||
} |
|||
.od-total{ |
|||
padding-top: 10upx; |
|||
text-align: right; |
|||
@include flcw(28upx, 50upx, #1A1A1A, 500); |
|||
@include tHide; |
|||
.ot-name{ |
|||
color: #9A9A9D; |
|||
font-weight: 400; |
|||
} |
|||
} |
|||
.od-check{ |
|||
margin-left: auto; |
|||
flex-shrink: 0; |
|||
@include flcw(24upx, 40upx, $mColor); |
|||
} |
|||
} |
|||
</style> |
@ -0,0 +1,150 @@ |
|||
<template> |
|||
<view class="site-order-detail"> |
|||
<header-temp> |
|||
<kv-line label="订单编号:"> |
|||
<template v-slot:default>qp20200150150245569qp20200150150245569qp20200150150245569</template> |
|||
<template v-slot:right> |
|||
<text class="od-status">已完成</text> |
|||
</template> |
|||
</kv-line> |
|||
<kv-line label="创建时间:">2019-08-17 18:02:58</kv-line> |
|||
<kv-line label="手机号码:">18316553478</kv-line> |
|||
<kv-line label="用户昵称:">i术生</kv-line> |
|||
</header-temp> |
|||
|
|||
<view class="od-margin"></view> |
|||
<info-temp title="场地计时信息"> |
|||
<kv-line label="项目类型:">茶室(1号茶室)</kv-line> |
|||
<kv-line label="进场时间:">2020-01-10 15:02:24</kv-line> |
|||
<kv-line label="离场时间:">现场扫码结算</kv-line> |
|||
<kv-line label="时长合计:">00小时00分00秒</kv-line> |
|||
|
|||
<view class="od-pay-info"> |
|||
<kvs-line label="金额小计">¥10.5</kvs-line> |
|||
<kvs-line label="折扣金额">-¥0</kvs-line> |
|||
<kvs-line label="积分抵扣">-¥0</kvs-line> |
|||
<kvs-line label="优惠券优惠">-¥1</kvs-line> |
|||
</view> |
|||
<view class="od-total"> |
|||
<text class="pt-name">合计支付:</text>¥9.5 |
|||
</view> |
|||
</info-temp> |
|||
|
|||
<view class="od-margin"></view> |
|||
<info-temp title="关联押金订单"> |
|||
<kv-line label="押金订单号:"> |
|||
<template v-slot:default>qp20200150150245569</template> |
|||
<template v-slot:right> |
|||
<text class="od-check">查看押金订单</text> |
|||
</template> |
|||
</kv-line> |
|||
<kv-line label="押金金额:">¥50</kv-line> |
|||
<kv-line label="订单状态:"> |
|||
<template v-slot:default>已退款</template> |
|||
<template v-slot:right> |
|||
<text class="od-deposit-explain">(押金已原路退返账户,请留意查收!)</text> |
|||
</template> |
|||
</kv-line> |
|||
</info-temp> |
|||
|
|||
<view class="od-margin"></view> |
|||
<info-temp> |
|||
<kv-line label="取消时间:">2019-05-17 11:12:58</kv-line> |
|||
<kv-line label="取消原因:">商家主动取消</kv-line> |
|||
</info-temp> |
|||
|
|||
<view class="od-margin"></view> |
|||
<info-temp title="支付信息"> |
|||
<kv-line label="支付方式:">微信支付</kv-line> |
|||
<kv-line label="支付时间:">2019-05-17 11:12:58</kv-line> |
|||
<kv-line label="交易流水:">4200225665566566565455</kv-line> |
|||
</info-temp> |
|||
|
|||
<view class="od-margin"></view> |
|||
<info-temp title="费用详情"> |
|||
<kv-line label="产生费用:"><text class="od-check">¥10</text></kv-line> |
|||
</info-temp> |
|||
|
|||
<view class="od-margin"></view> |
|||
<info-temp title="退款信息1"> |
|||
<kv-line label="退款金额:">¥998</kv-line> |
|||
<kv-line label="退款单号:">TF-20195171564566</kv-line> |
|||
<kv-line label="退款时间:">2019-05-17 11:12:58</kv-line> |
|||
<kv-line label="退款原因:">商家主动退款</kv-line> |
|||
</info-temp> |
|||
|
|||
<view class="od-margin"></view> |
|||
<info-temp title="退款信息2"> |
|||
<kv-line label="退款金额:">¥998</kv-line> |
|||
<kv-line label="退款单号:">TF-20195171564566</kv-line> |
|||
<kv-line label="退款时间:">2019-05-17 11:12:58</kv-line> |
|||
<kv-line label="退款原因:">商家主动退款</kv-line> |
|||
</info-temp> |
|||
|
|||
<bottom-fixed> |
|||
<fixed-button>取消预约</fixed-button> |
|||
</bottom-fixed> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import headerTemp from "../modules/order_detail/header_temp.vue"; |
|||
import infoTemp from "../modules/order_detail/info_temp.vue"; |
|||
import kvLine from "../../../components/kv_line.vue"; |
|||
import kvsLine from "../../../components/kvs_line.vue"; |
|||
import bottomFixed from "../modules/order_detail/bottom_fixed.vue"; |
|||
import fixedButton from "../modules/order_detail/fixed_button.vue"; |
|||
export default { |
|||
components: { |
|||
'header-temp': headerTemp, |
|||
'info-temp': infoTemp, |
|||
'kv-line': kvLine, |
|||
'kvs-line': kvsLine, |
|||
'bottom-fixed': bottomFixed, |
|||
'fixed-button': fixedButton, |
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss"> |
|||
.site-order-detail{ |
|||
padding: 24upx; |
|||
.od-status{ |
|||
margin-left: auto; |
|||
flex-shrink: 0; |
|||
@include flcw(28upx, 40upx, #9C9C9F); |
|||
&.active{ |
|||
color: $mColor; |
|||
} |
|||
} |
|||
.od-check{ |
|||
margin-left: auto; |
|||
flex-shrink: 0; |
|||
@include flcw(24upx, 40upx, $mColor); |
|||
} |
|||
|
|||
.od-pay-info{ |
|||
margin-top: 20upx; |
|||
border-top: 1px solid #D8D8D8; |
|||
} |
|||
.od-total{ |
|||
padding-top: 10upx; |
|||
text-align: right; |
|||
@include flcw(28upx, 50upx, #1A1A1A, 500); |
|||
@include tHide; |
|||
.pt-name{ |
|||
color: #9A9A9D; |
|||
font-weight: 400; |
|||
} |
|||
} |
|||
.od-deposit-explain{ |
|||
margin-left: 12upx; |
|||
@include flcw(24upx, 40upx, #9C9C9F); |
|||
@include tHide; |
|||
} |
|||
} |
|||
.od-margin{ |
|||
height: 24upx; |
|||
background: transparent; |
|||
} |
|||
</style> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue