jiangping
2024-05-09 b62578f8b43f15be89b3d14f463f11aed03e6fb9
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,49 @@
   .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%; */
      }
      //
      view{
         box-sizing: border-box;
      }
      image{
         box-sizing: border-box;
         margin: 0;
         display: flex;
      }
      .df_ac{
         display: flex;
         align-items: center;
      }
      .main_app{
         padding: 0 30rpx;
         font-size: 28rpx;
         color: #222222;
      }
      .mr24{
         margin-right: 24rpx;
      }
      .mr12{
         margin-right: 12rpx;
      }
      .mr6{
         margin-right: 6rpx;
      }
</style>