diff --git a/sheep/api/product/spu.js b/sheep/api/product/spu.js
new file mode 100644
index 0000000000000000000000000000000000000000..8376666835598c7b92f9a49916d8305887f1d55e
--- /dev/null
+++ b/sheep/api/product/spu.js
@@ -0,0 +1,36 @@
+import request from '@/sheep/request';
+
+export default {
+ // 获得商品 SPU 列表
+ getSpuList: (recommendType) => {
+ return request({
+ url: '/app-api/product/spu/list',
+ method: 'GET',
+ params: {recommendType},
+ });
+ },
+ // 获得商品 SPU 列表
+ getSpuListByIds: (ids) => {
+ return request({
+ url: '/app-api/product/spu/list-by-ids',
+ method: 'GET',
+ params: {ids},
+ });
+ },
+ // 获得商品 SPU 分页
+ getSpuPage: (data) => {
+ return request({
+ url: '/app-api/product/spu/page',
+ method: 'GET',
+ data
+ });
+ },
+ // 查询商品
+ getSpuDetail: (id) => {
+ return request({
+ url: '/app-api/product/spu/get-detail',
+ method: 'GET',
+ params: { id },
+ });
+ }
+};
diff --git a/sheep/components/s-block-item/s-block-item.vue b/sheep/components/s-block-item/s-block-item.vue
index e4e4f0b0a2f832c9c88ea424ed180fdc59b65bfb..e0be2c48ebc98240678816429f8e95af26523b31 100644
--- a/sheep/components/s-block-item/s-block-item.vue
+++ b/sheep/components/s-block-item/s-block-item.vue
@@ -29,7 +29,7 @@
-
+
diff --git a/sheep/components/s-goods-card/s-goods-card.vue b/sheep/components/s-goods-card/s-goods-card.vue
index 8aeba1f145e6339330c425926fa42d1b76105716..91441647ecf36b12ed8eb2eb17545e53f9de9dc1 100644
--- a/sheep/components/s-goods-card/s-goods-card.vue
+++ b/sheep/components/s-goods-card/s-goods-card.vue
@@ -1,8 +1,8 @@
-
-
+
+
+
-
+
@@ -45,20 +46,21 @@
+
@@ -74,20 +76,21 @@
+
@@ -95,8 +98,8 @@
-
-
+
+
+
@@ -128,11 +132,21 @@
diff --git a/sheep/components/s-goods-column/s-goods-column.vue b/sheep/components/s-goods-column/s-goods-column.vue
index 31559cb2b6013b27c43d78e8ac7cbec219be7217..8cf57c763dede69789ead87b042afd67ed98a14c 100644
--- a/sheep/components/s-goods-column/s-goods-column.vue
+++ b/sheep/components/s-goods-column/s-goods-column.vue
@@ -21,7 +21,7 @@
class="xs-goods-title ss-line-1"
:style="[{ color: titleColor, width: titleWidth ? titleWidth + 'rpx' : '' }]"
>
- {{ data.title }}
+ {{ data.title || data.name }}
- {{ data.title }}
+ {{ data.title || data.name }}
- {{ data.title||data.name }}
+ {{ data.title || data.name }}
- {{ data.subtitle }}
+ {{ data.subtitle || data.introduction }}
@@ -149,14 +149,14 @@
class="lg-goods-title ss-line-2"
:style="[{ color: titleColor }]"
>
- {{ data.title||data.name }}
+ {{ data.title || data.name }}
- {{ data.subtitle }}
+ {{ data.subtitle || data.introduction }}
@@ -213,14 +213,14 @@
class="sl-goods-title ss-line-1"
:style="[{ color: titleColor }]"
>
- {{ data.title||data.name }}
+ {{ data.title || data.name }}
- {{ data.subtitle }}
+ {{ data.subtitle || data.introduction }}