|
|
@ -1,7 +1,7 @@
|
|
|
|
<script setup lang="ts">
|
|
|
|
<script setup lang="ts">
|
|
|
|
import { driverMemberInfo } from '@/services/home'
|
|
|
|
import { driverMemberInfo } from '@/services/home'
|
|
|
|
import { useMemberStore } from '@/stores'
|
|
|
|
import { useMemberStore } from '@/stores'
|
|
|
|
import { onLoad } from '@dcloudio/uni-app'
|
|
|
|
import { onLoad, onShow } from '@dcloudio/uni-app'
|
|
|
|
import { ENV } from '@/utils/env'
|
|
|
|
import { ENV } from '@/utils/env'
|
|
|
|
import { ref } from 'vue'
|
|
|
|
import { ref } from 'vue'
|
|
|
|
// 获取屏幕边界到安全区域距离
|
|
|
|
// 获取屏幕边界到安全区域距离
|
|
|
@ -27,7 +27,7 @@ const getAvateInfo = () => {
|
|
|
|
// feilUrl + res.data.avatar
|
|
|
|
// feilUrl + res.data.avatar
|
|
|
|
const feilUrl = ref()
|
|
|
|
const feilUrl = ref()
|
|
|
|
// 挂载
|
|
|
|
// 挂载
|
|
|
|
onLoad(() => {
|
|
|
|
onShow(() => {
|
|
|
|
getAvateInfo()
|
|
|
|
getAvateInfo()
|
|
|
|
})
|
|
|
|
})
|
|
|
|
</script>
|
|
|
|
</script>
|
|
|
@ -118,8 +118,10 @@ onLoad(() => {
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
|
<!-- 司机认证 -->
|
|
|
|
<!-- 司机认证 -->
|
|
|
|
<view class="navate">
|
|
|
|
<view class="navate">
|
|
|
|
<view style="">
|
|
|
|
<view style="display: flex">
|
|
|
|
|
|
|
|
<view>
|
|
|
|
<uni-icons type="wallet" size="20"></uni-icons>
|
|
|
|
<uni-icons type="wallet" size="20"></uni-icons>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
<text style="margin-left: 5px">司机认证</text>
|
|
|
|
<text style="margin-left: 5px">司机认证</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
@ -129,8 +131,10 @@ onLoad(() => {
|
|
|
|
|
|
|
|
|
|
|
|
<!-- 我的车辆 -->
|
|
|
|
<!-- 我的车辆 -->
|
|
|
|
<view class="navate">
|
|
|
|
<view class="navate">
|
|
|
|
|
|
|
|
<view style="display: flex">
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
|
<uni-icons type="wallet" size="20"></uni-icons>
|
|
|
|
<uni-icons type="wallet" size="20"></uni-icons>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
<text style="margin-left: 5px">我的车辆</text>
|
|
|
|
<text style="margin-left: 5px">我的车辆</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
@ -139,8 +143,10 @@ onLoad(() => {
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 我的车队 -->
|
|
|
|
<!-- 我的车队 -->
|
|
|
|
<view class="navate">
|
|
|
|
<view class="navate">
|
|
|
|
|
|
|
|
<view style="display: flex">
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
|
<uni-icons type="wallet" size="20"></uni-icons>
|
|
|
|
<uni-icons type="wallet" size="20"></uni-icons>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
<text style="margin-left: 5px">我的车队</text>
|
|
|
|
<text style="margin-left: 5px">我的车队</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
@ -149,8 +155,10 @@ onLoad(() => {
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<!-- 我的钱包 -->
|
|
|
|
<!-- 我的钱包 -->
|
|
|
|
<view class="navate" style="border-bottom: none; margin-bottom: 0">
|
|
|
|
<view class="navate" style="border-bottom: none; margin-bottom: 0">
|
|
|
|
|
|
|
|
<view style="display: flex">
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
|
<uni-icons type="wallet" size="20"></uni-icons>
|
|
|
|
<uni-icons type="wallet" size="20"></uni-icons>
|
|
|
|
|
|
|
|
</view>
|
|
|
|
<text style="margin-left: 5px">我的钱包</text>
|
|
|
|
<text style="margin-left: 5px">我的钱包</text>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view>
|
|
|
|
<view>
|
|
|
|