order_details.vue 785 B

12345678910111213141516171819202122232425262728293031323334
  1. <template style="background: #F6F6F6;">
  2. <view style="width: 100%;height: 100%;">
  3. <view class="v">
  4. <image src="https://zhengda.oss-cn-chengdu.aliyuncs.com/baoma/static/竖占位图.png" mode="aspectFit" style="width: 622rpx;height: 1030rpx;"></image>
  5. </view>
  6. </view>
  7. </template>
  8. <script>
  9. export default {
  10. data() {
  11. return {
  12. title: ''
  13. }
  14. },
  15. methods: {
  16. },
  17. onLoad: function(option) { //option为object类型,会序列化上个页面传递的参数
  18. console.log('上个页面的数据' + option.title); //打印出上个页面传递的参数。
  19. this.title = option.title
  20. }
  21. }
  22. </script>
  23. <style>
  24. .v {
  25. margin: 28rpx;
  26. padding: 36rpx;
  27. border-radius: 12px;
  28. box-shadow: 0px 2px 12px 0px rgba(0, 0, 0, 0.04);
  29. background-color: #FFFFFF
  30. }
  31. </style>