|
@ -1,7 +1,7 @@ |
|
|
<template> |
|
|
<template> |
|
|
<view class="container"> |
|
|
<view class="container"> |
|
|
<uni-popup ref="popup" :maskClick="true"> |
|
|
<u-popup ref="popup" v-model="showPopup" border-radius="15" style="width: 100%;" mode="center"> |
|
|
<view class="" style="align-items: center;background-color: #fff; border-radius: 15rpx; margin: 50rpx;"> |
|
|
<view class="" style="align-items: center;background-color: #fff; border-radius: 15rpx; margin: 20rpx;"> |
|
|
<view class="uni-center popup-content" |
|
|
<view class="uni-center popup-content" |
|
|
style="font-weight: bold; font-size: 40rpx;padding-top: 20rpx; padding-bottom: 20rpx;"> |
|
|
style="font-weight: bold; font-size: 40rpx;padding-top: 20rpx; padding-bottom: 20rpx;"> |
|
|
{{title}} |
|
|
{{title}} |
|
@ -59,7 +59,7 @@ |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
</uni-popup> |
|
|
</u-popup> |
|
|
|
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</template> |
|
|
</template> |
|
@ -75,6 +75,7 @@ |
|
|
data() { |
|
|
data() { |
|
|
return { |
|
|
return { |
|
|
dataList: [], |
|
|
dataList: [], |
|
|
|
|
|
showPopup:false |
|
|
|
|
|
|
|
|
} |
|
|
} |
|
|
}, |
|
|
}, |
|
@ -83,10 +84,10 @@ |
|
|
methods: { |
|
|
methods: { |
|
|
openScanPopup(list) { |
|
|
openScanPopup(list) { |
|
|
this.dataList = list; |
|
|
this.dataList = list; |
|
|
this.$refs.popup.open('center') |
|
|
this.showPopup=true |
|
|
}, |
|
|
}, |
|
|
closeScanPopup() { |
|
|
closeScanPopup() { |
|
|
this.$refs.popup.close() |
|
|
this.showPopup=false |
|
|
}, |
|
|
}, |
|
|
select(item) { |
|
|
select(item) { |
|
|
this.closeScanPopup(); |
|
|
this.closeScanPopup(); |
|
|