From d0d3a33b400fd1cd6ee8122b349832120908a8ed Mon Sep 17 00:00:00 2001
From: liukangdong <898885815@qq.com>
Date: 星期三, 08 五月 2024 14:45:01 +0800
Subject: [PATCH] html

---
 h5/App.vue |   22 ++++++++++++++++++++--
 1 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/h5/App.vue b/h5/App.vue
index 752c9d1..b3dbcaf 100644
--- a/h5/App.vue
+++ b/h5/App.vue
@@ -10,7 +10,7 @@
 
 					for (const q of query) {
 						if (q.indexOf('code=') !== -1) {
-							code = q.substring(q.indexOf('code=') + 5, q.indexOf('&'))
+							code = q.substring(q.indexOf('code=') + 5, q.length)
 						}
 					}
 					that.$u.api.wxAuthorize({
@@ -18,6 +18,9 @@
 					}).then(res => {
 						if (res.code === 200) {
 							that.$store.commit('setOpenId', res.data.openid)
+							if (res.data.member) {
+								that.$store.commit('setMember', res.data.member)
+							}
 						}
 					})
 				}
@@ -139,4 +142,19 @@
 	.card .content {
 		color: #222;
 	}
-</style>
\ No newline at end of file
+		//璁剧疆鍦嗚
+		checkbox .uni-checkbox-input{
+			border-radius: 50%;
+		}
+		checkbox .uni-checkbox-input.uni-checkbox-input-checked{
+			color: #4d99a8 !important; 
+			border: 1px solid #4d99a8 !important;
+		}
+		checkbox .uni-checkbox-input.uni-checkbox-input-checked:before{
+			/* color: #4d99a8 !important;  */
+			/* border: 1px solid #4d99a8 !important; */
+			/* font-size: 58rpx; */
+			/* border-radius: 50%; */
+		}
+
+</style>

--
Gitblit v1.9.3