From b8a7d477f894fcffc32c2d5fb1f3ff5bf6409fc4 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期五, 07 七月 2023 14:25:41 +0800
Subject: [PATCH] 验质增加字段
---
pages/driver-page/driver-index/driver-index.vue | 20 +++++++-------------
1 files changed, 7 insertions(+), 13 deletions(-)
diff --git a/pages/driver-page/driver-index/driver-index.vue b/pages/driver-page/driver-index/driver-index.vue
index c202c4c..7f6106a 100644
--- a/pages/driver-page/driver-index/driver-index.vue
+++ b/pages/driver-page/driver-index/driver-index.vue
@@ -4,7 +4,7 @@
<view class="driver-index-body">
<!-- 寰呴鍙栨彁鐓ゅ崟 -->
<view class="wait-collection"
- style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/diverbanner.png') no-repeat;background-size:contain">
+ :style="{ backgroundImage: `url(${onlineurl}/appimg/image/banner/diverbanner.png)`, backgroundSize: 'contain', backgroundRepeat: 'no-repeat' }">
</view>
<view class="collection-form">
<view class="collection-form-item"
@@ -43,13 +43,6 @@
</text>
</view>
- </view>
- </view>
- <view class="second-line">
- <view class="coal-name">
- <u-tag :text="coalStatus[item.statusWeigh] || '鏈О閲�'"
- plain>
- </u-tag>
</view>
</view>
<view class="third-line">
@@ -131,11 +124,11 @@
size="40"></u-icon></view>
</view>
</view>
- <view class="status">
+ <!-- <view class="status">
<u-tag :text="coalStatus[item.statusWeigh] || ''"
plain>
</u-tag>
- </view>
+ </view> -->
<view class="third-line">
<view class="clock">
<view class="time-icon"><u-icon name="clock"
@@ -241,7 +234,7 @@
<script>
import { customerId } from '@/utils/status';
import combinedTitle from '@/components/combined-title/combined-title.vue';
-
+ import { onlineurl } from '@/api/request.js'
export default {
components: {
combinedTitle
@@ -276,7 +269,8 @@
fleetId: '',
xsUserId: '',
customerId: '',
- coalStatus: ['鏈О閲�', '绉伴噸涓�', '楠岃川涓�', '绉伴噸瀹屾垚']
+ coalStatus: ['鏈О閲�', '绉伴噸涓�', '楠岃川涓�', '绉伴噸瀹屾垚'],
+ onlineurl,
};
},
onShow() {
@@ -476,7 +470,7 @@
.collection-form-item {
width: vww(345);
- height: vww(220);
+ height: vww(195);
margin-top: vww(5);
background: #ffffff;
box-shadow: 4rpx 6rpx 25rpx 0rpx rgba(73, 120, 240, 0.15);
--
Gitblit v1.9.1