123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421 |
- <!DOCTYPE html>
- <html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
- <head th:replace="common::header(~{::title},~{::link})">
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width,initial-scale=1.0, user-scalable=no">
- <meta http-equiv="X-UA-Compatible" content="ie=edge">
- <title>科德信息咨询</title>
- <!-- 二级页面CSS -->
- <link rel="stylesheet" th:href="${portalHost+'/css/secode.css'}">
- <!-- 自定义动画样式 -->
- <link rel="stylesheet" th:href="${portalHost+'/css/swiper.min.css'}">
- </head>
- <body>
- <div class="app">
- <!-- 头部 -->
- <header>
- <div th:replace="common::nav('','')"></div>
- <!-- 新闻轮播图 -->
- <div class="swiper-containerx">
- <img th:src="${banners}==null?${portalHost+'/images/banner/news_bg.jpg'}:${avatarUploadHost}+${banners.bannerUrl}" />
- </div>
- <!-- 新闻轮播图 end -->
- </header>
- <!-- 头部 end -->
- <!-- 主体内容 -->
- <div class="client main">
- <div class="product-title">
- <h4>服务客户</h4>
- <p>已为26800企业,获得国家高新技术企业认证!</p>
- </div>
- <div class="container">
- <div class="client-list">
- <div id="trigger1">请选择选择区域、省份</div>
- <div class="quyu">
- <span>所属区域</span>
- <ul>
- <li class="active">全国</li>
- <li data-id="1">华中</li>
- <li data-id="2">华东</li>
- <li data-id="3">东北</li>
- <li data-id="4">华南</li>
- <li data-id="5">华北</li>
- <li data-id="6">西南</li>
- <li data-id="7">西北</li>
- </ul>
- </div>
- <div class="shengfen">
- <span>所属省份</span>
- <ul>
- </ul>
- </div>
- </div>
- <div class="client-list-box">
- <div class="client-item">
- </div>
- <!-- 分页 -->
- <div class="page_2"></div>
- <!-- 分页 end -->
- </div>
- </div>
- </div>
- <!-- 主体内容 end -->
- <!-- 底部 -->
- <footer>
- <div th:replace="common::copyright"></div>
- </footer>
- <!-- 底部 end -->
- </div>
- <div th:replace="common::footer(~{::script},'')">
- <!-- 手机端省级联动 -->
- <script type="text/javascript">
- var mobileSelect = new MobileSelect({
- trigger: '#trigger1',
- title: '区域/省份-选择',
- wheels: [
- {
- data: [
- {
- id: '1',
- value: '全国',
- childs: [
- {
- id: undefined,
- value: "全部"
- },
- {
- id: "7",
- value: "安徽"
- },
- {
- id: "15",
- value: "北京"
- },
- {
- id: "27",
- value: "重庆"
- },
- {
- id: "8",
- value: "福建"
- },
- {
- id: "30",
- value: "甘肃"
- },
- {
- id: "24",
- value: "广东"
- },
- {
- id: "20",
- value: "广西"
- },
- {
- id: "25",
- value: "贵州"
- },
- {
- id: "21",
- value: "海南"
- },
- {
- id: "13",
- value: "河北"
- },
- {
- id: "1",
- value: "黑龙江"
- },
- {
- id: "19",
- value: "河南"
- },
- {
- id: "22",
- value: "香港"
- },
- {
- id: "17",
- value: "湖北"
- },
- {
- id: "18",
- value: "湖南"
- },
- {
- id: "5",
- value: "江苏"
- },
- {
- id: "9",
- value: "江西"
- },
- {
- id: "3",
- value: "辽宁"
- },
- {
- id: "2",
- value: "吉林"
- },
- {
- id: "23",
- value: "澳门"
- },
- {
- id: "14",
- value: "内蒙古"
- },
- {
- id: "32",
- value: "宁夏"
- },
- {
- id: "31",
- value: "青海"
- },
- {
- id: "10",
- value: "山东"
- },
- {
- id: "4",
- value: "上海"
- },
- {
- id: "12",
- value: "山西"
- },
- {
- id: "34",
- value: "陕西"
- },
- {
- id: "29",
- value: "四川"
- },
- {
- id: "11",
- value: "台湾"
- },
- {
- id: "16",
- value: "天津"
- },
- {
- id: "33",
- value: "新疆"
- },
- {
- id: "28",
- value: "西藏"
- },
- {
- id: "26",
- value: "云南"
- },
- {
- id: "6",
- value: "浙江"
- },
- ]
- },
- {
- id: '2',
- value: '东北',
- childs: [
- { id: '1', value: '黑龙江' },
- { id: '2', value: '吉林' },
- { id: '3', value: '辽宁' }
- ]
- },
- {
- id: '3',
- value: '华东',
- childs: [
- { id: '4', value: '上海' },
- { id: '5', value: '江苏' },
- { id: '6', value: '浙江' },
- { id: '7', value: '安徽' },
- { id: '8', value: '福建' },
- { id: '9', value: '江西' },
- { id: '10', value: '山东' },
- { id: '11', value: '台湾' }
- ]
- },
- {
- id: '4',
- value: '华北',
- childs: [
- { id: '15', value: '北京' },
- { id: '16', value: '天津' },
- { id: '12', value: '山西' },
- { id: '13', value: '河北' },
- { id: '14', value: '内蒙古' }
- ]
- },
- {
- id: '4',
- value: '华中',
- childs: [
- { id: '19', value: '河南' },
- { id: '17', value: '湖北' },
- { id: '18', value: '湖南' }
- ]
- },
- {
- id: '5',
- value: '华南',
- childs: [
- { id: '24', value: '广东' },
- { id: '20', value: '广西' },
- { id: '21', value: '海南' },
- { id: '22', value: '香港' },
- { id: '23', value: '澳门' }
- ]
- },
- {
- id: '6',
- value: '西南',
- childs: [
- { id: '29', value: '四川' },
- { id: '25', value: '贵州' },
- { id: '26', value: '云南' },
- { id: '27', value: '重庆' },
- { id: '28', value: '西藏' }
- ]
- },
- {
- id: '6',
- value: '西北',
- childs: [
- { id: '34', value: '陕西' },
- { id: '30', value: '甘肃' },
- { id: '31', value: '青海' },
- { id: '32', value: '宁夏' },
- { id: '33', value: '新疆' }
- ]
- },
- ]
- }
- ],
- position: [0, 1],
- callback: function (indexArr, data) {
- let province = data[1].id
- $.ajax({
- url: api + "/open/listCustomerCase",
- data: {
- province
- },
- type: "GET",
- dataType: "json",
- success: function (data) {
- if (data.error && data.error.length) {
- alert("系统繁忙,请刷新页面");
- } else {
- var dataList = data.data.list;
- var html = "";
- if (dataList.length) {
- for (var d = 0; d < dataList.length; d++) {
- html +=
- "<div><img src=" +
- avatarUploadHost +
- dataList[d].pictureUrl +
- " /></div>";
- }
- $(".page_ctrl").css({
- display: "block"
- });
- window.sessionStorage.setItem("total", data.data.totalCount);
- window.sessionStorage.setItem("province", province);
- page()
- } else {
- var html = "<h4 style='text-align:center;margin-top:90px;color:#666' >暂无服务客户</h4>"
- $(".page_ctrl").css({
- display: "none"
- })
- }
- $(".client-item").html(html);
- }
- }
- });
- }
- });
- </script>
- <!-- 引入分页 -->
- <script th:src="${portalHost+'/js/page.js'}"></script>
- <script>
- function page() {
- var obj_1 = {
- obj_box: ".page_2",
- total_item: +window.sessionStorage.getItem("total"), //总共数据
- province: +window.sessionStorage.getItem("province"),
- per_num: 10, //每页显示数据
- current_page: 1, //当前页
- change_content: function (per_num, current_page) {
- per_num = per_num ? per_num : 10;
- current_page = current_page ? current_page : 1;
- var province = window.sessionStorage.getItem("province");
- if (province == "undefined") {
- var data = {
- pageNo: current_page
- };
- } else {
- var data = {
- province,
- pageNo: current_page
- };
- }
- $.ajax({
- url: api + "/open/listCustomerCase",
- data,
- type: "GET",
- dataType: "json",
- success: function (data) {
- if (data.error && data.error.length) {
- alert("系统繁忙,请刷新页面");
- } else {
- var dataList = data.data.list;
- var html = "";
- if (dataList.length) {
- for (var d = 0; d < dataList.length; d++) {
- html +=
- "<div><img src=" +
- avatarUploadHost +
- dataList[d].pictureUrl +
- " /></div>";
- }
- $(".page_ctrl").css({
- display: "block"
- });
- window.sessionStorage.setItem("total", data.data.totalCount);
- window.sessionStorage.setItem("province", province);
- } else {
- var html =
- "<h4 style='text-align:center;margin-top:90px;color:#666' >暂无服务客户</h4>";
- $(".page_ctrl").css({
- display: "none"
- });
- }
- $(".client-item").html(html);
- }
- }
- });
- }
- };
- //调用分页
- page_ctrl(obj_1);
- }
- </script>
- </div>
- </body>
- </html>
|