| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225 |
- <template>
- <view>
- <customNav :shownav="true" :title="$t('user.chongzhimima')" tinColor="#006AFF" jiantou="0" titledetl=''></customNav>
- <view class="contentV">
- <view class="yzmctV">
- <view class="xialakuangct" @click="popgjm">
- <text>{{guojiadaima}}</text>
- <image style="width: 36rpx;height: 36rpx;padding-right: 16rpx;" src="/static/imags/xiala@3x.png" mode="scaleToFill"></image>
- </view>
- <input class="noinputV" type="number" :placeholder="$t('user.qsrshouihao')" @input="phoneinput">
- </view>
- <view class="yzmctV">
- <input class="noinputVcode" type="text" :placeholder="$t('user.yanzhengma')" @input="smsCodeinput">
- <label class="yzmbt" @click="getSMScode">{{$t('user.huoquyanzhegm')}}</label>
- </view>
- <view class="yzmctV">
- <input class="noinputVcode" password type="text" :placeholder="$t('user.qingshezmim')" @input="denglumima">
- </view>
- <view class="yzmctV">
- <label class="querenBt" @click="resetMima">{{$t('user.chongzhimima')}}</label>
- </view>
- </view>
- <popViewGG :tips="$t('index.gjqhxz')" :show="showpop" :maskClosable="true" :isCancel="true" @chooseCancel="chooseCancel">
- <picker-view :indicator-style="indicatorStyle" :value="pvalue" @change="bindChange" class="picker-view">
- <picker-view-column>
- <view class="item" v-for="(item,index) in range" :key="index">{{item}}</view>
- </picker-view-column>
- </picker-view>
- </popViewGG>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- pvalue: [0],
- indicatorStyle: `height: 50px;`,
- range: ["+86","+84","+886"],
- guojiadaima:'86',
- showpop:false,
- phone:'',
- smsCode:'',
- mima:'',
- }
- },
- methods: {
- resetMima(){
-
- },
- bindChange (e) {
- var val = e.detail.value[0];
- this.guojiadaima=this.range[val];
- },
- popgjm(){
- this.showpop=true;
- },
- chooseCancel(i){
- this.showpop=false;
- },
-
- phoneinput(event){
- this.phone = event.target.value;
- },
- smsCodeinput(event){
- this.smsCode = event.target.value;
- },
- denglumima(event){
- this.mima = event.target.value;
- },
- getSMScode(){
- this.getSMScodeact();
- },
- },
- }
- </script>
- <style>
- page{
- background-color:white;
- }
- .contentV{
- display: flex;
- width: 92%;
- margin-left: 4%;
- flex-direction: column;
- justify-content: flex-start;
- }
- .titlev{
- width: 100%;
- height: 60rpx;
- line-height: 60rpx;
- font-size: 40rpx;
- font-weight: bold;
- text-align: left;
- }
- .yzmctV{
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content:flex-start;
- margin-top: 30rpx;
- width: 100%;
- }
- .yzmctVS{
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content:space-between;
- margin-top: 30rpx;
- width: 100%;
- }
- .noinputV{
- width: 73%;
- height: 80rpx;
- line-height: 80rpx;
- border-radius: 10rpx;
- border: 2rpx solid #F2F3F7;
- background-color: #F2F3F7;
- }
- .noinputVcode{
- width: 100%;
- height: 80rpx;
- line-height: 80rpx;
- border-radius: 10rpx;
- border: 2rpx solid #F2F3F7;
- background-color: #F2F3F7;
- }
- .yzmbt{
- color: white;
- font-size: 26rpx;
- width: 170rpx;
- height: 60rpx;
- line-height: 60rpx;
- text-align: center;
- margin-left: -190rpx;
- border-radius: 2rpx;
- background-color:#006AFF;
- }
- .yzmdl{
- color: white;
- font-size: 26rpx;
- width: 170rpx;
- height: 60rpx;
- line-height: 60rpx;
- text-align: center;
- margin-top: 26rpx;
- border-radius: 2rpx;
- background-color:#006AFF;
- }
- .querenBt{
- margin-top: 30rpx;
- width: 100%;
- height: 60rpx;
- line-height: 60rpx;
- padding: 10rpx;
- border-radius: 20rpx;
- border-width: 0px 0px 6rpx 0px;
- text-align: center;
- justify-content: center;
- background-color: #006AFF;
- color: white;
- box-shadow: 0px 0rpx 10rpx 0rpx #006AFF;
- }
- .linktext{
- font-size: 24rpx;
- color:skyblue;
- text-decoration:underline;
- }
- .notetext{
- color: darkgray;
- font-size: 24rpx;
- text-align: center;
- }
-
- .xialakuangct{
-
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content:space-between;
-
- padding-left: 16rpx;
- margin-right: 20rpx;
- width: 140rpx;
- height: 80rpx;
- line-height: 80rpx;
- border-radius: 10rpx;
- border: 2rpx solid #F2F3F7;
- background-color: #F2F3F7;
- }
- .xialakuang{
- width: 100%;
- }
- .lineview{
- display: flex;
- flex-direction: row;
- align-items: center;
- justify-content: center;
- background-color: whitesmoke;
- border: solid darkgray;
- border-width: 0px 0px 1rpx 0px;
- width: 80%;
- margin-bottom: 12rpx;
- }
- .picker-view {
- width: 750rpx;
- height: 300rpx;
- margin-top: 10rpx;
- }
- .item {
- line-height: 100rpx;
- text-align: center;
- }
- </style>
|