jiangping
2024-05-09 9b3da964c23a31f9d1164b74b5742d1034de8af3
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>
      //设置圆角
      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>