From 39d332348dac5bdc1f96b499bc3a81292dca35eb Mon Sep 17 00:00:00 2001 From: Junling Bu Date: Mon, 1 Jul 2019 10:06:39 +0800 Subject: [PATCH] =?UTF-8?q?refact[litemall-vue]:=20=E6=8A=8Avant=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E4=BB=8Ev1.x=E6=9B=B4=E6=96=B0=E5=88=B0v2.x?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litemall-vue/package.json | 2 +- litemall-vue/src/views/items/detail/index.vue | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/litemall-vue/package.json b/litemall-vue/package.json index a186e63b..df4a67ee 100644 --- a/litemall-vue/package.json +++ b/litemall-vue/package.json @@ -19,7 +19,7 @@ "dayjs": "^1.7.7", "js-cookie": "2.2.0", "lodash": "^4.17.11", - "vant": "^1.6.15", + "vant": "^2.0.3", "vue": "^2.5.17", "vue-router": "^3.0.1", "vuelidate": "^0.7.4" diff --git a/litemall-vue/src/views/items/detail/index.vue b/litemall-vue/src/views/items/detail/index.vue index fcc0aa60..f93b04e2 100755 --- a/litemall-vue/src/views/items/detail/index.vue +++ b/litemall-vue/src/views/items/detail/index.vue @@ -52,10 +52,10 @@ - - - - + + + + @@ -65,7 +65,7 @@ import { goodsDetail, cartGoodsCount, collectAddOrDelete, cartAdd, cartFastAdd } from '@/api/api'; -import { Sku, Swipe, SwipeItem, GoodsAction, GoodsActionBigBtn, GoodsActionMiniBtn, Popup } from 'vant'; +import { Sku, Swipe, SwipeItem, GoodsAction, GoodsActionButton, GoodsActionIcon, Popup } from 'vant'; import { setLocalStorage } from '@/utils/local-storage'; import popupProps from './popup-props'; import _ from 'lodash'; @@ -349,8 +349,8 @@ computed: { [SwipeItem.name]: SwipeItem, [Sku.name]: Sku, [GoodsAction.name]: GoodsAction, - [GoodsActionBigBtn.name]: GoodsActionBigBtn, - [GoodsActionMiniBtn.name]: GoodsActionMiniBtn, + [GoodsActionButton.name]: GoodsActionButton, + [GoodsActionIcon.name]: GoodsActionIcon, [popupProps.name]: popupProps } }