|
|
- <template>
- <view class="payment-success">
- <view class="payment-icon">
- <image src="@/static/payment/wchat-payment-icon.png" mode="aspectFit"></image>
- <view class="payment-title">支付成功</view>
- </view>
- <view class="amount-paid">
- <view class="amount-title">
- 上门服务平台
- </view>
- <view class="paid">
- ¥{{ $route.query.price }}
- </view>
- </view>
- <view @click="toOrderList" class="complete">
- 完成
- </view>
- </view>
- </template>
-
- <script>
- export default {
- data() {
- return {
-
- }
- },
- methods: {
- toOrderList(){ //跳转订单列表
- uni.switchTab ({
- url: '/pages/index/order'
- })
- }
- }
- }
- </script>
-
- <style lang="scss" scoped>
- .payment-success{
- width: 780rpx;
- margin: 0rpx auto;
- height: 100vh;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: space-around;
-
- image{
- width: 150rpx;
- height: 150rpx;
- margin-bottom: 20rpx;
- }
-
- .payment-icon , .amount-paid {
- display: flex;
- flex-direction: column;
- align-items: center;
- }
-
- .payment-icon{
- margin-top: 60rpx;
-
- .payment-title{
- font-size: 44rpx;
- color: #19AA16;
- }
-
- }
-
- .amount-paid{
- .amount-title{
- font-size: 36rpx;
- }
- .paid{
- font-size: 90rpx;
- margin-top: 20rpx;
- }
- }
-
- .complete{
- width: 400rpx;
- height: 80rpx;
- line-height: 80rpx;
- text-align: center;
- border: 1px solid #19AA16;
- font-size: 36rpx;
- color: #19AA16;
- }
- }
- </style>
|