From 9b3da964c23a31f9d1164b74b5742d1034de8af3 Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 09 五月 2024 17:09:53 +0800
Subject: [PATCH] 最新版本
---
h5/App.vue | 23 +++++++++++++++++++++--
1 files changed, 21 insertions(+), 2 deletions(-)
diff --git a/h5/App.vue b/h5/App.vue
index 752c9d1..9a4107c 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,20 @@
.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: #fff !important;
+ border: 1px solid #4d99a8 !important;
+ background-color: #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