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 @@