From 292de2fc6695b7997bd2e84276c2395fdff00e77 Mon Sep 17 00:00:00 2001 From: xh-pan1 Date: Sat, 18 Nov 2023 22:12:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E6=8C=81=E5=A4=9A=E8=AF=AD=E8=A8=80?= =?UTF-8?q?=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .eslintignore | 1 + .../toolBar/toolModule/custom-page-select.vue | 2 +- .../toolBar/toolModule/notice-select.vue | 2 +- .../toolBar/toolModule/product-select.vue | 4 +- .../components/toolBar/toolModule/shop-select.vue | 2 +- canvas-container/styles/theme/index.css | 69 +- src/api/business.js | 12 +- src/api/shop.js | 55 ++ src/components/Sharesetting/index.vue | 252 +++++++ src/components/basics/couponTable.vue | 2 +- src/components/basics/productTable.vue | 2 +- src/styles/elDialog.scss | 32 + src/views/active/activeDetails.vue | 2 +- src/views/active/seckilllist/seckillAdd.vue | 162 +++-- src/views/ad/coverConfig/index.vue | 2 +- src/views/business/businessList/index.vue | 185 +++-- src/views/business/settlement/addSettlement.vue | 106 +-- src/views/business/settlement/index.vue | 20 +- src/views/business/shopList/index.vue | 765 +++++++++++++++++++++ src/views/channel/list/index.vue | 1 - src/views/common.vue | 2 +- src/views/finance/application/index.vue | 2 +- src/views/order/after/details/index.vue | 306 +++++++-- src/views/order/after/index.vue | 1 - src/views/order/pending/index.vue | 2 +- src/views/order/pending/pendDetails.vue | 367 +++++++--- src/views/renovation/brand/index.vue | 2 +- src/views/renovation/commdityClass/Edit.vue | 321 ++++----- src/views/renovation/commdityClass/index.vue | 25 +- .../renovation/commoditySystem/addCommodity.vue | 2 +- src/views/renovation/commoditySystem/index.vue | 20 +- src/views/risk/IPBlacklist/index.vue | 2 +- src/views/risk/riskRules/index.vue | 2 +- src/views/risk/userBlacklist/index.vue | 2 +- src/views/setup/businessMenus/index.vue | 96 ++- src/views/setup/tabs/index.vue | 424 +++++++----- src/views/sharesetting/index.vue | 4 +- 37 files changed, 2447 insertions(+), 811 deletions(-) create mode 100644 src/api/shop.js create mode 100644 src/components/Sharesetting/index.vue create mode 100644 src/views/business/shopList/index.vue diff --git a/.eslintignore b/.eslintignore index 0ad8878..554d408 100644 --- a/.eslintignore +++ b/.eslintignore @@ -4,3 +4,4 @@ src/canvas-container canvas-container public dist +src diff --git a/canvas-container/components/toolBar/toolModule/custom-page-select.vue b/canvas-container/components/toolBar/toolModule/custom-page-select.vue index 6a0f562..bed0526 100644 --- a/canvas-container/components/toolBar/toolModule/custom-page-select.vue +++ b/canvas-container/components/toolBar/toolModule/custom-page-select.vue @@ -5,7 +5,7 @@ - 查询 + {{ $t('common.query') }} - 查询 + {{ $t('common.query') }} --> - + - 查询 + {{ $t('common.query') }} - 查询 + {{ $t('common.query') }} +
+ + + +
+ + + + + + +
+ + 取 消 + 确 定 + + +
+
+ + + + + + diff --git a/src/components/basics/couponTable.vue b/src/components/basics/couponTable.vue index 10245ff..0547e2d 100644 --- a/src/components/basics/couponTable.vue +++ b/src/components/basics/couponTable.vue @@ -9,7 +9,7 @@ - 查询 + {{ $t('common.query') }} 重置 diff --git a/src/components/basics/productTable.vue b/src/components/basics/productTable.vue index 56c089a..6d076bd 100644 --- a/src/components/basics/productTable.vue +++ b/src/components/basics/productTable.vue @@ -9,7 +9,7 @@ - 查询 + {{ $t('common.query') }} 重置 diff --git a/src/styles/elDialog.scss b/src/styles/elDialog.scss index c59b2ed..8a20ecb 100644 --- a/src/styles/elDialog.scss +++ b/src/styles/elDialog.scss @@ -1,5 +1,7 @@ .el-dialog { border-radius: 10px; + margin-top: 10vh; + margin-bottom: 5vh; } .el-dialog__header { @@ -65,3 +67,33 @@ font-weight: 500; .el-table th { text-align: center !important; } + +.el-form-item__label { + vertical-align: middle; + float: left; + padding: 0 12px 0 0; + -webkit-box-sizing: border-box; + box-sizing: border-box; + + font-size: 14px; + font-family: PingFang SC; + font-weight: 400; + color: #404F64; + line-height: 36px; + text-align: left; +} + +.el-radio__label { + vertical-align: middle; + padding: 0 12px 0 0; + -webkit-box-sizing: border-box; + box-sizing: border-box; + + font-size: 14px; + font-family: PingFang SC; + font-weight: 400; + color: #404F64; + line-height: 36px; + text-align: left; + margin-left: 8px; +} diff --git a/src/views/active/activeDetails.vue b/src/views/active/activeDetails.vue index 3488ab6..6182fa3 100644 --- a/src/views/active/activeDetails.vue +++ b/src/views/active/activeDetails.vue @@ -118,7 +118,7 @@ - 查询 + {{ $t('common.query') }} diff --git a/src/views/active/seckilllist/seckillAdd.vue b/src/views/active/seckilllist/seckillAdd.vue index b278635..5365355 100644 --- a/src/views/active/seckilllist/seckillAdd.vue +++ b/src/views/active/seckilllist/seckillAdd.vue @@ -3,43 +3,23 @@
基础信息
- + - + - +

报名时间不能交叉且报名时间不能大于活动时间

- +

平台活动时间不能交叉并且活动时间不能小于报名时间

@@ -52,7 +32,7 @@
优惠规则
- + @@ -95,14 +75,14 @@ export default { props: { activityForm: { type: Object, - default: () => {} + default: () => { } }, isEdit: { type: Number, default: 0 } }, - data () { + data() { return { form: new Form(), date1: [], // 活动时间 @@ -113,19 +93,19 @@ export default { }, computed: { // 其他修改 - unStart () { + unStart() { const t = this.isEdit ? this.activityForm : null return t && !(t.state === 0) }, // 时间修改 - applyEnd () { + applyEnd() { const t = this.isEdit ? this.activityForm : null return t && (t.state === 3 || t.state === 4) } }, watch: { isEdit: { - handler (nVal, oVal) { + handler(nVal, oVal) { if (nVal) { this.getDetails() } else { @@ -135,21 +115,21 @@ export default { deep: true }, activityForm: { - handler (nVal, oVal) { + handler(nVal, oVal) { if (nVal) { this.getDetails() } } } }, - created () { + created() { if (this.isEdit) { // 初始化watch无法监听isEdit,手动获取数据 this.getDetails() } }, methods: { // 查询详情请 - async getDetails () { + async getDetails() { const res = await getSeckillDetail({ seckillId: this.activityForm.seckillId }) if (JSON.stringify(res.data) !== '{}') { this.form = res.data @@ -157,9 +137,9 @@ export default { this.date2 = [res.data.signStartTime, res.data.signEndTime] } }, - cancel () { this.$emit('cancel') }, - refersh () { this.$emit('refersh') }, - save () { + cancel() { this.$emit('cancel') }, + refersh() { this.$emit('refersh') }, + save() { const params = Object.assign({}, this.form, { startTime: this.date1[0] || '', endTime: this.date1[1] || '', @@ -208,7 +188,7 @@ export default { } }) }, - reset () { + reset() { this.form = new Form() this.date1 = [] this.date2 = [] @@ -220,42 +200,44 @@ export default { diff --git a/src/views/channel/list/index.vue b/src/views/channel/list/index.vue index e9a34a8..638b401 100644 --- a/src/views/channel/list/index.vue +++ b/src/views/channel/list/index.vue @@ -108,7 +108,6 @@ 删除 diff --git a/src/views/common.vue b/src/views/common.vue index ad3659c..809a5d6 100644 --- a/src/views/common.vue +++ b/src/views/common.vue @@ -44,7 +44,7 @@ /> - 查询 + {{ $t('common.query') }} 新建商家
diff --git a/src/views/finance/application/index.vue b/src/views/finance/application/index.vue index 72f7471..81c55e6 100644 --- a/src/views/finance/application/index.vue +++ b/src/views/finance/application/index.vue @@ -93,7 +93,7 @@
确认打款 - 拒绝打款 + 拒绝打款 关 闭 diff --git a/src/views/order/after/details/index.vue b/src/views/order/after/details/index.vue index 5bdf9b1..23982ce 100644 --- a/src/views/order/after/details/index.vue +++ b/src/views/order/after/details/index.vue @@ -1,21 +1,23 @@