美文网首页
例 placeholder 所属公司 转化为英文 可以中英文切换

例 placeholder 所属公司 转化为英文 可以中英文切换

作者: Sunshine_488c | 来源:发表于2020-01-07 14:42 被阅读0次

bug  编号396 【注册】如图,在注册时发送验证码、所属职位暗色提示、用户须知应该是英文的

<el-col :span="10" :offset="1">

<el-button type="primary" v-show="isCodeGo" @click="send" class="inp-but">

<!--获取验证码 -->

      <span>{{$t('Login.GetVerificationCode')}}</span>

</el-button>

<!-- <span v-show="this.isCodeGo===false">{{sixtySecond}}秒可重新发送 -->

    <el-button type="primary" :disabled="hiddenCode" v-show="this.isCodeGo===false"

              style="margin-left:-4px;width:112px;text-align:center;"><span

            style="margin-left:-11px;">{{sixtySecond}}秒后可重发</span>

</el-button>

</el-col>

英文EN.json

"Login":{

"Login":"Login",

"register":"Register",

"Account":" Account",

"Password":" Password",

"UserInstructions":"User instructions",

"GetVerificationCode":"Get verification code",

"lists":{

"mailbox":"mailbox",

"EmailVerificationCode":"Email verification code",

"Password":"Password",

"confirmPassword":"confirmPassword",

"Name":"Name",

"MobilePhone":"MobilePhone",

"Company":"Company",

"Department":"Department",

"Position":"Position",

"button":["Cancel","Register"]

}

},

中文CH.json

"Login":{

"Login":"登 录",

"register":"注 册",

"Account":" 账 号",

"Password":" 密 码",

"UserInstructions":"用户须知",

"GetVerificationCode":"获取验证码",

"lists":{

"mailbox":"邮箱",

"EmailVerificationCode":"邮箱验证码",

"Password":"密码",

"confirmPassword":"再次确认密码",

"Name":"姓名",

"MobilePhone":"手机号",

"Company":"所属公司",

"Department":"所属部门",

"Position":"所属职位",

"button":["取 消","注 册"]

}

},

HTML    placeholder所属公司 转化为英文 可以中英文切换

<!-- 所属公司 -->

<el-select v-model="companiesType" size="small" @change="switchChange(companiesType)"

          class="opencorelanding-right-set" :placeholder="$store.state.info_language?'Affiliated company':'所属公司'"

          style="width:310px">

<el-option

            v-for="(item,index) incompanies"

            :key="item.value"

            :label="item.lable"

            :value="item.type"

    >

</el-option>

</el-select>

相关文章

网友评论

      本文标题:例 placeholder 所属公司 转化为英文 可以中英文切换

      本文链接:https://www.haomeiwen.com/subject/xivractx.html