Pārlūkot izejas kodu

绑定上级换行

xiaomei 10 mēneši atpakaļ
vecāks
revīzija
0105237c0b
1 mainītis faili ar 6 papildinājumiem un 6 dzēšanām
  1. 6 6
      src/views/index/index.vue

+ 6 - 6
src/views/index/index.vue

@@ -115,7 +115,7 @@
         <van-icon name="cross" class="close" size="20" @click="show = false" />
         <div class="title">{{ $t('lang21') }}</div>
         <div class="address_field">
-          <van-field v-model="inviteCode" type="textarea" rows="1" autosize :placeholder="$t('lang23')" />
+          <van-field v-model="inviteCode" type="textarea" rows="1" autosize  class="input1" :placeholder="$t('lang23')" />
         </div>
         <div class="bind_button" @click="bindParent">
           <span>{{ $t('lang22') }}</span>
@@ -580,9 +580,9 @@ export default {
   white-space: nowrap; /* 确保文本在一行内显示 */
   text-overflow: ellipsis; /* 使用省略号表示文本超出 */
 }
-::v-deep .van-field__control {
-  overflow: hidden; /* 确保超出容器的文本被裁剪 */
-  white-space: nowrap; /* 确保文本在一行内显示 */
-  text-overflow: ellipsis; /* 使用省略号表示文本超出 */
-}
+// ::v-deep .van-field__control {
+//   overflow: hidden; /* 确保超出容器的文本被裁剪 */
+//   white-space: nowrap; /* 确保文本在一行内显示 */
+//   text-overflow: ellipsis; /* 使用省略号表示文本超出 */
+// }
 </style>