diff --git a/pages.json b/pages.json index da6207c..fdc3184 100644 --- a/pages.json +++ b/pages.json @@ -190,6 +190,17 @@ "group": "商品" } }, + { + "path": "point", + "style": { + "navigationBarTitleText": "积分商品" + }, + "meta": { + "sync": true, + "title": "积分商品", + "group": "商品" + } + }, { "path": "sales", "style": { diff --git a/pages/activity/point/list.vue b/pages/activity/point/list.vue new file mode 100644 index 0000000..129f988 --- /dev/null +++ b/pages/activity/point/list.vue @@ -0,0 +1,76 @@ + + + diff --git a/pages/goods/point.vue b/pages/goods/point.vue new file mode 100644 index 0000000..b5d44e3 --- /dev/null +++ b/pages/goods/point.vue @@ -0,0 +1,480 @@ + + + + + + diff --git a/pages/index/page.vue b/pages/index/page.vue index a54586b..b5d8ef3 100644 --- a/pages/index/page.vue +++ b/pages/index/page.vue @@ -3,7 +3,6 @@ { - let id = options.id; + let id = options.id // #ifdef MP // 小程序预览自定义页面 diff --git a/pages/integration/index.vue b/pages/integration/index.vue new file mode 100644 index 0000000..0b1920c --- /dev/null +++ b/pages/integration/index.vue @@ -0,0 +1,390 @@ + + + + + \ No newline at end of file diff --git a/sheep/api/promotion/point.js b/sheep/api/promotion/point.js new file mode 100644 index 0000000..d4e17b8 --- /dev/null +++ b/sheep/api/promotion/point.js @@ -0,0 +1,30 @@ +import request from '@/sheep/request'; + +const PointApi = { + // 获得积分商城活动分页 + getPointActivityPage: (params) => { + return request({ url: 'promotion/point-activity/page', method: 'GET', params }); + }, + + // 获得积分商城活动列表,基于活动编号数组 + getPointActivityListByIds: (ids) => { + return request({ + url: '/promotion/point-activity/list-by-ids', + method: 'GET', + params: { + ids, + }, + }); + }, + + // 获得积分商城活动明细 + getPointActivity: (id) => { + return request({ + url: 'promotion/point-activity/get-detail', + method: 'GET', + params: { id }, + }); + }, +}; + +export default PointApi; diff --git a/sheep/components/s-block-item/s-block-item.vue b/sheep/components/s-block-item/s-block-item.vue index 16562a9..2541b38 100644 --- a/sheep/components/s-block-item/s-block-item.vue +++ b/sheep/components/s-block-item/s-block-item.vue @@ -40,6 +40,8 @@ + + diff --git a/sheep/components/s-goods-column/s-goods-column-jf.vue b/sheep/components/s-goods-column/s-goods-column-jf.vue new file mode 100644 index 0000000..90d002d --- /dev/null +++ b/sheep/components/s-goods-column/s-goods-column-jf.vue @@ -0,0 +1,754 @@ + + + + + + diff --git a/sheep/components/s-goods-column/s-goods-column.vue b/sheep/components/s-goods-column/s-goods-column.vue index 3781f4b..a9e12da 100644 --- a/sheep/components/s-goods-column/s-goods-column.vue +++ b/sheep/components/s-goods-column/s-goods-column.vue @@ -485,6 +485,7 @@ .tag-icon { width: 72rpx; height: 44rpx; + border-radius:8px; } } .seckill-tag { @@ -587,6 +588,7 @@ // width: 228rpx; width: 100%; height: 208rpx; + border-radius:8px; } .sm-goods-content { padding: 20rpx 16rpx; diff --git a/sheep/components/s-groupon-block/s-groupon-block.vue b/sheep/components/s-groupon-block/s-groupon-block.vue index c176403..35b8a71 100644 --- a/sheep/components/s-groupon-block/s-groupon-block.vue +++ b/sheep/components/s-groupon-block/s-groupon-block.vue @@ -7,12 +7,16 @@