代码拉取完成,页面将自动刷新
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title></title>
<link rel="icon" href="img/favicon.ico">
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
<link rel="stylesheet" href="layui/css/layui.css">
<link rel="stylesheet" href="css/reset.css">
<link rel="stylesheet" href="css/vendor.min.css">
<link rel="stylesheet" href="css/plugins.min.css">
<link rel="stylesheet" href="css/style.min.css">
<style>
html{
height: 100%;
overflow-y: hidden;
}
body{
height: 100%;
overflow-y: auto;
}
.aaa{
padding:0 15px;height:35px;line-height:32px;font-size:14px;text-transform:uppercase
}
</style>
</head>
<body>
<div class="container">
<div class="row">
<div class="col-lg-6">
<div class="single-product-img h-100">
<div class="swiper-container single-product-slider">
<div class="swiper-wrapper">
<div class="swiper-slide">
<a class="single-img gallery-popup" id="pic-bac" style="width: 540px;height: 380px;">
<img class="img-full" src="" id="pic-bac2" style="width: 540px;height: 380px;">
</a>
</div>
</div>
<div class="swiper-pagination"></div>
</div>
</div>
</div>
<div class="col-lg-6">
<div class="product-thumb-with-content row">
<div class="col-12 order-lg-1 order-2 pt-10 pt-lg-0">
<div class="single-product-content">
<h2 class="title">互联网CPE</h2>
<p class="short-desc mb-6" id="detail">此商品的详情介绍</p>
<!-- <ul class="quantity-with-btn pb-7">-->
<!-- <li class="add-to-cart">-->
<!-- <a class="btn btn-custom-size lg-size btn-primary btn-secondary-hover rounded-0"-->
<!-- href="###" style="width: 300px">订购</a>-->
<!-- </li>-->
<!-- </ul>-->
</div>
</div>
<div class="col-12 order-lg-2 order-1 pt-10 pt-lg-0">
<div class="swiper-container single-product-thumbs">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="product-tab-area section-space-top-100" style="padding-bottom: 50px;">
<div class="container">
<div class="row">
<div class="col-lg-12">
<ul class="nav product-tab-nav product-tab-style-2" role="tablist">
<li class="nav-item" role="presentation">
<a class="active btn aaa" id="description-tab" data-bs-toggle="tab" href="#description" role="tab" aria-controls="description" aria-selected="true">
手册
</a>
</li>
<li class="nav-item" role="presentation">
<a class="btn aaa" id="reviews-tab" data-bs-toggle="tab" href="#reviews" role="tab"
aria-controls="reviews" aria-selected="false">
应用
</a>
</li>
</ul>
<div class="tab-content product-tab-content">
<div class="tab-pane fade show active" id="description" role="tabpanel" aria-labelledby="description-tab">
<div class="product-description-body">
<p class="short-desc mb-0" id="manual">文本占位</p>
</div>
</div>
<div class="tab-pane fade" id="reviews" role="tabpanel" aria-labelledby="reviews-tab">
<div class="product-review-body">
<p class="short-desc mb-0" id="application">文本占位2</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="js/vendor.min.js"></script>
<script src="js/plugins.min.js"></script>
<script src="js/main.min.js"></script>
<script src="layui/layui.js"></script>
<script src="js/token.js"></script>
<script src="js/config.js"></script>
<script src="js/jquery.i18n.min.js"></script>
<script src="js/multi_lang_config.js"></script>
<script>
var layer = layui.layer;
var form = layui.form;
var moduleName = "subMain";
var defaultLang = layui.data('langTab').langType;
initLangConfig({
defaultLang:defaultLang,
filePath: "js/i18n/"+moduleName+"/",
module:moduleName,
base:"js/"
})
var i18np = null;
function changeLang(lang) {
defaultLang = lang;
reloadI18n({
defaultLang:lang,
filePath: "js/i18n/"+moduleName+"/",
module:moduleName,
})
i18np.loadProperties(moduleName);
cpeDataInit();
}
layui.config({base: 'js/'})
// 继承treetable.js插件
.extend({i18np: 'i18n'}).use([ 'i18np','jquery'], function () {
i18np = layui.i18np;
i18np.loadProperties(moduleName);
});
var carousel = layui.carousel;
//建造实例
carousel.render({
elem: '#test1'
, width: '100%' //设置容器宽度
, arrow: 'always' //始终显示箭头
// ,anim: 'updown' //切换动画方式
});
$("#test1").css("height", '350px');
var cpeData = {};
function cpeDataInit(){
if (defaultLang == "zh") {
$('#detail').html(cpeData.detailZh);
$('#manual').html(cpeData.manualZh);
$('#application').html(cpeData.applicationZh);
} else if (defaultLang == "la") {
$('#detail').html(cpeData.detailLao);
$('#manual').html(cpeData.manualLao);
$('#application').html(cpeData.applicationLao);
} else if (defaultLang == "en") {
$('#detail').html(cpeData.detailEn);
$('#manual').html(cpeData.manualEn);
$('#application').html(cpeData.applicationEn);
}
}
$(function (){
search();
})
function search() {
$.ajax({
url: HOST+"webapi/cpe/getInternetCpe",
type: "GET",
success: function (res) {
$("#pic-bac").attr("href",res.data.picture);
$("#pic-bac2").attr("src",res.data.picture);
cpeData = res.data;
cpeDataInit();
}
})
}
</script>
</body>
</html>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。