Commit 5dcca6a4 Harvey

弹出层 遮挡整个屏幕

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