|
@ -37,7 +37,11 @@ import { onShow } from '@dcloudio/uni-app'; |
|
|
}, |
|
|
}, |
|
|
methods:{ |
|
|
methods:{ |
|
|
openList(list){ |
|
|
openList(list){ |
|
|
this.list = list |
|
|
list.forEach(item=>{ |
|
|
|
|
|
if(!this.list.find(subItem=>subItem.title==item.title)){ |
|
|
|
|
|
this.list.push(item) |
|
|
|
|
|
} |
|
|
|
|
|
}) |
|
|
this.$refs.listPopup.open('center') |
|
|
this.$refs.listPopup.open('center') |
|
|
}, |
|
|
}, |
|
|
selectItem(item,index){ |
|
|
selectItem(item,index){ |
|
@ -54,15 +58,20 @@ import { onShow } from '@dcloudio/uni-app'; |
|
|
align-items: center; |
|
|
align-items: center; |
|
|
.list{ |
|
|
.list{ |
|
|
width: 80%; |
|
|
width: 80%; |
|
|
|
|
|
max-height:80vh; |
|
|
|
|
|
overflow-y: auto; |
|
|
border-radius: 10px !important; |
|
|
border-radius: 10px !important; |
|
|
overflow: hidden; |
|
|
|
|
|
.slot-image{ |
|
|
.slot-image{ |
|
|
width: 40rpx; |
|
|
width: 40rpx; |
|
|
} |
|
|
} |
|
|
.go{ |
|
|
.go{ |
|
|
color: rgb(60, 156, 255); |
|
|
color: rgb(60, 156, 255); |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
.list ::v-deep .uni-list--border{ |
|
|
|
|
|
border: 1rpx solid #e5e5e5; |
|
|
|
|
|
} |
|
|
</style> |
|
|
</style> |