Browse Source

8/10修改登录短信

Foystor 3 năm trước cách đây
mục cha
commit
c04c1fe6a1
2 tập tin đã thay đổi với 15 bổ sung8 xóa
  1. 11 4
      src/components/index/regist.vue
  2. 4 4
      src/pages/index/index.vue

+ 11 - 4
src/components/index/regist.vue

@@ -344,10 +344,17 @@ export default {
         return false;
       }
       $this.open_time_down();
-      let $params = {
-        phone: $this.phone,
-        is_register: 1
-      };
+      let $params
+      if ($this.title == "注册") {
+         $params = {
+          phone: $this.phone,
+          is_register: 1
+      }}else{
+         $params = {
+          phone: $this.phone,
+          is_register: 0
+      }}
+      
       userGetCode($params).then((res) => {
         let $data = res.data;
         Toast.success($data["errmsg"]);

+ 4 - 4
src/pages/index/index.vue

@@ -45,13 +45,13 @@
             <img
               src="https://img.shuimuai.com/index_btn_chongzhizhongxin.png"
               @click="to_page('user_center/recharge')"
-            ></img>
+            >
           </van-col>
           <van-col span="12">
             <img
               src="https://img.shuimuai.com/web/index_btn_gerenzhongxin.png"
               @click="to_page('user_center')"
-            ></img>
+            >
           </van-col>
         </van-row>
 
@@ -60,13 +60,13 @@
             <img
               src="https://img.shuimuai.com/web/index_btn_chengjijilu.png"
               @click="to_page('game_record')"
-            ></img>
+            >
           </van-col>
           <van-col span="12">
             <img
               src="https://img.shuimuai.com/index_btn_dailishang.png"
               @click="to_page('agent/index')"
-            ></img>
+            >
           </van-col>
         </van-row>
       </div>