Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
Y
ybf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xulili
ybf
Commits
9f4685f3
Commit
9f4685f3
authored
Mar 20, 2020
by
Z
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Z: Dot: qrCodeV2 coding. Next: Pull TangZhentian's code and buid and send to server.
parent
b3f456e4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
130 additions
and
10 deletions
+130
-10
index.html
ybf_wx/public/qrCodeV2/index.html
+129
-10
index.vue
ybf_wx/src/views/sideNav/discount/index.vue
+1
-0
No files found.
ybf_wx/public/qrCodeV2/index.html
View file @
9f4685f3
...
@@ -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
ybf_wx/src/views/sideNav/discount/index.vue
View file @
9f4685f3
...
@@ -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)}`);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment