2 Star 0 Fork 2

tangze/operatorWeb

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
product-detail-dzcz.html 6.05 KB
一键复制 编辑 原始数据 按行查看 历史
tangze 提交于 2023-11-05 21:33 . 修改页面
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<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" style="margin-top: 20px;">
<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">
<img class="img-full" src="" style="width: 540px;height: 380px;" id="pic-bac2">
</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">电子充值服务</h2>
<p class="short-desc mb-6" id="detail">此商品的详情介绍</p>
</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="promotionn-tab" data-bs-toggle="tab" href="#promotionn" role="tab" aria-controls="reviews" aria-selected="false">
促销活动
</a>
</li>
<li class="nav-item" role="presentation">
<a class="btn aaa" id="faqss-tab" data-bs-toggle="tab" href="#faqss" 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="promotionn" role="tabpanel" aria-labelledby="reviews-tab">
<div class="product-review-body">
<p class="short-desc mb-0" id="promotion"></p>
</div>
</div>
<div class="tab-pane fade" id="faqss" role="tabpanel" aria-labelledby="reviews-tab">
<div class="product-review-body">
<p class="short-desc mb-0" id="faqs"></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);
dzczDataInit();
}
layui.config({base: 'js/'})
// 继承treetable.js插件
.extend({i18np: 'i18n'}).use([ 'i18np','jquery'], function () {
i18np = layui.i18np;
i18np.loadProperties(moduleName);
});
var dzczData = {};
function dzczDataInit(){
if (defaultLang == "zh") {
$('#detail').html(dzczData.detailZh);
$('#promotion').html(dzczData.promotionZh);
$('#faqs').html(dzczData.faqsZh);
} else if (defaultLang == "la") {
$('#detail').html(dzczData.detailLao);
$('#promotion').html(dzczData.promotionLao);
$('#faqs').html(dzczData.faqsLao);
} else if (defaultLang == "en") {
$('#detail').html(dzczData.detailEn);
$('#promotion').html(dzczData.promotionEn);
$('#faqs').html(dzczData.faqsEn);
}
}
$(function (){
search();
})
function search() {
$.ajax({
url: HOST+"webapi/addValueService/getAddValueServerByType?type=8",
type: "GET",
success: function (res) {
$("#pic-bac2").attr("src",res.data.picture);
dzczData = res.data;
dzczDataInit();
}
})
}
</script>
</body>
</html>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/woos/operator-web.git
[email protected]:woos/operator-web.git
woos
operator-web
operatorWeb
master

搜索帮助