1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253 |
- <template>
- <view class="content">
- <ali :datas="data.traces" ></ali>
- </view>
- </template>
- <script>
- import ali from '@/components/WuLiu-step.vue';
- export default {
- components: {
- ali
- },
- data() {
- return {
- data: {
- traces: []
- }
- };
- },
- onLoad(option) {
- const that = this
- uni.showLoading({
- title: '正在查询'
- })
- that.$api.request('get', 'order/app/queryShip', {
- orderNo : option.orderno
- }, failres => {
- uni.hideLoading()
- uni.showModal({
- title: '提示',
- content: failres.msg,
- confirmText: '确定',
- success: () => {
- uni.navigateBack()
- }
- })
- }).then(res => {
- uni.hideLoading()
- that.data = res.data
- that.data.traces = that.data.traces.reverse()
- })
- },
- methods: {
- }
- };
- </script>
- <style>
- .content {
- }
- </style>
|