From f5427eeb16cadd3b0534454ab3c92df6f0ec1536 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期日, 02 七月 2023 16:49:13 +0800
Subject: [PATCH] 图片地址替换
---
pages/customer-page/customer-index/customer-index.vue | 20 +++++++++++++-------
1 files changed, 13 insertions(+), 7 deletions(-)
diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue
index f6bb3e3..e7df02e 100644
--- a/pages/customer-page/customer-index/customer-index.vue
+++ b/pages/customer-page/customer-index/customer-index.vue
@@ -4,7 +4,7 @@
<view class="customer-index-body">
<!-- 寰呴鍙栧拰杞彂鎻愮叅鍗� -->
<view class="wait-collection"
- style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/customerbanner.png') ;background-size:contain;background-repeat: no-repeat;">
+ :style="{ backgroundImage: `url(${onlineurl}/appimg/image/banner/customerbanner.png)`, backgroundSize: 'contain', backgroundRepeat: 'no-repeat' }">
</view>
<view style="position: relative;top: -120px;">
<u-empty mode="data"
@@ -39,7 +39,7 @@
<view class="third-line">
<view class="time-icon">
<view
- style="width: 24rpx;height: 24rpx;li ne-height: 24rpx;background: url('https://mx.jzeg.cn:9095/appimg/image/banner/carNO.png') no-repeat;background-size: cover">
+ :style="{backgroundImage: `url(${onlineurl}/appimg/image/banner/carNO.png)`,backgroundSize: 'cover',backgroundRepeat: 'no-repeat',width:'24rpx',height:'24rpx',lineHeight:'24rpx'}">
</view>
</view>
<view class="car-num">{{ item.carNos||item.carNo||''}}</view>
@@ -47,7 +47,7 @@
<view class="third-line">
<view class="time-icon">
<view
- style="width: 24rpx;height: 24rpx;li ne-height: 24rpx;background: url('https://mx.jzeg.cn:9095/appimg/image/banner/clock.png') no-repeat;background-size: cover">
+ :style="{backgroundImage: `url(${onlineurl}/appimg/image/banner/clock.png)`,backgroundSize: 'cover',backgroundRepeat: 'no-repeat',width:'24rpx',height:'24rpx',lineHeight:'24rpx'}">
</view>
</view>
<view class="send-date">{{ item.sendDate }}</view>
@@ -118,7 +118,7 @@
<view class="fourth">
<view class="fourth-icon">
<view
- style="width: 24rpx;height: 24rpx;line-height: 24rpx;background: url('https://mx.jzeg.cn:9095/appimg/image/banner/clock.png') no-repeat;background-size: cover">
+ :style="{backgroundImage: `url(${onlineurl}/appimg/image/banner/clock.png)`,backgroundSize: 'cover',backgroundRepeat: 'no-repeat',width:'24rpx',height:'24rpx',lineHeight:'24rpx'}">
</view>
</view>
<view class="senddate">{{ item.sendDate }}</view>
@@ -126,7 +126,7 @@
<view class="fourth">
<view class="fourth-icon">
<view
- style="width: 26rpx;height: 26rpx;line-height: 26rpx;background: url('https://mx.jzeg.cn:9095/appimg/image/banner/carnNUm.png') no-repeat;background-size: cover;">
+ :style="{backgroundImage: `url(${onlineurl}/appimg/image/banner/carnNUm.png)`,backgroundSize: 'cover',backgroundRepeat: 'no-repeat',width:'26rpx',height:'26rpx',lineHeight:'26rpx'}">
</view>
</view>
<view class="senddate">{{ item.orderCode }}</view>
@@ -189,7 +189,7 @@
computed: {
roleType() {
return uni.getStorageSync('roleType');
- }
+ },
},
data() {
return {
@@ -223,12 +223,12 @@
onLoad() {},
onShow() {
this.init();
- this.onlineurl = onlineurl;
},
methods: {
init() {
this.GetOrderPlan();
this.getJhOrderPlanDataPage();
+ this.onlineurl = onlineurl;
},
// 鑾峰彇鍙戣繍璁″垝鍒楄〃
GetOrderPlan() {
@@ -599,6 +599,12 @@
overflow: hidden;
text-overflow: ellipsis;
}
+
+ .time-icon {
+ width: 24rpx;
+ height: 24rpx;
+ line-height: 24rpx;
+ }
}
.fourth-line {
--
Gitblit v1.9.1