init
This commit is contained in:
662
app/index/view/blog/blog.phtml
Executable file
662
app/index/view/blog/blog.phtml
Executable file
@@ -0,0 +1,662 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Blog-ORICO Global Site</title>
|
||||
{include file="include/head" /}
|
||||
<script type="text/javascript">
|
||||
var navID = "1";</script>
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/style2.css">
|
||||
<link rel="stylesheet" type="text/css" href="__PUBLIC__/weben/css/theme.css">
|
||||
<script type="text/javascript" src="__PUBLIC__/web/scripts/jquery-1.8.3.min.js"></script>
|
||||
|
||||
<style>
|
||||
|
||||
|
||||
|
||||
.Footer_icon_orico {
|
||||
position: absolute;
|
||||
left: 0% !important;
|
||||
top: 12%;
|
||||
height: 50px;
|
||||
margin-top: -25px;
|
||||
}
|
||||
|
||||
/*blog_detail*/
|
||||
.content {
|
||||
width: 75%;
|
||||
margin: 2.5rem auto 8.75rem;
|
||||
}
|
||||
.blog_detail {
|
||||
width: calc(100% - 1.5rem - 25rem);
|
||||
height: auto;
|
||||
background: #ffffff;
|
||||
border: 1px solid #e8e8e8;
|
||||
float: left;
|
||||
margin-right: 1.25rem;
|
||||
}
|
||||
.blog_title {
|
||||
margin: 2.5rem;
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
padding-bottom: 2.5rem;
|
||||
}
|
||||
.blog_title h2 {
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
line-height: 2.125rem;
|
||||
color: #252525;
|
||||
margin-bottom: 1.0625rem;
|
||||
}
|
||||
.blog_title p {
|
||||
color: #929292;
|
||||
font-size: 0.875rem;
|
||||
line-height: 1.5rem;
|
||||
font-weight: 400;
|
||||
}
|
||||
.blog_content {
|
||||
margin: 2.5rem;
|
||||
}
|
||||
.blog_content p {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 400;
|
||||
line-height: 1.75rem;
|
||||
color: #252525;
|
||||
margin-bottom: 0.625rem;
|
||||
}
|
||||
.blog_content img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
margin-bottom: 0.625rem;
|
||||
}
|
||||
.share_box {
|
||||
width: 25rem;
|
||||
position: fixed;
|
||||
top: 130px;
|
||||
right: calc((100% - 75%) / 2);
|
||||
z-index: 10;
|
||||
}
|
||||
.blog_share {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
background: #ffffff;
|
||||
border: 1px solid #e8e8e8;
|
||||
float: left;
|
||||
}
|
||||
.blog_share h3 {
|
||||
font-size: 1rem;
|
||||
line-height: 2.125rem;
|
||||
color: #959595;
|
||||
font-weight: bold;
|
||||
padding: 1.25rem 1.875rem;
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
}
|
||||
.share_list {
|
||||
padding: 1.875rem;
|
||||
}
|
||||
.share_list li {
|
||||
float: left;
|
||||
width: 2.75rem;
|
||||
height: 2.75rem;
|
||||
margin-right: 3.125rem;
|
||||
}
|
||||
.share_list li:last-child {
|
||||
float: left;
|
||||
width: 2.75rem;
|
||||
height: 2.75rem;
|
||||
margin-right: 0;
|
||||
}
|
||||
.share_list li img {
|
||||
width: 2.75rem;
|
||||
height: 2.75rem;
|
||||
margin: 0 auto;
|
||||
display: block;
|
||||
}
|
||||
.repply {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
background: #ffffff;
|
||||
border: 1px solid #e8e8e8;
|
||||
float: left;
|
||||
margin-top: 1.25rem;
|
||||
}
|
||||
.repply h3 {
|
||||
font-size: 1rem;
|
||||
line-height: 2.125rem;
|
||||
color: #959595;
|
||||
font-weight: bold;
|
||||
padding: 1.25rem 1.875rem;
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
}
|
||||
.repply form {
|
||||
width: auto;
|
||||
height: auto;
|
||||
padding: 1.25rem;
|
||||
}
|
||||
.repply span {
|
||||
font-size: 0.875rem;
|
||||
font-weight: bold;
|
||||
}
|
||||
.repply input {
|
||||
width: 98%;
|
||||
height: 2rem !important;
|
||||
border: 1px solid #dbdbdb !important;
|
||||
margin-top: 0.625rem;
|
||||
margin-bottom: 0.625rem;
|
||||
}
|
||||
.comment_btn {
|
||||
margin: 1.25rem 1.25rem;
|
||||
width: auto;
|
||||
height: 2.75rem;
|
||||
line-height: 2.75rem;
|
||||
background: #009fdf;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
.comment {
|
||||
background: #ffffff;
|
||||
width: 100%;
|
||||
margin-top: 2.5rem;
|
||||
padding-bottom: 1.875rem;
|
||||
border: 1px solid #e8e8e8;
|
||||
}
|
||||
.comment h3 {
|
||||
font-size: 1rem;
|
||||
line-height: 2.125rem;
|
||||
color: #959595;
|
||||
font-weight: bold;
|
||||
padding: 1.25rem 2.5rem;
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
}
|
||||
.comment_form {
|
||||
padding: 1.875rem 2.5rem;
|
||||
}
|
||||
.comment_form div {
|
||||
font-size: 0.875rem;
|
||||
font-weight: bold;
|
||||
color: #252525;
|
||||
float: left;
|
||||
width: calc((100% - 2.5rem) / 2);
|
||||
}
|
||||
.comment_form > div input {
|
||||
width: 100%;
|
||||
height: 2rem;
|
||||
border: 1px solid #dbdbdb !important;
|
||||
margin-top: 0.625rem;
|
||||
}
|
||||
.comment_area {
|
||||
width: 100% !important;
|
||||
}
|
||||
.comment_area textarea {
|
||||
width: 100%;
|
||||
margin-top: 0.625rem;
|
||||
}
|
||||
.comment_list {
|
||||
background: #ffffff;
|
||||
width: 100%;
|
||||
margin-top: 2.5rem;
|
||||
padding-bottom: 1.875rem;
|
||||
border: 1px solid #e8e8e8;
|
||||
}
|
||||
.comment_list h3 {
|
||||
font-size: 1rem;
|
||||
line-height: 2.125rem;
|
||||
color: #959595;
|
||||
font-weight: bold;
|
||||
padding: 1.25rem 2.5rem;
|
||||
border-bottom: 1px solid #e8e8e8;
|
||||
}
|
||||
.comment_list ul {
|
||||
padding: 1.875rem 2.5rem;
|
||||
}
|
||||
.comment_list ul li {
|
||||
margin-bottom: 3.125rem;
|
||||
}
|
||||
.comment_list ul li:last-child {
|
||||
margin-bottom: 0 !important;
|
||||
}
|
||||
.comment_list ul li > div {
|
||||
float: left;
|
||||
display: block;
|
||||
font-size: 1rem;
|
||||
}
|
||||
.comment_list ul li > div:first-child {
|
||||
width: 3.125rem;
|
||||
height: auto;
|
||||
margin-right: 1.25rem;
|
||||
}
|
||||
.comment_list ul li > div:last-child {
|
||||
width: calc(100% - 3.125rem - 1.25rem);
|
||||
height: auto;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 1440px) {
|
||||
.blog_list ul li:nth-of-type(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 1200px) and (max-width: 1440px) {
|
||||
.blog_detail {
|
||||
width: 60%;
|
||||
}
|
||||
.blog_list ul li:nth-of-type(3n) {
|
||||
margin-right: 0;
|
||||
}
|
||||
.share_list li {
|
||||
width: calc((100% - 1.875rem) / 4);
|
||||
height: auto;
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
.share_list li img {
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
}
|
||||
.share_box {
|
||||
width: 28%;
|
||||
position: fixed;
|
||||
top: 130px;
|
||||
right: calc((100% - 75%) / 2);
|
||||
}
|
||||
}
|
||||
@media screen and (min-width: 768px) and (max-width: 1200px) {
|
||||
.content {
|
||||
width: 91%;
|
||||
}
|
||||
.blog_detail {
|
||||
width: 60%;
|
||||
}
|
||||
.blog_list ul {
|
||||
width: 75%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.blog_list ul li {
|
||||
float: left;
|
||||
width: calc((100% - 2.8125rem) / 2);
|
||||
height: auto;
|
||||
margin-right: 2.8125rem;
|
||||
}
|
||||
.blog_list ul li:nth-of-type(even) {
|
||||
margin-right: 0;
|
||||
}
|
||||
.blog_list ul li img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.detail_box {
|
||||
margin-top: 80px;
|
||||
}
|
||||
.share_box {
|
||||
width: 34%;
|
||||
position: fixed;
|
||||
top: 130px;
|
||||
right: calc((100% - 60% - 28% - 1.25rem) / 2);
|
||||
}
|
||||
.blog_share {
|
||||
width: 100%;
|
||||
}
|
||||
.share_list li {
|
||||
width: calc((100% - 1.875rem) / 4);
|
||||
height: auto;
|
||||
margin-right: 0.5rem;
|
||||
}
|
||||
.share_list li img {
|
||||
width: 2.5rem;
|
||||
height: 2.5rem;
|
||||
}
|
||||
.repply {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
/*点击弹框*/
|
||||
.popup-quick {
|
||||
width: 48rem;
|
||||
position: fixed;
|
||||
top: 35%;
|
||||
margin-top: -235px;
|
||||
left: 45%;
|
||||
margin-left: -235px;
|
||||
background-color: #fff;
|
||||
z-index: 9999;
|
||||
box-shadow: 0px 2px 5px rgba(255, 255, 255, 0.2);
|
||||
color: #333;
|
||||
border-radius: 0.05rem;
|
||||
}
|
||||
.popup-quick .popup-app {
|
||||
font-size: 0.14rem;
|
||||
color: #333;
|
||||
line-height: 22px;
|
||||
padding: 30px 40px;
|
||||
text-align: center;
|
||||
}
|
||||
.popup-quick .business-close {
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 20px;
|
||||
cursor: pointer;
|
||||
}
|
||||
.popup-quick .popup-business-logo img {
|
||||
width: 1.5rem;
|
||||
height: 1.5rem;
|
||||
margin-left: 0.9rem;
|
||||
}
|
||||
.title-text {
|
||||
font-size: 26px;
|
||||
color: #101010;
|
||||
font-weight: 600;
|
||||
text-align: center;
|
||||
padding: 34px 0;
|
||||
}
|
||||
.marsk-container {
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
display: none;
|
||||
position: absolute;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
right: 0;
|
||||
left: 0;
|
||||
bottom: 0px;
|
||||
z-index: 999;
|
||||
}
|
||||
.detail_form input {
|
||||
height: 2.75rem;
|
||||
line-height: 2.75rem;
|
||||
padding: 0 0.625rem;
|
||||
margin-top: 0.625rem;
|
||||
border: 1px solid #dbdbdb;
|
||||
display: inline-block;
|
||||
}
|
||||
.detail_form select {
|
||||
height: 2.75rem;
|
||||
line-height: 2.75rem;
|
||||
padding: 0 0.625rem;
|
||||
margin-top: 0.625rem;
|
||||
border: 1px solid #dbdbdb;
|
||||
display: inline-block;
|
||||
}
|
||||
.detail_form textarea {
|
||||
padding: 0.225rem 0.5rem;
|
||||
margin-top: 0.625rem;
|
||||
border: 1px solid #dbdbdb;
|
||||
display: inline-block;
|
||||
}
|
||||
.apply_form textarea {
|
||||
padding: 0.225rem;
|
||||
margin-top: 0.625rem;
|
||||
border: 1px solid #dbdbdb;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.detail-w {
|
||||
width: 40%;
|
||||
}
|
||||
.detail-w02 {
|
||||
width: 45%;
|
||||
}
|
||||
.detail-w01 {
|
||||
width: 90%;
|
||||
}
|
||||
.detail-w02 {
|
||||
width: 100%;
|
||||
}
|
||||
.detail_form .name > div {
|
||||
float: left;
|
||||
width: calc((100% - 1.25rem) / 2);
|
||||
}
|
||||
|
||||
/*odm*/
|
||||
.email-odm-w {
|
||||
background: #fff;
|
||||
width: 62.5%;
|
||||
margin: auto;
|
||||
clear: both;
|
||||
padding: 0.05rem 0;
|
||||
}
|
||||
.news-odm {
|
||||
background: #3bafe3;
|
||||
margin: 50px 0;
|
||||
padding: 6rem 0;
|
||||
}
|
||||
/*submission!*/
|
||||
.submission {
|
||||
width: 100%;
|
||||
margin: auto;
|
||||
text-align: center;
|
||||
}
|
||||
.submiss-content h3 {
|
||||
font-size: 24px;
|
||||
color: #333;
|
||||
line-height: 30px;
|
||||
padding: 24px 0 18px;
|
||||
}
|
||||
.submiss-p {
|
||||
font-size: 20px;
|
||||
color: #333;
|
||||
}
|
||||
.submiss-u-p {
|
||||
padding: 46px 0 140px;
|
||||
font-size: 18px;
|
||||
}
|
||||
.submiss-blue {
|
||||
color: #009fdf;
|
||||
border-bottom: 1px solid #009fdf;
|
||||
}
|
||||
/*question*/
|
||||
.ques-r {
|
||||
position: relative;
|
||||
}
|
||||
.ques-a {
|
||||
position: absolute;
|
||||
top: 40%;
|
||||
left: 20%;
|
||||
color: #fff;
|
||||
}
|
||||
.ques-a h3 {
|
||||
font-size: 48px;
|
||||
padding-bottom: 24px;
|
||||
}
|
||||
.ques-a p {
|
||||
font-size: 18px;
|
||||
width: 65%;
|
||||
line-height: 24px;
|
||||
font-weight: 100;
|
||||
}
|
||||
.ques_title {
|
||||
width: 43.75rem;
|
||||
line-height: 2rem;
|
||||
text-align: center;
|
||||
padding: 3.125rem 0;
|
||||
font-size: 1.5rem;
|
||||
font-weight: bold;
|
||||
color: #000000;
|
||||
}
|
||||
.ques_title p {
|
||||
font-size: 16px;
|
||||
line-height: 18px;
|
||||
font-weight: 100;
|
||||
padding: 20px 0;
|
||||
color: #707070;
|
||||
}
|
||||
.ques-select {
|
||||
height: 45px;
|
||||
margin-top: 10px;
|
||||
border: 1px solid #dbdbdb;
|
||||
}
|
||||
select {
|
||||
appearance: none;
|
||||
-webkit-appearance: none; /*去除chrome浏览器的默认下拉图片*/
|
||||
-moz-appearance: none; /*去除Firefox浏览器的默认下拉图片*/
|
||||
background: url('../images/select-down.png') no-repeat right center;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
padding: 0 5px;
|
||||
text-overflow: '';
|
||||
}
|
||||
.ques-select::after {
|
||||
/* arrow icon for select element */
|
||||
content: '';
|
||||
position: absolute;
|
||||
z-index: 1;
|
||||
right: 16px;
|
||||
top: 50%;
|
||||
margin-top: -8px;
|
||||
display: block;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
background: url('../images/blog/cd-icon-arrow.svg') no-repeat center center;
|
||||
pointer-events: none;
|
||||
}
|
||||
/*upload*/
|
||||
.img_box ul {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.img_box ul li {
|
||||
float: left;
|
||||
width: 20%;
|
||||
margin-right: 2.5%;
|
||||
margin-top: 1em;
|
||||
padding: 20% 0 0;
|
||||
position: relative;
|
||||
cursor: pointer;
|
||||
}
|
||||
.img_box ul li img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
}
|
||||
|
||||
.img_box ul .add_btn {
|
||||
border: 1px solid #e5e5e5;
|
||||
background: url(../images/add.png) no-repeat 50% 50%;
|
||||
cursor: pointer;
|
||||
border-radius: 3px;
|
||||
}
|
||||
.img_box ul .del {
|
||||
position: absolute;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
line-height: 15px;
|
||||
text-align: center;
|
||||
font-size: 1.5em;
|
||||
background: rgba(0, 0, 0, 0.5);
|
||||
color: #fff;
|
||||
right: 0;
|
||||
top: 0;
|
||||
font-style: inherit;
|
||||
cursor: pointer;
|
||||
}
|
||||
/*upload- E*/
|
||||
.question_btn {
|
||||
margin: 3rem auto 5.625rem;
|
||||
width: 15rem;
|
||||
height: 2.5rem;
|
||||
line-height: 2.5rem;
|
||||
background: #009fdf;
|
||||
color: #ffffff;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<!--top-->
|
||||
<header class="header-PC header-Index">
|
||||
<div id="header" class="theme-white">
|
||||
|
||||
</div>
|
||||
</header>
|
||||
{include file="include/top-head2023" /}
|
||||
|
||||
|
||||
<!--top End-->
|
||||
|
||||
|
||||
<!-- 轮播 s -->
|
||||
<div class="homeban">
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<li><img src="__PUBLIC__/weben/images/blog/blog.png"/></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e -->
|
||||
<div class="swt-Container">
|
||||
<div class="news-vertu">
|
||||
<div class="tab">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!-- 轮播 e -->
|
||||
|
||||
|
||||
|
||||
<!-- 轮播 s >
|
||||
<div class="homeban banner-other">
|
||||
<div class="bd">
|
||||
<ul>
|
||||
<li><a href="#"><img src="__PUBLIC__/weben/images/blog/blog.png"/></a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 轮播 e ---->
|
||||
|
||||
<!-- Blog列表 s -->
|
||||
<div class="search_box">
|
||||
<i class="search_icon"></i>
|
||||
<input type="text" placeholder="Search blog articles" class="search" id="bg-search-in" value="<?php if(isset($search['name'])){ echo $search['name'];}?>"/>
|
||||
</div>
|
||||
<div class="blog_list">
|
||||
<?php if ($list): ?>
|
||||
<ul class="clearfix">
|
||||
<?php foreach ($list as $detail): ?>
|
||||
<li>
|
||||
<a href="<?php echo '/us/blog/detail/id/'.$detail['id'];?>.html">
|
||||
<img src="<?php echo getImage($detail['icon'], 951, 459, 6); ?>" />
|
||||
<h3><?php echo $detail['title']; ?></h3>
|
||||
<p><?php echo $detail['seo_description']; ?></p>
|
||||
</a>
|
||||
<span class="blue"><?php echo date("M d, Y", strtotime($detail['add_time'])); ?></span>
|
||||
</li>
|
||||
<?php endforeach; ?>
|
||||
|
||||
<!-- 分页 s -->
|
||||
<?php
|
||||
if ($page) {
|
||||
echo $page;
|
||||
}
|
||||
?>
|
||||
<!-- 分页 e -->
|
||||
</ul>
|
||||
<?php else: ?>
|
||||
<div class="content">查询无结果!</div>
|
||||
<?php endif; ?>
|
||||
</div>
|
||||
<!-- Blog列表 e -->
|
||||
<script>
|
||||
var type = 'Blog';
|
||||
|
||||
//点击创建申请块
|
||||
$(function(){
|
||||
$('#bg-search-in').click(function(){
|
||||
var skeyword = $("#bg-search-in").val();
|
||||
if (skeyword) {
|
||||
var href = "?name=" + encodeURIComponent(skeyword);
|
||||
location.href = href;
|
||||
}
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<!-- bottom s -->
|
||||
{include file="include/bottom2023" /}
|
||||
<!-- bottom e -->
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user