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 | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/pages/driver-page/driver-index/driver-index.vue b/pages/driver-page/driver-index/driver-index.vue index 13f4f87..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" @@ -234,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 @@ -269,7 +269,8 @@ fleetId: '', xsUserId: '', customerId: '', - coalStatus: ['鏈О閲�', '绉伴噸涓�', '楠岃川涓�', '绉伴噸瀹屾垚'] + coalStatus: ['鏈О閲�', '绉伴噸涓�', '楠岃川涓�', '绉伴噸瀹屾垚'], + onlineurl, }; }, onShow() { -- Gitblit v1.9.1