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
Show 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
...
...
@@ -2,6 +2,11 @@
<project
version=
"4"
>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"83262c17-7030-4f8f-af17-e1cc55f76944"
name=
"Default"
comment=
""
>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.sass-cache/0adc96cee11bc739fc2ea1eeea463a9ab946286f/main.scssc"
afterPath=
"$PROJECT_DIR$/.sass-cache/0adc96cee11bc739fc2ea1eeea463a9ab946286f/main.scssc"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
afterPath=
"$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/Public/static/css/main.css"
afterPath=
"$PROJECT_DIR$/Public/static/css/main.css"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/Public/static/css/main.scss"
afterPath=
"$PROJECT_DIR$/Public/static/css/main.scss"
/>
<change
type=
"MODIFICATION"
beforePath=
"$PROJECT_DIR$/Public/static/js/index.js"
afterPath=
"$PROJECT_DIR$/Public/static/js/index.js"
/>
</list>
<option
name=
"EXCLUDED_CONVERTED_TO_IGNORED"
value=
"true"
/>
...
...
@@ -32,11 +37,10 @@
<file
leaf-file-name=
"Index_index.tpl"
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
329
"
>
<caret
line=
"5
6"
column=
"12"
lean-forward=
"false"
selection-start-line=
"56"
selection-start-column=
"8"
selection-end-line=
"56"
selection-end-column=
"12
"
/>
<state
relative-caret-position=
"
215
"
>
<caret
line=
"5
8"
column=
"26"
lean-forward=
"false"
selection-start-line=
"58"
selection-start-column=
"26"
selection-end-line=
"58"
selection-end-column=
"26
"
/>
<folding>
<element
signature=
"n#style#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top"
expanded=
"true"
/>
<element
signature=
"n#style#0;n#div#1;n#div#0;n#body#0;n#html#0;n#!!top"
expanded=
"true"
/>
</folding>
</state>
</provider>
...
...
@@ -45,8 +49,8 @@
<file
leaf-file-name=
"index.js"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/Public/static/js/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
114
"
>
<caret
line=
"2
9"
column=
"5"
lean-forward=
"true"
selection-start-line=
"29"
selection-start-column=
"5"
selection-end-line=
"29"
selection-end-column=
"5
"
/>
<state
relative-caret-position=
"
209
"
>
<caret
line=
"2
6"
column=
"32"
lean-forward=
"false"
selection-start-line=
"26"
selection-start-column=
"32"
selection-end-line=
"26"
selection-end-column=
"32
"
/>
<folding
/>
</state>
</provider>
...
...
@@ -81,8 +85,8 @@
<file
leaf-file-name=
"main.scss"
pinned=
"false"
current-in-tab=
"true"
>
<entry
file=
"file://$PROJECT_DIR$/Public/static/css/main.scss"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"3
11
"
>
<caret
line=
"
184"
column=
"7"
lean-forward=
"true"
selection-start-line=
"184"
selection-start-column=
"7"
selection-end-line=
"184"
selection-end-column=
"7
"
/>
<state
relative-caret-position=
"3
30
"
>
<caret
line=
"
206"
column=
"13"
lean-forward=
"false"
selection-start-line=
"206"
selection-start-column=
"3"
selection-end-line=
"206"
selection-end-column=
"13
"
/>
<folding
/>
</state>
</provider>
...
...
@@ -119,9 +123,9 @@
<option
name=
"CHANGED_PATHS"
>
<list>
<option
value=
"$PROJECT_DIR$/Application/Common/Conf/db.php"
/>
<option
value=
"$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
/>
<option
value=
"$PROJECT_DIR$/Public/static/css/main.scss"
/>
<option
value=
"$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
/>
<option
value=
"$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
/>
<option
value=
"$PROJECT_DIR$/Public/static/js/index.js"
/>
</list>
</option>
...
...
@@ -454,16 +458,16 @@
<option
name=
"presentableId"
value=
"Default"
/>
<updated>
1562502557206
</updated>
<workItem
from=
"1562502558877"
duration=
"2926000"
/>
<workItem
from=
"1562505554364"
duration=
"3
339
000"
/>
<workItem
from=
"1562505554364"
duration=
"3
715
000"
/>
</task>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"6
265
000"
/>
<option
name=
"totallyTimeSpent"
value=
"6
641
000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"0"
y=
"23"
width=
"1440"
height=
"817"
extended-state=
"6"
/>
<editor
active=
"
tru
e"
/>
<editor
active=
"
fals
e"
/>
<layout>
<window_info
id=
"Project"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.1881259"
sideWeight=
"0.5"
order=
"0"
side_tool=
"false"
content_ui=
"combo"
/>
<window_info
id=
"TODO"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"6"
side_tool=
"false"
content_ui=
"tabs"
/>
...
...
@@ -472,7 +476,7 @@
<window_info
id=
"Version Control"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"8"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Run"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.32921812"
sideWeight=
"0.5"
order=
"2"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Structure"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"1"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"
fals
e"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.23172414"
sideWeight=
"0.5"
order=
"9"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Terminal"
active=
"
tru
e"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"true"
show_stripe_button=
"true"
weight=
"0.23172414"
sideWeight=
"0.5"
order=
"9"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Favorites"
active=
"false"
anchor=
"left"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.33"
sideWeight=
"0.5"
order=
"4"
side_tool=
"true"
content_ui=
"tabs"
/>
<window_info
id=
"Debug"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.4"
sideWeight=
"0.5"
order=
"3"
side_tool=
"false"
content_ui=
"tabs"
/>
<window_info
id=
"Cvs"
active=
"false"
anchor=
"bottom"
auto_hide=
"false"
internal_type=
"DOCKED"
type=
"DOCKED"
visible=
"false"
show_stripe_button=
"true"
weight=
"0.25"
sideWeight=
"0.5"
order=
"4"
side_tool=
"false"
content_ui=
"tabs"
/>
...
...
@@ -511,7 +515,6 @@
<caret
line=
"53"
column=
"37"
lean-forward=
"true"
selection-start-line=
"53"
selection-start-column=
"37"
selection-end-line=
"53"
selection-end-column=
"37"
/>
<folding>
<element
signature=
"n#style#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top"
expanded=
"true"
/>
<element
signature=
"n#style#0;n#div#1;n#div#0;n#body#0;n#html#0;n#!!top"
expanded=
"true"
/>
</folding>
</state>
</provider>
...
...
@@ -589,17 +592,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"329"
>
<caret
line=
"56"
column=
"12"
lean-forward=
"false"
selection-start-line=
"56"
selection-start-column=
"8"
selection-end-line=
"56"
selection-end-column=
"12"
/>
<folding>
<element
signature=
"n#style#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top"
expanded=
"true"
/>
<element
signature=
"n#style#0;n#div#1;n#div#0;n#body#0;n#html#0;n#!!top"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/Controller/IndexController.class.php"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"349"
>
...
...
@@ -618,10 +610,20 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Application/Home/View/default/Index_index.tpl"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"215"
>
<caret
line=
"58"
column=
"26"
lean-forward=
"false"
selection-start-line=
"58"
selection-start-column=
"26"
selection-end-line=
"58"
selection-end-column=
"26"
/>
<folding>
<element
signature=
"n#style#0;n#div#0;n#div#0;n#body#0;n#html#0;n#!!top"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/Public/static/js/index.js"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
114
"
>
<caret
line=
"2
9"
column=
"5"
lean-forward=
"true"
selection-start-line=
"29"
selection-start-column=
"5"
selection-end-line=
"29"
selection-end-column=
"5
"
/>
<state
relative-caret-position=
"
209
"
>
<caret
line=
"2
6"
column=
"32"
lean-forward=
"false"
selection-start-line=
"26"
selection-start-column=
"32"
selection-end-line=
"26"
selection-end-column=
"32
"
/>
<folding
/>
</state>
</provider>
...
...
.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