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
b24afdf5
Commit
b24afdf5
authored
May 18, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
c5bc87f0
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
3 deletions
+27
-3
apps/classroom/Tpl/default/Index/search_w3g.html
+0
-1
apps/mall/Tpl/default/Goods/pay_w3g.html
+0
-0
apps/mall/Tpl/default/Goods/view_w3g.html
+27
-2
No files found.
apps/classroom/Tpl/default/Index/search_w3g.html
View file @
b24afdf5
...
@@ -180,7 +180,6 @@
...
@@ -180,7 +180,6 @@
<div
@
click=
"onHotKeyword('{$vo.video_title|mStr=10}')"
class=
"search_flex_item layout_center"
>
<div
@
click=
"onHotKeyword('{$vo.video_title|mStr=10}')"
class=
"search_flex_item layout_center"
>
<span
class=
"text_14_400 color_999999"
>
{$vo.video_title|mStr=10}
</span>
<span
class=
"text_14_400 color_999999"
>
{$vo.video_title|mStr=10}
</span>
</div>
</div>
<!-- <li><a <eq name="vo.type" value="1">href="{:U('course/Video/view',array('id'=>$vo['id']))}"<else/>href="{:U('live/Index/view',array('id'=>$vo['id']))}"</eq>>{$vo.video_title|mStr=10}</a></li> -->
</volist>
</volist>
</div>
</div>
</div>
</div>
...
...
apps/mall/Tpl/default/Goods/pay_w3g.html
View file @
b24afdf5
This diff is collapsed.
Click to expand it.
apps/mall/Tpl/default/Goods/view_w3g.html
View file @
b24afdf5
...
@@ -34,6 +34,7 @@
...
@@ -34,6 +34,7 @@
</div>
</div>
<script>
<script>
let
uid
=
'{$uid}'
new
Vue
({
new
Vue
({
el
:
"#app"
,
el
:
"#app"
,
...
@@ -51,8 +52,32 @@
...
@@ -51,8 +52,32 @@
methods
:
{
methods
:
{
onBuy
:
function
()
{
onBuy
:
function
()
{
if
(
uid
<=
0
)
{
}
ui
.
confirm
(
'请先登录'
,
{
yes
:
function
()
{
window
.
location
.
href
=
"{:U('basic/Passport/login')}"
}
})
}
else
{
$
.
ajax
({
type
:
"POST"
,
url
:
"{:U('mall/Goods/getPayUrl')}"
,
data
:{
count
:
count
,
goods_id
:
this
.
info
.
uid
,
},
dataType
:
"json"
,
success
:
function
(
res
){
var
res
=
getResponseData
(
res
);
if
(
res
.
status
==
1
){
window
.
location
.
href
=
res
.
data
;
}
else
{
ui
.
error
(
res
.
message
);
}
}
})
}
},
}
}
})
})
</script>
</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