How to use vue to change password progress and style Synchronize?

Mar.04,2021

record the steps with step (1 hr class= 2)
and then bind class
above something like this: class= "{'one':step=1,'two':step=2,'three':class=3}"


@

<template>
<div>
    <div class="amend">
        <div class="pagetitle rz">
            <span></span>
            <ul>
                <li class="on" :class="{on:stpe==1}"></li>
                <li class="se_2" :class="{on:stpe==2}"></li>
                <li class="se_3" :class="{on:stpe==3}"></li>
            </ul>
        </div>
    </div>
    <div class="startCk">
        <div class="ckMethod">   
            <ul>
                <li @click="tab('mobile')" :class="{current:verifyType=='mobile'}"></li>
                <li @click="tab('email')" :class="{current:verifyType=='email'}"></li>
            </ul>
            <div class="verification-container">
                <div v-if="verifyType=='mobile'">
                    <div v-if="stpe==1">
                       <phone-set @child-say='get'></phone-set>
                    </div>
                    <div v-if="stpe==2">
                        <new-phone  @child-say='get'></new-phone>
                    </div>
                </div>
                <div v-if="verifyType=='email'">
                    <div v-if="stpe2==1">
                        <email-set  @child-say='get'></email-set>
                    </div>
                    <div v-if="stpe2==2">
                        <new-phone  @child-say='get'></new-phone>
                    </div>
                </div>
            </div>
            
        </div>     
    </div>
</div>

</template>
<script>
 import EmailSet from '../../components/emailset.vue';   //
 import PhoneSet from '../../components/phoneset.vue';   //
 import NewPhone from '../../components/newPhone.vue';  //
export default {
  data() {
    return { 
        verifyType : 'mobile',
        stpe : 1,
        stpe2: 1
    }
  },
  components: {  
    EmailSet, 
    PhoneSet,
    NewPhone
  },
  methods:{
    tab:function(state){  
      this.verifyType = state;
      //tab
      this.stpe = 1//
      this.stpe2 =1
    },
    get:function(stpe){//
        this.stpe = stpe;
        this.stpe2 = stpe;
    }
  }
};
</script>

this is the code of my parent component. I hope it will be helpful to you

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e4db04-44496.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e4db04-44496.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?