From 73404a4ff758f2afe95604821bdeea4273650772 Mon Sep 17 00:00:00 2001 From: blak-kong <546598185@qq.com> Date: Wed, 24 Jan 2024 10:36:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E6=92=AD=E9=97=B4=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- flossom-ui/src/views/system/setting/index.vue | 13 +- .../views/system/siteCarouselInfo/index.vue | 1737 +++++++++-------- .../src/views/system/siteInfo/index.vue | 1735 ++++++++-------- 3 files changed, 1938 insertions(+), 1547 deletions(-) diff --git a/flossom-ui/src/views/system/setting/index.vue b/flossom-ui/src/views/system/setting/index.vue index 8bf2fe9..b2e6761 100644 --- a/flossom-ui/src/views/system/setting/index.vue +++ b/flossom-ui/src/views/system/setting/index.vue @@ -381,6 +381,7 @@ export default { } if (this.form.value) { this.form.value = this.form.value.replace(/\\/g, '') // 兼容表格 + this.form.value = encodeURIComponent(this.form.value) console.log(" this.form.value", this.form.value) } @@ -432,30 +433,30 @@ export default { // 处理回显逻辑 this.settingList.forEach((item) => { if (item.key == 'USER_AGREEMENT') { - this.userAgreementFrom.userAgreement = item.value + this.userAgreementFrom.userAgreement = decodeURIComponent(item.value); this.userAgreementFrom.userAgreementId = item.id } if (item.key == 'PRIVACY_AGREEMENT') { - this.privacyAgreementFrom.privacyAgreement = item.value + this.privacyAgreementFrom.privacyAgreement = decodeURIComponent(item.value); this.privacyAgreementFrom.privacyAgreementId = item.id } if (item.key == 'INTEGRAL_RULE') { - this.integralRuleFrom.integralRule = item.value + this.integralRuleFrom.integralRule = decodeURIComponent(item.value); this.integralRuleFrom.integralRuleId = item.id } if (item.key == 'ABOUT_US') { - this.aboutUsFrom.aboutUs = item.value + this.aboutUsFrom.aboutUs = decodeURIComponent(item.value); this.aboutUsFrom.aboutUsId = item.id } if (item.key == 'BLUETOOTH_GUIDANCE_PERMISSIONS') { this.bluetoothGuidancePermissionsFrom.bluetoothGuidancePermissions = - item.value + decodeURIComponent(item.value); this.bluetoothGuidancePermissionsFrom.bluetoothGuidancePermissionsId = item.id } if (item.key == 'LOCATION_GUIDANCE_PERMISSIONS') { this.locationGuidancePermissionsFrom.locationGuidancePermissions = - item.value + decodeURIComponent(item.value); this.locationGuidancePermissionsFrom.locationGuidancePermissionsId = item.id } diff --git a/flossom-ui/src/views/system/siteCarouselInfo/index.vue b/flossom-ui/src/views/system/siteCarouselInfo/index.vue index 188b29e..0df6d13 100644 --- a/flossom-ui/src/views/system/siteCarouselInfo/index.vue +++ b/flossom-ui/src/views/system/siteCarouselInfo/index.vue @@ -1,781 +1,980 @@ - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + - - 搜索 - 重置 - - + + 搜索 + 重置 + + - - - 新增 - - - - - - - - - - - - - - 删除 - - - 导出 - - - + + + 新增 + + + + + + + + + + + + + + 删除 + + + 导出 + + + - - - - - - - - - - - - - - - - - - - - {{ parseTime(scope.row.siteStartTime, '{y}-{m}-{d} {h}:{i}') }} - ~ - {{ parseTime(scope.row.siteEndTime, '{y}-{m}-{d} {h}:{i}') }} - - - - - {{ parseTime(scope.row.userRegisterStartTime, '{y}-{m}-{d} {h}:{i}') }} - ~ - {{ parseTime(scope.row.userRegisterEndTime, '{y}-{m}-{d} {h}:{i}') }} - - - - - 开启 - 关闭 - - - - - - - 全部 - 游客 - 会员 - - - - - 无跳转 - 跳内部链接 - 跳外部链接 - 跳小程序 - 导向视频号 - 导向视频号直播间 - - - - - {{ parseTime(scope.row.createTime) }} - - - - - 修改 - 删除 - 复制 - 开启轮播图 - 关闭轮播图 - - - + + + + + + + + + + + + + + + + + + + + + {{ + parseTime(scope.row.siteStartTime, '{y}-{m}-{d} {h}:{i}') + }} + ~ + {{ + parseTime(scope.row.siteEndTime, '{y}-{m}-{d} {h}:{i}') + }} + + + + + {{ + parseTime(scope.row.userRegisterStartTime, '{y}-{m}-{d} {h}:{i}') + }} + ~ + {{ + parseTime(scope.row.userRegisterEndTime, '{y}-{m}-{d} {h}:{i}') + }} + + + + + 开启 + 关闭 + + + + + + + 全部 + 游客 + 会员 + + + + + 无跳转 + 跳内部链接 + 跳外部链接 + 跳小程序 + 导向视频号 + 导向视频号直播间 + + + + + {{ parseTime(scope.row.createTime) }} + + + + + 修改 + 删除 + 复制 + 开启轮播图 + 关闭轮播图 + + + - + - - - - - - - - - - - 将文件拖到此处,或点击上传 - 只能上传jpg/png图片,建议尺寸300px*400px - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + 将文件拖到此处,或点击上传 + + + 只能上传jpg/png图片,建议尺寸300px*400px + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/flossom-ui/src/views/system/siteInfo/index.vue b/flossom-ui/src/views/system/siteInfo/index.vue index b8840f0..836eb14 100644 --- a/flossom-ui/src/views/system/siteInfo/index.vue +++ b/flossom-ui/src/views/system/siteInfo/index.vue @@ -1,784 +1,975 @@ - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + - - 搜索 - 重置 - - + + 搜索 + 重置 + + - - - 新增 - - - - - - - - - - - - - - 删除 - - - 导出 - - - + + + 新增 + + + + + + + + + + + + + + 删除 + + + 导出 + + + - - - - - - - - - - - - - - - - - - - - {{ parseTime(scope.row.siteStartTime, '{y}-{m}-{d} {h}:{i}') }} - ~ - {{ parseTime(scope.row.siteEndTime, '{y}-{m}-{d} {h}:{i}') }} - - - - - {{ parseTime(scope.row.userRegisterStartTime, '{y}-{m}-{d} {h}:{i}') }} - ~ - {{ parseTime(scope.row.userRegisterEndTime, '{y}-{m}-{d} {h}:{i}') }} - - - - - 开启 - 关闭 - - - - - 首页 - 发现模块 - 我的模块 - - - - - 永久一次 - 每次进入 - 自定义频次 - - - - - - - - 修改 - 删除 - 复制 - 开启弹窗 - 关闭弹窗 - - - + + + + + + + + + + + + + + + + + + + + + {{ + parseTime(scope.row.siteStartTime, '{y}-{m}-{d} {h}:{i}') + }} + ~ + {{ + parseTime(scope.row.siteEndTime, '{y}-{m}-{d} {h}:{i}') + }} + + + + + {{ + parseTime(scope.row.userRegisterStartTime, '{y}-{m}-{d} {h}:{i}') + }} + ~ + {{ + parseTime(scope.row.userRegisterEndTime, '{y}-{m}-{d} {h}:{i}') + }} + + + + + 开启 + 关闭 + + + + + 首页 + 发现模块 + 我的模块 + + + + + 永久一次 + 每次进入 + 自定义频次 + + + + + + + + 修改 + 删除 + 复制 + 开启弹窗 + 关闭弹窗 + + + - + - - - - - - - - - - - 将文件拖到此处,或点击上传 - 只能上传jpg/png图片,建议尺寸300px*400px - - - - - - - - - - - - - - - - - - - - - - - 永久一次 - 每次进入 - 自定义频次 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + 将文件拖到此处,或点击上传 + + + 只能上传jpg/png图片,建议尺寸300px*400px + + + + + + + + + + + + + + + + + + + + + + + + 永久一次 + 每次进入 + 自定义频次 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +