diff --git a/buyer/docker.sh b/buyer/docker.sh index e5bdb92f..eb7d259c 100644 --- a/buyer/docker.sh +++ b/buyer/docker.sh @@ -1 +1 @@ -docker build -t registry.cn-beijing.aliyuncs.com/lili-images/buyer-ui-1.0.1:0.0.4 . +docker build -t registry.cn-beijing.aliyuncs.com/lili-images/buyer-ui-4.2.0:0.0.2 . diff --git a/buyer/src/App.vue b/buyer/src/App.vue index 56da9df3..71dbc4bc 100644 --- a/buyer/src/App.vue +++ b/buyer/src/App.vue @@ -31,7 +31,6 @@ export default { diff --git a/buyer/src/assets/images/decorate.png b/buyer/src/assets/images/decorate.png new file mode 100644 index 00000000..7701d18a Binary files /dev/null and b/buyer/src/assets/images/decorate.png differ diff --git a/buyer/src/components/goodsDetail/ShowGoods.vue b/buyer/src/components/goodsDetail/ShowGoods.vue index 32536da6..4419ac19 100644 --- a/buyer/src/components/goodsDetail/ShowGoods.vue +++ b/buyer/src/components/goodsDetail/ShowGoods.vue @@ -84,14 +84,14 @@ -
+

{{ sku.name }}

-
-
+

{{ item.value }}

@@ -111,7 +111,7 @@ 库存{{skuDetail.quantity}}
-
+

重量

@@ -151,7 +151,7 @@ export default { count: 1, // 商品数量 imgIndex: 0, // 展示图片下标 currentSelceted: [], // 当前商品sku - imgList: this.detail.data.specList[0].specImage || [], // 商品图片列表 + imgList: this.detail.data.specList[0].specImage || [{}], // 商品图片列表 skuDetail: this.detail.data, // sku详情 goodsSpecList: this.detail.specs, // 商品spec promotionMap: { // 活动状态 @@ -170,14 +170,14 @@ export default { Promotion }, methods: { - select (index, id, valueId) { // 选择规格 - this.$set(this.currentSelceted, index, valueId); + select (index, value) { // 选择规格 + this.$set(this.currentSelceted, index, value); let selectedSkuId = this.goodsSpecList.find((i) => { let matched = true; let specValues = i.specValues.filter((j) => j.specName !== 'images'); for (let n = 0; n < specValues.length; n++) { - if (specValues[n].specValueId !== this.currentSelceted[n]) { + if (specValues[n].specValue !== this.currentSelceted[n]) { matched = false; return; } @@ -267,15 +267,12 @@ export default { }, formatSku (list) { // 格式化数据 - let arr = [{}]; list.forEach((item, index) => { item.specValues.forEach((spec, specIndex) => { - let id = spec.specNameId; let name = spec.specName; let values = { - id: spec.specValueId, value: spec.specValue, quantity: item.quantity }; @@ -287,7 +284,7 @@ export default { if ( arrItem.name === name && arrItem.values && - !arrItem.values.find((i) => i.id === values.id) + !arrItem.values.find((i) => i.value === values.value) ) { arrItem.values.push(values); } @@ -297,7 +294,6 @@ export default { }); if (!keys.includes(name)) { arr.push({ - id: id, name: name, values: [values] }); @@ -312,7 +308,7 @@ export default { if (cur) { cur.specValues.filter((i) => i.specName !== 'images') .forEach((value, _index) => { - this.currentSelceted[_index] = value.specValueId; + this.currentSelceted[_index] = value.specValue; }); } this.skuList = list; diff --git a/buyer/src/components/goodsDetail/ShowGoodsDetail.vue b/buyer/src/components/goodsDetail/ShowGoodsDetail.vue index 647c0b69..ab2ca565 100644 --- a/buyer/src/components/goodsDetail/ShowGoodsDetail.vue +++ b/buyer/src/components/goodsDetail/ShowGoodsDetail.vue @@ -87,11 +87,16 @@
- - - - -
{{param.paramName}}{{param.paramValue}}
+
暂无商品参数
@@ -131,7 +136,7 @@ export default { } }, methods: { - changeHeight (name) { // 设置商品详情高度 + changeHeight (name) { // 设置商品详情高度 let heightCss = window.getComputedStyle(this.$refs[name]).height; heightCss = parseInt(heightCss.substr(0, heightCss.length - 2)) + 89; this.$refs.itemIntroDetail.style.height = heightCss + 'px'; @@ -484,17 +489,28 @@ export default { color: $theme_color; } table{ - border-color: #eee; + border-color:#efefef; color: #999; - width: 70%; + min-width: 30%; margin-left: 10px; + font-size: 12px; tr{ td:nth-child(1){ - width: 200px; + min-width: 70px; + } + td:nth-child(2){ + padding-left: 10px; } } td{ - padding: 5px; + padding: 6px; } } +.goods-params { + display: flex; + align-items: center; + border-bottom: 1px solid #eee; + margin-left: 30px; + span{color:#999} +} diff --git a/buyer/src/components/indexDecorate/modelForm.vue b/buyer/src/components/indexDecorate/modelForm.vue index 192f93f8..9b1c4dc1 100644 --- a/buyer/src/components/indexDecorate/modelForm.vue +++ b/buyer/src/components/indexDecorate/modelForm.vue @@ -27,7 +27,7 @@ export default { .model-content { width: 1200px; margin: 0 auto; - background: #fff; + // background: #fff; min-height: 1200px; } diff --git a/buyer/src/components/indexDecorate/modelFormItem.vue b/buyer/src/components/indexDecorate/modelFormItem.vue index 0d76d6fa..efd266fd 100644 --- a/buyer/src/components/indexDecorate/modelFormItem.vue +++ b/buyer/src/components/indexDecorate/modelFormItem.vue @@ -123,22 +123,7 @@ export default { .model-item { position: relative; margin-bottom: 20px; - &:hover { - .del-btn { - display: block; - } - } -} -.del-btn { - width: 100px; - height: 100px; - display: none; - position: absolute; - right: -100px; - top: 0; - &:hover { - display: block; - } + background-color: #fff; } /** 热门广告 */ diff --git a/buyer/src/components/indexDecorate/modelList/carousel.vue b/buyer/src/components/indexDecorate/modelList/carousel.vue index 45c6be95..182c0051 100644 --- a/buyer/src/components/indexDecorate/modelList/carousel.vue +++ b/buyer/src/components/indexDecorate/modelList/carousel.vue @@ -94,6 +94,7 @@ export default { width: 1200px; height: 340px; overflow: hidden; + margin-top: -20px; } /* 导航主体 */ diff --git a/buyer/src/components/indexDecorate/modelList/firstPageAdvert.vue b/buyer/src/components/indexDecorate/modelList/firstPageAdvert.vue index 7d35c935..687af8f5 100644 --- a/buyer/src/components/indexDecorate/modelList/firstPageAdvert.vue +++ b/buyer/src/components/indexDecorate/modelList/firstPageAdvert.vue @@ -31,7 +31,7 @@ export default { return { options: this.data.options // 装修数据 }; - }, + } }; diff --git a/manager/src/views/lili-floor-renovation/renovation.vue b/manager/src/views/lili-floor-renovation/renovation.vue index 48ff7743..a0ec292d 100644 --- a/manager/src/views/lili-floor-renovation/renovation.vue +++ b/manager/src/views/lili-floor-renovation/renovation.vue @@ -52,6 +52,8 @@ export default { pageData: modelForm, pageShow, }; + console.log(this.modelForm); + API_floor.updateHome(this.$route.query.id, data).then((res) => { if (res.success) { this.$Message.success("保存模板成功"); diff --git a/seller/docker.sh b/seller/docker.sh index 0ea021cd..c81e65bf 100644 --- a/seller/docker.sh +++ b/seller/docker.sh @@ -1 +1 @@ -docker build -t registry.cn-beijing.aliyuncs.com/lili-images/seller-ui-1.0.1:0.0.4 . +docker build -t registry.cn-beijing.aliyuncs.com/lili-images/seller-ui-4.2.0:0.0.2 . diff --git a/seller/src/api/order.js b/seller/src/api/order.js index ce14778d..60872d72 100644 --- a/seller/src/api/order.js +++ b/seller/src/api/order.js @@ -12,6 +12,10 @@ export const verificationCode = verificationCode => { export const downLoadDeliverExcel = params => { return getRequest(`/orders/downLoadDeliverExcel`, params, 'blob'); }; +// 导出待发货订单 +export const queryExportOrder = params => { + return getRequest(`/orders/queryExportOrder`, params); +}; // 上传待发货的订单列表 diff --git a/seller/src/config/index.js b/seller/src/config/index.js index 53b93578..ec12ba69 100644 --- a/seller/src/config/index.js +++ b/seller/src/config/index.js @@ -22,6 +22,10 @@ export default { buyer: 'https://buyer-api.pickmall.cn', seller: 'https://store-api.pickmall.cn', manager: 'https://admin-api.pickmall.cn', + // common: 'http://192.168.0.109:8890', + // buyer: 'http://192.168.0.109:8888', + // seller: 'http://192.168.0.109:8889', + // manager: 'http://192.168.0.109:8887' }, api_prod: { diff --git a/seller/src/views/goods/goods-seller/goodsOperation.vue b/seller/src/views/goods/goods-seller/goodsOperation.vue index f88e7c76..b061b591 100644 --- a/seller/src/views/goods/goods-seller/goodsOperation.vue +++ b/seller/src/views/goods/goods-seller/goodsOperation.vue @@ -776,6 +776,7 @@ export default { this.activestep = 0; this.isPublish = true; this.GET_GoodsTemplate(); + this.GET_NextLevelCategory(); }, // 获取已选模板 @@ -790,6 +791,8 @@ export default { handleClickGoodsTemplate(val) { this.draftId = val.id; this.selectGoodsType = false; + this.GET_GoodData(); + this.activestep = 1; }, // 点击商品类型 handleClickGoodsType(val) { diff --git a/seller/src/views/order/order/orderDetail.vue b/seller/src/views/order/order/orderDetail.vue index 4519ad62..57c72e5e 100644 --- a/seller/src/views/order/order/orderDetail.vue +++ b/seller/src/views/order/order/orderDetail.vue @@ -63,7 +63,7 @@
发票金额:
-
{{ orderInfo.receipt.receiptPrice ? orderInfo.receipt.receiptPrice : '暂无' | unitPrice('¥')}}
+
{{ orderInfo.receipt.receiptPrice ? orderInfo.receipt.receiptPrice : '暂无' | unitPrice}}
diff --git a/seller/src/views/order/order/orderList.vue b/seller/src/views/order/order/orderList.vue index c577c26c..6b197f29 100644 --- a/seller/src/views/order/order/orderList.vue +++ b/seller/src/views/order/order/orderList.vue @@ -30,8 +30,19 @@ + + +
-
+
@@ -43,8 +54,13 @@