多组织仓位

This commit is contained in:
2026-06-01 17:24:20 +08:00
parent e8b07fcece
commit da62f10df1
16 changed files with 797 additions and 503 deletions

View File

@@ -1,3 +1,7 @@
## 1.0.102025-04-14
- 修复 清除按钮不展示问题
## 1.0.92025-03-26
- 优化 默认背景为白色与整体组件保持风格统一
## 1.0.82024-03-28
- 修复 在vue2下:style动态绑定导致编译失败的bug
## 1.0.72024-01-20

View File

@@ -6,10 +6,10 @@
<view class="uni-select__input-box" @click="toggleSelector">
<view v-if="current" class="uni-select__input-text">{{textShow}}</view>
<view v-else class="uni-select__input-text uni-select__input-placeholder">{{typePlaceholder}}</view>
<view v-if="current && clear && !disabled" @click.stop="clearVal">
<view key="clear-button" v-if="current && clear && !disabled" @click.stop="clearVal">
<uni-icons type="clear" color="#c0c4cc" size="24" />
</view>
<view v-else>
<view key="arrow-button" v-else>
<uni-icons :type="showSelector? 'top' : 'bottom'" size="14" color="#999" />
</view>
</view>
@@ -143,9 +143,6 @@
textShow() {
// 长文本显示
let text = this.current;
if (text.length > 10) {
return text.slice(0, 25) + '...';
}
return text;
},
getOffsetByPlacement() {
@@ -244,6 +241,7 @@
clearVal() {
this.emit('')
this.current = ''
if (this.collection) {
this.removeCache()
}
@@ -352,6 +350,7 @@
}
.uni-stat-box {
background-color: #fff;
width: 100%;
flex: 1;
}
@@ -405,6 +404,7 @@
.uni-select__input-box {
height: 35px;
width: 0px;
position: relative;
/* #ifndef APP-NVUE */
display: flex;
@@ -433,6 +433,9 @@
position: absolute;
left: 0;
width: 100%;
min-width: 200rpx;
display: flex;
flex-wrap: nowrap;
background-color: #FFFFFF;
border: 1px solid #EBEEF5;
border-radius: 6px;

View File

@@ -1,7 +1,7 @@
{
"id": "uni-data-select",
"displayName": "uni-data-select 下拉框选择器",
"version": "1.0.8",
"version": "1.0.10",
"description": "通过数据驱动的下拉框选择器",
"keywords": [
"uni-ui",
@@ -48,8 +48,10 @@
},
"client": {
"App": {
"app-vue": "u",
"app-nvue": "n"
"app-vue": "y",
"app-nvue": "n",
"app-harmony": "u",
"app-uvue": "u"
},
"H5-mobile": {
"Safari": "y",