diff --git a/api/user.js b/api/user.js index 059e450..ebfe155 100644 --- a/api/user.js +++ b/api/user.js @@ -576,4 +576,13 @@ export function getUserSpreadRule(param) { */ export function getHistory(params) { return request.get('/history/list', params) +} + +/** + * 购物车猜你喜欢 + * @param {*} params + * @returns + */ +export function getUserLike(params) { + return request.get('/cart/guessYouLike',params) } \ No newline at end of file diff --git a/assets/css/v12-style.less b/assets/css/v12-style.less index 5cbea89..a5a4b62 100644 --- a/assets/css/v12-style.less +++ b/assets/css/v12-style.less @@ -3,8 +3,8 @@ @dark-color: #333333; @white-color: #fff; -@colors: #C52733, #333333, #fff, #666, #F0F0F0, #999999, #E92727; -@classnames: primary, dark, white, secondary-dark, grey, dark1, red; +@colors: #C52733, #333333, #fff, #666, #F0F0F0, #999999, #E92727, #FFC543; +@classnames: primary, dark, white, secondary-dark, grey, dark1, red, yellow; /*=====================================*/ each(@colors, { diff --git a/pages/cart.vue b/pages/cart.vue index 4f85e0b..14b98ce 100644 --- a/pages/cart.vue +++ b/pages/cart.vue @@ -23,8 +23,7 @@ - + + + + + + + + + + + + + + + {{ item.storeName }} + + + {{ item.bestContent }} + + + + {{ item.couponName }} + + + + + {{ item.price }} + + + + + + + + + - + \ No newline at end of file