This commit is contained in:
THK3121 2023-08-22 17:36:29 +08:00
parent b989761b83
commit ca7a5946af
3 changed files with 57 additions and 1 deletions

View File

@ -118,6 +118,15 @@
"navigationBarTextStyle": "white"
}
}, {
"path": "pages/logistics/post",
"style": {
"navigationBarTitleText": "驿站",
"enablePullDownRefresh": false,
"navigationBarBackgroundColor": "#0122C7",
"navigationBarTextStyle": "white"
}
}, {
"path": "pages/updatePasswprd/updatePasswprd",
"style": {

View File

@ -7,7 +7,6 @@
<view class="content">
<u-toast ref="uToast"></u-toast>
<view class="map">
<map :class="mapClass" id="map" @markertap='mapFun' :enable-zoom="true" :polyline="polyline"
:markers='markers' :scale="scale" style="width:100%;height: 70%;"
:latitude="markers[0].latitude" :enable-scroll="true" :longitude="markers[0].longitude">

48
pages/logistics/post.vue Normal file
View File

@ -0,0 +1,48 @@
<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>