Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
jgdl
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-08-13 14:38:23 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
f75bb6966f71226ad0b1dbb6770b4b49bf35f180
f75bb696
1 parent
fea3d8ec
fix(BrandModelPicker): 为输入框添加cursorSpacing属性避免键盘遮挡
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
src/components/BrandModelPicker.vue
src/components/BrandModelPicker.vue
View file @
f75bb69
...
...
@@ -89,6 +89,7 @@
v-model="customBrand"
placeholder="请输入品牌名称"
class="custom-input"
:cursorSpacing="50"
/>
</view>
<view class="input-group">
...
...
@@ -97,6 +98,7 @@
v-model="customModel"
placeholder="请输入型号名称"
class="custom-input"
:cursorSpacing="50"
/>
</view>
<view class="button-group">
...
...
@@ -130,6 +132,7 @@
v-model="customModelOnly"
placeholder="请输入型号名称"
class="custom-input"
:cursorSpacing="50"
/>
</view>
<view class="button-group">
...
...
@@ -274,7 +277,7 @@ const selectBrand = (brand) => {
const selectModel = (model) => {
// 找到对应的品牌ID
const selectedBrand = props.brandOptions.find(brand => brand.text === selectedBrandName.value)
const result = {
brand: selectedBrandName.value,
model: model.text,
...
...
@@ -330,7 +333,7 @@ const confirmCustomModelInput = () => {
// 找到对应的品牌ID
const selectedBrand = props.brandOptions.find(brand => brand.text === selectedBrandName.value)
const result = {
brand: selectedBrandName.value,
model: customModelOnly.value.trim(),
...
...
Please
register
or
login
to post a comment