Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
石磊
/
cihai
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e20155b2
authored
Dec 07, 2017
by
石头
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
更新静态页
1 parent
d83f01f2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
4 deletions
serverside/cihai-core/src/main/java/com/dookay/cihai/core/word/domain/WordDomain.java
serverside/cihai-wechat/src/main/webapp/WEB-INF/jsp/portal/word/baike.jsp
serverside/cihai-wechat/src/main/webapp/static/js/main.js
serverside/cihai-core/src/main/java/com/dookay/cihai/core/word/domain/WordDomain.java
View file @
e20155b
...
...
@@ -79,6 +79,8 @@ public class WordDomain implements Serializable {
* 拼音
*/
private
String
wordSpell
;
private
String
category
;
}
serverside/cihai-wechat/src/main/webapp/WEB-INF/jsp/portal/word/baike.jsp
View file @
e20155b
...
...
@@ -11,7 +11,7 @@
<div class="page navbar-fixed page-side-nav">
<div class="navbar">
<div class="navbar-inner">
<div class="center" style="left:0">“
象
”在其他百科辞典的解释</div>
<div class="center" style="left:0">“
${word.word}
”在其他百科辞典的解释</div>
</div>
</div>
<div class="page-content">
...
...
@@ -320,7 +320,7 @@
<span>79</span>
</a>
<div class="word-read">
<h1>
象
</h1>
<h1>
${word.word}
</h1>
<a class="link-voice" href="#">
<i class="iconfont icon-shengyin"></i>
</a>
...
...
@@ -349,7 +349,7 @@
<a class="word-title-pager prev js-jump-page" href="/word/detail/${word.id}">语词
<span class="icon icon-word-prev"></span>
</a>
<h1 class="word-title-inner">
象
</h1>
<h1 class="word-title-inner">
${word.word}
</h1>
<a class="word-title-pager next active">百科
<span class="icon icon-word-next"></span>
</a>
...
...
@@ -357,7 +357,7 @@
</div>
<div class="word-footer">
<div class="words-main">
<span>【
xiàng
】
<span>【
${word.wordSpell}
】
<a class="link" href="#">
<i class="iconfont icon-shengyin"></i>
</a>
...
...
serverside/cihai-wechat/src/main/webapp/static/js/main.js
0 → 100644
View file @
e20155b
var
$
=
Dom7
;
var
myApp
=
new
Framework7
({
root
:
'#app'
,
theme
:
'ios'
,
modalButtonOk
:
'去顶'
});
var
$loading
=
$
(
'#loading'
);
$loading
.
addClass
(
'fade-out'
);
setTimeout
(
function
()
{
$loading
.
hide
();
},
300
);
/**
* 页面切换
* @param url
*/
function
jumpPage
(
url
)
{
$loading
.
show
();
setTimeout
(
function
()
{
$loading
.
removeClass
(
'fade-in'
);
setTimeout
(
function
()
{
window
.
location
.
href
=
url
;
},
300
);
},
10
);
}
$
(
'.js-jump-page'
).
click
(
function
()
{
jumpPage
(
$
(
this
).
attr
(
'href'
));
return
false
;
});
Write
Preview
Markdown
is supported
Attach a file
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 post a comment