Browse Source

邀请代码,⼿机注册去掉

master
ltlzx 4 years ago
parent
commit
b8d0047abc
  1. 16
      .hbuilderx/launch.json
  2. 24
      pages/reg/index.vue

16
.hbuilderx/launch.json

@ -0,0 +1,16 @@
{ // launch.json configurations app-plus/h5/mp-weixin/mp-baidu/mp-alipay/mp-qq/mp-toutiao/mp-360/
// launchtypelocalremote, localremote
"version": "0.0",
"configurations": [{
"default" :
{
"launchtype" : "local"
},
"h5" :
{
"launchtype" : "local"
},
"type" : "uniCloud"
}
]
}

24
pages/reg/index.vue

@ -19,21 +19,21 @@
<view class="layout-main">
<view class="form m-lg bg-panel-3 p-lg rounded-md">
<view class="d-flex justify-center">
<view
<!-- <view
class="item transition-3 p-y-sp-r-sm p-x-xs fn-20 "
:class="{
'color-light ':form.type==1
}"
@click="form.type=1"
>{{$t('reg.a0')}}
<view class="w-5 h-5 rounded-max bg-light justify-center mauto m-y-sm"
:class="{
'disnone':form.type==2
}"
>
</view>
</view>
<view class="w-5 h-5 rounded-max bg-light justify-center mauto m-y-sm"
:class="{
'disnone':form.type==2
}"
>
</view>
</view> -->
<view
@ -109,10 +109,10 @@
:placeholder="$t('reg.b1')"
></v-input>
</view>
<view class="form-item border-b m-b-md p-b-xs">
<!-- <view class="form-item border-b m-b-md p-b-xs">
<view class="label m-b-xs">{{$t('reg.b2')}}</view>
<v-input class="color-light" :disabled="query.invite_code?true:false" v-model="form.invite_code" :placeholder="`${$t('reg.b3')}(${$t('reg.b4')})`"></v-input>
</view>
</view> -->
<view class="tips d-flex m-b-md fn-sm">
<van-checkbox
:value="check"
@ -146,7 +146,7 @@ export default {
data() {
return {
form: {
type: 1,
type: 2,
country_code: "",
country_id: 1,
account: "",

Loading…
Cancel
Save