Commit 5dcca6a4 Harvey

弹出层 遮挡整个屏幕

1 个父辈 2eb9f477
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
<view class="page-tabbar-tip" @click="getContent">获取文案</view> <view class="page-tabbar-tip" @click="getContent">获取文案</view>
<view class="page-tabbar-tip red" @click="save">保存海报去分享</view> <view class="page-tabbar-tip red" @click="save">保存海报去分享</view>
</view> </view>
<uni-popup ref="popup" type="bottom"> <uni-popup ref="popup" type="bottom" class="popup">
<view class="popup-content"> <view class="popup-content">
<view>{{content}}</view> <view>{{content}}</view>
<view class="popup-copy" @click="copyContent">复制文案</view> <view class="popup-copy" @click="copyContent">复制文案</view>
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
uni.showToast({ uni.showToast({
title: '复制成功' title: '复制成功'
}) })
}, },
save() { save() {
//#ifdef H5 //#ifdef H5
try { try {
...@@ -70,7 +70,7 @@ ...@@ -70,7 +70,7 @@
Android.save2Album(this.src) Android.save2Album(this.src)
} }
} catch (e) { } catch (e) {
const $h5 = require('@/static/js/h5-utils.js') const $h5 = require('@/static/js/h5-utils.js')
$h5.downloadIamge(this.src) $h5.downloadIamge(this.src)
} }
//#endif //#endif
...@@ -112,6 +112,10 @@ ...@@ -112,6 +112,10 @@
color: #E34439; color: #E34439;
} }
.popup {
z-index: 9999;
}
.popup-content { .popup-content {
width: 80vw; width: 80vw;
padding: 20px 20px 38px 20px; padding: 20px 20px 38px 20px;
......
支持 Markdown 格式
你添加了 0 到此讨论。请谨慎行事。
Finish editing this message first!