<output id="qn6qe"></output>

    1. <output id="qn6qe"><tt id="qn6qe"></tt></output>
    2. <strike id="qn6qe"></strike>

      亚洲 日本 欧洲 欧美 视频,日韩中文字幕有码av,一本一道av中文字幕无码,国产线播放免费人成视频播放,人妻少妇偷人无码视频,日夜啪啪一区二区三区,国产尤物精品自在拍视频首页,久热这里只有精品12

      vue常用方法

       

      #default="scope"

       

      css 穿透

      /*   ::v-deep */
      ::v-deep .類名 {
      }
       
      子組件列表形式方法多加參數(shù)
      @input="($event)=>{gorinput($event,item)}"
       

      引入本地文件

      require()

       

      獲取原始數(shù)據(jù)

      // 訪問初始值
      this.$options.data().xx

       

       

      dom 渲染后執(zhí)行

      //dom渲染完執(zhí)行
      this.$nextTick(() => {})

       

       

      子組件調(diào)用父組件的事件

      //調(diào)用父組件的事件
      this.$parent.xx

       

       

      父組件調(diào)用子組件的事件

      // 子組件
      <Foods ref="foods"></Foods>
      // 調(diào)取
      this.$refs.foods.show()

       

      路由跳轉(zhuǎn)傳參

       //跳轉(zhuǎn)時頁面
      this.$router.push({
        path: '/detail',
        query: {
          name: '張三',
          id: 1,
        }
      })
      
      //跳轉(zhuǎn)后頁面獲取參數(shù)對象
      this.$route.query
      
      // ---------------------------------------------------------------
      
      //跳轉(zhuǎn)時頁面
      this.$router.push({
        name: 'Detail',
        params: {
          name: '張三',
          id: 1,
        }
      })
      
      //跳轉(zhuǎn)后頁面獲取參數(shù)對象
      this.$route.params
      
      // ---------------------------------------------------------------------
      
          // 3. 直接跳轉(zhuǎn)(返回上一級或者往前一級)
              router.go(1)//在瀏覽器記錄中前進(jìn)一步,
      
              router.go(-1)// 后退一步記錄,等同于 history.back()
      
              router.go(3)// 前進(jìn) 3 步記錄

       

       

      發(fā)送驗(yàn)證碼

      <el-button :disabled="codeDisabled" @click="sendVerification"
        >{{send}}</el-button
      >
      <script>
           data() {
               return {
                   timer: null,
                   send: '獲取驗(yàn)證碼',
                   countdown: 60,
                   codeDisabled: false
               }
           },
        // 發(fā)送驗(yàn)證
           sendVerification() {
             Passwordcode({
               phone: this.Form.phone,
               smsMsgType: 'FORGET_THE_PWD_TYPE'
             }).then(res => {
      
      
               this.codeDisabled = true
               if (res.code == '200') {
                 if (!this.timer) {
                   this.timer = setInterval(() => {
                     if (this.countdown > 0 && this.countdown <= 60) {
                       this.countdown--
                       if (this.countdown !== 0) {
                         this.send = '重新發(fā)送(' + this.countdown + ')'
                       } else {
                         clearInterval(this.timer)
                         this.send = '獲取驗(yàn)證碼'
                         this.countdown = 60
                         this.timer = null
                         this.codeDisabled = false
                       }
                     }
                   }, 1000)
                 }
               } else {
                 this.codeDisabled = false
                 this.$message({
                   message: res.errMsg,
                   type: 'warning'
                 })
               }
             })
           }
      </script>

       

       

       

       

       

      posted @ 2021-07-24 14:02  雨落風(fēng)  閱讀(266)  評論(0)    收藏  舉報(bào)
      主站蜘蛛池模板: 亚洲国产精品第一区二区| 国产午夜视频在线观看| 国产亚洲999精品AA片在线爽| 亚洲综合在线日韩av| 欧美福利电影A在线播放| 老熟妇老熟女老女人天堂| 中文字幕人妻中出制服诱惑| 久久av无码精品人妻出轨| 在线成人国产天堂精品av| 精品卡通动漫亚洲AV第一页| 国产久免费热视频在线观看| a级国产乱理伦片在线观看al| 日日碰狠狠添天天爽五月婷| 国产av丝袜旗袍无码网站| 国产精品视频中文字幕| 国产乱人伦偷精品视频下| 真人性囗交视频| 都匀市| 最新午夜男女福利片视频| 日韩精品成人一区二区三| 中文字幕日韩国产精品| 欧美福利电影A在线播放| 普兰县| 野花香视频在线观看免费高清版| 亚洲青青草视频在线播放| 国产色无码专区在线观看| 牟定县| 亚洲男人天堂2021| 亚洲国产在一区二区三区 | 亚洲欧美v国产一区二区| 亚洲激情在线一区二区三区| 亚洲一区二区三区十八禁| 中文字幕在线国产精品| 欧美人与禽2o2o性论交| 国产精品一区中文字幕| 日韩在线视频一区二区三| 国产av日韩精品一区二区| 国产精品性色一区二区三区| 久久先锋男人AV资源网站| 亚洲女人天堂| 久久久一本精品99久久精品36|