提交 816df30a 编写于 作者: fxy060608's avatar fxy060608

fix(h5): showToast position:fixed

上级 9f3aba18
<template> <template>
<transition name="uni-fade"> <transition name="uni-fade">
<uni-toast <uni-toast
v-show="visible" v-if="visible"
:class="{'uni-toast-fixed':mask}"
:data-duration="duration"> :data-duration="duration">
<div <div
v-if="mask" v-if="mask"
...@@ -86,20 +85,17 @@ export default { ...@@ -86,20 +85,17 @@ export default {
} }
</script> </script>
<style> <style>
uni-toast { uni-toast {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 999;
display: block; display: block;
box-sizing: border-box; box-sizing: border-box;
} }
uni-toast .uni-toast-fixed {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 999;
}
uni-toast .uni-sample-toast { uni-toast .uni-sample-toast {
position: fixed; position: fixed;
z-index: 999; z-index: 999;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册