Browse Source

修改问题

hejie 3 years ago
parent
commit
46626fdf88
2 changed files with 8 additions and 8 deletions
  1. 2 2
      src/pages/my/login.vue
  2. 6 6
      src/pages/sign/index.vue

+ 2 - 2
src/pages/my/login.vue

@@ -7,7 +7,7 @@
         <view class="phoneL" v-if="LoginType == 1">
             <view class="clearfix"><input v-model="formD2.mobile" placeholder="请输入手机号" type="number" maxlength="11" /></view>
             <view class="clearfix">
-                <input v-model="formD2.captcha" placeholder="请输入验证码" confirm-type="go" type="number" maxlength="5" class="w70" />
+                <input v-model="formD2.captcha" placeholder="请输入验证码" confirm-type="go" type="number" maxlength="6" class="w70" />
                 <view @click="getVerifyCode" :class="{w30:true,corb:msgNum!=='获取验证码'}">{{msgNum}}</view>
             </view>
             <view v-if="signIn" class="clearfix">
@@ -138,7 +138,7 @@ export default {
             if (this.LoginType == 1) {
                 let m = this.formD2.mobile
                 let v = this.formD2.captcha
-                if (m && v && v.length == 5 && this.isPhone(m)) this.ISFill = true
+                if (m && v && v.length == 6 && this.isPhone(m)) this.ISFill = true
                 else this.ISFill = false
             } else {
                 let u = this.formD.username

+ 6 - 6
src/pages/sign/index.vue

@@ -153,9 +153,9 @@ export default {
     onShow: function() {
         this.timer = '00:00:00'
         this.loadData()
-        this.goodsDay()
-        this.getInteGoods()
-        this.integralMethodChange()
+        // this.goodsDay()
+        // this.getInteGoods()
+        // this.integralMethodChange()
         let that = this;
         let userId = app.globalData.systemUserInfo && app.globalData.systemUserInfo.userId ? app.globalData.systemUserInfo.userId : '';
         if (!userId || userId == '' || userId == undefined) {
@@ -175,9 +175,9 @@ export default {
         clearInterval(tim)
     },
     methods: {
-        loadData: function() {
-            let that = this;
-            u_post("ShuZiTeaIntegral/integral/integralInfoNew").then(res => {
+        loadData() {
+            post("/user/sign").then(res => {
+                console.log(res,"aaaaaaaaaa");
                 if (res.status == 200) {
                     that.integerInfo = res.integerInfo
                     that.userInof = res.userInof