From 880d75eec19189e94c192f7ba0ed389a53755ed8 Mon Sep 17 00:00:00 2001
From: "@fawn-nine" <1271023382@qq.com>
Date: Fri, 17 Nov 2023 17:43:28 +0800
Subject: [PATCH 1/3] =?UTF-8?q?=E4=BA=94=E8=BF=90=E5=85=AD=E6=B0=94?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
config/baseUrl.js | 4 +-
pages.json | 8 +
pages/luck/luck - 副本.vue | 287 ++++++++++++++++++++++++++++
pages/luck/luck.vue | 350 +++++++++++++++++++++++++++++++++++
pages/peanut/home.vue | 4 +-
5 files changed, 649 insertions(+), 4 deletions(-)
create mode 100644 pages/luck/luck - 副本.vue
create mode 100644 pages/luck/luck.vue
diff --git a/config/baseUrl.js b/config/baseUrl.js
index 9d67d56..de91aa9 100644
--- a/config/baseUrl.js
+++ b/config/baseUrl.js
@@ -7,9 +7,9 @@ if (process.env.NODE_ENV === 'development') {
// baseUrl = "https://twin-ui.com/demo/";
// baseUrl = "http://59.110.212.44:9200/pb/";
// baseUrl = "https://testapi.nuttyreading.com/"; // 线上测试环境
- baseUrl = "https://api.nuttyreading.com/"; // 线上正式
+ // baseUrl = "https://api.nuttyreading.com/"; // 线上正式
// baseUrl = "http://192.168.110.100:9100/pb/"; // 开发用电脑
- // baseUrl = "http://192.168.110.110:9200/pb/";
+ baseUrl = "http://192.168.110.110:9200/pb/";
// baseUrl = "http://192.168.110.38:9200/pb/"; // 吴春磊笔记本1
// socketUrl = "ws://8.129.186.35:6001/";
} else if (process.env.NODE_ENV === 'production') {
diff --git a/pages.json b/pages.json
index 39bea34..a00799c 100644
--- a/pages.json
+++ b/pages.json
@@ -508,6 +508,14 @@
"navigationBarTitleText" : "脉穴详情",
"enablePullDownRefresh" : false
}
+ },
+ {
+ "path" : "pages/luck/luck",
+ "style" :
+ {
+ "navigationBarTitleText" : "五运六气",
+ "enablePullDownRefresh" : false
+ }
}
],
"globalStyle": {
diff --git a/pages/luck/luck - 副本.vue b/pages/luck/luck - 副本.vue
new file mode 100644
index 0000000..0ce1c55
--- /dev/null
+++ b/pages/luck/luck - 副本.vue
@@ -0,0 +1,287 @@
+
+
+
+ -->
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/luck/luck.vue b/pages/luck/luck.vue
new file mode 100644
index 0000000..9162555
--- /dev/null
+++ b/pages/luck/luck.vue
@@ -0,0 +1,350 @@
+
+
+
+ -->
+
+
+
+
+
+
+
+
+
+
+ 五运:{{wy.zhuyun[wy.now]}}(主运) {{wy.keyun[wy.now]}}(客运) {{wy.nianyun}}(年运)
+
+
+ 六气:{{lq.zhuqi[lq.now]}}(主气) {{lq.keqi[lq.now]}}(客气)
+
+
+
+
+
+
+ * ↓ 五运图,左滑查看全年运数
+
+
+
+ 开始时间
运数
+
+ 主运
+ 客运
+
+
+ {{wy.fiveTimes[0]}}起
初之运
+ {{wy.zhuyun[0]}}
+ {{wy.keyun[0]}}
+
+
+ {{wy.fiveTimes[1]}}起
二之运
+ {{wy.zhuyun[1]}}
+ {{wy.keyun[1]}}
+
+
+ {{wy.fiveTimes[2]}}起
三之运
+ {{wy.zhuyun[2]}}
+ {{wy.keyun[2]}}
+
+
+ {{wy.fiveTimes[3]}}起
四之运
+ {{wy.zhuyun[3]}}
+ {{wy.keyun[3]}}
+
+
+ {{wy.fiveTimes[4]}}起
终之运
+ {{wy.zhuyun[4]}}
+ {{wy.keyun[4]}}
+
+
+
+ * ↓ 六气图,左滑查看全年气数
+
+
+
+ 开始时间
气数
+
+ 主气
+ 客气
+
+
+ {{lq.time[0]}}起
初之气
+ {{lq.zhuqi[0]}}
+ {{lq.keqi[0]}}
+
+
+ {{lq.time[1]}}起
二之气
+ {{lq.zhuqi[1]}}
+ {{lq.keqi[1]}}
+
+
+ {{lq.time[2]}}起
三之气
+ {{lq.zhuqi[2]}}
+ {{lq.keqi[2]}}
+
+
+ {{lq.time[3]}}起
四之气
+ {{lq.zhuqi[3]}}
+ {{lq.keqi[3]}}
+
+
+ {{lq.time[4]}}起
五之气
+ {{lq.zhuqi[4]}}
+ {{lq.keqi[4]}}
+
+
+ {{lq.time[5]}}起
终之气
+ {{lq.zhuqi[5]}}
+ {{lq.keqi[5]}}
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/peanut/home.vue b/pages/peanut/home.vue
index e24db97..8fa7923 100644
--- a/pages/peanut/home.vue
+++ b/pages/peanut/home.vue
@@ -20,10 +20,10 @@
方药检索
-->
-
+
书名检索
From c774d48f5e72facefe4af6a7563acd9efe634bfd Mon Sep 17 00:00:00 2001
From: "@fawn-nine" <1271023382@qq.com>
Date: Mon, 20 Nov 2023 14:27:39 +0800
Subject: [PATCH 2/3] =?UTF-8?q?=E5=BE=AE=E8=B0=83?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/luck/luck.vue | 15 ++++++---------
1 file changed, 6 insertions(+), 9 deletions(-)
diff --git a/pages/luck/luck.vue b/pages/luck/luck.vue
index 9162555..a238eeb 100644
--- a/pages/luck/luck.vue
+++ b/pages/luck/luck.vue
@@ -27,7 +27,7 @@
- * ↓ 五运图,左滑查看全年运数
+ 《 ↓ 五运图 》
@@ -63,7 +63,7 @@
- * ↓ 六气图,左滑查看全年气数
+ 《 ↓ 六气图,左滑查看全年气数 》
@@ -104,6 +104,7 @@
+
@@ -235,14 +236,10 @@ wytext:'',
},
changeLog(e) {
console.log('change事件:', e);
- let ss = e.slice(0, 10)
- // console.log(e.slice(0, 10),'e.slice(0, 10)')
+ let ss = e.slice(0, 10)
this.timestamp = new Date(ss).getTime()
this.getYun(e)
- },
- maskClick(e) {
- console.log('maskClick事件:', e);
- },
+ },
},
components: {
@@ -259,7 +256,7 @@ wytext:'',
.centerBox {
text-align: center;
padding: 20px;
- color: #ddd;
+ color: #888;
}
.yinli {
From 738e403b8dcc18d30f99b479e3995f045eac58e7 Mon Sep 17 00:00:00 2001
From: "@fawn-nine" <1271023382@qq.com>
Date: Mon, 27 Nov 2023 10:07:44 +0800
Subject: [PATCH 3/3] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=80=9D=E5=A4=A9?=
=?UTF-8?q?=E5=9C=A8=E6=B3=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
config/baseUrl.js | 4 ++--
pages/luck/luck.vue | 22 +++++++++++++++++++---
2 files changed, 21 insertions(+), 5 deletions(-)
diff --git a/config/baseUrl.js b/config/baseUrl.js
index de91aa9..d165814 100644
--- a/config/baseUrl.js
+++ b/config/baseUrl.js
@@ -6,10 +6,10 @@ if (process.env.NODE_ENV === 'development') {
// socketUrl = "ws://localhost:6001/";
// baseUrl = "https://twin-ui.com/demo/";
// baseUrl = "http://59.110.212.44:9200/pb/";
- // baseUrl = "https://testapi.nuttyreading.com/"; // 线上测试环境
+ baseUrl = "https://testapi.nuttyreading.com/"; // 线上测试环境
// baseUrl = "https://api.nuttyreading.com/"; // 线上正式
// baseUrl = "http://192.168.110.100:9100/pb/"; // 开发用电脑
- baseUrl = "http://192.168.110.110:9200/pb/";
+ // baseUrl = "http://192.168.110.110:9200/pb/";
// baseUrl = "http://192.168.110.38:9200/pb/"; // 吴春磊笔记本1
// socketUrl = "ws://8.129.186.35:6001/";
} else if (process.env.NODE_ENV === 'production') {
diff --git a/pages/luck/luck.vue b/pages/luck/luck.vue
index a238eeb..a549282 100644
--- a/pages/luck/luck.vue
+++ b/pages/luck/luck.vue
@@ -64,7 +64,7 @@
《 ↓ 六气图,左滑查看全年气数 》
-
+
开始时间
气数
@@ -82,7 +82,7 @@
{{lq.zhuqi[1]}}
{{lq.keqi[1]}}
-
+
{{lq.time[2]}}起
三之气
{{lq.zhuqi[2]}}
{{lq.keqi[2]}}
@@ -97,7 +97,7 @@
{{lq.zhuqi[4]}}
{{lq.keqi[4]}}
-
+
{{lq.time[5]}}起
终之气
{{lq.zhuqi[5]}}
{{lq.keqi[5]}}
@@ -334,6 +334,9 @@ wytext:'',
margin: 0 auto;
margin-bottom: 30rpx;
}
+ .liuqiBox{
+ .line.keyun { padding: 60rpx 10rpx}
+ }
.wuYunBox{
.row{width: 20%; box-sizing: border-box;}
}
@@ -341,6 +344,19 @@ wytext:'',
bottom: 100rpx !important;
}
+.sizai{
+ .keyun{
+ position:relative;
+ }
+ .keyun::after{ position: absolute; content: ''; top:24rpx; left:0;font-size: 24rpx; display:block; width: 100%; color: #888; text-align: center;}
+
+}
+.sizai1{
+ .keyun::after{content: '(司天)';}
+}
+.sizai2{
+ .keyun::after{content: '(在泉)';}
+}
.flexbox {
display: flex;
}