Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
sx-prize
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
7c402830
authored
Jul 07, 2019
by
张恒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
j
parent
75086d7b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
41 additions
and
32 deletions
+41
-32
.idea/workspace.xml
+28
-26
.sass-cache/0adc96cee11bc739fc2ea1eeea463a9ab946286f/main.scssc
+0
-0
Application/Home/View/default/Index_index.tpl
+1
-1
Public/static/css/main.css
+5
-2
Public/static/css/main.scss
+5
-1
Public/static/images/pirze.jpg
+0
-0
Public/static/js/index.js
+2
-2
No files found.
.idea/workspace.xml
View file @
7c402830
This diff is collapsed.
Click to expand it.
.sass-cache/0adc96cee11bc739fc2ea1eeea463a9ab946286f/main.scssc
View file @
7c402830
No preview for this file type
Application/Home/View/default/Index_index.tpl
View file @
7c402830
...
...
@@ -56,7 +56,7 @@
点击抽奖
</div>
<
div
class=
"prize-type"
style=
"display: none"
></div
>
<
img
class=
"prize-type"
src=
"__CDN__/images/pirze.jpg"
>
</div>
<script>
if
(
!
/android/i
.
test
(
navigator
.
userAgent
))
{
...
...
Public/static/css/main.css
View file @
7c402830
...
...
@@ -158,7 +158,7 @@ ul, li {
height
:
100%
;
}
.flex
,
#container
,
#container
.btn-prize
,
#container
.prize-type
{
.flex
,
#container
,
#container
.btn-prize
{
display
:
-webkit-box
;
/* OLD - iOS 6-, Safari 3.1-6 */
display
:
-moz-box
;
...
...
@@ -176,9 +176,12 @@ ul, li {
width
:
100%
;
height
:
100%
;
}
#container
.btn-prize
,
#container
.prize-type
{
#container
.btn-prize
{
width
:
200px
;
height
:
200px
;
font-size
:
27px
;
border
:
1px
solid
red
;
}
#container
.prize-type
{
width
:
100%
;
}
Public/static/css/main.scss
View file @
7c402830
...
...
@@ -197,13 +197,17 @@ ul, li {
@extend
.flex
;
width
:
100%
;
height
:
100%
;
.btn-prize
,
.prize-type
{
.btn-prize
{
@extend
.flex
;
width
:
torem
(
200px
);
height
:
torem
(
200px
);
font-size
:
27px
;
border
:
1px
solid
red
;
}
.prize-type
{
width
:
100%
;
}
}
Public/static/images/pirze.jpg
0 → 100644
View file @
7c402830
50.8 KB
Public/static/js/index.js
View file @
7c402830
...
...
@@ -24,7 +24,7 @@ $(document).ready(function () {
this
.
show
();
};
if
(
window
.
type
==
1
){
$
(
'.prize-type'
).
text
(
'美丽桃源'
).
show
();
$
(
'.prize-type'
).
show
();
}
else
{
$
(
'.btn-prize'
).
show
();
}
...
...
@@ -48,7 +48,7 @@ function btnPrize() {
my_notify
(
prize_word
[
rank
]);
}
else
{
$
(
'.btn-prize'
).
hide
();
$
(
'.prize-type'
).
text
(
'美丽桃源'
).
show
();
$
(
'.prize-type'
).
show
();
}
$
(
'.btn-prize'
).
text
(
'点击抽奖'
);
prize_lock
=
1
;
...
...
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