From 874d06c838d77ed9e4e19ca888161c1590d02e2b Mon Sep 17 00:00:00 2001
From: 19626 <1962676589@qq.com>
Date: 星期二, 08 八月 2023 12:16:50 +0800
Subject: [PATCH] 修改页面
---
force-app/main/default/lwc/lexLookupLwc/lexLookupLwc.html | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/force-app/main/default/lwc/lexLookupLwc/lexLookupLwc.html b/force-app/main/default/lwc/lexLookupLwc/lexLookupLwc.html
index d7a835f..084b7cb 100644
--- a/force-app/main/default/lwc/lexLookupLwc/lexLookupLwc.html
+++ b/force-app/main/default/lwc/lexLookupLwc/lexLookupLwc.html
@@ -4,7 +4,7 @@
* @Author: chen jing wu
* @Date: 2023-05-25 13:59:44
* @LastEditors: chen jing wu
- * @LastEditTime: 2023-08-01 16:08:18
+ * @LastEditTime: 2023-08-02 14:28:20
-->
<template>
<div>
@@ -15,14 +15,14 @@
<div class="slds-combobox__form-element slds-input-has-icon slds-input-has-icon_right" role="none">
<template if:false={recordselected}>
<input class="slds-input slds-combobox__input" id="combobox-id-1" aria-autocomplete="list" aria-controls="listbox-id-1"
- role="textbox" type="text" placeholder="Search..." onkeyup={onKeyChange} value={selectedValue}/ disabled={disabled}>
+ role="textbox" type="text" placeholder="Search..." style="width: 190px;" onkeyup={onKeyChange} value={selectedValue}/ disabled={disabled}>
</template>
<template if:true={recordselected}>
<span class="slds-pill slds-pill_link fullWidth slds-input slds-combobox__input">
<a href="javascript:void(0);"
class="slds-pill__action slds-p-left_x-small" title={selectedValue} style="height: 32px;">
<lightning-icon icon-name={iconname} size="x-small"></lightning-icon>
- <span class="slds-pill__label slds-p-left_x-small" style="display: inline-flex;width: 50px">{selectedValue}</span>
+ <span class="slds-pill__label slds-p-left_x-small" style="display: inline-flex;width: 150px">{selectedValue}</span>
</a>
<button onclick={clearSelection}
class="slds-button slds-button_icon slds-button_icon slds-pill__remove"
@@ -36,7 +36,7 @@
</div>
<template if:true={recordsList}>
<div class="slds-combobox_container">
- <div id="listbox-id-1" class="slds-dropdown slds-dropdown_fluid slds-dropdown_autocomplete" role="listbox">
+ <div id="listbox-id-1" class="slds-dropdown slds-dropdown_fluid slds-dropdown_autocomplete" role="listbox" style="min-width: 350px; overflow: auto;">
<ul class="slds-listbox slds-listbox_vertical" role="presentation">
<template for:each={recordsList} for:item="item">
<li key={item.Id} role="presentation" class="slds-listbox__item">
--
Gitblit v1.9.1