From 45faaf27722588e92050e2e3eace9b3704377048 Mon Sep 17 00:00:00 2001
From: ZZJ <zzjdsg2300@163.com>
Date: 星期六, 02 四月 2022 18:44:30 +0800
Subject: [PATCH] 首页接口

---
 src/views/index/components/productLeft.vue |   15 +++++++++++----
 1 files changed, 11 insertions(+), 4 deletions(-)

diff --git a/src/views/index/components/productLeft.vue b/src/views/index/components/productLeft.vue
index 9897cce..e69b73d 100644
--- a/src/views/index/components/productLeft.vue
+++ b/src/views/index/components/productLeft.vue
@@ -1,14 +1,21 @@
 <template>
-  <div class="productLeft" :style="{ background: ` url(${data.img})` }">
+  <div
+    class="productLeft"
+    :style="{
+      background: ` url(${data.pic})`,
+      backgroundSize: '100% 100%',
+      backgroundRepeat: 'no-repeat',
+    }"
+  >
     <div class="inner">
       <div class="title">
-        {{ data.title }}
+        {{ data.name }}
       </div>
       <div class="des">
-        {{ data.des }}
+        {{ data.desc }}
       </div>
       <div class="button">
-        <router-link :to="data.router">鏌ョ湅鍏ㄩ儴</router-link>
+        <router-link to="/product">鏌ョ湅鍏ㄩ儴</router-link>
       </div>
     </div>
   </div>

--
Gitblit v1.8.0