|
|
|
@ -56,12 +56,13 @@ |
|
|
|
<view class="form-item border-b p-md m-b-md"> |
|
|
|
<view class="label m-b-xs">{{$t('auth.a7')}}</view> |
|
|
|
<view class="input color-light" > |
|
|
|
<v-picker :value="form.country_id" @change="selectCountry" :list="countryList" range-value="id" range-label="name2"> |
|
|
|
<v-input disabled :value="activeCountry.name2" :placeholder="$t('auth.a8')"> |
|
|
|
<v-picker style="border: 1px solid #ccc;padding: 14px 10px;border-radius: 5px;" :value="form.country_id" @change="selectCountry" :list="countryList" range-value="id" range-label="name2"> |
|
|
|
<!-- <v-input disabled :value="activeCountry.name2" :placeholder="$t('auth.a8')"> |
|
|
|
<template #right> |
|
|
|
<van-icon class="color-default" name="arrow" /> |
|
|
|
</template> |
|
|
|
</v-input> |
|
|
|
</v-input> --> |
|
|
|
<div>{{activeCountry.name2}}</div> |
|
|
|
</v-picker> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
@ -204,6 +205,7 @@ export default { |
|
|
|
created() { |
|
|
|
this.getAuthInfo(); |
|
|
|
this.getCountryCode(); |
|
|
|
uni.setLocale('en') |
|
|
|
}, |
|
|
|
options: { |
|
|
|
styleIsolation: 'shared' |
|
|
|
|