Commit 9f4685f3 authored by Z's avatar Z

Z: Dot: qrCodeV2 coding. Next: Pull TangZhentian's code and buid and send to server.

parent b3f456e4
...@@ -25,28 +25,132 @@ ...@@ -25,28 +25,132 @@
align-items: center; align-items: center;
overflow: hidden; overflow: hidden;
} }
.titles { .main>.titles {
border: 1px solid yellow; /*border: 2px solid cyan;*/
width: 100%; width: 100%;
height: 40%; height: 8rem;
font-size: 4rem; display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.main>.titles>.title {
font-size: 3rem;
color: white; color: white;
text-align: center; text-align: center;
} }
.cards { .main>.cards {
background-color: whitesmoke; /*border: 2px solid red;*/
width: 100%; /*background-color: whitesmoke;*/
width: 76%;
height: auto; height: auto;
padding: 0 2rem;
display: flex;
flex-direction: column;
justify-content: flex-start;
align-items: center;
}
.main>.cards>.card {
border: 2px solid orange;
/*background-color: white;*/
width: 100%;
padding: 4rem 2rem;
}
.main>.cards>.card01 {
/*border-radius: 1rem 1rem 0 0;*/
background: white;
/*background:*/
/* linear-gradient(135deg, transparent 1px, white 0) top left,*/
/* linear-gradient(-135deg, transparent 1px, white 0) top right,*/
/* radial-gradient(circle at bottom right, transparent 2rem, white 0) bottom right,*/
/* radial-gradient(circle at bottom left, transparent 2rem, white 0) bottom left;*/
/*background-size: 50% 50%;*/
/*background-repeat: no-repeat;*/
}
.main>.cards>.card01>.titles {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
}
.main>.cards>.card01>.titles>.title {
font-size: 3rem;
}
.main>.cards>.card01>.titles>.discount {
font-size: 4rem;
}
.main>.cards>.card01>.titles>.description {
font-size: 2rem;
}
.main>.cards>.card01>.rules {}
.main>.cards>.card01>.rules>.rule {
font-size: 2rem;
}
.main>.cards>.card02 {
/*border-radius: 0 0 1rem 1rem;*/
background: white;
/*background:*/
/* radial-gradient(circle at top left, transparent 2rem, white 0) top left,*/
/* radial-gradient(circle at top right, transparent 2rem, white 0) top right,*/
/* linear-gradient(45deg, transparent 1px, white 0) bottom right,*/
/* linear-gradient(-45deg, transparent 1px, white 0) bottom left;*/
/*background-size: 50% 50%;*/
/*background-repeat: no-repeat;*/
}
.main>.cards>.card02::before {
content: '';
background: #f00;
width: 2rem;
height: 2rem;
border-radius: 50%;
position: relative;
left: 10px;
top: 10px;
display: inline-block;
}
/*.main>.cards>.card02::before {*/
/* top: -.4em;*/
/*}*/
/*.main>.cards>.card02::after {*/
/* bottom: -.4em;*/
/*}*/
.main>.cards>.card02>.tips {}
.main>.cards>.card02>.tips>.tip {
font-size: 2rem;
font-weight: bold;
}
.main>.cards>.card02>.tips>.rules {}
.main>.cards>.card02>.tips>.rules>.rule {
font-size: 2rem;
} }
.cards>.card02>.tips>.qrcodes>.qrcode { .main>.cards>.card02>.tips>.qrcodes {}
.main>.cards>.card02>.tips>.qrcodes>.qrcode {
width: 50%; width: 50%;
} }
.main>.cards>.card02>.tips>.qrcodes>.qrcodeTip {
font-size: 2rem;
}
</style> </style>
</head> </head>
<body> <body>
<div class="main"> <div class="main">
<div class="titles">优惠券详情</div> <div class="titles">
<div class="title">优惠券详情</div>
</div>
<div class="cards"> <div class="cards">
<div class="card card01" id="card01"> <div class="card card01" id="card01">
<div class="titles"> <div class="titles">
...@@ -78,4 +182,19 @@ ...@@ -78,4 +182,19 @@
</div> </div>
</body> </body>
</html> </html>
\ No newline at end of file
...@@ -192,6 +192,7 @@ export default { ...@@ -192,6 +192,7 @@ export default {
zReadyGetUserFromId() { zReadyGetUserFromId() {
let postData = { let postData = {
param: this.zcache.userId param: this.zcache.userId
// param: 'ZhouHeQiang'
}; };
// alert(`--->userInfoFromId: postData = ${JSON.stringify(postData)}`); // alert(`--->userInfoFromId: postData = ${JSON.stringify(postData)}`);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment