From d393b6dd9964bd22d4ab91c37a3bfb6116fd9fca Mon Sep 17 00:00:00 2001 From: qingyiay <2386314947@qq.com> Date: 星期二, 10 十月 2023 14:34:05 +0800 Subject: [PATCH] 增加状态 修改部分细节 --- components/card/card.vue | 15 +++++++-------- 1 files changed, 7 insertions(+), 8 deletions(-) diff --git a/components/card/card.vue b/components/card/card.vue index 3d99257..4dd5b4f 100644 --- a/components/card/card.vue +++ b/components/card/card.vue @@ -4,10 +4,10 @@ :style="{ background: backgroundType == 0 - ? 'url(../../../static/image/background/customer-blue.png) no-repeat' + ? 'url(https://mx.jzeg.cn:9095/appimg/image/background/customer-blue.png) no-repeat' : backgroundType == 1 - ? 'url(../../../static/image/background/huoDai.png) no-repeat' - : 'url(../../../static/image/background/driver.png) no-repeat', + ? 'url(https://mx.jzeg.cn:9095/appimg/image/background/huoDai.png) no-repeat' + : 'url(https://mx.jzeg.cn:9095/appimg/image/background/driver.png) no-repeat', backgroundSize: '100% 100%' }" > @@ -29,9 +29,9 @@ // type: Boolean, // default: false // }, - backgroundType:{ - type:Number, - default:0 + backgroundType: { + type: Number, + default: 0 }, name: { type: String, @@ -39,8 +39,7 @@ } }, data() { - return { - }; + return {}; }, methods: { bodyClick() { -- Gitblit v1.9.1