diff --git a/buyer/src/pages/forgetPassword.vue b/buyer/src/pages/forgetPassword.vue index 511cffb3..322c6e50 100644 --- a/buyer/src/pages/forgetPassword.vue +++ b/buyer/src/pages/forgetPassword.vue @@ -93,13 +93,13 @@
- 帮助 - 隐私 - 条款 + 帮助 + 隐私 + 条款 Copyright © 2020 - Present - lili-shop 版权所有 diff --git a/manager/src/views/distribution/distributionGoods.vue b/manager/src/views/distribution/distributionGoods.vue index a78c5830..05acecf5 100644 --- a/manager/src/views/distribution/distributionGoods.vue +++ b/manager/src/views/distribution/distributionGoods.vue @@ -67,10 +67,12 @@ export default { { type: "selection", width: 60, - align: "center" + align: "center", + fixed: "left", }, { title: "商品图片", + fixed: "left", key: "thumbnail", width: 120, align: "center", diff --git a/manager/src/views/main-components/footer.vue b/manager/src/views/main-components/footer.vue index 666ae443..e471877c 100644 --- a/manager/src/views/main-components/footer.vue +++ b/manager/src/views/main-components/footer.vue @@ -8,7 +8,7 @@ Copyright © 2020 - Present lili-shop {{ $t('rights') }} diff --git a/manager/src/views/order/order/orderList.vue b/manager/src/views/order/order/orderList.vue index c78cb517..ae5d0fd6 100644 --- a/manager/src/views/order/order/orderList.vue +++ b/manager/src/views/order/order/orderList.vue @@ -40,7 +40,7 @@
- @@ -72,10 +72,6 @@ export default { 订单编号: "sn", 下单时间: "createTime", 客户名称: "memberName", - 客户账号: "", - 收货人: "", - 收货人手机号: "", - 收货人地址: "", 支付方式: { field: "clientType", callback: (value) => { @@ -92,15 +88,7 @@ export default { } }, }, - 配送方式: "", - 配送费用: "", - 订单商品金额: "", - 订单优惠金额: "", - 订单应付金额: "", - 商品SKU编号: "", 商品数量: "groupNum", - 买家备注: "", - 订单状态: "", 付款状态: { field: "payStatus", callback: (value) => { @@ -111,9 +99,6 @@ export default { : ""; }, }, - 发货状态: "", - 发票类型: "", - 发票抬头: "", 店铺: "storeName", }, loading: true, // 表单加载状态 @@ -222,56 +207,23 @@ export default { title: "下单时间", key: "createTime", width: 170, - sortable: true, - sortType: "desc", }, - { title: "操作", key: "action", align: "center", width: 150, render: (h, params) => { - return h("div", [ - h( - "Button", - - { - props: { - type: "primary", - size: "small", - }, - attrs: { - disabled: params.row.orderStatus == "UNPAID" ? false : true, - }, - style: { - marginRight: "5px", - }, - on: { - click: () => { - this.confirmPrice(params.row); - }, - }, - }, - "收款" + return h("div", [h("Button", {props: {type: "primary", size: "small",}, + attrs: {disabled: params.row.orderStatus == "UNPAID" ? false : true,}, + style: {marginRight: "5px",}, + on: {click: () => {this.confirmPrice(params.row);},}, + }, "收款" ), - h( - "Button", - { - props: { - type: "info", - size: "small", - }, - style: { - marginRight: "5px", - }, - on: { - click: () => { - this.detail(params.row); - }, - }, - }, - "查看" + h("Button", {props: {type: "info", size: "small",}, + style: {marginRight: "5px",}, + on: {click: () => {this.detail(params.row);},}, + }, "查看" ), ]); }, diff --git a/manager/src/views/page/article-manage/articleList.vue b/manager/src/views/page/article-manage/articleList.vue index 360492c8..cc66d389 100644 --- a/manager/src/views/page/article-manage/articleList.vue +++ b/manager/src/views/page/article-manage/articleList.vue @@ -57,7 +57,7 @@ - + @@ -435,28 +435,13 @@ export default { this.form.categoryId = res.result.categoryId; this.treeValue = data.articleCategoryName; this.form.id = data.id; - this.form.content = htmlEscape(res.result.content); + this.form.content =res.result.content; this.form.title = res.result.title; this.form.sort = res.result.sort; this.form.openStatus = res.result.openStatus; } }); }, - - htmlEscape(text) { - return text.replace(/[<>"&]/g, function (match, pos, originalText) { - switch (match) { - case "<": - return "<"; - case ">": - return ">"; - case "&": - return "&"; - case '"': - return """; - } - }); - }, remove(v) { this.$Modal.confirm({ title: "确认删除", diff --git a/manager/src/views/promotion/coupon/coupon.vue b/manager/src/views/promotion/coupon/coupon.vue index 306a25af..b39dd19d 100644 --- a/manager/src/views/promotion/coupon/coupon.vue +++ b/manager/src/views/promotion/coupon/coupon.vue @@ -161,7 +161,7 @@ export default { }, { title: "活动时间", - + width: 150, render: (h, params) => { if (params.row.getType === "ACTIVITY") { return h("div", "长期有效"); diff --git a/manager/src/views/promotion/pointsGoods/pointsGoods.vue b/manager/src/views/promotion/pointsGoods/pointsGoods.vue index dd209a87..fcb82b30 100644 --- a/manager/src/views/promotion/pointsGoods/pointsGoods.vue +++ b/manager/src/views/promotion/pointsGoods/pointsGoods.vue @@ -2,78 +2,37 @@ @@ -159,55 +85,62 @@ export default { pageSize: 10, // 页面大小 order: "desc", // 默认排序方式 }, - statusList: [ // 活动状态 + statusList: [ + // 活动状态 { label: "未开始", value: "NEW" }, { label: "已开始", value: "START" }, { label: "已结束", value: "END" }, { label: "已关闭", value: "CLOSE" }, ], - columns: [ // 表头 + columns: [ + // 表头 { title: "商品名称", slot: "goodsName", - minWidth: 120, + minWidth: 150, + fixed: "left", tooltip: true, }, { title: "市场价", slot: "price", + width: 100, }, { title: "结算价", slot: "settlementPrice", + width: 100, }, - { - title: "分类", - key: "pointsGoodsCategoryName", - }, + { title: "库存数量", slot: "quantity", + width: 100, }, { title: "活动剩余库存", key: "activeStock", + width: 150, }, { title: "兑换积分", key: "points", + width: 100, }, { title: "所属店铺", key: "storeName", + width: 100, }, { title: "活动开始时间", slot: "startTime", - minWidth:100 + minWidth: 150, }, { title: "状态", key: "promotionStatus", + width: 100, render: (h, params) => { let text = "未知", color = ""; @@ -227,10 +160,16 @@ export default { return h("div", [h("Tag", { props: { color: color } }, text)]); }, }, + { + title: "分类", + key: "pointsGoodsCategoryName", + width: 100, + }, { title: "操作", slot: "action", align: "center", + fixed: "right", width: 150, }, ], @@ -327,5 +266,5 @@ export default { }; diff --git a/manager/src/views/promotion/seckill/seckill.vue b/manager/src/views/promotion/seckill/seckill.vue index f8b32ce4..7ee3c957 100644 --- a/manager/src/views/promotion/seckill/seckill.vue +++ b/manager/src/views/promotion/seckill/seckill.vue @@ -102,13 +102,13 @@ export default { width: 100, render: (h, params) => { if (params.row.promotionStatus == "NEW") { - return h("Tag", {props: {color: "volcano",},},"新建"); + return h("Tag", {props: {color: "geekblue",},},"新建"); } else if (params.row.promotionStatus == "START") { - return h("Tag", {props: {color: "blue",},},"开始"); + return h("Tag", {props: {color: "green",},},"开始"); } else if (params.row.promotionStatus == "END") { - return h("Tag", {props: {color: "green",},},"结束"); - } else if (params.row.promotionStatus == "CLOSE") { return h("Tag", {props: {color: "volcano",},},"结束"); + } else if (params.row.promotionStatus == "CLOSE") { + return h("Tag", {props: {color: "red",},},"结束"); } }, }, diff --git a/seller/src/views/goods/goods-seller/goods.vue b/seller/src/views/goods/goods-seller/goods.vue index 48bae50e..d0d7a00e 100644 --- a/seller/src/views/goods/goods-seller/goods.vue +++ b/seller/src/views/goods/goods-seller/goods.vue @@ -4,7 +4,7 @@
- + - + @@ -55,8 +55,7 @@
- +
@@ -67,15 +66,21 @@ - + - -
+ + +
+
+ + + +
+
@@ -86,8 +91,7 @@ - + 卖家承担运费 @@ -397,10 +401,10 @@ export default { this.getDataList(); }, addGoods() { - this.$router.push({name: "goods-operation"}); + this.$router.push({ name: "goods-operation" }); }, editGoods(v) { - this.$router.push({name: "goods-operation-edit", query: {id: v.id}}); + this.$router.push({ name: "goods-operation-edit", query: { id: v.id } }); }, //批量操作 @@ -423,7 +427,7 @@ export default { } }, getStockDetail(id) { - getGoodsSkuListDataSeller({goodsId: id, pageSize: 1000}).then((res) => { + getGoodsSkuListDataSeller({ goodsId: id, pageSize: 1000 }).then((res) => { if (res.success) { this.updateStockModalVisible = true; this.stockAllUpdate = undefined; @@ -433,7 +437,7 @@ export default { }, updateStock() { let updateStockList = this.stockList.map((i) => { - let j = {skuId: i.id, quantity: i.quantity}; + let j = { skuId: i.id, quantity: i.quantity }; if (this.stockAllUpdate) { j.quantity = this.stockAllUpdate; } diff --git a/seller/src/views/login.vue b/seller/src/views/login.vue index bb014b1a..a1bd088a 100644 --- a/seller/src/views/login.vue +++ b/seller/src/views/login.vue @@ -162,7 +162,7 @@ export default { } .login { height: 100%; - background: url("../assets/background.svg") no-repeat; + background: url("../assets/background.png") no-repeat; background-size: 100%; background-position-y: bottom; background-color: #edf0f3; diff --git a/seller/src/views/main-components/footer.vue b/seller/src/views/main-components/footer.vue index 4df03af6..c1fb9ba6 100644 --- a/seller/src/views/main-components/footer.vue +++ b/seller/src/views/main-components/footer.vue @@ -1,14 +1,14 @@ diff --git a/seller/src/views/promotion/live/addLive.vue b/seller/src/views/promotion/live/addLive.vue index 8f1ee673..5dcd9529 100644 --- a/seller/src/views/promotion/live/addLive.vue +++ b/seller/src/views/promotion/live/addLive.vue @@ -517,7 +517,7 @@ export default { if (res.success) { this.$Message.success("修改成功!"); - this.$router.push({ path: "/storePromotion/live" }); + this.$router.push({ path: "/promotion/live" }); } this.spinShow = false; }); @@ -528,7 +528,7 @@ export default { if (res.success) { this.$Message.success("添加成功!"); - this.$router.push({ path: "/storePromotion/live" }); + this.$router.push({ path: "/promotion/live" }); } this.spinShow = false; }); diff --git a/seller/src/views/promotion/pintuan/pintuan.scss b/seller/src/views/promotion/pintuan/pintuan.scss index a1f97b1f..c80994d4 100644 --- a/seller/src/views/promotion/pintuan/pintuan.scss +++ b/seller/src/views/promotion/pintuan/pintuan.scss @@ -1,41 +1,11 @@ - .search { .operation { margin-bottom: 2vh; } - - .select-count { - font-weight: 600; - color: #40a9ff; - } - - .select-clear { - margin-left: 10px; - } - .page { margin-top: 2vh; } - - .drop-down { - margin-left: 5px; - } } - -.newPromotionView { - width: 80%; - flex-direction: column; - align-items: center; - justify-content: center; - - - Input { - flex-direction: row; - } - - .slotSpan { - flex-direction: column; - align-items: center; - justify-content: center; - } +.row { + margin-bottom: 5px; } diff --git a/seller/src/views/promotion/pintuan/pintuan.vue b/seller/src/views/promotion/pintuan/pintuan.vue index 9270a0c6..e05ff24a 100644 --- a/seller/src/views/promotion/pintuan/pintuan.vue +++ b/seller/src/views/promotion/pintuan/pintuan.vue @@ -52,6 +52,7 @@ @on-selection-change="changeSelect" > diff --git a/seller/src/views/promotion/seckill/seckill.vue b/seller/src/views/promotion/seckill/seckill.vue index 06225112..fa0c6ed9 100644 --- a/seller/src/views/promotion/seckill/seckill.vue +++ b/seller/src/views/promotion/seckill/seckill.vue @@ -105,13 +105,13 @@ export default { color = "default"; if (params.row.promotionStatus == "NEW") { text = "未开始"; - color = "default"; + color = "geekblue"; } else if (params.row.promotionStatus == "START") { text = "已开始"; color = "green"; } else if (params.row.promotionStatus == "END") { text = "已结束"; - color = "red"; + color = "volcano"; } else if (params.row.promotionStatus == "CLOSE") { text = "已关闭"; color = "red";