Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SURPRISED
Project
Project
Details
Activity
Releases
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
华国豪
SURPRISED
Commits
d4cbe1f6
Commit
d4cbe1f6
authored
Jan 16, 2020
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huaguohao/surprised
parents
a48cad26
b9d34a6e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
47 additions
and
47 deletions
+47
-47
AnnuaLmeetingHome.html
html/annualMeeting/AnnuaLmeetingHome.html
+17
-13
MyPrize.html
html/annualMeeting/MyPrize.html
+1
-31
Amhome.css
html/annualMeeting/css/Amhome.css
+29
-3
myPrize_bg.png
images/aM/myPrize_bg.png
+0
-0
myPrize_btn.png
images/aM/myPrize_btn.png
+0
-0
No files found.
html/annualMeeting/AnnuaLmeetingHome.html
View file @
d4cbe1f6
...
...
@@ -111,7 +111,10 @@
<div
class=
"rank_mask"
id=
"prize"
>
<div
class=
"zhezao"
></div>
<div
class=
"prize_box"
>
<img
id=
"barcode"
/>
<p
class=
"jiangp"
></p>
<div
class=
"prize_btn"
>
<span>
查看我的奖品
</span>
</div>
<div
class=
"prize_Close"
></div>
</div>
...
...
@@ -127,11 +130,12 @@
<script
src=
"../../js/moveJs/jquery.min.js"
></script>
<script
src=
"../../js/moveJs/jquery.signalR.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../js/layer/layer.js"
></script>
<script
src=
"./js/JsBarcode.all.min.js"
></script>
<script
src=
"../../js/mian.js"
></script>
<script>
var
href
=
window
.
location
.
href
;
// var href = 'http://activity.oytour.com/html/annualMeeting/AnnuaLmeetingHome.html?EmployeeId=1951&EmName=张建国&imgUrl=http://imgfile.oytour.com/Upload/Temporary/20200108014208064.jpg&GiftCode=202001081342098693&e=2019-03-25T00:00:00';
var
param
=
href
.
split
(
'?'
)[
1
].
split
(
"&"
);
...
...
@@ -150,6 +154,11 @@
}
localStorage
.
activity
=
JSON
.
stringify
(
activity
)
if
(
localStorage
.
showPirze
==
undefined
&&
GiftCode
!=-
1
){
$
(
'.jiangp'
).
html
(
'恭喜你获得签到奖品'
+
GiftCode
)
$
(
'#prize'
).
css
(
'display'
,
'flex'
)
localStorage
.
showPirze
=
1
}
var
MenusList
=
[];
$
(
"input"
).
on
(
"blur"
,
function
(){
...
...
@@ -373,18 +382,13 @@
})
$
(
'.prize_Close'
).
click
(
function
()
{
$
(
'#prize'
).
css
(
'display'
,
'none'
)
})
$
(
'.prize_btn'
).
click
(
function
()
{
$
(
'#prize'
).
css
(
'display'
,
'none'
)
window
.
location
.
href
=
'./MyPrize.html'
})
//条形码生成
var
barcode
=
document
.
getElementById
(
'barcode'
),
str
=
GiftCode
,
options
=
{
format
:
"CODE128"
,
displayValue
:
false
,
fontSize
:
18
,
height
:
100
};
JsBarcode
(
barcode
,
str
,
options
);
//原生
// $('#barcode').JsBarcode(str, options); //jQuery
function
JumpActivity
(
type
)
{
//活动进行时的跳转
if
(
type
==
'mouse'
){
window
.
location
.
href
=
`./HitMouse.html`
...
...
html/annualMeeting/MyPrize.html
View file @
d4cbe1f6
...
...
@@ -157,7 +157,7 @@
<body>
<div
class=
"Box"
>
<div
class=
"Box_top"
>
<p>
签到奖品
</p
>
<!-- <p>签到奖品</p>--
>
</div>
<div
class=
"bttoom_center"
>
...
...
@@ -165,15 +165,6 @@
</div>
<!-- 我的奖品-->
<div
class=
"rank_mask"
id=
"prize"
>
<div
class=
"zhezao"
></div>
<div
class=
"prize_box"
>
<img
id=
"barcode"
/>
<div
class=
"prize_Close"
></div>
</div>
</div>
<input
style=
"opacity: 0;position: absolute;left: 0;top:0"
id=
"tokenReadPackage"
readonly=
"readonly"
value=
""
/>
</div>
...
...
@@ -185,7 +176,6 @@
<script
src=
"../../js/moveJs/jquery.min.js"
></script>
<script
src=
"../../js/moveJs/jquery.signalR.min.js"
></script>
<script
type=
"text/javascript"
src=
"../../js/layer/layer.js"
></script>
<script
src=
"./js/JsBarcode.all.min.js"
></script>
<script
src=
"js/clipboard.min.js"
></script>
<script
src=
"../../js/mian.js"
></script>
...
...
@@ -278,25 +268,5 @@
$
(
'.Box_top p'
).
click
(
function
()
{
$
(
'#prize'
).
css
(
'display'
,
'flex'
)
})
$
(
'.prize_Close'
).
click
(
function
()
{
$
(
'#prize'
).
css
(
'display'
,
'none'
)
})
//条形码生成
var
barcode
=
document
.
getElementById
(
'barcode'
),
str
=
activity
.
GiftCode
,
options
=
{
format
:
"CODE128"
,
displayValue
:
false
,
fontSize
:
18
,
height
:
100
};
JsBarcode
(
barcode
,
str
,
options
);
//原生
</script>
</html>
html/annualMeeting/css/Amhome.css
View file @
d4cbe1f6
...
...
@@ -393,14 +393,39 @@ p{
align-items
:
center
;
}
.prize_box
{
width
:
100%
;
height
:
2rem
;
background
:
white
;
width
:
3rem
;
height
:
2.97rem
;
position
:
relative
;
background-image
:
url('../../../images/aM/myPrize_bg.png')
;
background-size
:
100%
100%
;
background-repeat
:
no-repeat
;
display
:
flex
;
flex-direction
:
column
;
align-items
:
center
;
/*justify-content: center;*/
}
.prize_box
p
{
font-size
:
0.15rem
;
color
:
#111111
;
margin-top
:
1.94rem
;
width
:
90%
;
text-align
:
center
;
}
.prize_btn
{
width
:
2rem
;
height
:
0.43rem
;
position
:
relative
;
background-image
:
url('../../../images/aM/myPrize_btn.png')
;
background-size
:
100%
100%
;
background-repeat
:
no-repeat
;
margin-top
:
0.15rem
;
display
:
flex
;
align-items
:
center
;
justify-content
:
center
;
font-size
:
0.16rem
;
color
:
#893630
;
}
.AR
{
width
:
0.515rem
;
height
:
0.535rem
;
...
...
@@ -411,3 +436,4 @@ p{
background-size
:
100%
100%
;
background-repeat
:
no-repeat
;
}
images/aM/myPrize_bg.png
0 → 100644
View file @
d4cbe1f6
103 KB
images/aM/myPrize_btn.png
0 → 100644
View file @
d4cbe1f6
3.44 KB
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