48 lines
781 B
Vue
48 lines
781 B
Vue
![]() |
<template>
|
||
|
<view class="content">
|
||
|
<u-search placeholder="搜索你的订单" @search="getOrderList" :show-action="false" bg-color="white"
|
||
|
v-model="keywords"></u-search>
|
||
|
|
||
|
|
||
|
<view class="cards">
|
||
|
|
||
|
</view>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import {
|
||
|
getList
|
||
|
} from "@/api/logistics.js"
|
||
|
|
||
|
export default {
|
||
|
data() {
|
||
|
|
||
|
return {}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
|
||
|
|
||
|
methods: {
|
||
|
// getOrderList() {
|
||
|
// console.log("列表更新")
|
||
|
// let id = JSON.parse(uni.getStorageSync('USER_INFO')).id
|
||
|
// getList({
|
||
|
// status: 1,
|
||
|
// user_id: id,
|
||
|
// keywords: this.keywords,
|
||
|
// user_type: this.is_captain
|
||
|
// }).then(res => {
|
||
|
// this.orderlist = []
|
||
|
// this.orderlist = res.data.data
|
||
|
// })
|
||
|
// }
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style lang="scss" scoped>
|
||
|
.content {
|
||
|
padding: 30rpx;
|
||
|
}
|
||
|
</style>
|