Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
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
冷斌
eduline
Commits
c05fc471
Commit
c05fc471
authored
Jun 16, 2020
by
冷斌
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
1d349587
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
apps/mall/Tpl/default/Goods/view_w3g.html
+7
-7
No files found.
apps/mall/Tpl/default/Goods/view_w3g.html
View file @
c05fc471
...
...
@@ -20,16 +20,16 @@
</div>
</div>
<div
class=
"fixed_bottom_bar layout_h_v_c"
>
<span
class=
"text_14_600 color_FF3B3B"
>
¥{{info.price}}
</span>
<div
class=
"weight_full layout_h_r"
>
<div
@
click=
"onBuy"
class=
"vip_buy_pay_button layout_center"
><span
class=
"text_14_400 color_white"
>
立即购买
</span></div>
<span
style=
"margin-right: 0.75rem;"
class=
"text_12_400 color_999999 self_center"
>
{{info.num}}人已购买
</span>
</div>
</div>
</div>
...
...
@@ -37,19 +37,19 @@
let
uid
=
'{$uid}'
new
Vue
({
el
:
"#app"
,
created
:
function
(){
this
.
info
=
{:
json_encode
(
$data
)};
console
.
log
(
this
.
info
)
},
data
:
function
()
{
return
{
info
:
""
,
order
:
""
}
},
methods
:
{
onBuy
:
function
()
{
if
(
uid
<=
0
)
{
...
...
@@ -64,7 +64,7 @@
url
:
"{:U('mall/Goods/getPayUrl')}"
,
data
:{
count
:
1
,
goods_id
:
this
.
info
.
u
id
,
goods_id
:
this
.
info
.
goods_
id
,
},
dataType
:
"json"
,
success
:
function
(
res
){
...
...
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