develop
parent
8e9cda6a61
commit
3d3237c6ce
5 changed files with 195 additions and 56 deletions
@ -0,0 +1,49 @@ |
||||
<template> |
||||
<view class="illustrate"> |
||||
<view class="title"> |
||||
服务费说明 |
||||
<uni-icons type="closeempty" size="20" @click="close" /> |
||||
</view> |
||||
<view class="text" |
||||
>服务费为本笔订单优惠金额{{ |
||||
discountInfo.feeRatio * 100 + "%" |
||||
}},最高不超过7元</view |
||||
> |
||||
</view> |
||||
</template> |
||||
|
||||
<script> |
||||
export default { |
||||
props: { |
||||
discountInfo: Object, |
||||
}, |
||||
methods: { |
||||
close() { |
||||
this.$emit("close"); |
||||
}, |
||||
}, |
||||
}; |
||||
</script> |
||||
|
||||
<style lang="scss" scoped> |
||||
.illustrate { |
||||
min-height: 30vh; |
||||
> .title { |
||||
position: relative; |
||||
padding: 30rpx 0; |
||||
text-align: center; |
||||
> uni-icons { |
||||
position: absolute; |
||||
top: 50%; |
||||
right: 30rpx; |
||||
transform: translateY(-50%); |
||||
} |
||||
} |
||||
> .text { |
||||
padding: 0 20rpx; |
||||
text-align: center; |
||||
font-size: 28rpx; |
||||
color: #999; |
||||
} |
||||
} |
||||
</style> |
@ -0,0 +1,63 @@ |
||||
<template> |
||||
<view class="info"> |
||||
<view class="title"> |
||||
油站详情 |
||||
<uni-icons type="closeempty" size="20" @click="close" /> |
||||
</view> |
||||
<view class="block"> |
||||
<view>油站开票</view> |
||||
<view |
||||
>发票需油站当天开具,请务必现场咨询油站,过期可能无法回溯发票。</view |
||||
> |
||||
</view> |
||||
</view> |
||||
</template> |
||||
|
||||
<script> |
||||
export default { |
||||
props: { |
||||
discountInfo: Object, |
||||
}, |
||||
methods: { |
||||
close() { |
||||
this.$emit("close"); |
||||
}, |
||||
}, |
||||
}; |
||||
</script> |
||||
|
||||
<style lang="scss" scoped> |
||||
.info { |
||||
min-height: 30vh; |
||||
> .title { |
||||
position: relative; |
||||
padding: 30rpx 0; |
||||
text-align: center; |
||||
> uni-icons { |
||||
position: absolute; |
||||
top: 50%; |
||||
right: 30rpx; |
||||
transform: translateY(-50%); |
||||
} |
||||
} |
||||
> .block { |
||||
margin: 20rpx auto 0; |
||||
width: 700rpx; |
||||
padding: 30rpx; |
||||
background: #fff; |
||||
border-radius: 15rpx; |
||||
> view { |
||||
&:nth-of-type(1) { |
||||
font-size: 33rpx; |
||||
font-weight: 550; |
||||
color: #333; |
||||
} |
||||
&:nth-of-type(2) { |
||||
margin-top: 20rpx; |
||||
font-size: 24rpx; |
||||
line-height: 38rpx; |
||||
} |
||||
} |
||||
} |
||||
} |
||||
</style> |
Loading…
Reference in new issue