Browse Source

uni_modules\vk-uview-ui\components ref修改 文件迁移Vue2升级Vue3 8/2-10/25

hella_vue3
王志国 3 weeks ago
parent
commit
9190adbdd7
  1. 5
      src/uni_modules/vk-uview-ui/components/u-checkbox/u-checkbox.vue
  2. 13
      src/uni_modules/vk-uview-ui/components/u-input/u-input.vue

5
src/uni_modules/vk-uview-ui/components/u-checkbox/u-checkbox.vue

@ -257,6 +257,7 @@ export default {
align-items: center;
overflow: hidden;
user-select: none;
margin-left: 10rpx;
line-height: 1.8;
&__icon-wrap {
@ -309,8 +310,8 @@ export default {
&__label {
word-wrap: break-word;
margin-left: 10rpx;
margin-right: 24rpx;
//margin-left: 10rpx;
//margin-right: 24rpx;
color: $u-content-color;
font-size: 30rpx;

13
src/uni_modules/vk-uview-ui/components/u-input/u-input.vue

@ -70,12 +70,13 @@
class="u-input__right-icon__clear u-input__right-icon__item"
v-if="passwordIcon && type == 'password'"
>
<u-icon
size="32"
:name="!showPassword ? 'eye' : 'eye-fill'"
color="#c0c4cc"
@click="showPassword = !showPassword"
/>
<!-- <u-icon-->
<!-- size="32"-->
<!-- :name="!showPassword ? 'eye' : 'eye-fill'"-->
<!-- color="#c0c4cc"-->
<!-- @click="showPassword = !showPassword"-->
<!-- />-->
<text class="uni-icon" >&#xe434;</text>
</view>
<view
class="u-input__right-icon--select u-input__right-icon__item"

Loading…
Cancel
Save