123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209 |
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
- <head>
- <meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
- <meta name="keywords" content="永天科技页面智慧商圈" />
- <meta name="description" content="永天科技页面智慧商圈" />
- <meta name="renderer" content="webkit">
- <title>永天科技页面智慧商圈-产品详情</title>
- <link rel="stylesheet" type="text/css" href="../assets/v1/css/reset.css" />
- <link rel="stylesheet" type="text/css" href="../assets/v1/css/base.css" />
- <link rel="stylesheet" type="text/css" href="../assets/v1/css/details.css" />
- <link rel="stylesheet" type="text/css" href="../assets/v1/css/head.css" />
- <?php $this->load->view('_resource', array('link' => 'area')); ?>
- <script type="text/javascript" src="../assets/v1/js/jquery-1.11.1.min.js"></script>
- <script type="text/javascript" src="../assets/v1/js/picture.js"></script>
- <script type="text/javascript" src="../assets/v1/js/global.js"></script>
- </head>
- <body>
- <?php $this->load->view('_header' , array('navi' => 'join')); ?>
- <div class="top">
- <img src="<?php echo STYLE_PATH; ?>/images/num34.png" alt="" />
- </div>
- <div class="c1"></div>
- <!-- tab选项卡 -->
- <div class="tab">
- <ul>
- <li class="m1">
- <a href="/example#a">
- <img src="<?php echo STYLE_PATH; ?>/images/ss1.png" alt="" />
- <span>智慧商圈</span>
- </a>
- </li>
- <li class="m2">
- <a href="/example#b">
- <img src="<?php echo STYLE_PATH; ?>/images/ss2.png" alt="" />
- <span>智慧社区</span>
- </a>
- </li>
- <li class="m3">
- <a href="/example#c">
- <img src="<?php echo STYLE_PATH; ?>/images/ss3.png" alt="" />
- <span>智慧园区</span>
- </a>
- </li>
- <li class="m4">
- <a href="/example#d">
- <img src="<?php echo STYLE_PATH; ?>/images/ss4.png" alt="" />
- <span>智慧办公</span>
- </a>
- </li>
- <li class="m5">
- <a href="/example#e">
- <img src="<?php echo STYLE_PATH; ?>/images/ss5.png" alt="" />
- <span>智慧消防</span>
- </a>
- </li>
- <li class="m5">
- <a href="/example#f">
- <img src="<?php echo STYLE_PATH; ?>/images/ss6.png" alt="" />
- <span>其他</span>
- </a>
- </li>
- <li class="m5 current">
- <a href="/product">
- <img src="<?php echo STYLE_PATH; ?>/images/ss7.png" alt="" />
- <span>智慧产品</span>
- </a>
- </li>
- </ul>
- </div>
- <!-- tab选项卡 -->
- <div class="c1 h84"></div>
- <div class="content">
-
- <div class="top_top">
- <div class="fl">
- <div class="header_title">
- 产品详情</div>
- <div class="header_subtitle"></div>
- <span class="line-abs bottom hleft" style="overflow:hidden;border-bottom-style:solid;width:76px;max-width:76px;border-bottom-width:4px;border-bottom-color:#3cbdd7;margin-left:0px;margin-top:5px;display: block;"></span>
- <div class="c1" style="height: 50px;"></div>
- </div>
- <div class="fr">
- <a href="http://www.usky.cn/product">返回</a>
- </div>
- </div>
-
- <div class="c1" style="clear: both;"></div>
- <div class="con">
- <div class="con_lf fl">
- </div>
- <div class="con_rh fr">
- <div class="qfe_wrapper" style="margin-top: 55px;">
- <div class="qfy_title left mobilecenter">
- <div class="qfy_title_image_warpper" style="display:inline-block;position:relative;max-width:100%;border-width:0 0 0 5px;border-style:solid;border-color:#000000;">
- <div class="qfy_title_inner" style="display:inline-block;position:relative;max-width:100%;">
- <div class="header_title header_title1" style="font-family:微软雅黑;font-size:23px;font-weight:normal;font-style:normal;color:#000000;padding:0 10px 0 10px;display:inline-block;padding:0 10px 0 10px;vertical-align:middle;"></div>
- <div class="header_subtitle" style="font-family:arial;font-size:15px;font-weight:normal;font-style:normal;color:#adadad;display:inline-block;padding:10px 0 0 0;vertical-align:middle;"></div>
- </div>
- <style></style>
- <div class="button_wrapper" style="display:none;">
- <div class="button " style="display:inline-block;max-width:100%;text-align:center; font-size:14px; color:#333; padding:5px;">+ 查看更多</div>
- </div><span style="clear:both;"></span>
- </div>
- </div>
- </div>
- <div class="c1"></div>
- <div class="qfe_wrapper" style="margin-top: 76px;width: 90%;">
- <div>
- <h2>产品特点</h2>
- <span class="spc_span"></span>
- </div>
- <div class="c1" style="height: 40px;"></div>
- <div class="n2">
- <h2>产品参数</h2>
- <div class="box_span">
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <?php $this->load->view('_footer'); ?>
- </body>
- <script type="text/javascript">
- function GetRequest() {
- var url = location.search; //获取url中"?"符后的字串
- var theRequest = new Object();
- if (url.indexOf("?") != -1) {
- var str = url.substr(1);
- strs = str.split("&");
- for (var i = 0; i < strs.length; i++) {
- theRequest[strs[i].split("=")[0]] = unescape(strs[i].split("=")[1]);
- }
- }
- var price = parseInt(url.replace(/[^0-9]/ig, ""));
- var geturl = '/api/getProductDetail?id=';
- $.ajax({
- type: "GET",
- cache: true,
- dataType: "json",
- url: geturl + price,
- error: function(request) {
- console.log(request);
- },
- success: function(res) {
- console.log(res);
- var html = '';
- var html1 = '';
- var html2 = '';
- var html3 = '';
- // var html4 = '';
- html += res.data.title;
- html1 += res.data.desc;
- html2 += '<img style="width:357px; height:246px;" src="' + res.data.img["0"].img + '" alt="">';
- // html2 += ' <span>' + formatDateTime(res.data.detail.publishtime) + '</span>';
- html3 += ' <span>' + res.data.sence + '</span>';
- // html3 += ' <a href="/news/detail?id='+res.data.prev.id+'">'+res.data.prev.title+'</a>';
- // html4 += ' <span>下一篇</span>';
- // html4 += ' <a href="/news/detail?id='+res.data.next.id+'">'+res.data.next.title+'</a>';
- // html += ' <div>' + res.data.detail.content + '</div>';
- $(".header_title1").html(html);
- $(".breadcrumb-a").html(res.data.type_name);
- $(".breadcrumb-text").html(html);
- $(".qfe_wrapper span.spc_span").html(html1);
- $(".con_lf").html(html2);
- $(".box_span").html(html3);
- // $(".addtime").html(html2);
- // $(".sp").html(html);
- // $(".prev_inner").html(html3);
- // $(".next_inner").html(html4);
- }
- });
- }
- GetRequest();
- function formatDateTime(timeStamp) {
- var date = new Date();
- date.setTime(timeStamp * 1000);
- var y = date.getFullYear();
- var m = date.getMonth() + 1;
- m = m < 10 ? ('0' + m) : m;
- var d = date.getDate();
- d = d < 10 ? ('0' + d) : d;
- var h = date.getHours();
- h = h < 10 ? ('0' + h) : h;
- var minute = date.getMinutes();
- var second = date.getSeconds();
- minute = minute < 10 ? ('0' + minute) : minute;
- second = second < 10 ? ('0' + second) : second;
- return y + '-' + m + '-' + d;
- };
- </script>
- <script type="text/javascript">
- $(document).ready(function() {
- $(window).scroll(function() {
- if ($(window).scrollTop() > 85) {
- $('.head2').slideDown("slow");
- } else {
- $('.head2').hide();
- }
- });
- });
- </script>
- </html>
|