From 06446fe67520166a2f8aadbcbfcfcb07d04cfcf3 Mon Sep 17 00:00:00 2001
From: lichong <18518571399@163.com>
Date: Wed, 23 Oct 2024 18:36:20 +0800
Subject: [PATCH] 10.23
---
electron-builder.yml | 4 ++--
package.json | 2 +-
src/renderer/src/App.vue | 12 ++++++------
src/renderer/src/assets/css/base.css | 9 +++++++++
4 files changed, 18 insertions(+), 9 deletions(-)
diff --git a/electron-builder.yml b/electron-builder.yml
index 49ac237..628ff13 100644
--- a/electron-builder.yml
+++ b/electron-builder.yml
@@ -1,5 +1,5 @@
appId: com.electron.lichong
-productName: 桌面应用
+productName: 数据生成
directories:
buildResources: build
files:
@@ -14,7 +14,7 @@ win:
executableName: lichong-app
nsis:
oneClick: false
- artifactName: ${name}-${version}-setup.${ext}
+ artifactName: 数据生成-${version}-setup.${ext}
allowToChangeInstallationDirectory: true
shortcutName: ${productName}
uninstallDisplayName: ${productName}
diff --git a/package.json b/package.json
index 420c541..fdab5f5 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "electron",
- "version": "1.0.0",
+ "version": "1.0.2",
"description": "An Electron application with Vue",
"main": "./out/main/index.js",
"author": "lichong",
diff --git a/src/renderer/src/App.vue b/src/renderer/src/App.vue
index 8d6d385..1c1b40d 100644
--- a/src/renderer/src/App.vue
+++ b/src/renderer/src/App.vue
@@ -33,7 +33,7 @@
-
+
压实度:
%
@@ -63,13 +63,13 @@ export default {
return {
_: _,
dayjs: dayjs,
- isVip: false,
+ isVip: true,
form: {
min: 1,
max: 10,
- weishu: 3,
- geshu: 3,
- zushu: 8,
+ weishu: 2,
+ geshu: 10,
+ zushu: 10,
},
secondObj: {
first: 0,
@@ -146,7 +146,7 @@ export default {
},
},
async mounted() {
- let fiveDay = dayjs('2024-10-15T00:00:00').valueOf()
+ let fiveDay = dayjs('2024-11-02T00:00:00').valueOf()
if (!this.isVip) {
if (dayjs().valueOf() > fiveDay) {
this.isVip = false
diff --git a/src/renderer/src/assets/css/base.css b/src/renderer/src/assets/css/base.css
index f31f35e..1a3d453 100644
--- a/src/renderer/src/assets/css/base.css
+++ b/src/renderer/src/assets/css/base.css
@@ -2,4 +2,13 @@ html,
body {
margin: 0;
padding: 0;
+}
+
+.singleClass {
+ width: 330px;
+ text-align-last: center;
+}
+
+.singleClass .el-input__inner {
+ font-size: 1.4em;
}
\ No newline at end of file