From 99ef49ffc62ad4b8f35ad9dbfd38b2377fa188a7 Mon Sep 17 00:00:00 2001
From: gyq <875626088@qq.com>
Date: Fri, 17 Jan 2025 17:12:16 +0800
Subject: [PATCH] =?UTF-8?q?=E7=89=88=E6=9C=AC=E6=9B=B4=E6=96=B0=E6=98=BE?=
=?UTF-8?q?=E7=A4=BAios?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/app/app.vue | 180 ++++++++++++------------------------------
1 file changed, 52 insertions(+), 128 deletions(-)
diff --git a/src/views/app/app.vue b/src/views/app/app.vue
index 775b479..3287774 100644
--- a/src/views/app/app.vue
+++ b/src/views/app/app.vue
@@ -2,16 +2,8 @@
- 添加升级
+ 添加升级
@@ -20,7 +12,7 @@
-
+
{{
@@ -31,33 +23,18 @@
- 编辑
+ 编辑
- 删除
+ 删除
-
+
@@ -71,66 +48,36 @@
-->
-
*安卓包:
-
*安卓包:
+
-
-
-

+ ">
+
+
+
{{
formupgrad.androidWgtUrl | name
}}
-
-
+
+
-
-
+
+
-
-
+
+
-
-
-
-
+
+
+
+
+
+
-
+
@@ -307,7 +223,7 @@ export default {
choicenData2: [],
upgradeData: [],
upgradeData1: {
- records:[]
+ records: []
},
choicenData: [],
types: [
@@ -361,8 +277,8 @@ export default {
},
},
methods: {
- resetFormupgrad(){
- for(let i in this.formupgrad){
+ resetFormupgrad() {
+ for (let i in this.formupgrad) {
this.formupgrad[i] = "";
}
},
@@ -404,8 +320,8 @@ export default {
console.log(data);
const date = new Date();
const houzhui = "." + data.name.substr(data.name.lastIndexOf(".") + 1);
- const isTest=config.baseUrl.includes('web.hnsiyao.cn')?false:true
- const appName=isTest?'test-duanju':'sy-duanju'
+ const isTest = config.baseUrl.includes('web.hnsiyao.cn') ? false : true
+ const appName = isTest ? 'test-duanju' : 'sy-duanju'
const name = "app/" + appName + houzhui;
console.log(name);
const fileRes = await this.ossClient.partUpload(name, data.raw, (p) => {
@@ -530,7 +446,7 @@ export default {
message: "操作成功",
type: "success",
duration: 1500,
- onClose: () => {},
+ onClose: () => { },
});
});
}
@@ -565,7 +481,7 @@ export default {
message: "操作成功",
type: "success",
duration: 1500,
- onClose: () => {},
+ onClose: () => { },
});
});
},
@@ -595,7 +511,7 @@ export default {
});
});
})
- .catch(() => {});
+ .catch(() => { });
},
// 升级配置数据列表
@@ -632,16 +548,19 @@ export default {
justify-content: center;
align-items: center;
}
+
::v-deep .avatar-uploader {
width: 100%;
box-sizing: border-box;
height: 100%;
}
+
.el-upload {
width: 100%;
height: 100%;
box-sizing: border-box;
}
+
.customWidth {
width: 80% !important;
}
@@ -652,9 +571,11 @@ export default {
text-align: center;
border: 1px dotted rgba(67, 79, 103, 0.4);
}
+
.margin-auto {
margin: auto;
}
+
.cards {
padding: 0 8px;
margin-bottom: 15px;
@@ -678,12 +599,15 @@ export default {
height: 113px;
color: rgba(0, 0, 0, 0.65);
}
+
.flex {
display: flex;
}
+
.flex-col {
flex-direction: column;
}
+
.flex-xy-center {
justify-content: center;
align-items: center;