<view class="ctrlItemContainer">
<uni-icons :class="usernameIconsClass" type="auth" size="30" class="tip-icon"></uni-icons>
<uni-easyinput v-model="username" :styles="usernameInputStyle" class="uni-mt-5" trim="all"
@focus="handleInputFocus" />
</view>
<view class="ctrlItemContainer">
<uni-icons :class="passwordIconsClass" type="locked" size="30" class="tip-icon"></uni-icons>
<uni-easyinput v-model="password" :styles="passwordInputStyle" type="password" class="uni-mt-5" trim="all"
@focus="handleInputFocus" />
</view>
- 发布:2024-01-10 10:56
- 更新:2024-01-12 18:21
- 阅读:243
产品分类: uniapp/小程序
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 22621.3007
HBuilderX类型: 正式
HBuilderX版本号: 3.99
第三方开发者工具版本号: Version 3.7.13
基础库版本号: 1.25.7
项目创建方式: HBuilderX
示例代码:
操作步骤:
<view class="ctrlItemContainer">
<uni-icons :class="usernameIconsClass" type="auth" size="30" class="tip-icon"></uni-icons>
<uni-easyinput v-model="username" :styles="usernameInputStyle" class="uni-mt-5" trim="all"
@focus="handleInputFocus" />
</view>
<view class="ctrlItemContainer">
<uni-icons :class="passwordIconsClass" type="locked" size="30" class="tip-icon"></uni-icons>
<uni-easyinput v-model="password" :styles="passwordInputStyle" type="password" class="uni-mt-5" trim="all"
@focus="handleInputFocus" />
</view>
<view class="ctrlItemContainer">
<uni-icons :class="usernameIconsClass" type="auth" size="30" class="tip-icon"></uni-icons>
<uni-easyinput v-model="username" :styles="usernameInputStyle" class="uni-mt-5" trim="all"
@focus="handleInputFocus" />
</view>
<view class="ctrlItemContainer">
<uni-icons :class="passwordIconsClass" type="locked" size="30" class="tip-icon"></uni-icons>
<uni-easyinput v-model="password" :styles="passwordInputStyle" type="password" class="uni-mt-5" trim="all"
@focus="handleInputFocus" />
</view>
预期结果:
正常显示uni-ui
正常显示uni-ui
实际结果:
uni-ui不生效
uni-ui不生效
HRK_01
感谢你为开发者社区做出的贡献
2024-01-13 13:18