首页弹出

This commit is contained in:
kbing1981 2024-07-26 14:21:46 +08:00
parent 4213dca1a6
commit aad9d12b4b
1 changed files with 9 additions and 3 deletions

View File

@ -262,7 +262,7 @@
</uni-popup> </uni-popup>
<view> <view>
<!-- 提前结束 --> <!-- 提前结束 -->
<uni-popup ref="popup" background-color="#fff"> <uni-popup class="popup-view" ref="popup" background-color="#fff">
<view class="popup-content"> <view class="popup-content">
<view class="popup-close"><image @click="closePopup(type)" class="popup-close-img" src="../../static/close.png"></image></view> <view class="popup-close"><image @click="closePopup(type)" class="popup-close-img" src="../../static/close.png"></image></view>
<!--<view class="popup-head"> <!--<view class="popup-head">
@ -401,7 +401,8 @@
cuowu:'', cuowu:'',
type:'center', type:'center',
parType:'', parType:'',
contentVideo:'' contentVideo:'',
type:'center'
} }
}, },
onShareAppMessage(res) { // onShareAppMessage(res) { //
@ -695,7 +696,7 @@
this.$refs.popup.close(type); this.$refs.popup.close(type);
}, },
gangBtn(type){ gangBtn(type){
this.$refs.popup.open(type) this.$refs.popup.open('center')
}, },
qidai(){ qidai(){
uni.showToast({ uni.showToast({
@ -1171,6 +1172,11 @@
</script> </script>
<style scoped> <style scoped>
.popup-view /deep/.uni-popup__wrapper-box{
display: flex;
align-items: center;
justify-content: center;
}
/deep/.uni-video-fullscreen { /deep/.uni-video-fullscreen {
display: none; display: none;
} }