Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
quxiu
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
quxiu
Commits
f59acc98
Commit
f59acc98
authored
Apr 23, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
fb166004
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
16 deletions
+17
-16
wxshare/Application/Home/View/Pay/pay.html
+17
-16
No files found.
wxshare/Application/Home/View/Pay/pay.html
View file @
f59acc98
...
...
@@ -39,7 +39,7 @@
.header
.coin
{
font-weight
:
bold
;
}
.header
.user-id
{
float
:
right
;
line-height
:
40px
;
...
...
@@ -50,10 +50,10 @@
height
:
10px
;
}
.content
{
}
.list
{
}
.list
li
{
padding
:
10px
15px
;
...
...
@@ -62,14 +62,14 @@
.list
li
.on
{
border
:
1px
solid
#FED25C
;
}
.list
li
:after
{
content
:
"."
;
display
:
block
;
height
:
0
;
clear
:
both
;
visibility
:
hidden
;
overflow
:
hidden
;
overflow
:
hidden
;
}
.list
li
.li-left
{
float
:
left
;
...
...
@@ -99,7 +99,7 @@
.footer
{
text-align
:
center
;
}
.footer
a
{
color
:
#3e97f8
;
...
...
@@ -111,7 +111,7 @@
</head>
<body
>
<div
class=
"header"
>
充值账号(输入):
<span
class=
""
><input
type=
"text"
name=
"uid"
value=
"{$userinfo['uid']}"
data-uid=
"0"
/>
<span
class=
"coin"
id=
"userinfo"
style=
"display: none;"
><img
src=
""
id=
"avatar"
><span
id=
"nice_name"
style=
"margin-left: 20px;"
>
{$userinfo['user_nicename']}
</span></span>
</span>
充值账号(输入):
<span
class=
""
><input
type=
"text"
name=
"uid"
value=
"{$userinfo['uid']}"
data-uid=
"0"
/>
<span
class=
"coin"
id=
"userinfo"
style=
"display: none;"
><img
src=
""
id=
"avatar"
><span
id=
"nice_name"
style=
"margin-left: 20px;"
>
{$userinfo['user_nicename']}
</span></span>
</span>
</div>
<div
class=
"header"
>
余额(萌豆):
<span
class=
"coin"
id=
"coin"
>
0
</span>
...
...
@@ -122,7 +122,7 @@
<div
class=
"line"
></div>
<div
class=
"line"
></div>
<div
class=
"content"
>
<ul
class=
"list"
>
<volist
name=
"chargelist"
id=
"v"
>
...
...
@@ -140,9 +140,9 @@
</ul>
</div>
<div
class=
"footer"
>
</div>
<script
src=
"__PUBLIC__/share/js/jquery-1.10.1.min.js"
></script>
<script>
var
isiPad
=
/iPad/i
.
test
(
navigator
.
userAgent
);
...
...
@@ -163,7 +163,7 @@
var
that
=
this
;
console
.
log
(
$
(
this
).
val
());
$
.
ajax
({
url
:
'/wxshare/index.php
/pay/
getUserInfo'
,
url
:
'/wxshare/index.php
?g=home&c=pay&a=
getUserInfo'
,
data
:{
uid
:
$
(
this
).
val
()
},
dataType
:
'json'
,
success
:
function
(
data
){
...
...
@@ -184,17 +184,18 @@
error
:
function
(
e
){
console
.
log
(
e
);
}
})
});
$
(
".content .list li"
).
on
(
"click"
,
function
(){
var
money
=
$
(
this
).
attr
(
"data-price"
);
var
chargeid
=
$
(
this
).
attr
(
"data-id"
);
var
uid
=
$
(
"input[name='uid']"
).
attr
(
"data-uid"
);
if
(
uid
){
$
.
ajax
({
url
:
'/wxshare/index.php/pay/getOrderId'
,
// url:'/wxshare/index.php/pay/getOrderId',
url
:
'/wxshare/index.php?g=home&c=share&a=getOrderId'
,
data
:{
chargeid
:
chargeid
,
uid
:
uid
},
dataType
:
'json'
,
success
:
function
(
data
){
...
...
@@ -209,12 +210,12 @@
error
:
function
(
e
){
console
.
log
(
e
);
}
})
}
else
{
alert
(
"请填写用户ID"
);
}
})
})
</script>
...
...
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