Forráskód Böngészése

[捉药师] 切换接口登录,调整个人中心页面样式

tangyuanwang 2 hete
szülő
commit
624b53346b
2 módosított fájl, 5 hozzáadás és 5 törlés
  1. 1 1
      pages/login/index.vue
  2. 4 4
      pages/user/index.vue

+ 1 - 1
pages/login/index.vue

@@ -70,7 +70,7 @@ export default {
           // 登录成功,获取用户code
           let open_code = loginRes.code;
           // 授权成功以后,调用登录
-          this.$http.request("api/wechat/phone_number", { code: re.detail.code, share_uid: share_uid, open_code: open_code }, "post").then((re) => {
+          this.$http.request("api/question_bank/question_reception/wechat/phone_number", { code: re.detail.code, share_uid: share_uid, open_code: open_code }, "post").then((re) => {
             // 成功的话
             if (re.code == "success") {
               // 存储登录标识

+ 4 - 4
pages/user/index.vue

@@ -9,7 +9,7 @@
       <view class="box_center">
         <view class="user_name" v-if="is_login">{{ userInfo.username }}</view>
         		<navigator class="user_name" url="/pages/login/index" v-if="!is_login">请登录</navigator>
-        <view class="user_info">{{ userInfo.phone }}</view>
+        <view class="user_info">有效期:</view>
       </view>
       <view class="box_right">
         <navigator url="/pages/user/settings" class="setting_page" v-if="is_login">
@@ -241,14 +241,14 @@ export default {
 	.navigator_title_ico{
 		position: absolute;
 		right: 30rpx;
-		top: 17rpx;
+		top: 20rpx;
 	}
     .navigator_title {
 	  width: 100%;
       display: block;
       font-size: 30rpx;
       line-height: 40rpx;
-	  padding: 20rpx 30rpx;
+	  padding: 25rpx 30rpx;
 	  border-bottom: 1rpx solid #eeeeee;
     }
 	.navigator_title_vip{
@@ -256,7 +256,7 @@ export default {
 		display: block;
 		font-size: 30rpx;
 		line-height: 40rpx;
-		padding: 30rpx 60rpx;
+		padding: 35rpx 60rpx;
 		border-bottom: 1rpx solid #eeeeee;
 		font-size: 30rpx;
 	}