作者 dl

注册页面

@@ -109,7 +109,7 @@ @@ -109,7 +109,7 @@
109 <span v-else class="friend_code">{{count}}S</span> 109 <span v-else class="friend_code">{{count}}S</span>
110 </div> 110 </div>
111 </div> 111 </div>
112 - <div class="friend_btn">立即领取</div> 112 + <div class="friend_btn" @click="reg_fir">立即领取</div>
113 </div> 113 </div>
114 </div> 114 </div>
115 </body> 115 </body>
@@ -132,13 +132,14 @@ @@ -132,13 +132,14 @@
132 timer: null, 132 timer: null,
133 type: 1, 133 type: 1,
134 invite_id: '', 134 invite_id: '',
135 - tel:'',  
136 - code:'' 135 + tel: '',
  136 + code: '',
  137 + invite_type: ''
137 }, 138 },
138 created: function () { 139 created: function () {
139 this.type = getUrlParam('type'); 140 this.type = getUrlParam('type');
140 - this.invite_id = getUrlParam('form');  
141 - alert(this.invite_id); 141 + this.invite_id = getUrlParam('form')
  142 + this.invite_type = getUrlParam('invite_type')
142 }, 143 },
143 methods: { 144 methods: {
144 getCode: function () { 145 getCode: function () {
@@ -157,6 +158,10 @@ @@ -157,6 +158,10 @@
157 }, 1000) 158 }, 1000)
158 } 159 }
159 }, 160 },
  161 + // 好友注册
  162 + reg_fir: function () {
  163 +
  164 + }
160 } 165 }
161 }) 166 })
162 </script> 167 </script>