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; align-items: center;
overflow: hidden; overflow: hidden;
user-select: none; user-select: none;
margin-left: 10rpx;
line-height: 1.8; line-height: 1.8;
&__icon-wrap { &__icon-wrap {
@ -309,8 +310,8 @@ export default {
&__label { &__label {
word-wrap: break-word; word-wrap: break-word;
margin-left: 10rpx; //margin-left: 10rpx;
margin-right: 24rpx; //margin-right: 24rpx;
color: $u-content-color; color: $u-content-color;
font-size: 30rpx; 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" class="u-input__right-icon__clear u-input__right-icon__item"
v-if="passwordIcon && type == 'password'" v-if="passwordIcon && type == 'password'"
> >
<u-icon <!-- <u-icon-->
size="32" <!-- size="32"-->
:name="!showPassword ? 'eye' : 'eye-fill'" <!-- :name="!showPassword ? 'eye' : 'eye-fill'"-->
color="#c0c4cc" <!-- color="#c0c4cc"-->
@click="showPassword = !showPassword" <!-- @click="showPassword = !showPassword"-->
/> <!-- />-->
<text class="uni-icon" >&#xe434;</text>
</view> </view>
<view <view
class="u-input__right-icon--select u-input__right-icon__item" class="u-input__right-icon--select u-input__right-icon__item"

Loading…
Cancel
Save