From 07925905f1a596e20e980de6d42db217abb753b0 Mon Sep 17 00:00:00 2001
From: cuiqian2004 <cuiqian2004@163.com>
Date: 星期五, 12 十二月 2025 18:06:11 +0800
Subject: [PATCH] plugin
---
uni_modules/select-cy/components/select-cy/select-cy.vue | 36 +++++++++++++++++++++---------------
1 files changed, 21 insertions(+), 15 deletions(-)
diff --git a/uni_modules/select-cy/components/select-cy/select-cy.vue b/uni_modules/select-cy/components/select-cy/select-cy.vue
index 6400d45..dcd22b0 100644
--- a/uni_modules/select-cy/components/select-cy/select-cy.vue
+++ b/uni_modules/select-cy/components/select-cy/select-cy.vue
@@ -86,7 +86,7 @@
default: 'value'
},
// 鏄惁寮�惎鍒嗛〉
- isPaging:{
+ isPaging: {
type: Boolean,
default: false
}
@@ -98,10 +98,10 @@
realValue: []
};
},
- watch:{
- value:{
- deep:true,
- handle(val){
+ watch: {
+ value: {
+ deep: true,
+ handle(val) {
//鍒濆鍖� this.init();
}
@@ -126,11 +126,11 @@
this.realValue = [];
}
},
- scrolltolower(){
- if(this.isPaging){
+ scrolltolower() {
+ if (this.isPaging) {
this.$emit('scrolltolower')
}
-
+
},
//鐐瑰嚮灞曠ず閫夐」
handleSelect() {
@@ -139,9 +139,12 @@
},
//绉婚櫎鏁版嵁
handleRemove(index) {
- var delvalue=[];
- for(var i in this.changevalue){
- delvalue.push({attr:this.changevalue[i].attr,Name:this.changevalue[i].Name});
+ var delvalue = [];
+ for (var i in this.changevalue) {
+ delvalue.push({
+ attr: this.changevalue[i].attr,
+ Name: this.changevalue[i].Name
+ });
}
if (index === null) {
this.realValue = [];
@@ -232,6 +235,7 @@
flex: 1;
width: 0;
flex-wrap: nowrap;
+
.uni-select-multiple-item {
background: #bbb;
margin-right: 5rpx;
@@ -240,8 +244,8 @@
color: #fff;
display: flex;
flex: 0 0 140rpx;
-
- .uni-select-multiple-item-row{
+
+ .uni-select-multiple-item-row {
flex: 1;
overflow: hidden;
text-overflow: ellipsis;
@@ -265,6 +269,7 @@
font-size: 14px;
color: #999;
flex-wrap: nowrap;
+
.uni-disabled {
position: absolute;
left: 0;
@@ -385,7 +390,8 @@
&.active {
color: #409eff;
- background-color: #f5f7fa &:hover {
+ background-color: #f5f7fa;
+ &:hover {
color: #409eff;
background-color: #f5f7fa
}
@@ -397,4 +403,4 @@
}
}
}
-</style>
+</style>
\ No newline at end of file
--
Gitblit v1.9.1