|
@@ -306,13 +306,23 @@
|
|
|
<div style="width:100%;" class="footer"></div>
|
|
|
</body>
|
|
|
<script>
|
|
|
+ function isMobileUserAgent() {
|
|
|
+ return /iphone|ipod|android.*mobile|windows.*phone|blackberry.*mobile/i.test(
|
|
|
+ window.parent.navigator.userAgent.toLowerCase("")
|
|
|
+ );
|
|
|
+ }
|
|
|
+
|
|
|
+ if (isMobileUserAgent()) {
|
|
|
+ window.location = 'https://www.cqna.gov.cn/syygapi/naxsb/mobile/qjtMobile.html'
|
|
|
+ }
|
|
|
+</script>
|
|
|
+<script>
|
|
|
$(function () {
|
|
|
-
|
|
|
+
|
|
|
$(".header").load('https://www.cqna.gov.cn/syygapi/naxsb/top/top_style.html');
|
|
|
$(".footer").load('https://www.cqna.gov.cn/syygapi/naxsb/footer/footer.html');
|
|
|
});
|
|
|
</script>
|
|
|
-<script src="https://www.cqna.gov.cn/syygapi/naxsb/js/jquery-3.5.1.min.js"></script>
|
|
|
<script>
|
|
|
// 判断浏览器是否支持 webgl
|
|
|
if (!Detector.webgl) Detector.addGetWebGLMessage();
|
|
@@ -515,16 +525,16 @@
|
|
|
render();
|
|
|
let controls = new THREE.OrbitControls(camera, renderer.domElement);
|
|
|
controls.enableZoom = false
|
|
|
-
|
|
|
+
|
|
|
controls.maxPolarAngle = Math.PI / 2
|
|
|
controls.minPolarAngle = 0
|
|
|
-
|
|
|
+
|
|
|
controls.addEventListener('change', render);
|
|
|
-
|
|
|
+
|
|
|
let axisHelper = new THREE.AxisHelper(50050);
|
|
|
</script>
|
|
|
<script>
|
|
|
-
|
|
|
+
|
|
|
new Vue({
|
|
|
el: '#qjt',
|
|
|
data: function () {
|
|
@@ -535,7 +545,7 @@
|
|
|
},
|
|
|
created() {
|
|
|
this.updateTime();
|
|
|
- setInterval(this.updateTime, 1000);
|
|
|
+ setInterval(this.updateTime, 1000);
|
|
|
this.getSSbj();
|
|
|
},
|
|
|
beforeDestroy() {
|
|
@@ -546,7 +556,7 @@
|
|
|
const now = new Date();
|
|
|
|
|
|
const year = String(now.getFullYear()).padStart(4, '0');
|
|
|
- const month = String(now.getMonth() + 1).padStart(2, '0');
|
|
|
+ const month = String(now.getMonth() + 1).padStart(2, '0');
|
|
|
const day = String(now.getDate()).padStart(2, '0');
|
|
|
const hours = String(now.getHours()).padStart(2, '0');
|
|
|
const minutes = String(now.getMinutes()).padStart(2, '0');
|
|
@@ -672,8 +682,8 @@
|
|
|
function handlingNumber(area, timeType) {
|
|
|
var data1 = ''
|
|
|
$.ajax({
|
|
|
- url: path + "/department/getOfficeNumberByAreaInfo",
|
|
|
- dataType: "json",
|
|
|
+ url: path + "/department/getOfficeNumberByAreaInfo",
|
|
|
+ dataType: "json",
|
|
|
type: "get",
|
|
|
cache: false,
|
|
|
async: false,
|
|
@@ -737,15 +747,15 @@
|
|
|
dataType: "json",
|
|
|
async: false,
|
|
|
success: function (data) {
|
|
|
- var data = data.data;
|
|
|
- const currDayTaskNumElement = document.getElementById('currDayTaskNum');
|
|
|
- animateValue(currDayTaskNumElement, 0, data[0], time);
|
|
|
- const currWeekTaskNumElement = document.getElementById('currWeekTaskNum');
|
|
|
- animateValue(currWeekTaskNumElement, 0, data[1], time);
|
|
|
- const currMonthTaskNumElement = document.getElementById('currMonthTaskNum');
|
|
|
- animateValue(currMonthTaskNumElement, 0, data[2], time);
|
|
|
- const currYearTaskNumElement = document.getElementById('currYearTaskNum');
|
|
|
- animateValue(currYearTaskNumElement, 0, data[3], time);
|
|
|
+ var data = data.data;
|
|
|
+ const currDayTaskNumElement = document.getElementById('currDayTaskNum');
|
|
|
+ animateValue(currDayTaskNumElement, 0, data[0], time);
|
|
|
+ const currWeekTaskNumElement = document.getElementById('currWeekTaskNum');
|
|
|
+ animateValue(currWeekTaskNumElement, 0, data[1], time);
|
|
|
+ const currMonthTaskNumElement = document.getElementById('currMonthTaskNum');
|
|
|
+ animateValue(currMonthTaskNumElement, 0, data[2], time);
|
|
|
+ const currYearTaskNumElement = document.getElementById('currYearTaskNum');
|
|
|
+ animateValue(currYearTaskNumElement, 0, data[3], time);
|
|
|
}
|
|
|
})
|
|
|
}
|