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