刘嘉炜
3 years ago
9 changed files with 271 additions and 58 deletions
-
86src/components/order_list/club_rental/club_rental.vue
-
44src/components/order_list/spectacular_monent/spectacular_monent.vue
-
2src/js/api.js
-
2src/pages/index/index.vue
-
52src/pages/order_list/order_list.vue
-
2src/subpackage/order/js/api.js
-
102src/subpackage/order/pages/spectacular_monent/detail/detail.vue
-
39src/subpackage/order/pages/value_card/detail/detail.vue
-
BINsrc/subpackage/order/static/images/value_card/success_c098.png
@ -0,0 +1,86 @@ |
|||
<template> |
|||
<view class="club-rental-container" @click="toInfo"> |
|||
<a-header :source="orderInfo.source || '-'" :status="123"> |
|||
<view slot="line" class="crc-line"> |
|||
<image class="cl-img"></image> |
|||
<view class="cl-view">欧轩智能租球机-A</view> |
|||
</view> |
|||
</a-header> |
|||
|
|||
<view class="vcc-info"> |
|||
<a-line :value="orderInfo.order_no || '-'"> |
|||
<block slot="name">订单编号:</block> |
|||
</a-line> |
|||
<a-line :value="orderInfo.price_type_text || '-'"> |
|||
<block slot="name">租借时长:</block> |
|||
</a-line> |
|||
<a-line :value="orderInfo.venue_name || '-'"> |
|||
<block slot="name">租借时间:</block> |
|||
</a-line> |
|||
</view> |
|||
<view class="vcc-total"> |
|||
<view class="vt-view"><text class="vv-text">合计支付:</text>¥{{ orderInfo.pay_amount || '0' }}</view> |
|||
</view> |
|||
</view> |
|||
</template> |
|||
|
|||
<script> |
|||
import util from '../../../utils/util'; |
|||
import a_header from '../a_header/a_header.vue'; |
|||
import a_line from '../a_line/a_line.vue'; |
|||
export default { |
|||
components: { |
|||
'a-header': a_header, |
|||
'a-line': a_line, |
|||
}, |
|||
props: { |
|||
orderInfo: { |
|||
default: {}, |
|||
type: Object |
|||
} |
|||
}, |
|||
methods: { |
|||
|
|||
} |
|||
} |
|||
</script> |
|||
|
|||
<style lang="scss"> |
|||
@import '~style/public.scss'; |
|||
|
|||
.club-rental-container{ |
|||
background-color: #fff; |
|||
padding: 0 20upx 20upx; |
|||
border-radius: 10upx; |
|||
} |
|||
.crc-line{ |
|||
margin-top: 10upx; |
|||
@include centerFlex(flex-start); |
|||
.cl-img{ |
|||
flex-shrink: 0; |
|||
margin-right: 12upx; |
|||
height: 28upx; |
|||
width: 28upx; |
|||
background-color: skyblue; |
|||
} |
|||
.cl-view{ |
|||
font-size: 24upx; |
|||
line-height: 34upx; |
|||
color: #9A9A9D; |
|||
} |
|||
} |
|||
.vcc-total{ |
|||
padding: 10upx 0; |
|||
@include centerFlex(flex-end); |
|||
.vt-view{ |
|||
font-weight: 500; |
|||
font-size: 28upx; |
|||
color: #333; |
|||
@include textHide(1); |
|||
.vv-text{ |
|||
font-weight: 400; |
|||
color: #9A9A9D; |
|||
} |
|||
} |
|||
} |
|||
</style> |
After Width: 100 | Height: 100 | Size: 985 B |
Write
Preview
Loading…
Cancel
Save
Reference in new issue