@@ -622,7 +622,7 @@ export default {
query: { id: id },
})
},
-
+
// 商品状态筛选
goodsStatusClick(item) {
// 根据选择的状态设置搜索条件
@@ -634,13 +634,13 @@ export default {
this.searchForm.goodsStatus = item;
}
this.currentStatus = item;
-
+
// tab切换时清除选中内容
this.selectedRows = [];
if (this.$refs.table) {
this.$refs.table.selectAll(false);
}
-
+
this.getDataList();
},
examine(v, authFlag) {
@@ -651,13 +651,18 @@ export default {
examine = "拒绝";
this.goodsAuditForm.authFlag = "REFUSE";
}
+
this.$Modal.confirm({
title: "确认审核",
content: "您确认要审核" + examine + " " + v.goodsName + " ?",
loading: true,
onOk: () => {
this.goodsAuditForm.goodsIds=v.id;
- authGoods(this.goodsAuditForm).then((res) => {
+ let formData = new FormData();
+ formData.append('goodsIds', v.id);
+ formData.append('authFlag', this.goodsAuditForm.authFlag);
+
+ authGoods(formData).then((res) => {
this.$Modal.remove();
if (res.success) {
this.$Message.success("审核成功");
@@ -668,7 +673,7 @@ export default {
},
});
},
-
+
// 打开审核弹框
openAuditModal(goods) {
this.currentAuditGoods = goods;
@@ -676,7 +681,7 @@ export default {
this.goodsAuditForm.reason = '';
this.auditModalVisible = true;
},
-
+
// 确认审核(二次确认)
confirmAudit() {
const auditText = this.goodsAuditForm.auth_flag === 1 ? '通过' : '拒绝';
@@ -689,16 +694,13 @@ export default {
},
});
},
-
+
// 提交审核
submitAudit() {
- const auditForm = {
- authFlag: this.goodsAuditForm.auth_flag === 1 ? 'PASS' : 'REFUSE',
- reason: this.goodsAuditForm.reason || '',
- goodsId:this.currentAuditGoods.id
- };
-
- authGoods(auditForm).then((res) => {
+ let formData = new FormData();
+ formData.append('goodsIds', this.currentAuditGoods.id);
+ formData.append('authFlag', this.goodsAuditForm.auth_flag === 1 ? 'PASS' : 'REFUSE');
+ authGoods(formData).then((res) => {
this.$Modal.remove();
if (res.success) {
this.$Message.success('审核成功');
@@ -708,27 +710,27 @@ export default {
}
});
},
-
+
// 选择框事件处理
onSelect(selection, row) {
// 单行选择时触发
},
-
+
onSelectAll(selection) {
// 全选时触发
},
-
+
onSelectionChange(selection) {
this.selectedRows = selection;
},
-
+
// 批量上架
batchUpper() {
if (this.selectedRows.length === 0) {
this.$Message.warning('请先选择要上架的商品');
return;
}
-
+
const goodsNames = this.selectedRows.map(item => item.goodsName).join('、');
this.$Modal.confirm({
title: '确认批量上架',
@@ -740,7 +742,7 @@ export default {
const params = {
goodsId: goodsIds // 传递ID数组
};
-
+
upGoods(params).then((res) => {
this.$Modal.remove();
if (res.success) {
@@ -756,14 +758,14 @@ export default {
}
});
},
-
+
// 批量下架
batchLower() {
if (this.selectedRows.length === 0) {
this.$Message.warning('请先选择要下架的商品');
return;
}
-
+
const goodsNames = this.selectedRows.map(item => item.goodsName).join('、');
this.$Modal.confirm({
title: '确认批量下架',
@@ -776,7 +778,7 @@ export default {
goodsId: goodsIds, // 传递ID数组
reason: '批量下架操作' // 可以设置默认下架原因
};
-
+
lowGoods(params).then((res) => {
this.$Modal.remove();
if (res.success) {
@@ -792,14 +794,14 @@ export default {
}
});
},
-
+
// 批量审核
batchAudit() {
if (this.selectedRows.length === 0) {
this.$Message.warning('请先选择要审核的商品');
return;
}
-
+
// 重置批量审核表单
this.batchAuditForm = {
auth_flag: 1,
@@ -807,23 +809,23 @@ export default {
};
this.batchAuditModalVisible = true;
},
-
+
// 提交批量审核
submitBatchAudit() {
if (this.selectedRows.length === 0) {
this.$Message.warning('请先选择要审核的商品');
return;
}
-
+
// 如果是拒绝审核,必须填写原因
if (this.batchAuditForm.auth_flag === 2 && !this.batchAuditForm.reason.trim()) {
this.$Message.warning('审核拒绝时必须填写拒绝原因');
return;
}
-
+
const actionText = this.batchAuditForm.auth_flag === 1 ? '通过' : '拒绝';
const goodsNames = this.selectedRows.map(item => item.goodsName).join('、');
-
+
this.$Modal.confirm({
title: `确认批量审核${actionText}`,
content: `您确认要${actionText}以下商品的审核吗?\n${goodsNames}`,
@@ -831,14 +833,14 @@ export default {
onOk: () => {
// 提取所有选中商品的ID
const goodsIds = this.selectedRows.map(item => item.id);
- const params = {
- goodsId: goodsIds, // 传递ID数组
- authFlag: this.batchAuditForm.auth_flag === 1 ? 'PASS' : 'REFUSE',
- reason: this.batchAuditForm.reason || ''
- };
-
+
+ let formData = new FormData();
+ formData.append('goodsId', goodsIds);
+ formData.append('authFlag', this.batchAuditForm.auth_flag === 1 ? 'PASS' : 'REFUSE');
+ formData.append('reason', this.batchAuditForm.reason || '');
+
// 修正:直接调用authGoods,不传递'batch'参数
- authGoods(params).then((res) => {
+ authGoods(formData).then((res) => {
this.$Modal.remove();
if (res.success) {
this.$Message.success(`批量审核${actionText}成功`);
diff --git a/manager/src/views/goods/goods-info/goodsApply.vue b/manager/src/views/goods/goods-info/goodsApply.vue
index 0abaf26d..6a9967b7 100644
--- a/manager/src/views/goods/goods-info/goodsApply.vue
+++ b/manager/src/views/goods/goods-info/goodsApply.vue
@@ -276,7 +276,11 @@ export default {
content: "您确认要审核" + examine + " " + v.goodsName + " ?",
loading: true,
onOk: () => {
- authGoods(v.id, this.goodsAuditForm).then((res) => {
+ let formData = new FormData();
+ formData.append('goodsIds', v.id);
+ formData.append('authFlag', this.goodsAuditForm.authFlag);
+
+ authGoods(formData).then((res) => {
this.$Modal.remove();
if (res.success) {
this.$Message.success("审核成功");
From f4d06b2d7b9c80288f8f29d08fbe4d308e36bfd8 Mon Sep 17 00:00:00 2001
From: Ryan Ran <1410277647@qq.com>
Date: Tue, 23 Sep 2025 14:14:43 +0800
Subject: [PATCH 21/57] =?UTF-8?q?fix(=E5=95=86=E5=93=81=E5=AE=A1=E6=A0=B8)?=
=?UTF-8?q?:=20=E6=9B=B4=E6=96=B0=E5=AE=A1=E6=A0=B8=E5=8A=9F=E8=83=BD?=
=?UTF-8?q?=EF=BC=8C=E6=B7=BB=E5=8A=A0=E8=AF=B7=E6=B1=82=E5=A4=B4=E4=BB=A5?=
=?UTF-8?q?=E6=94=AF=E6=8C=81=E8=A1=A8=E5=8D=95=E6=95=B0=E6=8D=AE=E6=8F=90?=
=?UTF-8?q?=E4=BA=A4=EF=BC=8C=E6=8F=90=E5=8D=87=E6=8E=A5=E5=8F=A3=E5=85=BC?=
=?UTF-8?q?=E5=AE=B9=E6=80=A7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
manager/src/api/goods.js | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/manager/src/api/goods.js b/manager/src/api/goods.js
index bd73cfe5..7868f24f 100644
--- a/manager/src/api/goods.js
+++ b/manager/src/api/goods.js
@@ -128,7 +128,11 @@ export const getAuthGoodsListData = (params) => {
}
// 审核商品
export const authGoods = (params) => {
- return putRequest(`/goods/goods/auth`, params)
+ return putRequest(`/goods/goods/auth`, params,{
+ headers: {
+ 'Content-Type': 'application/x-www-form-urlencoded'
+ }
+ })
}
//查询分类绑定参数信息
From c5d675b6d24c773ecc79bced2dda543155bb71c8 Mon Sep 17 00:00:00 2001
From: Ryan Ran <1410277647@qq.com>
Date: Tue, 23 Sep 2025 19:17:24 +0800
Subject: [PATCH 22/57] =?UTF-8?q?fix(=E5=95=86=E5=93=81=E8=A7=84=E6=A0=BC)?=
=?UTF-8?q?:=20=E4=BC=98=E5=8C=96=E8=A7=84=E6=A0=BC=E5=80=BC=E5=A4=84?=
=?UTF-8?q?=E7=90=86=E9=80=BB=E8=BE=91=EF=BC=8C=E7=A1=AE=E4=BF=9D=E5=9C=A8?=
=?UTF-8?q?=E8=A7=84=E6=A0=BC=E5=80=BC=E4=B8=BA=E7=A9=BA=E6=97=B6=E7=A7=BB?=
=?UTF-8?q?=E9=99=A4=E5=AF=B9=E5=BA=94=E8=A1=8C=E5=B9=B6=E6=9B=B4=E6=96=B0?=
=?UTF-8?q?=E8=A1=A8=E6=A0=BC=E6=95=B0=E6=8D=AE=EF=BC=8C=E5=A2=9E=E5=BC=BA?=
=?UTF-8?q?=E7=94=A8=E6=88=B7=E4=BD=93=E9=AA=8C?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../goods/goods-seller/goodsOperationSec.vue | 208 +++++++++++++-----
1 file changed, 158 insertions(+), 50 deletions(-)
diff --git a/seller/src/views/goods/goods-seller/goodsOperationSec.vue b/seller/src/views/goods/goods-seller/goodsOperationSec.vue
index 58547be9..2cf9f509 100644
--- a/seller/src/views/goods/goods-seller/goodsOperationSec.vue
+++ b/seller/src/views/goods/goods-seller/goodsOperationSec.vue
@@ -1370,6 +1370,17 @@ export default {
if (val.value === "") {
// 内联错误提示,不使用弹窗
this.$set(val, '_error', '规格值不能为空!');
+
+ // 如果规格项和规格名称存在,从表格数据中移除包含该空规格值的行
+ if (spec && spec.name && this.skuInfo[groupIndex]) {
+ // 从表格数据中过滤掉包含该空规格值的行
+ this.skuTableData = this.skuTableData.filter(item => {
+ return item[spec.name] !== val.value && item[spec.name] !== "";
+ });
+
+ // 重新渲染表格数据
+ this.renderTableData(this.skuTableData);
+ }
} else if (val._error) {
// 清除错误
this.$delete(val, '_error');
@@ -1507,46 +1518,36 @@ export default {
itemValue.images = this.baseInfoForm.goodsGalleryFiles
}
this.$set(item.spec_values, item.spec_values.length, itemValue);
- if (item.spec_values.length > 1) {
- let index = beforeLength;
- let filterSkuInfo = this.skuInfo.filter((i) => i.name !== item.name);
- let totalLength = 1;
- filterSkuInfo.forEach((skuInfo) => {
- totalLength *= skuInfo.spec_values.length;
+
+ // 生成新的规格组合
+ const newCombinations = this.generateSkuCombinations(this.skuInfo);
+
+ // 保留原有组合的属性值
+ this.skuTableData = newCombinations.map(combination => {
+ // 查找匹配的原有组合
+ const existingCombination = this.skuTableData.find(item => {
+ // 检查所有规格项是否匹配
+ return this.skuInfo.every(info => {
+ return item[info.name] === combination[info.name];
+ });
});
- if ($index === 0) {
- index = 1;
- for (let i = 0; i < totalLength; i++) {
- let find = cloneObj(this.skuTableData[index - 1]);
- find[item.name] = this.newSkuValues[$index];
- find.id = "";
- find.price && (find.price = "");
- find.sn && (find.sn = "");
- // find.cost && (find.cost = "");
- find.quantity && (find.quantity = "");
- // find.alertQuantity && (find.alertQuantity = "");
- find.weight && (find.weight = "");
- this.skuTableData.splice(this.skuTableData.length, 0, find);
- index++;
- }
+ if (existingCombination) {
+ // 保留原有组合的属性值
+ return {
+ ...combination,
+ id: existingCombination.id || "",
+ sn: existingCombination.sn || "",
+ quantity: existingCombination.quantity || "",
+ cost: existingCombination.cost || "",
+ price: existingCombination.price || "",
+ weight: existingCombination.weight || ""
+ };
} else {
- for (let i = 0; i < totalLength; i++) {
- let find = cloneObj(this.skuTableData[index - 1]);
- find[item.name] = this.newSkuValues[$index];
- find.id = "";
- find.price && (find.price = "");
- find.sn && (find.sn = "");
- // find.cost && (find.cost = "");
- find.quantity && (find.quantity = "");
- // find.alertQuantity && (find.alertQuantity = "");
- find.weight && (find.weight = "");
-
- this.skuTableData.splice(index, 0, find);
- index += $index === 0 ? beforeLength : beforeLength + 1;
- }
+ // 新组合使用默认值
+ return combination;
}
- }
+ });
this.baseInfoForm.regeneratorSkuFlag = true;
this.newSkuValues[$index] = "";
@@ -1565,14 +1566,44 @@ export default {
this.$Message.error("至少保留一个规格值!");
return;
}
+
+ // 从规格项中移除规格值
this.skuInfo.forEach((i) => {
if (i.name === spec.name) {
i.spec_values.splice(index, 1);
}
});
- this.skuTableData = this.skuTableData.filter(
- (e) => e[spec.name] !== item.value
- );
+
+ // 生成新的规格组合
+ const newCombinations = this.generateSkuCombinations(this.skuInfo);
+
+ // 保留原有组合的属性值
+ this.skuTableData = newCombinations.map(combination => {
+ // 查找匹配的原有组合
+ const existingCombination = this.skuTableData.find(item => {
+ // 检查所有规格项是否匹配
+ return this.skuInfo.every(info => {
+ return item[info.name] === combination[info.name];
+ });
+ });
+
+ if (existingCombination) {
+ // 保留原有组合的属性值
+ return {
+ ...combination,
+ id: existingCombination.id || "",
+ sn: existingCombination.sn || "",
+ quantity: existingCombination.quantity || "",
+ cost: existingCombination.cost || "",
+ price: existingCombination.price || "",
+ weight: existingCombination.weight || ""
+ };
+ } else {
+ // 新组合使用默认值
+ return combination;
+ }
+ });
+
this.baseInfoForm.regeneratorSkuFlag = true;
},
@@ -1640,17 +1671,37 @@ export default {
);
this.skuTableColumn = pushData;
- //克隆所有渲染的数据
- if (this.skuInfo.length > 0) {
- //存放最终结果
- let result = [];
- this.skuIndex = 0;
- this.skuTableData = this.specIterator(
- result,
- this.skuInfo,
- this.skuTableData
- );
+ // 生成规格组合
+ if (this.skuInfo.length > 0) {
+ const newCombinations = this.generateSkuCombinations(this.skuInfo);
+
+ // 保留原有组合的属性值
+ this.skuTableData = newCombinations.map(combination => {
+ // 查找匹配的原有组合
+ const existingCombination = skus.find(item => {
+ // 检查所有规格项是否匹配
+ return this.skuInfo.every(info => {
+ return item[info.name] === combination[info.name];
+ });
+ });
+
+ if (existingCombination) {
+ // 保留原有组合的属性值
+ return {
+ ...combination,
+ id: existingCombination.id || "",
+ sn: existingCombination.sn || "",
+ quantity: existingCombination.quantity || "",
+ cost: existingCombination.cost || "",
+ price: existingCombination.price || "",
+ weight: existingCombination.weight || ""
+ };
+ } else {
+ // 新组合使用默认值
+ return combination;
+ }
+ });
}
},
@@ -1689,7 +1740,7 @@ export default {
obj.weight = skus[index].weight;
}
table.push(obj);
- } else {
+ } else if (specItem.value !== "") {
table.push({
[spec[0].name]: specItem.value,
images: this.baseInfoForm.goodsGalleryFiles || [],
@@ -1703,6 +1754,63 @@ export default {
}
return table;
},
+ /**
+ * 生成所有可能的规格组合
+ * @param {Array} skuInfo 规格信息
+ * @returns {Array} 所有可能的规格组合
+ */
+ generateSkuCombinations(skuInfo) {
+ if (!skuInfo || skuInfo.length === 0) {
+ return [];
+ }
+
+ // 提取每个规格项的规格值
+ const specValues = skuInfo.map(item => {
+ return item.spec_values
+ .filter(val => val.value !== "") // 过滤掉空值
+ .map(val => ({
+ name: item.name,
+ value: val.value,
+ images: val.images || this.baseInfoForm.goodsGalleryFiles || []
+ }));
+ });
+
+ // 如果有规格项没有有效的规格值,返回空数组
+ if (specValues.some(values => values.length === 0)) {
+ return [];
+ }
+
+ // 递归生成所有组合
+ const generateCombinations = (index, current) => {
+ if (index === specValues.length) {
+ // 基本属性
+ const combination = {
+ images: this.baseInfoForm.goodsGalleryFiles || []
+ };
+
+ // 添加规格属性
+ current.forEach(spec => {
+ combination[spec.name] = spec.value;
+
+ // 如果是第一个规格项且有图片,使用其图片
+ if (spec.name === skuInfo[0].name) {
+ combination.images = spec.images;
+ }
+ });
+
+ return [combination];
+ }
+
+ const results = [];
+ for (const value of specValues[index]) {
+ results.push(...generateCombinations(index + 1, [...current, value]));
+ }
+ return results;
+ };
+
+ return generateCombinations(0, []);
+ },
+
/** 根据分类id获取系统设置规格信息*/
Get_SkuInfoByCategory(categoryId) {
if (categoryId) {
From 8fb87aa64df110554c564b783e796b89638a94a5 Mon Sep 17 00:00:00 2001
From: Ryan Ran <1410277647@qq.com>
Date: Mon, 29 Sep 2025 18:26:52 +0800
Subject: [PATCH 23/57] =?UTF-8?q?feat(seller=E7=AB=AF=E5=8D=87=E7=BA=A7nod?=
=?UTF-8?q?e=E7=89=88=E6=9C=AC):=20=E6=B7=BB=E5=8A=A0=20.npmrc=20=E5=92=8C?=
=?UTF-8?q?=20.yarnrc=20=E6=96=87=E4=BB=B6=E4=BB=A5=E6=94=AF=E6=8C=81?=
=?UTF-8?q?=E5=BC=95=E6=93=8E=E9=85=8D=E7=BD=AE=EF=BC=8C=E6=9B=B4=E6=96=B0?=
=?UTF-8?q?=20package.json=20=E4=B8=AD=E7=9A=84=E5=BC=95=E6=93=8E=E8=A6=81?=
=?UTF-8?q?=E6=B1=82=E5=B9=B6=E6=9B=BF=E6=8D=A2=20node-sass=20=E4=B8=BA=20?=
=?UTF-8?q?sass=EF=BC=8C=E4=BC=98=E5=8C=96=E4=BE=9D=E8=B5=96=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E5=92=8C=E5=85=BC=E5=AE=B9=E6=80=A7=EF=BC=8C=E5=85=BC?=
=?UTF-8?q?=E5=AE=B9node16=E7=89=88=E6=9C=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
seller/.npmrc | 1 +
seller/.yarnrc | 1 +
seller/package.json | 11 +++++++---
.../src/views/goods/goods-manage/category.vue | 2 +-
.../views/goods/goods-seller/addGoods.scss | 20 +++++++++----------
.../goods-seller/goodsOperationFirst.vue | 2 +-
seller/src/views/home/home.scss | 4 ++--
seller/src/views/home/home.vue | 2 +-
.../views/lili-components/multiple-region.vue | 2 +-
seller/src/views/lili-dialog/index.vue | 4 ++--
seller/src/views/lili-dialog/link-dialog.vue | 4 ++--
seller/src/views/lili-dialog/style.scss | 6 +++---
.../src/views/lili-dialog/template/other.vue | 2 +-
.../src/views/lili-dialog/template/pages.vue | 6 +++---
.../shrinkable-menu/styles/menu.scss | 4 ++--
.../main-components/tags-page-opened.vue | 2 +-
.../after-order/orderComplaintDetail.vue | 2 +-
.../views/order/order/exportOrderDeliver.vue | 2 +-
seller/src/views/promotion/live/addLive.vue | 2 +-
.../views/promotion/pintuan/pintuan-edit.vue | 2 +-
.../views/shop/bill/accountStatementBill.vue | 2 +-
seller/src/views/shop/bill/billDetail.vue | 2 +-
seller/src/views/shop/hotzone/index.vue | 4 ++--
seller/src/views/shop/modelForm.vue | 4 ++--
seller/src/views/shop/wap/decorate.scss | 2 +-
seller/src/views/shop/wap/style.scss | 2 +-
seller/src/views/statistics/order.vue | 2 +-
27 files changed, 53 insertions(+), 46 deletions(-)
create mode 100644 seller/.npmrc
create mode 100644 seller/.yarnrc
diff --git a/seller/.npmrc b/seller/.npmrc
new file mode 100644
index 00000000..c0c80ba4
--- /dev/null
+++ b/seller/.npmrc
@@ -0,0 +1 @@
+engine-strict=false
diff --git a/seller/.yarnrc b/seller/.yarnrc
new file mode 100644
index 00000000..4f14322d
--- /dev/null
+++ b/seller/.yarnrc
@@ -0,0 +1 @@
+--ignore-engines true
diff --git a/seller/package.json b/seller/package.json
index ed4f3e80..c217529d 100644
--- a/seller/package.json
+++ b/seller/package.json
@@ -4,6 +4,9 @@
"private": true,
"description": "lilishop-ui",
"author": "lili-platform",
+ "engines": {
+ "node": ">=14"
+ },
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
@@ -15,10 +18,10 @@
"axios": "^0.21.1",
"dplayer": "^1.27.1",
"js-cookie": "^2.2.1",
- "node-sass": "^4.14.1",
+ "sass": "^1.63.6",
"price-color": "^1.0.2",
"s": "^1.0.0",
- "sass-loader": "^8.0.2",
+ "sass-loader": "^10.4.1",
"sockjs-client": "^1.4.0",
"swiper": "^6.3.5",
"uuid": "^8.3.2",
@@ -51,6 +54,8 @@
"vue-template-compiler": "^2.6.10"
},
"resolutions": {
- "minimatch": "^3.1.2"
+ "minimatch": "^3.1.2",
+ "node-sass": "npm:sass@^1.63.6",
+ "@achrinza/node-ipc": "9.2.2"
}
}
diff --git a/seller/src/views/goods/goods-manage/category.vue b/seller/src/views/goods/goods-manage/category.vue
index 62c3699b..620a054e 100644
--- a/seller/src/views/goods/goods-manage/category.vue
+++ b/seller/src/views/goods/goods-manage/category.vue
@@ -256,7 +256,7 @@ export default {
};
diff --git a/seller/src/views/home/home.scss b/seller/src/views/home/home.scss
index 41218860..69d82189 100644
--- a/seller/src/views/home/home.scss
+++ b/seller/src/views/home/home.scss
@@ -11,7 +11,7 @@ h4 {
margin: 20px 0;
font-size: 18px;
}
-/deep/ .ivu-icon {
+::v-deep .ivu-icon {
margin-right: 10px;
}
.rate-box {
@@ -82,7 +82,7 @@ h4 {
font-weight: bold;
width: 286px;
display: flex;
- /deep/ span {
+ ::v-deep span {
color: $theme_color;
font-size: 18px;
}
diff --git a/seller/src/views/home/home.vue b/seller/src/views/home/home.vue
index ea41bbde..3a56961e 100644
--- a/seller/src/views/home/home.vue
+++ b/seller/src/views/home/home.vue
@@ -295,7 +295,7 @@ export default {
diff --git a/seller/src/views/shop/bill/accountStatementBill.vue b/seller/src/views/shop/bill/accountStatementBill.vue
index 073acd6f..5cc8fbd7 100644
--- a/seller/src/views/shop/bill/accountStatementBill.vue
+++ b/seller/src/views/shop/bill/accountStatementBill.vue
@@ -225,7 +225,7 @@
diff --git a/seller/src/views/shop/bill/billDetail.vue b/seller/src/views/shop/bill/billDetail.vue
index bf439b8f..28a05e11 100644
--- a/seller/src/views/shop/bill/billDetail.vue
+++ b/seller/src/views/shop/bill/billDetail.vue
@@ -654,7 +654,7 @@ table {
margin: 10px 0;
padding: 10px;
- /deep/ span {
+ ::v-deep span {
font-size: 14px;
text-align: center;
width: 200px;
diff --git a/seller/src/views/shop/hotzone/index.vue b/seller/src/views/shop/hotzone/index.vue
index 90d75467..53c0c7e7 100644
--- a/seller/src/views/shop/hotzone/index.vue
+++ b/seller/src/views/shop/hotzone/index.vue
@@ -57,11 +57,11 @@ export default {
};
diff --git a/manager/src/views/main-parts/shrinkable-menu/shrinkable-menu.vue b/manager/src/views/main-parts/shrinkable-menu/shrinkable-menu.vue
index 909f70ca..89e77c2f 100644
--- a/manager/src/views/main-parts/shrinkable-menu/shrinkable-menu.vue
+++ b/manager/src/views/main-parts/shrinkable-menu/shrinkable-menu.vue
@@ -49,7 +49,7 @@ export default {
this.selectNav(val.meta.firstRouterName)
}
}
- }
+ }
},
methods: {
changeMenu(name) { //二级路由点击
@@ -90,7 +90,7 @@ export default {
.ivu-menu-dark.ivu-menu-vertical .ivu-menu-item-active:not(.ivu-menu-submenu), .ivu-menu-dark.ivu-menu-vertical .ivu-menu-submenu-title-active:not(.ivu-menu-submenu){
color: $theme_color;
}
-/deep/.ivu-menu-vertical .ivu-menu-item-group-title {
+::v-deep.ivu-menu-vertical .ivu-menu-item-group-title {
height: 40px;
line-height: 40px;
padding-left: 20px;
diff --git a/manager/src/views/member/list/index.vue b/manager/src/views/member/list/index.vue
index a4d0ad28..ca5f0ac4 100644
--- a/manager/src/views/member/list/index.vue
+++ b/manager/src/views/member/list/index.vue
@@ -6,7 +6,7 @@
-
+
@@ -546,10 +546,10 @@ export default {
};
diff --git a/manager/src/views/seller/shop/shopOperation.vue b/manager/src/views/seller/shop/shopOperation.vue
index aa698360..4c7426fb 100644
--- a/manager/src/views/seller/shop/shopOperation.vue
+++ b/manager/src/views/seller/shop/shopOperation.vue
@@ -862,7 +862,7 @@ export default {
z-index: 9;
}
-/deep/ .ivu-tabs-bar {
+::v-deep .ivu-tabs-bar {
margin: 0;
}
diff --git a/manager/src/views/statistics/order.vue b/manager/src/views/statistics/order.vue
index c8a24df8..cf6fb228 100644
--- a/manager/src/views/statistics/order.vue
+++ b/manager/src/views/statistics/order.vue
@@ -782,7 +782,7 @@ export default {
z-index: 2;
}
}
- /deep/ .box {
+ ::v-deep .box {
color: #fff;
position: absolute;
diff --git a/manager/src/views/sys/setting-manage/authLogin/CONNECT_SETTING.vue b/manager/src/views/sys/setting-manage/authLogin/CONNECT_SETTING.vue
index 5ae65111..eb143e9a 100644
--- a/manager/src/views/sys/setting-manage/authLogin/CONNECT_SETTING.vue
+++ b/manager/src/views/sys/setting-manage/authLogin/CONNECT_SETTING.vue
@@ -123,7 +123,7 @@ export default {
margin-right: 10px;
display: flex;
margin-bottom: 20px;
- /deep/ .ivu-card-body {
+ ::v-deep .ivu-card-body {
padding: 0 16px !important;
}
}
diff --git a/manager/src/views/sys/setting-manage/authLogin/QQ_CONNECT.vue b/manager/src/views/sys/setting-manage/authLogin/QQ_CONNECT.vue
index 09115ab2..234584c8 100644
--- a/manager/src/views/sys/setting-manage/authLogin/QQ_CONNECT.vue
+++ b/manager/src/views/sys/setting-manage/authLogin/QQ_CONNECT.vue
@@ -133,7 +133,7 @@ export default {
margin-right: 20px;
display: flex;
margin-bottom: 20px;
- /deep/ .ivu-card-body {
+ ::v-deep .ivu-card-body {
padding: 0 16px !important;
}
}
@@ -151,7 +151,7 @@ export default {
padding-bottom: 10px;
flex-direction: column;
align-items: center;
- /deep/ .ivu-btn {
+ ::v-deep .ivu-btn {
width: 100px;
}
}
diff --git a/manager/src/views/sys/setting-manage/authLogin/WECHAT_CONNECT.vue b/manager/src/views/sys/setting-manage/authLogin/WECHAT_CONNECT.vue
index f952bffb..c3be6738 100644
--- a/manager/src/views/sys/setting-manage/authLogin/WECHAT_CONNECT.vue
+++ b/manager/src/views/sys/setting-manage/authLogin/WECHAT_CONNECT.vue
@@ -132,7 +132,7 @@ export default {
margin-right: 20px;
display: flex;
margin-bottom: 20px;
- /deep/ .ivu-card-body {
+ ::v-deep .ivu-card-body {
padding: 0 16px !important;
}
}
@@ -150,7 +150,7 @@ export default {
padding-bottom: 10px;
flex-direction: column;
align-items: center;
- /deep/ .ivu-btn {
+ ::v-deep .ivu-btn {
width: 100px;
}
}
diff --git a/manager/src/views/sys/setting-manage/pay/ALIPAY_PAYMENT.vue b/manager/src/views/sys/setting-manage/pay/ALIPAY_PAYMENT.vue
index 1b9c5b6a..d882f6d6 100644
--- a/manager/src/views/sys/setting-manage/pay/ALIPAY_PAYMENT.vue
+++ b/manager/src/views/sys/setting-manage/pay/ALIPAY_PAYMENT.vue
@@ -90,12 +90,12 @@ export default {
display: flex;
}
.w200 {
- /deep/ .ivu-input {
+ ::v-deep .ivu-input {
width: 250px !important;
margin: 0 10px;
}
}
-/deep/ .ivu-input {
+::v-deep .ivu-input {
width: 450px !important;
margin: 0 10px;
}
diff --git a/manager/src/views/sys/setting-manage/pay/PAYMENT_SUPPORT.vue b/manager/src/views/sys/setting-manage/pay/PAYMENT_SUPPORT.vue
index 31e8bc3f..f2975208 100644
--- a/manager/src/views/sys/setting-manage/pay/PAYMENT_SUPPORT.vue
+++ b/manager/src/views/sys/setting-manage/pay/PAYMENT_SUPPORT.vue
@@ -151,7 +151,7 @@ export default {
margin-right: 20px;
display: flex;
margin-bottom: 20px;
- /deep/ .ivu-card-body {
+ ::v-deep .ivu-card-body {
padding: 0 16px !important;
}
}
diff --git a/manager/src/views/sys/setting-manage/pay/WECHAT_PAYMENT.vue b/manager/src/views/sys/setting-manage/pay/WECHAT_PAYMENT.vue
index 392db0cf..49359073 100644
--- a/manager/src/views/sys/setting-manage/pay/WECHAT_PAYMENT.vue
+++ b/manager/src/views/sys/setting-manage/pay/WECHAT_PAYMENT.vue
@@ -118,13 +118,13 @@ export default {
}
.w200 {
- /deep/ .ivu-input {
+ ::v-deep .ivu-input {
width: 250px !important;
margin: 0 10px;
}
}
-/deep/ .ivu-input {
+::v-deep .ivu-input {
width: 450px !important;
margin: 0 10px;
}
diff --git a/manager/src/views/sys/setting-manage/setting/GOODS_SETTING.vue b/manager/src/views/sys/setting-manage/setting/GOODS_SETTING.vue
index d2a5ea9f..c38a83a5 100644
--- a/manager/src/views/sys/setting-manage/setting/GOODS_SETTING.vue
+++ b/manager/src/views/sys/setting-manage/setting/GOODS_SETTING.vue
@@ -188,7 +188,7 @@ export default {
.label-item {
display: flex;
}
-/deep/ .ivu-input {
+::v-deep .ivu-input {
width: 100px !important;
}
diff --git a/manager/src/views/sys/setting-manage/setting/IM_SETTING.vue b/manager/src/views/sys/setting-manage/setting/IM_SETTING.vue
index 7bfc80eb..dba17c86 100644
--- a/manager/src/views/sys/setting-manage/setting/IM_SETTING.vue
+++ b/manager/src/views/sys/setting-manage/setting/IM_SETTING.vue
@@ -74,7 +74,7 @@ export default {
display: flex;
}
-/deep/ .ivu-input {
+::v-deep .ivu-input {
width: 300px !important;
margin: 0 10px;
}
diff --git a/manager/src/views/sys/setting-manage/setting/LOGISTICS_SETTING.vue b/manager/src/views/sys/setting-manage/setting/LOGISTICS_SETTING.vue
index d49b322e..40dea111 100644
--- a/manager/src/views/sys/setting-manage/setting/LOGISTICS_SETTING.vue
+++ b/manager/src/views/sys/setting-manage/setting/LOGISTICS_SETTING.vue
@@ -113,7 +113,7 @@ export default {
display: flex;
}
-/deep/ .ivu-input {
+::v-deep .ivu-input {
width: 300px !important;
margin: 0 10px;
}
diff --git a/manager/src/views/sys/setting-manage/setting/ORDER_SETTING.vue b/manager/src/views/sys/setting-manage/setting/ORDER_SETTING.vue
index ecb7b314..20ab670a 100644
--- a/manager/src/views/sys/setting-manage/setting/ORDER_SETTING.vue
+++ b/manager/src/views/sys/setting-manage/setting/ORDER_SETTING.vue
@@ -124,7 +124,7 @@ export default {
margin-right: 10px;
}
-/deep/ .ivu-input {
+::v-deep .ivu-input {
width: 100px !important;
}
diff --git a/manager/src/views/sys/setting-manage/setting/OSS_SETTING.vue b/manager/src/views/sys/setting-manage/setting/OSS_SETTING.vue
index e5bbceda..b3a102c2 100644
--- a/manager/src/views/sys/setting-manage/setting/OSS_SETTING.vue
+++ b/manager/src/views/sys/setting-manage/setting/OSS_SETTING.vue
@@ -161,7 +161,7 @@ export default {
display: flex;
}
-/deep/ .ivu-input {
+::v-deep .ivu-input {
width: 300px !important;
margin: 0 10px;
}
diff --git a/manager/src/views/sys/setting-manage/setting/POINT_SETTING.vue b/manager/src/views/sys/setting-manage/setting/POINT_SETTING.vue
index ef75c793..e2e42c5d 100644
--- a/manager/src/views/sys/setting-manage/setting/POINT_SETTING.vue
+++ b/manager/src/views/sys/setting-manage/setting/POINT_SETTING.vue
@@ -172,7 +172,7 @@ export default {
}
}
-/deep/ .ivu-input {
+::v-deep .ivu-input {
width: 70px !important;
}
@@ -182,7 +182,7 @@ export default {
}
.label-btns {
- /deep/ .ivu-btn {
+ ::v-deep .ivu-btn {
margin-right: 10px;
}
}
diff --git a/manager/src/views/sys/setting-manage/setting/SMS_SETTING.vue b/manager/src/views/sys/setting-manage/setting/SMS_SETTING.vue
index e78d85ed..b40099c4 100644
--- a/manager/src/views/sys/setting-manage/setting/SMS_SETTING.vue
+++ b/manager/src/views/sys/setting-manage/setting/SMS_SETTING.vue
@@ -160,7 +160,7 @@ export default {
display: flex;
}
-/deep/ .ivu-input {
+::v-deep .ivu-input {
width: 300px !important;
margin: 0 10px;
}
diff --git a/manager/src/views/sys/setting-manage/setting/WITHDRAWAL_SETTING.vue b/manager/src/views/sys/setting-manage/setting/WITHDRAWAL_SETTING.vue
index e5996cc9..e674292c 100644
--- a/manager/src/views/sys/setting-manage/setting/WITHDRAWAL_SETTING.vue
+++ b/manager/src/views/sys/setting-manage/setting/WITHDRAWAL_SETTING.vue
@@ -98,7 +98,7 @@ export default {
diff --git a/buyer/src/components/goodsDetail/ShowGoodsDetail.vue b/buyer/src/components/goodsDetail/ShowGoodsDetail.vue
index 39824e41..c4a1a6d3 100644
--- a/buyer/src/components/goodsDetail/ShowGoodsDetail.vue
+++ b/buyer/src/components/goodsDetail/ShowGoodsDetail.vue
@@ -326,7 +326,7 @@ export default {
.item-intro-img {
width: 100%;
min-height: 300px;
- /deep/ img{
+ ::v-deep img{
margin:0 auto;
}
}
@@ -472,7 +472,7 @@ export default {
.ivu-tabs-ink-bar {
background-color: $theme_color !important;
}
-/deep/.ivu-tabs-bar{
+::v-deep.ivu-tabs-bar{
border: none;
}
.item-tabs > .ivu-tabs > .ivu-tabs-bar .ivu-tabs-tab{
diff --git a/buyer/src/components/indexDecorate/modelList/forYour.vue b/buyer/src/components/indexDecorate/modelList/forYour.vue
index 9daefb6e..7f4c938c 100644
--- a/buyer/src/components/indexDecorate/modelList/forYour.vue
+++ b/buyer/src/components/indexDecorate/modelList/forYour.vue
@@ -84,10 +84,10 @@ export default {
border-top: 1.4px solid #e2e2e2;
}
&:hover {
- /deep/ .goods-name {
+ ::v-deep .goods-name {
color: $theme_color;
}
- /deep/ .goods-desc {
+ ::v-deep .goods-desc {
color: $theme_color;
}
}
diff --git a/buyer/src/pages/home/memberCenter/AccountSafe.vue b/buyer/src/pages/home/memberCenter/AccountSafe.vue
index fdcceaa0..240fc117 100644
--- a/buyer/src/pages/home/memberCenter/AccountSafe.vue
+++ b/buyer/src/pages/home/memberCenter/AccountSafe.vue
@@ -54,7 +54,7 @@ export default {
diff --git a/manager/src/views/distribution/distributionCash.vue b/manager/src/views/distribution/distributionCash.vue
index b0449cdc..8e5d79d5 100644
--- a/manager/src/views/distribution/distributionCash.vue
+++ b/manager/src/views/distribution/distributionCash.vue
@@ -160,50 +160,34 @@ export default {
fixed: "right",
width: 130,
render: (h, params) => {
- if(params.row.distributionCashStatus != 'APPLY'){
- return h("div", [
- h(
- "Button",
- {
- props: {
- type: "primary",
- size: "small",
- },
- style: {
- marginRight: "5px"
- },
- on: {
- click: () => {
- this.view(params.row);
- }
+ if (params.row.distributionCashStatus != 'APPLY') {
+ return h("div", { class: "ops" }, [
+ h(
+ "a",
+ {
+ on: {
+ click: () => {
+ this.view(params.row);
}
- },
- "查看"
- ),
-
- ]);
- }else {
- return h("div", [
- h(
- "Button",
- {
- props: {
- type: "primary",
- size: "small",
- },
- style: {
- marginRight: "5px"
- },
- on: {
- click: () => {
- this.edit(params.row);
- }
+ }
+ },
+ "查看"
+ ),
+ ]);
+ } else {
+ return h("div", { class: "ops" }, [
+ h(
+ "a",
+ {
+ on: {
+ click: () => {
+ this.edit(params.row);
}
- },
- "审核"
- ),
-
- ]);
+ }
+ },
+ "审核"
+ ),
+ ]);
}
}
}
@@ -312,3 +296,15 @@ export default {
}
};
+
diff --git a/manager/src/views/distribution/distributionGoods.vue b/manager/src/views/distribution/distributionGoods.vue
index 4c1947dc..b4b515b7 100644
--- a/manager/src/views/distribution/distributionGoods.vue
+++ b/manager/src/views/distribution/distributionGoods.vue
@@ -137,14 +137,10 @@ export default {
fixed: "right",
minWidth: 100,
render: (h, params) => {
- return h("div", [
+ return h("div", { class: "ops" }, [
h(
- "Button",
+ "a",
{
- props: {
- type: "error",
- size: "small",
- },
on: {
click: () => {
this.remove(params.row);
@@ -256,5 +252,17 @@ export default {
},
};
+
diff --git a/manager/src/views/goods-unit/index.vue b/manager/src/views/goods-unit/index.vue
index 8a8dbd66..7c493f14 100644
--- a/manager/src/views/goods-unit/index.vue
+++ b/manager/src/views/goods-unit/index.vue
@@ -121,18 +121,17 @@ export default {
title: "操作",
key: "action",
align: "center",
+ fixed: "right",
width: 200,
render: (h, params) => {
return h("div", [
h(
- "Button",
+ "a",
{
- props: {
- type: "info",
- size: "small",
- },
style: {
- marginRight: "5px",
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
},
on: {
click: () => {
@@ -143,14 +142,17 @@ export default {
"修改"
),
h(
- "Button",
+ "span",
+ { style: { margin: "0 8px", color: "#dcdee2" } },
+ "|"
+ ),
+ h(
+ "a",
{
- props: {
- type: "error",
- size: "small",
- },
style: {
- marginRight: "5px",
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
},
on: {
click: () => {
diff --git a/manager/src/views/goods/goods-info/goodsApply.vue b/manager/src/views/goods/goods-info/goodsApply.vue
index 22fbb514..4e4ef945 100644
--- a/manager/src/views/goods/goods-info/goodsApply.vue
+++ b/manager/src/views/goods/goods-info/goodsApply.vue
@@ -171,13 +171,12 @@ export default {
render: (h, params) => {
return h("div", [
h(
- "Button",
+ "a",
{
- props: {
- type: "success",
- size: "small",
- },
style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
marginRight: "5px",
},
on: {
@@ -189,13 +188,17 @@ export default {
"通过"
),
h(
- "Button",
+ "span",
+ { style: { margin: "0 8px", color: "#dcdee2" } },
+ "|"
+ ),
+ h(
+ "a",
{
- props: {
- type: "error",
- size: "small",
- },
style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
marginRight: "5px",
},
on: {
@@ -207,11 +210,17 @@ export default {
"拒绝"
),
h(
- "Button",
+ "span",
+ { style: { margin: "0 8px", color: "#dcdee2" } },
+ "|"
+ ),
+ h(
+ "a",
{
- props: {
- type: 'default',
- size: "small",
+ style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none"
},
on: {
click: () => {
diff --git a/manager/src/views/goods/goods-manage/brand.vue b/manager/src/views/goods/goods-manage/brand.vue
index 03f77058..1c1ee037 100644
--- a/manager/src/views/goods/goods-manage/brand.vue
+++ b/manager/src/views/goods/goods-manage/brand.vue
@@ -153,13 +153,12 @@ export default {
let enableOrDisable = "";
if (params.row.deleteFlag == 0) {
enableOrDisable = h(
- "Button",
+ "a",
{
- props: {
- size: "small",
- type: "error",
- },
style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
marginRight: "5px",
},
on: {
@@ -172,13 +171,12 @@ export default {
);
} else {
enableOrDisable = h(
- "Button",
+ "a",
{
- props: {
- type: "success",
- size: "small",
- },
style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
marginRight: "5px",
},
on: {
@@ -192,13 +190,12 @@ export default {
}
return h("div", [
h(
- "Button",
+ "a",
{
- props: {
- type: "info",
- size: "small",
- },
style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
marginRight: "5px",
},
on: {
@@ -209,17 +206,24 @@ export default {
},
"编辑"
),
- enableOrDisable,
-
h(
- "Button",
+ "span",
+ { style: { margin: "0 8px", color: "#dcdee2" } },
+ "|"
+ ),
+ enableOrDisable,
+ h(
+ "span",
+ { style: { margin: "0 8px", color: "#dcdee2" } },
+ "|"
+ ),
+ h(
+ "a",
{
- props: {
- type: 'default',
- size: "small",
- },
style: {
- marginRight: "5px",
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
},
on: {
click: () => {
diff --git a/manager/src/views/goods/goods-manage/category.vue b/manager/src/views/goods/goods-manage/category.vue
index 42b43a69..f8e94911 100644
--- a/manager/src/views/goods/goods-manage/category.vue
+++ b/manager/src/views/goods/goods-manage/category.vue
@@ -15,54 +15,31 @@
>
-
+
- 编辑绑定品牌
- 编辑绑定规格
- 编辑绑定参数
+ 编辑绑定品牌
+ 编辑绑定规格
+ 编辑绑定参数
-
-
+ |
-
+
编辑
- 启用
- 禁用
+ 启用
+ 禁用
删除
-
-
+ |
+ 添加子分类
@@ -550,4 +527,14 @@ export default {
min-height: 100vh;
height: auto;
}
+.ops-link {
+ color: #2d8cf0;
+ cursor: pointer;
+ text-decoration: none;
+}
+.ops-sep {
+ display: inline-block;
+ margin: 0 8px;
+ color: #dcdee2;
+}
diff --git a/manager/src/views/goods/goods-manage/spec.vue b/manager/src/views/goods/goods-manage/spec.vue
index 73ea2966..660d9f0f 100644
--- a/manager/src/views/goods/goods-manage/spec.vue
+++ b/manager/src/views/goods/goods-manage/spec.vue
@@ -110,13 +110,12 @@ export default {
render: (h, params) => {
return h("div", [
h(
- "Button",
+ "a",
{
- props: {
- type: "info",
- size: "small",
- },
style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
marginRight: "5px",
},
on: {
@@ -128,11 +127,17 @@ export default {
"编辑"
),
h(
- "Button",
+ "span",
+ { style: { margin: "0 8px", color: "#dcdee2" } },
+ "|"
+ ),
+ h(
+ "a",
{
- props: {
- type: "error",
- size: "small",
+ style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
},
on: {
click: () => {
diff --git a/manager/src/views/goods/goods-review/index.vue b/manager/src/views/goods/goods-review/index.vue
index eb5a7c82..74d4c58f 100644
--- a/manager/src/views/goods/goods-review/index.vue
+++ b/manager/src/views/goods/goods-review/index.vue
@@ -189,18 +189,15 @@ export default {
width: 150,
align: "center",
fixed: "right",
-
render: (h, params) => {
- return h("div", [
+ return h("div", { class: "ops" }, [
h(
- "Button",
+ "a",
{
- props: {
- size: "small",
- type: "info",
- },
style: {
- marginRight: "5px",
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
},
on: {
click: () => {
@@ -211,22 +208,38 @@ export default {
"查看"
),
h(
- "Button",
+ "span",
{
- props: {
- type: "error",
- size: "small",
- },
style: {
- marginRight: "5px",
+ margin: "0 8px",
+ color: "#dcdee2",
},
+ },
+ "|"
+ ),
+ h(
+ "Poptip",
+ {
+ props: { confirm: true, title: "确认删除" },
on: {
- click: () => {
+ "on-ok": () => {
this.remove(params.row);
},
},
},
- "删除"
+ [
+ h(
+ "a",
+ {
+ style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
+ },
+ },
+ "删除"
+ ),
+ ]
),
]);
},
@@ -372,4 +385,14 @@ label {
margin: 5px 0;
span{margin-right: 20px;}
}
+.ops a {
+ color: #2d8cf0;
+ cursor: pointer;
+ text-decoration: none;
+}
+.ops span {
+ display: inline-block;
+ margin: 0 8px;
+ color: #dcdee2;
+}
diff --git a/manager/src/views/member/advance/withdrawApply.vue b/manager/src/views/member/advance/withdrawApply.vue
index 601efdb5..007e28e9 100644
--- a/manager/src/views/member/advance/withdrawApply.vue
+++ b/manager/src/views/member/advance/withdrawApply.vue
@@ -194,49 +194,49 @@ export default {
fixed: "right",
render: (h, params) => {
if (params.row.applyStatus == "APPLY") {
- return h(
- "Button",
- {
- props: {
- type: "primary",
- size: "small",
- },
- style: {
- marginRight: "5px",
- },
- on: {
- click: () => {
- this.showList = {};
- this.roleModalVisible = true;
- this.showList = params.row;
- this.audit =""
+ return h("div", { class: "ops" }, [
+ h(
+ "a",
+ {
+ style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
+ },
+ on: {
+ click: () => {
+ this.showList = {};
+ this.roleModalVisible = true;
+ this.showList = params.row;
+ this.audit = "";
+ },
},
},
- },
- "审核"
- );
+ "审核"
+ ),
+ ]);
} else {
- return h(
- "Button",
- {
- props: {
- type: "default",
- size: "small",
- },
- style: {
- marginRight: "5px",
- },
- on: {
- click: () => {
- this.showList = {};
- this.queryModalVisible = true;
- this.showList = params.row;
- this.modalTitle = "查看";
+ return h("div", { class: "ops" }, [
+ h(
+ "a",
+ {
+ style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
+ },
+ on: {
+ click: () => {
+ this.showList = {};
+ this.queryModalVisible = true;
+ this.showList = params.row;
+ this.modalTitle = "查看";
+ },
},
},
- },
- "查看"
- );
+ "查看"
+ ),
+ ]);
}
},
},
@@ -347,4 +347,16 @@ export default {
},
};
+
diff --git a/manager/src/views/member/list/index.vue b/manager/src/views/member/list/index.vue
index 5a12188b..b3087ba5 100644
--- a/manager/src/views/member/list/index.vue
+++ b/manager/src/views/member/list/index.vue
@@ -248,15 +248,13 @@ export default {
},
[
h(
- "Button",
+ "a",
{
- props: {
- size: "small",
- type: params.row.___selected ? "primary" : "default",
- },
style: {
- marginRight: "5px",
- display: this.selectedMember ? "block" : "none",
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
+ display: this.selectedMember ? "inline-block" : "none",
},
on: {
click: () => {
@@ -266,17 +264,25 @@ export default {
},
params.row.___selected ? "已选择" : "选择"
),
-
h(
- "Button",
+ "span",
{
- props: {
- type: "info",
- size: "small",
- },
style: {
- marginRight: "5px",
- display: this.selectedMember ? "none" : "block",
+ margin: "0 8px",
+ color: "#dcdee2",
+ display: this.selectedMember ? "inline-block" : "none",
+ },
+ },
+ "|"
+ ),
+ h(
+ "a",
+ {
+ style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
+ display: this.selectedMember ? "none" : "inline-block",
},
on: {
click: () => {
@@ -287,16 +293,24 @@ export default {
"查看"
),
h(
- "Button",
+ "span",
{
- props: {
- type: "info",
- size: "small",
- ghost: true,
- },
style: {
- marginRight: "5px",
- display: this.selectedMember ? "none" : "block",
+ margin: "0 8px",
+ color: "#dcdee2",
+ display: this.selectedMember ? "none" : "inline-block",
+ },
+ },
+ "|"
+ ),
+ h(
+ "a",
+ {
+ style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
+ display: this.selectedMember ? "none" : "inline-block",
},
on: {
click: () => {
@@ -307,15 +321,24 @@ export default {
"编辑"
),
h(
- "Button",
+ "span",
{
- props: {
- size: "small",
- type: "error",
- },
style: {
- marginRight: "5px",
- display: this.selectedMember ? "none" : "block",
+ margin: "0 8px",
+ color: "#dcdee2",
+ display: this.selectedMember ? "none" : "inline-block",
+ },
+ },
+ "|"
+ ),
+ h(
+ "a",
+ {
+ style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
+ display: this.selectedMember ? "none" : "inline-block",
},
on: {
click: () => {
diff --git a/manager/src/views/member/list/memberDetail.vue b/manager/src/views/member/list/memberDetail.vue
index 18aca816..fce4e917 100644
--- a/manager/src/views/member/list/memberDetail.vue
+++ b/manager/src/views/member/list/memberDetail.vue
@@ -584,13 +584,12 @@
}
}, [
h(
- "Button",
+ "a",
{
- props: {
- type: "info",
- size: "small",
- },
style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
marginRight: "5px",
},
on: {
diff --git a/manager/src/views/member/list/memberRecycle.vue b/manager/src/views/member/list/memberRecycle.vue
index 2fa145c9..05f883a1 100644
--- a/manager/src/views/member/list/memberRecycle.vue
+++ b/manager/src/views/member/list/memberRecycle.vue
@@ -230,92 +230,56 @@ export default {
width: 200,
fixed: "right",
render: (h, params) => {
+ const linkStyle = {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
+ };
+ const sep = h(
+ "span",
+ { style: { margin: "0 8px", color: "#dcdee2" } },
+ "|"
+ );
+ const children = [];
+ if (this.selectedMember) {
+ children.push(
+ h(
+ "a",
+ { style: linkStyle, on: { click: () => this.callback(params.row) } },
+ "选择"
+ )
+ );
+ children.push(sep);
+ }
+ children.push(
+ h(
+ "a",
+ { style: linkStyle, on: { click: () => this.detail(params.row) } },
+ "查看"
+ )
+ );
+ if (!this.selectedMember) {
+ children.push(sep);
+ children.push(
+ h(
+ "a",
+ { style: linkStyle, on: { click: () => this.enable(params.row) } },
+ "启用"
+ )
+ );
+ children.push(sep);
+ children.push(
+ h(
+ "a",
+ { style: linkStyle, on: { click: () => this.editPerm(params.row) } },
+ "编辑"
+ )
+ );
+ }
return h(
"div",
- {
- style: {
- display: "flex",
- justifyContent: "center",
- },
- },
- [
- h(
- "Button",
- {
- props: {
- size: "small",
- },
- style: {
- marginRight: "5px",
- display: this.selectedMember ? "block" : "none",
- },
- on: {
- click: () => {
- this.callback(params.row);
- },
- },
- },
- "选择"
- ),
- h(
- "Button",
- {
- props: {
- type: "info",
- size: "small",
- },
- style: {
- marginRight: "5px",
- },
- on: {
- click: () => {
- this.detail(params.row);
- },
- },
- },
- "查看"
- ),
-
- h(
- "Button",
- {
- props: {
- size: "small",
- type: "success",
- },
- style: {
- marginRight: "5px",
- display: this.selectedMember ? "none" : "block",
- },
- on: {
- click: () => {
- this.enable(params.row);
- },
- },
- },
- "启用"
- ),
-
- h(
- "Button",
- {
- props: {
- type: "info",
- size: "small",
- ghost: true,
- },
- style: {
- marginRight: "5px",
- },
- on: {
- click: () => {
- this.editPerm(params.row);
- },
- },
- },
- "编辑"
- ),
- ]
+ { class: "ops", style: { display: "flex", justifyContent: "center" } },
+ children
);
},
},
@@ -465,4 +429,14 @@ export default {
height: 60px;
border-radius: 50%;
}
+.ops a {
+ color: #2d8cf0;
+ cursor: pointer;
+ text-decoration: none;
+}
+.ops span {
+ display: inline-block;
+ margin: 0 8px;
+ color: #dcdee2;
+}
diff --git a/manager/src/views/member/message-manage/weChatMessageManager.vue b/manager/src/views/member/message-manage/weChatMessageManager.vue
index 3ce71e47..ca9d3cd2 100644
--- a/manager/src/views/member/message-manage/weChatMessageManager.vue
+++ b/manager/src/views/member/message-manage/weChatMessageManager.vue
@@ -178,14 +178,12 @@ export default {
render: (h, params) => {
return h("div", [
h(
- "Button",
+ "a",
{
- props: {
- type: "primary",
- size: "small"
- },
style: {
- marginRight: "5px"
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none"
},
on: {
click: () => {
@@ -196,14 +194,17 @@ export default {
"编辑"
),
h(
- "Button",
+ "span",
+ { style: { margin: "0 8px", color: "#dcdee2" } },
+ "|"
+ ),
+ h(
+ "a",
{
- props: {
- type: "error",
- size: "small"
- },
style: {
- marginRight: "5px"
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none"
},
on: {
click: () => {
diff --git a/manager/src/views/order/after-order/afterSale.vue b/manager/src/views/order/after-order/afterSale.vue
index 2b404425..8b9ca08c 100644
--- a/manager/src/views/order/after-order/afterSale.vue
+++ b/manager/src/views/order/after-order/afterSale.vue
@@ -181,43 +181,48 @@
key: "action",
align: "center",
width: 200,
- render: (h, params) => {
- return h("div", [
- h(
- "Button",
- {
- props: {
- type: "info",
- size: "small",
- },
- style: {
- marginRight: "5px"
- },
- on: {
- click: () => {
- this.edit(params.row);
- }
- }
+ render: (h, params) => {
+ return h("div", [
+ h(
+ "a",
+ {
+ style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
+ marginRight: "5px"
},
- "编辑"
- ),
- h(
- "Button",
- {
- props: {
- type: "error",
- size: "small",
- },
- on: {
- click: () => {
- this.remove(params.row);
- }
+ on: {
+ click: () => {
+ this.edit(params.row);
}
+ }
+ },
+ "编辑"
+ ),
+ h(
+ "span",
+ { style: { margin: "0 8px", color: "#dcdee2" } },
+ "|"
+ ),
+ h(
+ "a",
+ {
+ style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none"
},
- "删除"
- )
- ]);
- },
+ on: {
+ click: () => {
+ this.remove(params.row);
+ }
+ }
+ },
+ "删除"
+ )
+ ]);
+ },
},
],
data: [], // 表单数据
diff --git a/manager/src/views/order/after-order/afterSaleOrder.vue b/manager/src/views/order/after-order/afterSaleOrder.vue
index ed7b1d8f..6fbc3102 100644
--- a/manager/src/views/order/after-order/afterSaleOrder.vue
+++ b/manager/src/views/order/after-order/afterSaleOrder.vue
@@ -282,14 +282,12 @@ export default {
render: (h, params) => {
return h("div", [
h(
- "Button",
+ "a",
{
- props: {
- type: "info",
- size: "small",
- },
style: {
- marginRight: "5px",
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none"
},
on: {
click: () => {
diff --git a/manager/src/views/order/after-order/orderComplaint.vue b/manager/src/views/order/after-order/orderComplaint.vue
index ac450909..208db667 100644
--- a/manager/src/views/order/after-order/orderComplaint.vue
+++ b/manager/src/views/order/after-order/orderComplaint.vue
@@ -144,24 +144,22 @@
}
},
- {
- title: "操作",
- key: "action",
- align: "center",
- fixed: "right",
- width: 150,
- render: (h, params) => {
+ {
+ title: "操作",
+ key: "action",
+ align: "center",
+ fixed: "right",
+ width: 150,
+ render: (h, params) => {
if(params.row.complainStatus === "COMPLETE"){
return h("div", [
h(
- "Button",
+ "a",
{
- props: {
- type: "info",
- size: "small",
- },
style: {
- marginRight: "5px",
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
},
on: {
click: () => {
@@ -175,14 +173,12 @@
}else{
return h("div", [
h(
- "Button",
+ "a",
{
- props: {
- type: "primary",
- size: "small",
- },
style: {
- marginRight: "5px",
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
},
on: {
click: () => {
diff --git a/manager/src/views/order/order/orderList.vue b/manager/src/views/order/order/orderList.vue
index 20d903bc..ea1817a5 100644
--- a/manager/src/views/order/order/orderList.vue
+++ b/manager/src/views/order/order/orderList.vue
@@ -357,17 +357,26 @@ export default {
width: 100,
render: (h, params) => {
return h(
- "Button",
- {
- props: { type: "info", size: "small" },
- style: { marginRight: "5px" },
- on: {
- click: () => {
- this.detail(params.row);
+ "div",
+ { class: "ops" },
+ [
+ h(
+ "a",
+ {
+ style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
+ },
+ on: {
+ click: () => {
+ this.detail(params.row);
+ },
+ },
},
- },
- },
- "查看"
+ "查看"
+ ),
+ ]
);
},
},
@@ -536,4 +545,14 @@ export default {
font-size: 14px;
}
}
+.ops a {
+ color: #2d8cf0;
+ cursor: pointer;
+ text-decoration: none;
+}
+.ops span {
+ display: inline-block;
+ margin: 0 8px;
+ color: #dcdee2;
+}
diff --git a/manager/src/views/page/article-manage/ArticleCategory.vue b/manager/src/views/page/article-manage/ArticleCategory.vue
index 9b7bf625..134f145d 100644
--- a/manager/src/views/page/article-manage/ArticleCategory.vue
+++ b/manager/src/views/page/article-manage/ArticleCategory.vue
@@ -19,29 +19,21 @@
primary-key="id"
>
-
-
-
-
+ >添加子分类
diff --git a/manager/src/views/page/article-manage/articleList.vue b/manager/src/views/page/article-manage/articleList.vue
index 269d723e..e827371b 100644
--- a/manager/src/views/page/article-manage/articleList.vue
+++ b/manager/src/views/page/article-manage/articleList.vue
@@ -221,16 +221,12 @@ export default {
render: (h, params) => {
return h("div", [
h(
- "Button",
+ "a",
{
- props: {
- size: "small",
- type:
- this.selectedIndex == params.index
- ? "primary"
- : "default",
- },
style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
marginRight: "5px",
display: this.selected ? "" : "none",
},
@@ -244,13 +240,17 @@ export default {
this.selectedIndex == params.index ? "已选" : "选择"
),
h(
- "Button",
+ "span",
+ { style: { margin: "0 8px", color: "#dcdee2" } },
+ "|"
+ ),
+ h(
+ "a",
{
- props: {
- size: "small",
- type: "info",
- },
style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
marginRight: "5px",
},
on: {
@@ -262,11 +262,17 @@ export default {
"编辑"
),
h(
- "Button",
+ "span",
+ { style: { margin: "0 8px", color: "#dcdee2" } },
+ "|"
+ ),
+ h(
+ "a",
{
- props: {
- type: "error",
- size: "small",
+ style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
},
on: {
click: () => {
diff --git a/manager/src/views/page/feedback/feedback.vue b/manager/src/views/page/feedback/feedback.vue
index 25278bf0..a3467ac9 100644
--- a/manager/src/views/page/feedback/feedback.vue
+++ b/manager/src/views/page/feedback/feedback.vue
@@ -133,17 +133,10 @@
align: "center",
width: 130,
render: (h, params) => {
- return h("div", [
+ return h("div", { class: "ops" }, [
h(
- "Button",
+ "a",
{
- props: {
- size: "small",
- type: "info"
- },
- style: {
- marginRight: "5px",
- },
on: {
click: () => {
this.detail(params.row);
@@ -208,3 +201,15 @@
},
};
+
diff --git a/manager/src/views/privacy-content/index.vue b/manager/src/views/privacy-content/index.vue
index 20f8f231..64137612 100644
--- a/manager/src/views/privacy-content/index.vue
+++ b/manager/src/views/privacy-content/index.vue
@@ -109,16 +109,14 @@ export default {
align: "center",
width: 230,
render: (h, params) => {
- return h("div", [
+ return h("div", { class: "ops" }, [
h(
- "Button",
+ "a",
{
- props: {
- size: "small",
- type: "info",
- },
style: {
- marginRight: "5px",
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none",
},
on: {
click: () => {
@@ -283,4 +281,14 @@ export default {
overflow-y: scroll;
}
}
+ .ops a {
+ color: #2d8cf0;
+ cursor: pointer;
+ text-decoration: none;
+ }
+ .ops span {
+ display: inline-block;
+ margin: 0 8px;
+ color: #dcdee2;
+ }
diff --git a/manager/src/views/promotions/coupon-activity/coupon-publish.vue b/manager/src/views/promotions/coupon-activity/coupon-publish.vue
index 3a250979..e1b62d1b 100644
--- a/manager/src/views/promotions/coupon-activity/coupon-publish.vue
+++ b/manager/src/views/promotions/coupon-activity/coupon-publish.vue
@@ -211,12 +211,12 @@ export default {
align: "center",
render: (h, params) => {
return h(
- "Button",
+ "a",
{
- props: {
- size: "small",
- type: "error",
- ghost: true,
+ style: {
+ color: "#2d8cf0",
+ cursor: "pointer",
+ textDecoration: "none"
},
on: {
click: () => {
diff --git a/manager/src/views/promotions/coupon-activity/coupon.vue b/manager/src/views/promotions/coupon-activity/coupon.vue
index 6e8b5dd5..74a41cc3 100644
--- a/manager/src/views/promotions/coupon-activity/coupon.vue
+++ b/manager/src/views/promotions/coupon-activity/coupon.vue
@@ -13,20 +13,19 @@
sortable="custom"
>
-
-
+ >关闭