You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
< html >
< head >
< title > {title} < / title >
< meta name = "Generator" content = "vue.netcore" >
< meta id = "viewport" name = "viewport"
content = "width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no,viewport-fit=cover" >
< meta name = "Author" content = "" >
< meta http-equiv = "Content-Type" content = "text/html; charset=utf-8" >
< meta name = "Keywords" content = "" >
< meta name = "Description" content = "" >
< style >
body {
position : relative ;
height : 100 % ;
max-width : 880 px ;
margin : 0 auto ;
padding : 15 px ;
}
. title h2 {
text-align : center ;
font-weight : 700 ;
color : #4d4f53 ;
letter-spacing : 1 px ;
line-height : 54 px ;
padding-bottom : 8 px ;
margin-bottom : 13 px ;
border-bottom : 1 px dashed #ccc ;
}
. title . source {
text-align : center ;
}
. title . date ,
. title . author ,
. title . count {
letter-spacing : 1 px ;
margin-left : 50 px ;
font-size : 14 px ;
color : #8c8b8b ;
}
# count {
font-size : 14 px ;
color : #8c8b8b ;
}
. tm-content {
margin-top : 40 px ;
font-size : 18 px ;
letter-spacing : 1 px ;
}
< / style >
< / head >
< body >
< div class = "title" >
< h2 >
{title}
< / h2 >
< div class = "source" >
< span class = "author" > 来源: vol-core< / span >
< span class = "date" > 发布时间:{date}< / span >
< span class = "count" > 浏览次数:< / span > < span id = "count" > 0< / span >
< / div >
< / div >
< div class = "tm-content" >
{content}
< / div >
< / body >
< / html >
< script >
var count = 0 ;
window . onload = function ( ) {
var params = window . location . href . split ( "?" ) ;
if ( ! params || params . length <= 1 ) {
return ;
}
params [ 1 ] . split ( "&" ) . forEach ( function ( item ) {
var query = item . split ( "=" ) ;
if ( query . length > 0 && query [ 0 ] == "c" ) {
document . getElementById ( "count" ) . innerText = ( ~ ~ query [ 1 ] ) + 1 ;
}
} )
}
< / script >