#
whycq
2023-11-07 e7cb9cf85f5f1c0db0833dbbd9ad3f4ed09b3598
components/y-input/y-input.vue
@@ -1,9 +1,7 @@
<template>
   <view>
      <view class="main">
         <view style="display: flex;align-items: center;">
            <y-title :title="titleText"/>
         </view>
         <y-title :title="titleText"/>
         <view :class="zBig">
            <view style="display: flex;" class="input">
               <input type="text" :placeholder="placeholderText" @input="input"
@@ -49,9 +47,6 @@
         placeholderText() {
            return this.placeholder 
         },
         // val() {
         //    return this.inputVal || t("uni-popup.inputVal")
         // }
      },
      data() {
         return {
@@ -75,6 +70,7 @@
         },
         clear() {
            this.val = ''
            this.input()
         }
         
      }