作者 dl

注册页面

... ... @@ -109,7 +109,7 @@
<span v-else class="friend_code">{{count}}S</span>
</div>
</div>
<div class="friend_btn">立即领取</div>
<div class="friend_btn" @click="reg_fir">立即领取</div>
</div>
</div>
</body>
... ... @@ -132,13 +132,14 @@
timer: null,
type: 1,
invite_id: '',
tel:'',
code:''
tel: '',
code: '',
invite_type: ''
},
created: function () {
this.type = getUrlParam('type');
this.invite_id = getUrlParam('form');
alert(this.invite_id);
this.invite_id = getUrlParam('form')
this.invite_type = getUrlParam('invite_type')
},
methods: {
getCode: function () {
... ... @@ -157,6 +158,10 @@
}, 1000)
}
},
// 好友注册
reg_fir: function () {
}
}
})
</script>
\ No newline at end of file
... ...