116 lines
2.8 KiB
HTML
116 lines
2.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>公告</title>
|
|
<script src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/vue3.global.js"></script>
|
|
<style>
|
|
* {
|
|
margin: 0 auto;
|
|
padding: 0;
|
|
font-family: HYQiHei;
|
|
list-style: none;
|
|
}
|
|
|
|
html {
|
|
font-size: 26.66666667vw;
|
|
height: 100%;
|
|
}
|
|
|
|
body {
|
|
-webkit-text-size-adjust: 100% !important;
|
|
text-size-adjust: 100% !important;
|
|
-moz-text-size-adjust: 100% !important;
|
|
font-size: 0.14rem;
|
|
height: 100%;
|
|
}
|
|
|
|
@media screen and (min-width: 900px) {
|
|
html {
|
|
transform: scale(0.3);
|
|
background: #fff;
|
|
transform-origin: 50% 0px 0px;
|
|
height: calc(100vh);
|
|
}
|
|
|
|
.mask {
|
|
height: 6rem;
|
|
}
|
|
}
|
|
|
|
.mask {
|
|
display: flex;
|
|
align-items: center;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
background: rgba(0, 0, 0, 0.2);
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
bottom: 0;
|
|
z-index: 9999;
|
|
right: 0;
|
|
}
|
|
|
|
.text {
|
|
height: 0.55rem;
|
|
font-size: 0.15rem;
|
|
color: #524D4D;
|
|
margin: 0.1rem 0;
|
|
padding: 0 0.1rem;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center
|
|
}
|
|
|
|
.title {
|
|
height: 0.3rem;
|
|
font-size: 0.23rem;
|
|
font-weight: bold;
|
|
color: #171717;
|
|
}
|
|
|
|
.icon {
|
|
margin-top: -0.38rem;
|
|
width: 100%;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.box {
|
|
width: 2.74rem;
|
|
height: 2.66rem;
|
|
background: #FFFFFF;
|
|
border-radius: 0.15rem;
|
|
margin-top: -1rem;
|
|
text-align: center;
|
|
}
|
|
</style>
|
|
</head>
|
|
|
|
<body>
|
|
<div id="app">
|
|
<div class="mask" @touchmove.prevent @mousewheel.prevent>
|
|
<div class="box">
|
|
<img src="https://lsxdemall.oss-cn-beijing.aliyuncs.com/MarketingSystem/img/popNotes.png" class="icon">
|
|
<p class="title">温馨提示</p>
|
|
<p class="text">
|
|
{{notice}}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
|
|
<script>
|
|
const { createApp } = Vue;
|
|
createApp({
|
|
setup () {
|
|
const notice = sessionStorage.getItem('notice');
|
|
return { notice };
|
|
}
|
|
}).mount('#app')
|
|
</script>
|
|
|
|
</html> |