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
e656ab55
Commit
e656ab55
authored
Jun 05, 2020
by
Administrator
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master'
parents
993a591f
ed7a8f3c
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
3 deletions
+24
-3
apps/basic/Lib/Action/SingleAction.class.php
+2
-0
apps/basic/Tpl/default/Single/info_w3g.html
+17
-0
apps/classroom/Tpl/default/Index/theme_x7_w3g.html
+5
-3
favicon.ico
+0
-0
No files found.
apps/basic/Lib/Action/SingleAction.class.php
View file @
e656ab55
...
@@ -47,6 +47,8 @@ class SingleAction extends CommonAction
...
@@ -47,6 +47,8 @@ class SingleAction extends CommonAction
$res
=
M
(
'single'
)
->
where
(
$map
)
->
find
();
$res
=
M
(
'single'
)
->
where
(
$map
)
->
find
();
}
}
}
}
var_dump
(
$res
);
di
;
$this
->
assign
(
'data'
,
$res
);
$this
->
assign
(
'data'
,
$res
);
$this
->
display
();
$this
->
display
();
...
...
apps/basic/Tpl/default/Single/info_w3g.html
View file @
e656ab55
...
@@ -8,7 +8,13 @@
...
@@ -8,7 +8,13 @@
<div
id=
"app"
>
<div
id=
"app"
>
<div
class=
"layout_v"
>
<div
class=
"layout_v"
>
{$data.text}
{$data.text}
<van-cell
@
click=
"onChangePwd"
title=
"修改密码"
is-link
></van-cell>
<!-- <van-cell @click="onFeedback" title="意见反馈" is-link ></van-cell>-->
<!-- <van-cell @click="onAboutUs" title="关于我们" is-link ></van-cell>-->
<van-cell
@
click=
"onQuit"
title=
"退出账号"
is-link
></van-cell>
</div>
</div>
</div>
</div>
...
@@ -25,7 +31,18 @@
...
@@ -25,7 +31,18 @@
document
.
title
=
"{$data.title}"
document
.
title
=
"{$data.title}"
},
},
methods
:
{
methods
:
{
onChangePwd
:
function
()
{
window
.
location
.
href
=
"{:U('home/User/changepsw')}"
},
onFeedback
:
function
()
{
},
onAboutUs
:
function
()
{
},
onQuit
:
function
()
{
logout
()
}
}
}
})
})
...
...
apps/classroom/Tpl/default/Index/theme_x7_w3g.html
View file @
e656ab55
...
@@ -103,7 +103,7 @@
...
@@ -103,7 +103,7 @@
<if
condition=
"$vo['price'] eq 0"
>
免费
<if
condition=
"$vo['price'] eq 0"
>
免费
<else
/>
¥{$vo['price']}
</if>
<else
/>
¥{$vo['price']}
</if>
</span>
</span>
<van-image
@
click=
"onDownload({$vo
}
)"
src=
"__THEME__/img/down_load_icon.png"
width=
"13"
height=
"16"
>
<van-image
@
click=
"onDownload({$vo
['is_buy']}, {$vo['price']}, '{$vo[attach]}'
)"
src=
"__THEME__/img/down_load_icon.png"
width=
"13"
height=
"16"
>
</van-image>
</van-image>
</van-icon>
</van-icon>
</div>
</div>
...
@@ -175,8 +175,10 @@
...
@@ -175,8 +175,10 @@
onChange
:
function
(
tab
)
{
onChange
:
function
(
tab
)
{
},
},
onDownload
:
function
(
item
)
{
onDownload
:
function
(
isBuy
,
price
,
path
)
{
console
.
log
(
item
);
if
(
(
isBuy
||
price
==
0
)
&&
path
)
{
window
.
location
.
href
=
path
;
}
},
},
onPay
:
function
(
id
)
{
onPay
:
function
(
id
)
{
console
.
log
(
"Id = "
+
id
)
console
.
log
(
"Id = "
+
id
)
...
...
favicon.ico
View file @
e656ab55
No preview for this file type
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