offline.vue 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <template>
  2. <view class="bg vh100 pt-30 flex flex-column">
  3. <view class="u-flex-1">
  4. <view class="text-center ptb-100 mlr-30 radius-10 bg-white">
  5. <view class="size-50 red bold center">{{price}}<view class="size-30 ml-10">元</view></view>
  6. <view class="mt-20 size-26">订单总计</view>
  7. </view>
  8. <view class="mt-80 plr-36">
  9. <view class="mb-20">温馨提示</view>
  10. <view class="gray-2 size-28 mt-15">
  11. 1、线下结算产生的平台服务费,请在个人中心缴纳;
  12. </view>
  13. <view class="gray-2 size-28 mt-15">
  14. 2、欠缴的平台服务费达到平台设置的限额,将无法接单;
  15. </view>
  16. <view class="gray-2 size-28 mt-15">
  17. 3、请确认收到付款后进行确认操作,否则造成损失平台概不负责
  18. </view>
  19. </view>
  20. </view>
  21. <view @click="getMoney" class="bg-blue radius-10 ptb-25 center white bold mb-100" style="width: 90%;">确认收到付款</view>
  22. </view>
  23. </template>
  24. <script>
  25. export default {
  26. data() {
  27. return {
  28. price:'',
  29. id:''
  30. };
  31. },
  32. onLoad(option) {
  33. this.price = option.price
  34. this.id = option.id
  35. },
  36. methods:{
  37. getMoney(){
  38. this.$http('/addons/ddrive/order/offline', {
  39. order_id: this.id
  40. }, "POST").then(() => {
  41. uni.navigateBack({
  42. })
  43. })
  44. }
  45. }
  46. }
  47. </script>
  48. <style lang="scss">
  49. </style>