From b4b748d3ca490edacdcca863f08b8051bd259185 Mon Sep 17 00:00:00 2001
From: yujialong <479214531@qq.com>
Date: Thu, 19 Dec 2024 17:56:20 +0800
Subject: [PATCH] fix
---
src/assets/css/main.css | 2 +-
src/components/Navbar.vue | 2 +-
src/setting.js | 2 +-
src/views/resourse/index.vue | 143 ++++++++++++++++++++++++++------
src/views/resourse/upload.vue | 148 ++++++++++++++++++++++++++++++++++
src/views/shop/add.vue | 6 +-
6 files changed, 271 insertions(+), 32 deletions(-)
create mode 100644 src/views/resourse/upload.vue
diff --git a/src/assets/css/main.css b/src/assets/css/main.css
index 705f82b..ffe2653 100644
--- a/src/assets/css/main.css
+++ b/src/assets/css/main.css
@@ -8,7 +8,7 @@ body,
#app,
.wrapper {
width: 100%;
- height: 100%;
+ min-height: 100%;
display: flex;
flex-direction: column;
}
diff --git a/src/components/Navbar.vue b/src/components/Navbar.vue
index 50e7f2c..625c1b8 100644
--- a/src/components/Navbar.vue
+++ b/src/components/Navbar.vue
@@ -124,7 +124,7 @@ export default {
\ No newline at end of file
diff --git a/src/views/resourse/upload.vue b/src/views/resourse/upload.vue
new file mode 100644
index 0000000..59a26e4
--- /dev/null
+++ b/src/views/resourse/upload.vue
@@ -0,0 +1,148 @@
+
+
+
+
+
+
+ 将文件拖到此处,或点击上传
+
+
视频请上传MP4格式,大小不超过150M;
+
其他格式文件大小不要超过10M
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 取消
+ 确定
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/views/shop/add.vue b/src/views/shop/add.vue
index 6517c7b..acaa641 100644
--- a/src/views/shop/add.vue
+++ b/src/views/shop/add.vue
@@ -763,7 +763,7 @@ export default {
if (e.typeIds && e.typeIds.length) e.typeIds = e.typeIds[0]
e.mall.interfaceDiagrams = e.mall.interfaceDiagram ? e.mall.interfaceDiagram.split(',') : []
e.mallAnnex.forEach(e => e.name = e.fileName)
- if (e.systemId && e.systemId.split(',').filter(e => e != 11 && e != 12 && e != 19).length) this.isPython = true // 选择了python,则可选择主题
+ if (e.systemId && e.systemId.split(',').filter(e => e != 11 && e != 12 && e != 19 && e != 31).length) this.isPython = true // 选择了python,则可选择主题
if (!e.mall.themeId) e.mall.themeId = ''
if (e.mall.appletIcon) this.appletList = [
{
@@ -772,7 +772,7 @@ export default {
}
]
- this.matches = e.mallProjectConfig
+ if (e.mallProjectConfig) this.matches = e.mallProjectConfig
this.form = e
this.getOp()
@@ -923,7 +923,7 @@ export default {
if (data.marketPrice) mall.marketUnitPrice = data.marketPrice
// 判断是否是python系统
const systemIds = data.systemIds.split(',')
- this.isPython = systemIds.filter(e => e != 11 && e != 12 && e != 19).length
+ this.isPython = systemIds.filter(e => e != 11 && e != 12 && e != 19 && e != 31).length
this.calcAllSettlement()
}).catch(err => { })
} else {