小程序
小游戏
企业微信
微信支付
扫描小程序码分享
使用了
position: fixed;
中文字体显示不全,最后会被裁剪
2 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
<cover-view class="popupPage"> <cover-view class="pop-ups"> <cover-view class="pop-title pop-red">免费领取VIP试用资格</cover-view> <cover-view class="pop-title">解决使用中遇到的所有问题</cover-view> <cover-view> <cover-image class="pop-icon" src="https://cdn.topjoytec.com/ribbonIcon.png"></cover-image> </cover-view> <cover-view style="font-size:28rpx;font-family:PingFang SC;font-weight:400;color:rgba(102,102,102,1);margin-top: 11rpx">活动策划师</cover-view> <button class="pop-btn" open-type="contact" @contact="handleContact">点击回复‘2’添加</button> <cover-view class="pop-btn" style="border:2rpx solid rgba(255,51,51,1);background-color: #FFFFFF;color:rgba(255,51,51,1);" @click="telePhoneConnection">电话联系</cover-view> </cover-view> <cover-image class="close" src="https://cdn.topjoytec.com/csClose.png" @click.stop="closeToast"></cover-image></cover-view>
.popupPage{ width: 100%; height: 100%; position: fixed; background: rgba(0,0,0,0.5); top: 0; left: 0; right: 0; bottom: 0; z-index: 99999;}.pop-ups{ position: absolute; left: 50%; top: 45%; transform: translate(-50%,-45%); width:530rpx; /*height:570rpx;*/ background:rgba(255,255,255,1); border-radius:20rpx; text-align: center; display: flex; flex-direction: column; align-items: center; padding: 40rpx 0 47rpx; box-sizing: border-box;}.pop-title{ font-size:32rpx; font-family:PingFang SC; font-weight:500; color:rgba(51,51,51,1); line-height:50rpx;}.pop-red{ font-size: 38rpx; color: #FF3333; font-weight:bold;}
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
写个可复现问题的代码片段。
你提供的代码复制后是这样的。。。
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
写个可复现问题的代码片段。
你提供的代码复制后是这样的。。。