Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
php
/
pingan-maruko
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
9399e63b
authored
Jul 14, 2020
by
doszhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dos
parent
a2877bc5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
11 deletions
+13
-11
Application/Admin/Controller/InfoController.class.php
+1
-1
Application/Admin/Controller/ReportController.class.php
+1
-1
Application/Admin/View/default/Info_index.tpl
+10
-4
Application/Home/View/default/layout.tpl
+1
-1
Public/static/js/common.js
+0
-4
No files found.
Application/Admin/Controller/InfoController.class.php
View file @
9399e63b
...
...
@@ -10,7 +10,7 @@ class InfoController extends AdminController
public
function
index
()
{
$sql
=
"select
* from info
"
;
$sql
=
"select
p.prize_name,p.add_time,u.nickname,u.name,u.tel,u.address from user as u,prize as p where p.is_get=1
"
;
$list
=
M
()
->
query
(
$sql
);
$this
->
assign
(
'list'
,
$list
);
$this
->
display
();
...
...
Application/Admin/Controller/ReportController.class.php
View file @
9399e63b
...
...
@@ -13,7 +13,7 @@ class ReportController extends AdminController
if
(
!
$channel
)
{
$channel
=
'__all__'
;
}
$url
=
"http://api2.iacode.cn/tongjiV2/report?app_stat_key=
jwkKkepF5Gy2bRSn&app_stat_secret=kCWr5izepj52mWnB
"
;
$url
=
"http://api2.iacode.cn/tongjiV2/report?app_stat_key=
XHeG4Hz2SXQMNmZx&app_stat_secret=tEWCiZKPMC64t5ib
"
;
$content
=
file_get_contents
(
$url
);
$data
=
json_decode
(
$content
,
true
);
$data_list
=
$data
[
'data'
];
...
...
Application/Admin/View/default/Info_index.tpl
View file @
9399e63b
...
...
@@ -18,18 +18,24 @@
<thead>
<tr>
<th>
id
</th>
<th>
微信昵称
</th>
<th>
奖品名称
</th>
<th>
领奖时间
</th>
<th>
姓名
</th>
<th>
业务号
</th>
<th>
生成时间
</th>
<th>
电话
</th>
<th>
地址
</th>
</tr>
</thead>
<tbody
class=
"text-left"
>
{:foreach from=$list item=item}
<tr
id=
"{:$item.id}"
>
<td>
{:$item.id}
</td>
<td>
{:$item.nickname}
</td>
<td>
{:$item.prize_name}
</td>
<td>
{:$item.add_time|date_format:'%Y-%m-%d %H:%M:%S'}
</td>
<td>
{:$item.name}
</td>
<td>
{:$item.
business
}
</td>
<td>
{:$item.add
time|date_format:'%Y-%m-%d %H:%M:%S'
}
</td>
<td>
{:$item.
tel
}
</td>
<td>
{:$item.add
ress
}
</td>
</tr>
{:/foreach}
</tbody>
...
...
Application/Home/View/default/layout.tpl
View file @
9399e63b
...
...
@@ -122,7 +122,7 @@
};
</script>
<script
type=
"text/javascript"
src=
"https://api2.izhida.cn/wechat_js_config?app_id=wx8e5787326363f877&v=1.2.1&api_list=all&app_stat_key="
>
src=
"https://api2.izhida.cn/wechat_js_config?app_id=wx8e5787326363f877&v=1.2.1&api_list=all&app_stat_key=
XHeG4Hz2SXQMNmZx
"
>
</script>
<script
src=
"__CDN__/js/jquery-2.1.3.min.js"
></script>
<script
src=
"__CDN__/js/jquery-notify.min.js"
></script>
...
...
Public/static/js/common.js
View file @
9399e63b
...
...
@@ -316,9 +316,6 @@ function showItem() {
scrollTimer
=
setTimeout
(()
=>
{
const
scrollTop
=
$
(
'.wrap-inner'
).
scrollTop
();
const
scrollLeft
=
$
(
'.wrap-inner'
).
scrollLeft
();
// if (scrollLeft > 0) {
// $('.maruko').css('left', `${scrollLeft + 180}px`)
// }
if
(
nowShowIndex
==
1
&&
scrollTop
>
700
)
{
$
(
'.title,.page1 .cloud'
).
show
();
nowShowIndex
++
...
...
@@ -329,7 +326,6 @@ function showItem() {
$
(
'.toast2'
).
show
();
showItemStatus
=
true
}
},
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