投资黔东南项目
|
|
@ -0,0 +1,80 @@
|
|||
*{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-decoration: none !important;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
div,a{
|
||||
display: block;
|
||||
}
|
||||
p,h5{
|
||||
height: auto;
|
||||
padding: auto;
|
||||
margin: auto;
|
||||
}
|
||||
/* 最大盒子 */
|
||||
.container-01{
|
||||
max-width: 800px;
|
||||
width: 100%;
|
||||
height:100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
/* 整体盒子大小 */
|
||||
.Background{
|
||||
max-width:600px;
|
||||
min-height:680px;
|
||||
margin:0 auto;
|
||||
width: 100%;
|
||||
height:100%;
|
||||
}
|
||||
.Background-01{
|
||||
background-repeat:round;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('../image/backgroudImg.7baac09c.jpg');
|
||||
}
|
||||
.btn_box01{
|
||||
height: 60%;
|
||||
}
|
||||
.btn_box02{
|
||||
height: 40%;
|
||||
}
|
||||
.btn_box02_small_01{
|
||||
width: 50%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.btn_01{
|
||||
width: 100%;
|
||||
height: 12%;
|
||||
text-align: center;
|
||||
margin-top: 4%;
|
||||
}
|
||||
/* 二级页面 */
|
||||
.column_01{
|
||||
height: 6%;
|
||||
line-height: 41px;
|
||||
background-color: #0d6efd;
|
||||
color:#fff;
|
||||
}
|
||||
.return_Arrow{
|
||||
height: 15px;
|
||||
width: 15px;
|
||||
line-height: 40px;
|
||||
float: left;
|
||||
}
|
||||
.input_01{
|
||||
height: 6%;
|
||||
}
|
||||
table{
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.erweima{
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
margin: 40% auto;
|
||||
}
|
||||
.erweima_02{
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
|
|
@ -0,0 +1,69 @@
|
|||
|
||||
*{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-decoration: none !important;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
div,a{
|
||||
display: block;
|
||||
}
|
||||
/* 最大盒子 */
|
||||
.container-01{
|
||||
max-width: 800px;
|
||||
width: 100%;
|
||||
height:100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
/* 整体盒子大小 */
|
||||
.Background{
|
||||
max-width:600px;
|
||||
min-height:680px;
|
||||
margin:0 auto;
|
||||
width: 100%;
|
||||
height:100%;
|
||||
}
|
||||
.Background-01{
|
||||
background-repeat:round;
|
||||
background-image: url('../image/backgroudImg.7baac09c.jpg');
|
||||
}
|
||||
.btn_box01{
|
||||
height: 40%;
|
||||
}
|
||||
.btn_box02{
|
||||
height: 40%;
|
||||
}
|
||||
.btn_box02_small_01{
|
||||
width: 50%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.btn_01{
|
||||
width: 100%;
|
||||
height: 12%;
|
||||
text-align: center;
|
||||
margin-top: 4%;
|
||||
}
|
||||
|
||||
/* 二级页面 */
|
||||
.column_01{
|
||||
height: 5%;
|
||||
line-height: 38.55px;
|
||||
background-color: #0d6efd;
|
||||
color:#fff;
|
||||
}
|
||||
.return_Arrow{
|
||||
height: 15px;
|
||||
width: 15px;
|
||||
line-height: 38.55px;
|
||||
float: left;
|
||||
margin-left: 5px;
|
||||
}
|
||||
.input_01{
|
||||
height: 40px;
|
||||
}
|
||||
.container-02{
|
||||
height: 580px;
|
||||
}
|
||||
|
||||
/*三级页面*/
|
||||
|
After Width: | Height: | Size: 248 KiB |
|
After Width: | Height: | Size: 45 KiB |
|
After Width: | Height: | Size: 105 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 277 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
|
@ -0,0 +1,31 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="./css/index.css">
|
||||
<link rel="stylesheet" href="./css/bootstrap.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background Background-01">
|
||||
<div class="btn_group" style="height: 100%;width: 100%;">
|
||||
<div class="btn_box01"></div>
|
||||
<div class="btn_box02">
|
||||
<div class="btn_box02_small_01">
|
||||
<a href="./kc/list.html" class="btn_01 btn btn-outline-success">矿产资源精深加工</a>
|
||||
<a href="./zs/list.html" class="btn_01 btn btn-outline-success" >再生资源循环材料</a>
|
||||
<a href="./sp/list.html" class="btn_01 btn btn-outline-success" >特色食品加工</a>
|
||||
<a href="./mc/list.html" class="btn_01 btn btn-outline-success" >木材加工及家具制造</a>
|
||||
<a href="./yy/list.html" class="btn_01 btn btn-outline-success" >大健康医药制造</a>
|
||||
<a href="./wh/list.html" class="btn_01 btn btn-outline-success" >文化旅游康养</a>
|
||||
<a href="./qt/list.html" class="btn_01 btn btn-outline-success" >其它"N"个产业</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="./js/bootstrap.bundle.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,623 @@
|
|||
/**
|
||||
* @fileoverview
|
||||
* - Using the 'QRCode for Javascript library'
|
||||
* - Fixed dataset of 'QRCode for Javascript library' for support full-spec.
|
||||
* - this library has no dependencies.
|
||||
*
|
||||
* @author davidshimjs
|
||||
* @see <a href="http://www.d-project.com/" target="_blank">http://www.d-project.com/</a>
|
||||
* @see <a href="http://jeromeetienne.github.com/jquery-qrcode/" target="_blank">http://jeromeetienne.github.com/jquery-qrcode/</a>
|
||||
*/
|
||||
|
||||
!(function () {
|
||||
//---------------------------------------------------------------------
|
||||
// QRCode for JavaScript
|
||||
//
|
||||
// Copyright (c) 2009 Kazuhiko Arase
|
||||
//
|
||||
// URL: http://www.d-project.com/
|
||||
//
|
||||
// Licensed under the MIT license:
|
||||
// http://www.opensource.org/licenses/mit-license.php
|
||||
//
|
||||
// The word "QR Code" is registered trademark of
|
||||
// DENSO WAVE INCORPORATED
|
||||
// http://www.denso-wave.com/qrcode/faqpatent-e.html
|
||||
//
|
||||
//---------------------------------------------------------------------
|
||||
function QR8bitByte(data) {
|
||||
this.mode = QRMode.MODE_8BIT_BYTE;
|
||||
this.data = data;
|
||||
this.parsedData = [];
|
||||
|
||||
// Added to support UTF-8 Characters
|
||||
for (var i = 0, l = this.data.length; i < l; i++) {
|
||||
var byteArray = [];
|
||||
var code = this.data.charCodeAt(i);
|
||||
|
||||
if (code > 0x10000) {
|
||||
byteArray[0] = 0xF0 | ((code & 0x1C0000) >>> 18);
|
||||
byteArray[1] = 0x80 | ((code & 0x3F000) >>> 12);
|
||||
byteArray[2] = 0x80 | ((code & 0xFC0) >>> 6);
|
||||
byteArray[3] = 0x80 | (code & 0x3F);
|
||||
} else if (code > 0x800) {
|
||||
byteArray[0] = 0xE0 | ((code & 0xF000) >>> 12);
|
||||
byteArray[1] = 0x80 | ((code & 0xFC0) >>> 6);
|
||||
byteArray[2] = 0x80 | (code & 0x3F);
|
||||
} else if (code > 0x80) {
|
||||
byteArray[0] = 0xC0 | ((code & 0x7C0) >>> 6);
|
||||
byteArray[1] = 0x80 | (code & 0x3F);
|
||||
} else {
|
||||
byteArray[0] = code;
|
||||
}
|
||||
|
||||
this.parsedData.push(byteArray);
|
||||
}
|
||||
|
||||
this.parsedData = Array.prototype.concat.apply([], this.parsedData);
|
||||
|
||||
if (this.parsedData.length != this.data.length) {
|
||||
this.parsedData.unshift(191);
|
||||
this.parsedData.unshift(187);
|
||||
this.parsedData.unshift(239);
|
||||
}
|
||||
}
|
||||
|
||||
QR8bitByte.prototype = {
|
||||
getLength: function (buffer) {
|
||||
return this.parsedData.length;
|
||||
},
|
||||
write: function (buffer) {
|
||||
for (var i = 0, l = this.parsedData.length; i < l; i++) {
|
||||
buffer.put(this.parsedData[i], 8);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
function QRCodeModel(typeNumber, errorCorrectLevel) {
|
||||
this.typeNumber = typeNumber;
|
||||
this.errorCorrectLevel = errorCorrectLevel;
|
||||
this.modules = null;
|
||||
this.moduleCount = 0;
|
||||
this.dataCache = null;
|
||||
this.dataList = [];
|
||||
}
|
||||
|
||||
QRCodeModel.prototype={addData:function(data){var newData=new QR8bitByte(data);this.dataList.push(newData);this.dataCache=null;},isDark:function(row,col){if(row<0||this.moduleCount<=row||col<0||this.moduleCount<=col){throw new Error(row+","+col);}
|
||||
return this.modules[row][col];},getModuleCount:function(){return this.moduleCount;},make:function(){this.makeImpl(false,this.getBestMaskPattern());},makeImpl:function(test,maskPattern){this.moduleCount=this.typeNumber*4+17;this.modules=new Array(this.moduleCount);for(var row=0;row<this.moduleCount;row++){this.modules[row]=new Array(this.moduleCount);for(var col=0;col<this.moduleCount;col++){this.modules[row][col]=null;}}
|
||||
this.setupPositionProbePattern(0,0);this.setupPositionProbePattern(this.moduleCount-7,0);this.setupPositionProbePattern(0,this.moduleCount-7);this.setupPositionAdjustPattern();this.setupTimingPattern();this.setupTypeInfo(test,maskPattern);if(this.typeNumber>=7){this.setupTypeNumber(test);}
|
||||
if(this.dataCache==null){this.dataCache=QRCodeModel.createData(this.typeNumber,this.errorCorrectLevel,this.dataList);}
|
||||
this.mapData(this.dataCache,maskPattern);},setupPositionProbePattern:function(row,col){for(var r=-1;r<=7;r++){if(row+r<=-1||this.moduleCount<=row+r)continue;for(var c=-1;c<=7;c++){if(col+c<=-1||this.moduleCount<=col+c)continue;if((0<=r&&r<=6&&(c==0||c==6))||(0<=c&&c<=6&&(r==0||r==6))||(2<=r&&r<=4&&2<=c&&c<=4)){this.modules[row+r][col+c]=true;}else{this.modules[row+r][col+c]=false;}}}},getBestMaskPattern:function(){var minLostPoint=0;var pattern=0;for(var i=0;i<8;i++){this.makeImpl(true,i);var lostPoint=QRUtil.getLostPoint(this);if(i==0||minLostPoint>lostPoint){minLostPoint=lostPoint;pattern=i;}}
|
||||
return pattern;},createMovieClip:function(target_mc,instance_name,depth){var qr_mc=target_mc.createEmptyMovieClip(instance_name,depth);var cs=1;this.make();for(var row=0;row<this.modules.length;row++){var y=row*cs;for(var col=0;col<this.modules[row].length;col++){var x=col*cs;var dark=this.modules[row][col];if(dark){qr_mc.beginFill(0,100);qr_mc.moveTo(x,y);qr_mc.lineTo(x+cs,y);qr_mc.lineTo(x+cs,y+cs);qr_mc.lineTo(x,y+cs);qr_mc.endFill();}}}
|
||||
return qr_mc;},setupTimingPattern:function(){for(var r=8;r<this.moduleCount-8;r++){if(this.modules[r][6]!=null){continue;}
|
||||
this.modules[r][6]=(r%2==0);}
|
||||
for(var c=8;c<this.moduleCount-8;c++){if(this.modules[6][c]!=null){continue;}
|
||||
this.modules[6][c]=(c%2==0);}},setupPositionAdjustPattern:function(){var pos=QRUtil.getPatternPosition(this.typeNumber);for(var i=0;i<pos.length;i++){for(var j=0;j<pos.length;j++){var row=pos[i];var col=pos[j];if(this.modules[row][col]!=null){continue;}
|
||||
for(var r=-2;r<=2;r++){for(var c=-2;c<=2;c++){if(r==-2||r==2||c==-2||c==2||(r==0&&c==0)){this.modules[row+r][col+c]=true;}else{this.modules[row+r][col+c]=false;}}}}}},setupTypeNumber:function(test){var bits=QRUtil.getBCHTypeNumber(this.typeNumber);for(var i=0;i<18;i++){var mod=(!test&&((bits>>i)&1)==1);this.modules[Math.floor(i/3)][i%3+this.moduleCount-8-3]=mod;}
|
||||
for(var i=0;i<18;i++){var mod=(!test&&((bits>>i)&1)==1);this.modules[i%3+this.moduleCount-8-3][Math.floor(i/3)]=mod;}},setupTypeInfo:function(test,maskPattern){var data=(this.errorCorrectLevel<<3)|maskPattern;var bits=QRUtil.getBCHTypeInfo(data);for(var i=0;i<15;i++){var mod=(!test&&((bits>>i)&1)==1);if(i<6){this.modules[i][8]=mod;}else if(i<8){this.modules[i+1][8]=mod;}else{this.modules[this.moduleCount-15+i][8]=mod;}}
|
||||
for(var i=0;i<15;i++){var mod=(!test&&((bits>>i)&1)==1);if(i<8){this.modules[8][this.moduleCount-i-1]=mod;}else if(i<9){this.modules[8][15-i-1+1]=mod;}else{this.modules[8][15-i-1]=mod;}}
|
||||
this.modules[this.moduleCount-8][8]=(!test);},mapData:function(data,maskPattern){var inc=-1;var row=this.moduleCount-1;var bitIndex=7;var byteIndex=0;for(var col=this.moduleCount-1;col>0;col-=2){if(col==6)col--;while(true){for(var c=0;c<2;c++){if(this.modules[row][col-c]==null){var dark=false;if(byteIndex<data.length){dark=(((data[byteIndex]>>>bitIndex)&1)==1);}
|
||||
var mask=QRUtil.getMask(maskPattern,row,col-c);if(mask){dark=!dark;}
|
||||
this.modules[row][col-c]=dark;bitIndex--;if(bitIndex==-1){byteIndex++;bitIndex=7;}}}
|
||||
row+=inc;if(row<0||this.moduleCount<=row){row-=inc;inc=-inc;break;}}}}};QRCodeModel.PAD0=0xEC;QRCodeModel.PAD1=0x11;QRCodeModel.createData=function(typeNumber,errorCorrectLevel,dataList){var rsBlocks=QRRSBlock.getRSBlocks(typeNumber,errorCorrectLevel);var buffer=new QRBitBuffer();for(var i=0;i<dataList.length;i++){var data=dataList[i];buffer.put(data.mode,4);buffer.put(data.getLength(),QRUtil.getLengthInBits(data.mode,typeNumber));data.write(buffer);}
|
||||
var totalDataCount=0;for(var i=0;i<rsBlocks.length;i++){totalDataCount+=rsBlocks[i].dataCount;}
|
||||
if(buffer.getLengthInBits()>totalDataCount*8){throw new Error("code length overflow. ("
|
||||
+buffer.getLengthInBits()
|
||||
+">"
|
||||
+totalDataCount*8
|
||||
+")");}
|
||||
if(buffer.getLengthInBits()+4<=totalDataCount*8){buffer.put(0,4);}
|
||||
while(buffer.getLengthInBits()%8!=0){buffer.putBit(false);}
|
||||
while(true){if(buffer.getLengthInBits()>=totalDataCount*8){break;}
|
||||
buffer.put(QRCodeModel.PAD0,8);if(buffer.getLengthInBits()>=totalDataCount*8){break;}
|
||||
buffer.put(QRCodeModel.PAD1,8);}
|
||||
return QRCodeModel.createBytes(buffer,rsBlocks);};QRCodeModel.createBytes=function(buffer,rsBlocks){var offset=0;var maxDcCount=0;var maxEcCount=0;var dcdata=new Array(rsBlocks.length);var ecdata=new Array(rsBlocks.length);for(var r=0;r<rsBlocks.length;r++){var dcCount=rsBlocks[r].dataCount;var ecCount=rsBlocks[r].totalCount-dcCount;maxDcCount=Math.max(maxDcCount,dcCount);maxEcCount=Math.max(maxEcCount,ecCount);dcdata[r]=new Array(dcCount);for(var i=0;i<dcdata[r].length;i++){dcdata[r][i]=0xff&buffer.buffer[i+offset];}
|
||||
offset+=dcCount;var rsPoly=QRUtil.getErrorCorrectPolynomial(ecCount);var rawPoly=new QRPolynomial(dcdata[r],rsPoly.getLength()-1);var modPoly=rawPoly.mod(rsPoly);ecdata[r]=new Array(rsPoly.getLength()-1);for(var i=0;i<ecdata[r].length;i++){var modIndex=i+modPoly.getLength()-ecdata[r].length;ecdata[r][i]=(modIndex>=0)?modPoly.get(modIndex):0;}}
|
||||
var totalCodeCount=0;for(var i=0;i<rsBlocks.length;i++){totalCodeCount+=rsBlocks[i].totalCount;}
|
||||
var data=new Array(totalCodeCount);var index=0;for(var i=0;i<maxDcCount;i++){for(var r=0;r<rsBlocks.length;r++){if(i<dcdata[r].length){data[index++]=dcdata[r][i];}}}
|
||||
for(var i=0;i<maxEcCount;i++){for(var r=0;r<rsBlocks.length;r++){if(i<ecdata[r].length){data[index++]=ecdata[r][i];}}}
|
||||
return data;};var QRMode={MODE_NUMBER:1<<0,MODE_ALPHA_NUM:1<<1,MODE_8BIT_BYTE:1<<2,MODE_KANJI:1<<3};var QRErrorCorrectLevel={L:1,M:0,Q:3,H:2};var QRMaskPattern={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var QRUtil={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:(1<<10)|(1<<8)|(1<<5)|(1<<4)|(1<<2)|(1<<1)|(1<<0),G18:(1<<12)|(1<<11)|(1<<10)|(1<<9)|(1<<8)|(1<<5)|(1<<2)|(1<<0),G15_MASK:(1<<14)|(1<<12)|(1<<10)|(1<<4)|(1<<1),getBCHTypeInfo:function(data){var d=data<<10;while(QRUtil.getBCHDigit(d)-QRUtil.getBCHDigit(QRUtil.G15)>=0){d^=(QRUtil.G15<<(QRUtil.getBCHDigit(d)-QRUtil.getBCHDigit(QRUtil.G15)));}
|
||||
return((data<<10)|d)^QRUtil.G15_MASK;},getBCHTypeNumber:function(data){var d=data<<12;while(QRUtil.getBCHDigit(d)-QRUtil.getBCHDigit(QRUtil.G18)>=0){d^=(QRUtil.G18<<(QRUtil.getBCHDigit(d)-QRUtil.getBCHDigit(QRUtil.G18)));}
|
||||
return(data<<12)|d;},getBCHDigit:function(data){var digit=0;while(data!=0){digit++;data>>>=1;}
|
||||
return digit;},getPatternPosition:function(typeNumber){return QRUtil.PATTERN_POSITION_TABLE[typeNumber-1];},getMask:function(maskPattern,i,j){switch(maskPattern){case QRMaskPattern.PATTERN000:return(i+j)%2==0;case QRMaskPattern.PATTERN001:return i%2==0;case QRMaskPattern.PATTERN010:return j%3==0;case QRMaskPattern.PATTERN011:return(i+j)%3==0;case QRMaskPattern.PATTERN100:return(Math.floor(i/2)+Math.floor(j/3))%2==0;case QRMaskPattern.PATTERN101:return(i*j)%2+(i*j)%3==0;case QRMaskPattern.PATTERN110:return((i*j)%2+(i*j)%3)%2==0;case QRMaskPattern.PATTERN111:return((i*j)%3+(i+j)%2)%2==0;default:throw new Error("bad maskPattern:"+maskPattern);}},getErrorCorrectPolynomial:function(errorCorrectLength){var a=new QRPolynomial([1],0);for(var i=0;i<errorCorrectLength;i++){a=a.multiply(new QRPolynomial([1,QRMath.gexp(i)],0));}
|
||||
return a;},getLengthInBits:function(mode,type){if(1<=type&&type<10){switch(mode){case QRMode.MODE_NUMBER:return 10;case QRMode.MODE_ALPHA_NUM:return 9;case QRMode.MODE_8BIT_BYTE:return 8;case QRMode.MODE_KANJI:return 8;default:throw new Error("mode:"+mode);}}else if(type<27){switch(mode){case QRMode.MODE_NUMBER:return 12;case QRMode.MODE_ALPHA_NUM:return 11;case QRMode.MODE_8BIT_BYTE:return 16;case QRMode.MODE_KANJI:return 10;default:throw new Error("mode:"+mode);}}else if(type<41){switch(mode){case QRMode.MODE_NUMBER:return 14;case QRMode.MODE_ALPHA_NUM:return 13;case QRMode.MODE_8BIT_BYTE:return 16;case QRMode.MODE_KANJI:return 12;default:throw new Error("mode:"+mode);}}else{throw new Error("type:"+type);}},getLostPoint:function(qrCode){var moduleCount=qrCode.getModuleCount();var lostPoint=0;for(var row=0;row<moduleCount;row++){for(var col=0;col<moduleCount;col++){var sameCount=0;var dark=qrCode.isDark(row,col);for(var r=-1;r<=1;r++){if(row+r<0||moduleCount<=row+r){continue;}
|
||||
for(var c=-1;c<=1;c++){if(col+c<0||moduleCount<=col+c){continue;}
|
||||
if(r==0&&c==0){continue;}
|
||||
if(dark==qrCode.isDark(row+r,col+c)){sameCount++;}}}
|
||||
if(sameCount>5){lostPoint+=(3+sameCount-5);}}}
|
||||
for(var row=0;row<moduleCount-1;row++){for(var col=0;col<moduleCount-1;col++){var count=0;if(qrCode.isDark(row,col))count++;if(qrCode.isDark(row+1,col))count++;if(qrCode.isDark(row,col+1))count++;if(qrCode.isDark(row+1,col+1))count++;if(count==0||count==4){lostPoint+=3;}}}
|
||||
for(var row=0;row<moduleCount;row++){for(var col=0;col<moduleCount-6;col++){if(qrCode.isDark(row,col)&&!qrCode.isDark(row,col+1)&&qrCode.isDark(row,col+2)&&qrCode.isDark(row,col+3)&&qrCode.isDark(row,col+4)&&!qrCode.isDark(row,col+5)&&qrCode.isDark(row,col+6)){lostPoint+=40;}}}
|
||||
for(var col=0;col<moduleCount;col++){for(var row=0;row<moduleCount-6;row++){if(qrCode.isDark(row,col)&&!qrCode.isDark(row+1,col)&&qrCode.isDark(row+2,col)&&qrCode.isDark(row+3,col)&&qrCode.isDark(row+4,col)&&!qrCode.isDark(row+5,col)&&qrCode.isDark(row+6,col)){lostPoint+=40;}}}
|
||||
var darkCount=0;for(var col=0;col<moduleCount;col++){for(var row=0;row<moduleCount;row++){if(qrCode.isDark(row,col)){darkCount++;}}}
|
||||
var ratio=Math.abs(100*darkCount/moduleCount/moduleCount-50)/5;lostPoint+=ratio*10;return lostPoint;}};var QRMath={glog:function(n){if(n<1){throw new Error("glog("+n+")");}
|
||||
return QRMath.LOG_TABLE[n];},gexp:function(n){while(n<0){n+=255;}
|
||||
while(n>=256){n-=255;}
|
||||
return QRMath.EXP_TABLE[n];},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)};for(var i=0;i<8;i++){QRMath.EXP_TABLE[i]=1<<i;}
|
||||
for(var i=8;i<256;i++){QRMath.EXP_TABLE[i]=QRMath.EXP_TABLE[i-4]^QRMath.EXP_TABLE[i-5]^QRMath.EXP_TABLE[i-6]^QRMath.EXP_TABLE[i-8];}
|
||||
for(var i=0;i<255;i++){QRMath.LOG_TABLE[QRMath.EXP_TABLE[i]]=i;}
|
||||
function QRPolynomial(num,shift){if(num.length==undefined){throw new Error(num.length+"/"+shift);}
|
||||
var offset=0;while(offset<num.length&&num[offset]==0){offset++;}
|
||||
this.num=new Array(num.length-offset+shift);for(var i=0;i<num.length-offset;i++){this.num[i]=num[i+offset];}}
|
||||
QRPolynomial.prototype={get:function(index){return this.num[index];},getLength:function(){return this.num.length;},multiply:function(e){var num=new Array(this.getLength()+e.getLength()-1);for(var i=0;i<this.getLength();i++){for(var j=0;j<e.getLength();j++){num[i+j]^=QRMath.gexp(QRMath.glog(this.get(i))+QRMath.glog(e.get(j)));}}
|
||||
return new QRPolynomial(num,0);},mod:function(e){if(this.getLength()-e.getLength()<0){return this;}
|
||||
var ratio=QRMath.glog(this.get(0))-QRMath.glog(e.get(0));var num=new Array(this.getLength());for(var i=0;i<this.getLength();i++){num[i]=this.get(i);}
|
||||
for(var i=0;i<e.getLength();i++){num[i]^=QRMath.gexp(QRMath.glog(e.get(i))+ratio);}
|
||||
return new QRPolynomial(num,0).mod(e);}};function QRRSBlock(totalCount,dataCount){this.totalCount=totalCount;this.dataCount=dataCount;}
|
||||
QRRSBlock.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];QRRSBlock.getRSBlocks=function(typeNumber,errorCorrectLevel){var rsBlock=QRRSBlock.getRsBlockTable(typeNumber,errorCorrectLevel);if(rsBlock==undefined){throw new Error("bad rs block @ typeNumber:"+typeNumber+"/errorCorrectLevel:"+errorCorrectLevel);}
|
||||
var length=rsBlock.length/3;var list=[];for(var i=0;i<length;i++){var count=rsBlock[i*3+0];var totalCount=rsBlock[i*3+1];var dataCount=rsBlock[i*3+2];for(var j=0;j<count;j++){list.push(new QRRSBlock(totalCount,dataCount));}}
|
||||
return list;};QRRSBlock.getRsBlockTable=function(typeNumber,errorCorrectLevel){switch(errorCorrectLevel){case QRErrorCorrectLevel.L:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+0];case QRErrorCorrectLevel.M:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+1];case QRErrorCorrectLevel.Q:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+2];case QRErrorCorrectLevel.H:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+3];default:return undefined;}};function QRBitBuffer(){this.buffer=[];this.length=0;}
|
||||
QRBitBuffer.prototype={get:function(index){var bufIndex=Math.floor(index/8);return((this.buffer[bufIndex]>>>(7-index%8))&1)==1;},put:function(num,length){for(var i=0;i<length;i++){this.putBit(((num>>>(length-i-1))&1)==1);}},getLengthInBits:function(){return this.length;},putBit:function(bit){var bufIndex=Math.floor(this.length/8);if(this.buffer.length<=bufIndex){this.buffer.push(0);}
|
||||
if(bit){this.buffer[bufIndex]|=(0x80>>>(this.length%8));}
|
||||
this.length++;}};var QRCodeLimitLength=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];
|
||||
|
||||
function _isSupportCanvas() {
|
||||
return typeof CanvasRenderingContext2D != "undefined";
|
||||
}
|
||||
|
||||
// android 2.x doesn't support Data-URI spec
|
||||
function _getAndroid() {
|
||||
var android = false;
|
||||
var sAgent = navigator.userAgent;
|
||||
|
||||
if (/android/i.test(sAgent)) { // android
|
||||
android = true;
|
||||
var aMat = sAgent.toString().match(/android ([0-9]\.[0-9])/i);
|
||||
|
||||
if (aMat && aMat[1]) {
|
||||
android = parseFloat(aMat[1]);
|
||||
}
|
||||
}
|
||||
|
||||
return android;
|
||||
}
|
||||
|
||||
var svgDrawer = (function() {
|
||||
|
||||
var Drawing = function (el, htOption) {
|
||||
this._el = el;
|
||||
this._htOption = htOption;
|
||||
};
|
||||
|
||||
Drawing.prototype.draw = function (oQRCode) {
|
||||
var _htOption = this._htOption;
|
||||
var _el = this._el;
|
||||
var nCount = oQRCode.getModuleCount();
|
||||
var nWidth = Math.floor(_htOption.width / nCount);
|
||||
var nHeight = Math.floor(_htOption.height / nCount);
|
||||
|
||||
this.clear();
|
||||
|
||||
function makeSVG(tag, attrs) {
|
||||
var el = document.createElementNS('http://www.w3.org/2000/svg', tag);
|
||||
for (var k in attrs)
|
||||
if (attrs.hasOwnProperty(k)) el.setAttribute(k, attrs[k]);
|
||||
return el;
|
||||
}
|
||||
|
||||
var svg = makeSVG("svg" , {'viewBox': '0 0 ' + String(nCount) + " " + String(nCount), 'width': '100%', 'height': '100%', 'fill': _htOption.colorLight});
|
||||
svg.setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
||||
_el.appendChild(svg);
|
||||
|
||||
svg.appendChild(makeSVG("rect", {"fill": _htOption.colorLight, "width": "100%", "height": "100%"}));
|
||||
svg.appendChild(makeSVG("rect", {"fill": _htOption.colorDark, "width": "1", "height": "1", "id": "template"}));
|
||||
|
||||
for (var row = 0; row < nCount; row++) {
|
||||
for (var col = 0; col < nCount; col++) {
|
||||
if (oQRCode.isDark(row, col)) {
|
||||
var child = makeSVG("use", {"x": String(col), "y": String(row)});
|
||||
child.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#template")
|
||||
svg.appendChild(child);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
Drawing.prototype.clear = function () {
|
||||
while (this._el.hasChildNodes())
|
||||
this._el.removeChild(this._el.lastChild);
|
||||
};
|
||||
return Drawing;
|
||||
})();
|
||||
|
||||
var useSVG = document.documentElement.tagName.toLowerCase() === "svg";
|
||||
|
||||
// Drawing in DOM by using Table tag
|
||||
var Drawing = useSVG ? svgDrawer : !_isSupportCanvas() ? (function () {
|
||||
var Drawing = function (el, htOption) {
|
||||
this._el = el;
|
||||
this._htOption = htOption;
|
||||
};
|
||||
|
||||
/**
|
||||
* Draw the QRCode
|
||||
*
|
||||
* @param {QRCode} oQRCode
|
||||
*/
|
||||
Drawing.prototype.draw = function (oQRCode) {
|
||||
var _htOption = this._htOption;
|
||||
var _el = this._el;
|
||||
var nCount = oQRCode.getModuleCount();
|
||||
var nWidth = Math.floor(_htOption.width / nCount);
|
||||
var nHeight = Math.floor(_htOption.height / nCount);
|
||||
var aHTML = ['<table style="border:0;border-collapse:collapse;">'];
|
||||
|
||||
for (var row = 0; row < nCount; row++) {
|
||||
aHTML.push('<tr>');
|
||||
|
||||
for (var col = 0; col < nCount; col++) {
|
||||
aHTML.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:' + nWidth + 'px;height:' + nHeight + 'px;background-color:' + (oQRCode.isDark(row, col) ? _htOption.colorDark : _htOption.colorLight) + ';"></td>');
|
||||
}
|
||||
|
||||
aHTML.push('</tr>');
|
||||
}
|
||||
|
||||
aHTML.push('</table>');
|
||||
_el.innerHTML = aHTML.join('');
|
||||
|
||||
// Fix the margin values as real size.
|
||||
var elTable = _el.childNodes[0];
|
||||
var nLeftMarginTable = (_htOption.width - elTable.offsetWidth) / 2;
|
||||
var nTopMarginTable = (_htOption.height - elTable.offsetHeight) / 2;
|
||||
|
||||
if (nLeftMarginTable > 0 && nTopMarginTable > 0) {
|
||||
elTable.style.margin = nTopMarginTable + "px " + nLeftMarginTable + "px";
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Clear the QRCode
|
||||
*/
|
||||
Drawing.prototype.clear = function () {
|
||||
this._el.innerHTML = '';
|
||||
};
|
||||
|
||||
return Drawing;
|
||||
})() : (function () { // Drawing in Canvas
|
||||
function _onMakeImage() {
|
||||
this._elImage.src = this._elCanvas.toDataURL("image/png");
|
||||
this._elImage.style.display = "block";
|
||||
this._elCanvas.style.display = "none";
|
||||
}
|
||||
|
||||
// Android 2.1 bug workaround
|
||||
// http://code.google.com/p/android/issues/detail?id=5141
|
||||
if (this._android && this._android <= 2.1) {
|
||||
var factor = 1 / window.devicePixelRatio;
|
||||
var drawImage = CanvasRenderingContext2D.prototype.drawImage;
|
||||
CanvasRenderingContext2D.prototype.drawImage = function (image, sx, sy, sw, sh, dx, dy, dw, dh) {
|
||||
if (("nodeName" in image) && /img/i.test(image.nodeName)) {
|
||||
for (var i = arguments.length - 1; i >= 1; i--) {
|
||||
arguments[i] = arguments[i] * factor;
|
||||
}
|
||||
} else if (typeof dw == "undefined") {
|
||||
arguments[1] *= factor;
|
||||
arguments[2] *= factor;
|
||||
arguments[3] *= factor;
|
||||
arguments[4] *= factor;
|
||||
}
|
||||
|
||||
drawImage.apply(this, arguments);
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Check whether the user's browser supports Data URI or not
|
||||
*
|
||||
* @private
|
||||
* @param {Function} fSuccess Occurs if it supports Data URI
|
||||
* @param {Function} fFail Occurs if it doesn't support Data URI
|
||||
*/
|
||||
function _safeSetDataURI(fSuccess, fFail) {
|
||||
var self = this;
|
||||
self._fFail = fFail;
|
||||
self._fSuccess = fSuccess;
|
||||
|
||||
// Check it just once
|
||||
if (self._bSupportDataURI === null) {
|
||||
var el = document.createElement("img");
|
||||
var fOnError = function() {
|
||||
self._bSupportDataURI = false;
|
||||
|
||||
if (self._fFail) {
|
||||
self._fFail.call(self);
|
||||
}
|
||||
};
|
||||
var fOnSuccess = function() {
|
||||
self._bSupportDataURI = true;
|
||||
|
||||
if (self._fSuccess) {
|
||||
self._fSuccess.call(self);
|
||||
}
|
||||
};
|
||||
|
||||
el.onabort = fOnError;
|
||||
el.onerror = fOnError;
|
||||
el.onload = fOnSuccess;
|
||||
el.src = "data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="; // the Image contains 1px data.
|
||||
return;
|
||||
} else if (self._bSupportDataURI === true && self._fSuccess) {
|
||||
self._fSuccess.call(self);
|
||||
} else if (self._bSupportDataURI === false && self._fFail) {
|
||||
self._fFail.call(self);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Drawing QRCode by using canvas
|
||||
*
|
||||
* @constructor
|
||||
* @param {HTMLElement} el
|
||||
* @param {Object} htOption QRCode Options
|
||||
*/
|
||||
var Drawing = function (el, htOption) {
|
||||
this._bIsPainted = false;
|
||||
this._android = _getAndroid();
|
||||
|
||||
this._htOption = htOption;
|
||||
this._elCanvas = document.createElement("canvas");
|
||||
this._elCanvas.width = htOption.width;
|
||||
this._elCanvas.height = htOption.height;
|
||||
el.appendChild(this._elCanvas);
|
||||
this._el = el;
|
||||
this._oContext = this._elCanvas.getContext("2d");
|
||||
this._bIsPainted = false;
|
||||
this._elImage = document.createElement("img");
|
||||
this._elImage.alt = "Scan me!";
|
||||
this._elImage.style.display = "none";
|
||||
this._el.appendChild(this._elImage);
|
||||
this._bSupportDataURI = null;
|
||||
};
|
||||
|
||||
/**
|
||||
* Draw the QRCode
|
||||
*
|
||||
* @param {QRCode} oQRCode
|
||||
*/
|
||||
Drawing.prototype.draw = function (oQRCode) {
|
||||
var _elImage = this._elImage;
|
||||
var _oContext = this._oContext;
|
||||
var _htOption = this._htOption;
|
||||
|
||||
var nCount = oQRCode.getModuleCount();
|
||||
var nWidth = _htOption.width / nCount;
|
||||
var nHeight = _htOption.height / nCount;
|
||||
var nRoundedWidth = Math.round(nWidth);
|
||||
var nRoundedHeight = Math.round(nHeight);
|
||||
|
||||
_elImage.style.display = "none";
|
||||
this.clear();
|
||||
|
||||
for (var row = 0; row < nCount; row++) {
|
||||
for (var col = 0; col < nCount; col++) {
|
||||
var bIsDark = oQRCode.isDark(row, col);
|
||||
var nLeft = col * nWidth;
|
||||
var nTop = row * nHeight;
|
||||
_oContext.strokeStyle = bIsDark ? _htOption.colorDark : _htOption.colorLight;
|
||||
_oContext.lineWidth = 1;
|
||||
_oContext.fillStyle = bIsDark ? _htOption.colorDark : _htOption.colorLight;
|
||||
_oContext.fillRect(nLeft, nTop, nWidth, nHeight);
|
||||
|
||||
// 안티 앨리어싱 방지 처리
|
||||
_oContext.strokeRect(
|
||||
Math.floor(nLeft) + 0.5,
|
||||
Math.floor(nTop) + 0.5,
|
||||
nRoundedWidth,
|
||||
nRoundedHeight
|
||||
);
|
||||
|
||||
_oContext.strokeRect(
|
||||
Math.ceil(nLeft) - 0.5,
|
||||
Math.ceil(nTop) - 0.5,
|
||||
nRoundedWidth,
|
||||
nRoundedHeight
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
this._bIsPainted = true;
|
||||
};
|
||||
|
||||
/**
|
||||
* Make the image from Canvas if the browser supports Data URI.
|
||||
*/
|
||||
Drawing.prototype.makeImage = function () {
|
||||
if (this._bIsPainted) {
|
||||
_safeSetDataURI.call(this, _onMakeImage);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Return whether the QRCode is painted or not
|
||||
*
|
||||
* @return {Boolean}
|
||||
*/
|
||||
Drawing.prototype.isPainted = function () {
|
||||
return this._bIsPainted;
|
||||
};
|
||||
|
||||
/**
|
||||
* Clear the QRCode
|
||||
*/
|
||||
Drawing.prototype.clear = function () {
|
||||
this._oContext.clearRect(0, 0, this._elCanvas.width, this._elCanvas.height);
|
||||
this._bIsPainted = false;
|
||||
};
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @param {Number} nNumber
|
||||
*/
|
||||
Drawing.prototype.round = function (nNumber) {
|
||||
if (!nNumber) {
|
||||
return nNumber;
|
||||
}
|
||||
|
||||
return Math.floor(nNumber * 1000) / 1000;
|
||||
};
|
||||
|
||||
return Drawing;
|
||||
})();
|
||||
|
||||
/**
|
||||
* Get the type by string length
|
||||
*
|
||||
* @private
|
||||
* @param {String} sText
|
||||
* @param {Number} nCorrectLevel
|
||||
* @return {Number} type
|
||||
*/
|
||||
function _getTypeNumber(sText, nCorrectLevel) {
|
||||
var nType = 1;
|
||||
var length = _getUTF8Length(sText);
|
||||
|
||||
for (var i = 0, len = QRCodeLimitLength.length; i <= len; i++) {
|
||||
var nLimit = 0;
|
||||
|
||||
switch (nCorrectLevel) {
|
||||
case QRErrorCorrectLevel.L :
|
||||
nLimit = QRCodeLimitLength[i][0];
|
||||
break;
|
||||
case QRErrorCorrectLevel.M :
|
||||
nLimit = QRCodeLimitLength[i][1];
|
||||
break;
|
||||
case QRErrorCorrectLevel.Q :
|
||||
nLimit = QRCodeLimitLength[i][2];
|
||||
break;
|
||||
case QRErrorCorrectLevel.H :
|
||||
nLimit = QRCodeLimitLength[i][3];
|
||||
break;
|
||||
}
|
||||
|
||||
if (length <= nLimit) {
|
||||
break;
|
||||
} else {
|
||||
nType++;
|
||||
}
|
||||
}
|
||||
|
||||
if (nType > QRCodeLimitLength.length) {
|
||||
throw new Error("Too long data");
|
||||
}
|
||||
|
||||
return nType;
|
||||
}
|
||||
|
||||
function _getUTF8Length(sText) {
|
||||
var replacedText = encodeURI(sText).toString().replace(/\%[0-9a-fA-F]{2}/g, 'a');
|
||||
return replacedText.length + (replacedText.length != sText ? 3 : 0);
|
||||
}
|
||||
|
||||
/**
|
||||
* @class QRCode
|
||||
* @constructor
|
||||
* @example
|
||||
* new QRCode(document.getElementById("test"), "http://jindo.dev.naver.com/collie");
|
||||
*
|
||||
* @example
|
||||
* var oQRCode = new QRCode("test", {
|
||||
* text : "http://naver.com",
|
||||
* width : 128,
|
||||
* height : 128
|
||||
* });
|
||||
*
|
||||
* oQRCode.clear(); // Clear the QRCode.
|
||||
* oQRCode.makeCode("http://map.naver.com"); // Re-create the QRCode.
|
||||
*
|
||||
* @param {HTMLElement|String} el target element or 'id' attribute of element.
|
||||
* @param {Object|String} vOption
|
||||
* @param {String} vOption.text QRCode link data
|
||||
* @param {Number} [vOption.width=256]
|
||||
* @param {Number} [vOption.height=256]
|
||||
* @param {String} [vOption.colorDark="#000000"]
|
||||
* @param {String} [vOption.colorLight="#ffffff"]
|
||||
* @param {QRCode.CorrectLevel} [vOption.correctLevel=QRCode.CorrectLevel.H] [L|M|Q|H]
|
||||
*/
|
||||
QRCode = function (el, vOption) {
|
||||
this._htOption = {
|
||||
width : 256,
|
||||
height : 256,
|
||||
typeNumber : 4,
|
||||
colorDark : "#000000",
|
||||
colorLight : "#ffffff",
|
||||
correctLevel : QRErrorCorrectLevel.H
|
||||
};
|
||||
|
||||
if (typeof vOption === 'string') {
|
||||
vOption = {
|
||||
text : vOption
|
||||
};
|
||||
}
|
||||
|
||||
// Overwrites options
|
||||
if (vOption) {
|
||||
for (var i in vOption) {
|
||||
this._htOption[i] = vOption[i];
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof el == "string") {
|
||||
el = document.getElementById(el);
|
||||
}
|
||||
|
||||
if (this._htOption.useSVG) {
|
||||
Drawing = svgDrawer;
|
||||
}
|
||||
|
||||
this._android = _getAndroid();
|
||||
this._el = el;
|
||||
this._oQRCode = null;
|
||||
this._oDrawing = new Drawing(this._el, this._htOption);
|
||||
|
||||
if (this._htOption.text) {
|
||||
this.makeCode(this._htOption.text);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Make the QRCode
|
||||
*
|
||||
* @param {String} sText link data
|
||||
*/
|
||||
QRCode.prototype.makeCode = function (sText) {
|
||||
this._oQRCode = new QRCodeModel(_getTypeNumber(sText, this._htOption.correctLevel), this._htOption.correctLevel);
|
||||
this._oQRCode.addData(sText);
|
||||
this._oQRCode.make();
|
||||
this._el.title = sText;
|
||||
this._oDrawing.draw(this._oQRCode);
|
||||
this.makeImage();
|
||||
};
|
||||
|
||||
/**
|
||||
* Make the Image from Canvas element
|
||||
* - It occurs automatically
|
||||
* - Android below 3 doesn't support Data-URI spec.
|
||||
*
|
||||
* @private
|
||||
*/
|
||||
QRCode.prototype.makeImage = function () {
|
||||
if (typeof this._oDrawing.makeImage == "function" && (!this._android || this._android >= 3)) {
|
||||
this._oDrawing.makeImage();
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Clear the QRCode
|
||||
*/
|
||||
QRCode.prototype.clear = function () {
|
||||
this._oDrawing.clear();
|
||||
};
|
||||
|
||||
/**
|
||||
* @name QRCode.CorrectLevel
|
||||
*/
|
||||
QRCode.CorrectLevel = QRErrorCorrectLevel;
|
||||
|
||||
if (typeof define === 'function') {
|
||||
define(function() {
|
||||
return QRCode;
|
||||
});
|
||||
} else if (typeof exports !== 'undefined') {
|
||||
module.exports = QRCode;
|
||||
} else {
|
||||
this.QRCode = QRCode;
|
||||
}
|
||||
}());
|
||||
|
|
@ -0,0 +1,113 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="../css/01.css">
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background">
|
||||
<!--返回箭头-->
|
||||
<div class="column_01 text-center">
|
||||
<div class="return_Arrow">
|
||||
<a href="../index.html">
|
||||
<img src="../image/zuojiantou.png">
|
||||
</a>
|
||||
</div>
|
||||
矿产资源精深加工
|
||||
</div>
|
||||
<!--输入框-->
|
||||
<div class="input_01">
|
||||
<div class="input-group input-group-sm">
|
||||
<input type="text" id="categories" class="form-control" value="" placeholder="请输入项目名或地址">
|
||||
</div>
|
||||
</div>
|
||||
<!--内容框-->
|
||||
<div class="container-02" style="width: 100%;height: 88%;">
|
||||
<div style="height: 100%;overflow-y:scroll;">
|
||||
<table id="details" class="table table-hover">
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
<script src="../js/jquery.js"></script>
|
||||
<script>
|
||||
$('#categories').bind('input propertychange', function() {
|
||||
var insertVal = $(this).val();//手动输入的字符串;
|
||||
$("#details tr").each(function(){
|
||||
var paraStr = $(this).children().children().html();
|
||||
if(paraStr.indexOf(insertVal)<0){//不包含
|
||||
$(this).hide();
|
||||
}else{//包含
|
||||
$(this).show();
|
||||
}
|
||||
})
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
//获取token
|
||||
// 定义一个全局变量用于存储 token
|
||||
var token = '';
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/token/test/6fc1c885-3aac-4489-95f0-7b6923622743',
|
||||
dataType: 'xml',
|
||||
success: function(data) {
|
||||
//console.log(data); // 查看响应数据
|
||||
$(data).find('UserToken').each(function() {
|
||||
var id = $(this).find('id').text();
|
||||
//console.log(id);
|
||||
// 将获取到的 token 存储到全局变量中
|
||||
token = id;
|
||||
});
|
||||
console.log(token + ' 获取到token')
|
||||
},
|
||||
error: function() {
|
||||
console.log('Error loading XML document');
|
||||
}
|
||||
}).done(function() {
|
||||
if (token !== '') {
|
||||
// 获取数据的 ajax 请求,将 token 作为查询参数传递
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/dee/task/getMineral',
|
||||
dataType: 'xml',
|
||||
data: {token: token},
|
||||
success: function(data) {
|
||||
// 处理获取到的数据
|
||||
console.log(data)
|
||||
$(data).find('row').each(function() {
|
||||
var xiangmumingchen = $(this).find('FIELD0001').text();
|
||||
var ID = $(this).find('ID').text();
|
||||
var row = `<tr data-id="${ID}">
|
||||
<td data-label="项目名称">${xiangmumingchen}</td>
|
||||
</tr>`;
|
||||
$('#details').append(row);
|
||||
});
|
||||
|
||||
// 为每一行表格添加点击事件处理函数
|
||||
$('#details tr').on('click', function() {
|
||||
// 从当前点击行中获取 data-id 属性值
|
||||
var id = $(this).data('id');
|
||||
//console.log(id);
|
||||
// 拼接 URL 并进行页面跳转
|
||||
window.document.location = 'show-kc.html?id=' + id;
|
||||
});
|
||||
},
|
||||
error: function(xhr, textStatus, errorThrown) {
|
||||
// 处理 AJAX 请求失败的情况
|
||||
console.error(xhr.status + ": " + errorThrown);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,247 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="../css/01.css">
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
<script src="../js/jquery.js"></script>
|
||||
<script type="text/javascript" src="../js/qrcode.js"></script>
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background">
|
||||
<!--返回箭头-->
|
||||
<div class="column_01 fw-bold text-center text-truncate">
|
||||
<div class="return_Arrow">
|
||||
<a href="../kc/list.html">
|
||||
<img src="../image/zuojiantou.png">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--内容区-->
|
||||
<div style="background:linear-gradient(45deg,#81acec,skyblue,#fff);height: 95%;">
|
||||
<div style="height: 100%;overflow-y:scroll;padding:0 32px;">
|
||||
<div id="neirong" style="font-size: 16px; line-height: 30px; margin-top: 20px; margin-bottom: 20px;"></div>
|
||||
<!--二维码和底部信息-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
// 获取URL参数并解析值
|
||||
var id = new URLSearchParams(window.location.search).get('id');
|
||||
console.log(id);
|
||||
// 基于ID值进行数据查询和展示
|
||||
var token = '';
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/token/test/6fc1c885-3aac-4489-95f0-7b6923622743',
|
||||
dataType: 'xml',
|
||||
success: function(data) {
|
||||
$(data).find('UserToken').each(function() {
|
||||
token = $(this).find('id').text(); // 将获取到的Token保存到变量中
|
||||
});
|
||||
},
|
||||
error: function() {
|
||||
console.log('Error loading XML document');
|
||||
}
|
||||
}).done(function() {
|
||||
if (token !== '') {
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/dee/task/getMineral', // 数据获取的URL
|
||||
dataType: 'xml',
|
||||
data: {
|
||||
token: token,
|
||||
id: id // 传递ID查询参数
|
||||
},
|
||||
success: function(data) { // 成功回调函数
|
||||
// 解析返回的数据并展示到页面上
|
||||
console.log(data);
|
||||
$(data).find('row').each(function() {
|
||||
|
||||
var ID = $(this).find('ID').text();
|
||||
var xmmc = $(this).find('FIELD0001').text();
|
||||
var row1=`${xmmc}`
|
||||
$('.column_01').append(row1);
|
||||
if (id === ID) {
|
||||
console.log(ID+'通过ID出来了')
|
||||
var xmmc = $(this).find('FIELD0001').text();
|
||||
var hylb = $(this).find('FIELD0046').text();
|
||||
var cylb = $(this).find('FIELD0047').text();
|
||||
var jsxz = $(this).find('FIELD0048').text();
|
||||
var hzfs = $(this).find('FIELD0049').text();
|
||||
var jstj = $(this).find('FIELD0006').text();
|
||||
var cytj = $(this).find('FIELD0007').text();
|
||||
var scqjyc = $(this).find('FIELD0008').text();
|
||||
var xmxzjgm = $(this).find('FIELD0009').text();
|
||||
var zdmj = $(this).find('FIELD0010').text();
|
||||
var jzmj = $(this).find('FIELD0011').text();
|
||||
var qksm = $(this).find('FIELD0012').text();
|
||||
var xmjslr = $(this).find('FIELD0013').text();
|
||||
var ztze = $(this).find('FIELD0014').text();
|
||||
var yzje = $(this).find('FIELD0015').text();
|
||||
var tzhsq = $(this).find('FIELD0017').text();
|
||||
var nyysr = $(this).find('FIELD0018').text();
|
||||
var nll = $(this).find('FIELD0019').text();
|
||||
var tzlrl = $(this).find('FIELD0020').text();
|
||||
var yhzcjfctj = $(this).find('FIELD0022').text();
|
||||
var yzdwmc = $(this).find('FIELD0032').text();
|
||||
var yzdwdz = $(this).find('FIELD0033').text();
|
||||
var yzdwyb = $(this).find('FIELD0035').text();
|
||||
var yzdwlxr = $(this).find('FIELD0035').text();
|
||||
var yzdwzj = $(this).find('FIELD0036').text();
|
||||
var yzdwsj = $(this).find('FIELD0037').text();
|
||||
var row = `
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目名称:</span>
|
||||
<span>${xmmc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">行业类别:</span>
|
||||
<span>${hylb}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">产业类别:</span>
|
||||
<span>${cylb}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">建设性质:</span>
|
||||
<span>${jsxz}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">合作方式:</span>
|
||||
<span>${hzfs}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">建设条件:</span>
|
||||
<span>${jstj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">产业条件:</span>
|
||||
<span>${cytj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">市场前景预测:</span>
|
||||
<span>${scqjyc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目选址及规模:</span>
|
||||
<span>${xmxzjgm}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目建设内容:</span>
|
||||
<span>${xmjslr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">总投资额:</span>
|
||||
<span>${ztze}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">引资金额:</span>
|
||||
<span>${yzje}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">投资回收期:</span>
|
||||
<span>${tzhsq}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">年营业收入:</span>
|
||||
<span>${nyysr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">年利润:</span>
|
||||
<span>${nll}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">投资利润率:</span>
|
||||
<span>${tzlrl}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">优惠政策及扶持条件:</span>
|
||||
<span>${yhzcjfctj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位名称:</span>
|
||||
<span>${yzdwmc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位地址:</span>
|
||||
<span>${yzdwdz}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位联系人:</span>
|
||||
<span>${yzdwlxr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位座机:</span>
|
||||
<span>${yzdwzj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位手机:</span>
|
||||
<span>${yzdwsj}</span>
|
||||
</p>
|
||||
<div style="height: 40%;background-image: url(../image/download.png);background-size: cover;width: 100%;">
|
||||
<!--左放二维码-->
|
||||
<div style="width: 40%;float: left;height: 100%;">
|
||||
<div id="codeDiv" class="erweima">
|
||||
<div id="qrcode"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!--右放信息-->
|
||||
<div style="width:60%;float: right;overflow: hidden;">
|
||||
<!--文本-->
|
||||
<div class="text_0" style="margin-top: 30px;margin-left: 20px;">
|
||||
<h5 class="text_01">黔东南州投资促进局</h5>
|
||||
<p class="text_01">招商热线:4008-799399</p>
|
||||
<p class="text_01">http://tzcj.qdn.gov.cn</p>
|
||||
<div class="erweima_02">
|
||||
<img src="../image/1679366979689.jpg">
|
||||
</div>
|
||||
<p class="text_01" style="font-size: small;">长按二维码关注公众号</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
$('#neirong').append(row);
|
||||
}
|
||||
})
|
||||
},
|
||||
error: function(xhr, status, error) { // 失败回调函数
|
||||
console.error(error); // 输出错误信息
|
||||
}
|
||||
});
|
||||
}
|
||||
})
|
||||
|
||||
$(document).ready(function() {
|
||||
// 判断id是否存在
|
||||
if (id) {
|
||||
setTimeout(function() {
|
||||
|
||||
// 生成二维码
|
||||
var qrcode = new QRCode("qrcode", {
|
||||
text:'https://zwy.guizhoujc.com/kc/show-kc.html?id=' + id,
|
||||
render: "canvas", //渲染方式指定canvas方式
|
||||
width: 128,
|
||||
height: 128,
|
||||
typeNumber: -1, //计算模式
|
||||
colorDark: "#000000",
|
||||
colorLight: "#ffffff",
|
||||
correctLevel: QRCode.CorrectLevel.H
|
||||
});
|
||||
}, 100);
|
||||
} else {
|
||||
console.log("id is not defined");
|
||||
}
|
||||
});
|
||||
function convertCanvasToImage(canvas) {
|
||||
var image = new Image();
|
||||
image.src = canvas.toDataURL("image/png");
|
||||
return image;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,113 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="../css/01.css">
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background">
|
||||
<!--返回箭头-->
|
||||
<div class="column_01 text-center">
|
||||
<div class="return_Arrow">
|
||||
<a href="../index.html">
|
||||
<img src="../image/zuojiantou.png">
|
||||
</a>
|
||||
</div>
|
||||
木材加工及家具制造
|
||||
</div>
|
||||
<!--输入框-->
|
||||
<div class="input_01">
|
||||
<div class="input-group input-group-sm">
|
||||
<input type="text" id="categories" class="form-control" value="" placeholder="请输入项目名或地址">
|
||||
</div>
|
||||
</div>
|
||||
<!--内容框-->
|
||||
<div class="container-02" style="width: 100%;height: 88%;">
|
||||
<div style="height: 100%;overflow-y:scroll;">
|
||||
<table id="details" class="table table-hover">
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
<script src="../js/jquery.js"></script>
|
||||
<script>
|
||||
$('#categories').bind('input propertychange', function() {
|
||||
var insertVal = $(this).val();//手动输入的字符串;
|
||||
$("#details tr").each(function(){
|
||||
var paraStr = $(this).children().children().html();
|
||||
if(paraStr.indexOf(insertVal)<0){//不包含
|
||||
$(this).hide();
|
||||
}else{//包含
|
||||
$(this).show();
|
||||
}
|
||||
})
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
//获取token
|
||||
// 定义一个全局变量用于存储 token
|
||||
var token = '';
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/token/test/6fc1c885-3aac-4489-95f0-7b6923622743',
|
||||
dataType: 'xml',
|
||||
success: function(data) {
|
||||
//console.log(data); // 查看响应数据
|
||||
$(data).find('UserToken').each(function() {
|
||||
var id = $(this).find('id').text();
|
||||
//console.log(id);
|
||||
// 将获取到的 token 存储到全局变量中
|
||||
token = id;
|
||||
});
|
||||
console.log(token + ' 获取到token')
|
||||
},
|
||||
error: function() {
|
||||
console.log('Error loading XML document');
|
||||
}
|
||||
}).done(function() {
|
||||
if (token !== '') {
|
||||
// 获取数据的 ajax 请求,将 token 作为查询参数传递
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/dee/task/getTimber',
|
||||
dataType: 'xml',
|
||||
data: {token: token},
|
||||
success: function(data) {
|
||||
// 处理获取到的数据
|
||||
console.log(data)
|
||||
$(data).find('row').each(function() {
|
||||
var xiangmumingchen = $(this).find('FIELD0001').text();
|
||||
var ID = $(this).find('ID').text();
|
||||
var row = `<tr data-id="${ID}">
|
||||
<td data-label="项目名称">${xiangmumingchen}</td>
|
||||
</tr>`;
|
||||
$('#details').append(row);
|
||||
});
|
||||
|
||||
// 为每一行表格添加点击事件处理函数
|
||||
$('#details tr').on('click', function() {
|
||||
// 从当前点击行中获取 data-id 属性值
|
||||
var id = $(this).data('id');
|
||||
//console.log(id);
|
||||
// 拼接 URL 并进行页面跳转
|
||||
window.document.location = 'show-mc.html?id=' + id;
|
||||
});
|
||||
},
|
||||
error: function(xhr, textStatus, errorThrown) {
|
||||
// 处理 AJAX 请求失败的情况
|
||||
console.error(xhr.status + ": " + errorThrown);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,246 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="../css/01.css">
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
<script src="../js/jquery.js"></script>
|
||||
<script type="text/javascript" src="../js/qrcode.js"></script>
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background">
|
||||
<!--返回箭头-->
|
||||
<div class="column_01 fw-bold text-center text-truncate">
|
||||
<div class="return_Arrow">
|
||||
<a href="../mc/list.html">
|
||||
<img src="../image/zuojiantou.png">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--内容区-->
|
||||
<div style="background:linear-gradient(45deg,#81acec,skyblue,#fff);height: 95%;">
|
||||
<div style="height: 100%;overflow-y:scroll;padding:0 32px;">
|
||||
<div id="neirong" style="font-size: 16px; line-height: 30px; margin-top: 20px; margin-bottom: 20px;"></div>
|
||||
<!--二维码和底部信息-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
// 获取URL参数并解析值
|
||||
var id = new URLSearchParams(window.location.search).get('id');
|
||||
console.log(id);
|
||||
// 基于ID值进行数据查询和展示
|
||||
var token = '';
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/token/test/6fc1c885-3aac-4489-95f0-7b6923622743',
|
||||
dataType: 'xml',
|
||||
success: function(data) {
|
||||
$(data).find('UserToken').each(function() {
|
||||
token = $(this).find('id').text(); // 将获取到的Token保存到变量中
|
||||
});
|
||||
},
|
||||
error: function() {
|
||||
console.log('Error loading XML document');
|
||||
}
|
||||
}).done(function() {
|
||||
if (token !== '') {
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/dee/task/getTimber', // 数据获取的URL
|
||||
dataType: 'xml',
|
||||
data: {
|
||||
token: token,
|
||||
id: id // 传递ID查询参数
|
||||
},
|
||||
success: function(data) { // 成功回调函数
|
||||
// 解析返回的数据并展示到页面上
|
||||
console.log(data);
|
||||
$(data).find('row').each(function() {
|
||||
var ID = $(this).find('ID').text();
|
||||
var xmmc = $(this).find('FIELD0001').text();
|
||||
var row1=`${xmmc}`
|
||||
$('.column_01').append(row1);
|
||||
if (id === ID) {
|
||||
console.log(ID+'通过ID出来了')
|
||||
var xmmc = $(this).find('FIELD0001').text();
|
||||
var hylb = $(this).find('FIELD0046').text();
|
||||
var cylb = $(this).find('FIELD0047').text();
|
||||
var jsxz = $(this).find('FIELD0048').text();
|
||||
var hzfs = $(this).find('FIELD0049').text();
|
||||
var jstj = $(this).find('FIELD0006').text();
|
||||
var cytj = $(this).find('FIELD0007').text();
|
||||
var scqjyc = $(this).find('FIELD0008').text();
|
||||
var xmxzjgm = $(this).find('FIELD0009').text();
|
||||
var zdmj = $(this).find('FIELD0010').text();
|
||||
var jzmj = $(this).find('FIELD0011').text();
|
||||
var qksm = $(this).find('FIELD0012').text();
|
||||
var xmjslr = $(this).find('FIELD0013').text();
|
||||
var ztze = $(this).find('FIELD0014').text();
|
||||
var yzje = $(this).find('FIELD0015').text();
|
||||
var tzhsq = $(this).find('FIELD0017').text();
|
||||
var nyysr = $(this).find('FIELD0018').text();
|
||||
var nll = $(this).find('FIELD0019').text();
|
||||
var tzlrl = $(this).find('FIELD0020').text();
|
||||
var yhzcjfctj = $(this).find('FIELD0022').text();
|
||||
var yzdwmc = $(this).find('FIELD0032').text();
|
||||
var yzdwdz = $(this).find('FIELD0033').text();
|
||||
var yzdwyb = $(this).find('FIELD0035').text();
|
||||
var yzdwlxr = $(this).find('FIELD0035').text();
|
||||
var yzdwzj = $(this).find('FIELD0036').text();
|
||||
var yzdwsj = $(this).find('FIELD0037').text();
|
||||
var row = `
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目名称:</span>
|
||||
<span>${xmmc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">行业类别:</span>
|
||||
<span>${hylb}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">产业类别:</span>
|
||||
<span>${cylb}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">建设性质:</span>
|
||||
<span>${jsxz}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">合作方式:</span>
|
||||
<span>${hzfs}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">建设条件:</span>
|
||||
<span>${jstj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">产业条件:</span>
|
||||
<span>${cytj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">市场前景预测:</span>
|
||||
<span>${scqjyc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目选址及规模:</span>
|
||||
<span>${xmxzjgm}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目建设内容:</span>
|
||||
<span>${xmjslr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">总投资额:</span>
|
||||
<span>${ztze}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">引资金额:</span>
|
||||
<span>${yzje}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">投资回收期:</span>
|
||||
<span>${tzhsq}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">年营业收入:</span>
|
||||
<span>${nyysr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">年利润:</span>
|
||||
<span>${nll}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">投资利润率:</span>
|
||||
<span>${tzlrl}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">优惠政策及扶持条件:</span>
|
||||
<span>${yhzcjfctj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位名称:</span>
|
||||
<span>${yzdwmc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位地址:</span>
|
||||
<span>${yzdwdz}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位联系人:</span>
|
||||
<span>${yzdwlxr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位座机:</span>
|
||||
<span>${yzdwzj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位手机:</span>
|
||||
<span>${yzdwsj}</span>
|
||||
</p>
|
||||
<div style="height: 40%;background-image: url(../image/download.png);background-size: cover;width: 100%;">
|
||||
<!--左放二维码-->
|
||||
<div style="width: 40%;float: left;height: 100%;">
|
||||
<div id="codeDiv" class="erweima">
|
||||
<div id="qrcode"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!--右放信息-->
|
||||
<div style="width:60%;float: right;overflow: hidden;">
|
||||
<!--文本-->
|
||||
<div class="text_0" style="margin-top: 30px;margin-left: 20px;">
|
||||
<h5 class="text_01">黔东南州投资促进局</h5>
|
||||
<p class="text_01">招商热线:4008-799399</p>
|
||||
<p class="text_01">http://tzcj.qdn.gov.cn</p>
|
||||
<div class="erweima_02">
|
||||
<img src="../image/1679366979689.jpg">
|
||||
</div>
|
||||
<p class="text_01" style="font-size: small;">长按二维码关注公众号</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
$('#neirong').append(row);
|
||||
}
|
||||
})
|
||||
},
|
||||
error: function(xhr, status, error) { // 失败回调函数
|
||||
console.error(error); // 输出错误信息
|
||||
}
|
||||
});
|
||||
}
|
||||
})
|
||||
|
||||
$(document).ready(function() {
|
||||
// 判断id是否存在
|
||||
if (id) {
|
||||
setTimeout(function() {
|
||||
|
||||
// 生成二维码
|
||||
var qrcode = new QRCode("qrcode", {
|
||||
text:'https://zwy.guizhoujc.com/mc/show-mc.html?id=' + id,
|
||||
render: "canvas", //渲染方式指定canvas方式
|
||||
width: 128,
|
||||
height: 128,
|
||||
typeNumber: -1, //计算模式
|
||||
colorDark: "#000000",
|
||||
colorLight: "#ffffff",
|
||||
correctLevel: QRCode.CorrectLevel.H
|
||||
});
|
||||
}, 100);
|
||||
} else {
|
||||
console.log("id is not defined");
|
||||
}
|
||||
});
|
||||
function convertCanvasToImage(canvas) {
|
||||
var image = new Image();
|
||||
image.src = canvas.toDataURL("image/png");
|
||||
return image;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
After Width: | Height: | Size: 87 KiB |
|
After Width: | Height: | Size: 117 KiB |
|
After Width: | Height: | Size: 145 KiB |
|
After Width: | Height: | Size: 122 KiB |
|
|
@ -0,0 +1,606 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>黔东南州概况</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="../css/bootstrap.css" rel="stylesheet">
|
||||
<link href="../css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="../css/bootstrap-grid.css" rel="stylesheet">
|
||||
<link href="../css/bootstrap-grid.min.css" rel="stylesheet">
|
||||
<link href="../css/bootstrap-reboot.css" rel="stylesheet">
|
||||
<link href="../css/bootstrap-reboot.min.css" rel="stylesheet">
|
||||
<script src="../js/bootstrap.js"></script>
|
||||
<script src="../js/bootstrap.min.js"></script>
|
||||
<script src="../js/bootstrap.bundle.js"></script>
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="container mt-3">
|
||||
<h2 class="text-center">黔东南州概况</h2>
|
||||
<p><strong>咨询服务热线:4008-799399</strong></p>
|
||||
<video controls width="100%">
|
||||
<source src="../images/qdnz.mp4" type="video/mp4">
|
||||
Sorry, your browser doesn't support embedded videos.
|
||||
</video>
|
||||
<p> 黔东南苗族侗族自治州位于贵州省东南部,辖1市15县,国土面积3.03万平方公里,总人口489.86万,少数民族人口占总人口的81.8%,是全国苗侗文化的核心地。……<button type="button" class="btn btn-primary btn-sm"><a href="qdnzgk.html" style="color: #ffffff; text-decoration: none;">更多</a></button></p>
|
||||
<p></p>
|
||||
<div id="accordion">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<a class="collapsed btn" data-bs-toggle="collapse" href="#collapseseven">
|
||||
凯里市情简介
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapseseven" class="collapse" data-bs-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<p><strong>咨询服务热线:0855-8068237</strong></p>
|
||||
<P> 凯里市是黔东南苗族侗族自治州州府所在地,是全州政治、经济、文化中心,是中国西部百强县和贵州省经济强县。全市辖11个镇9个街道,辖区面积1569.69平方公里,建成区面积74.74平方公里,常住人口70.9万,少数民族占户籍人口的81.6%,是一个以苗族为主、多民族聚居的新兴城市,被誉为“苗侗明珠”。近年来,先后荣获“全国文明城市”、“中国优秀旅游城市”、“国家卫生城市”、“国家节水型城市”和“苗侗医药养生之乡”、“中国酸汤美食之都”、“中国绿水青山生态强县”等称号。入列全国中小城市综合改革试点、第三批国家新型城镇化试点、国家公交都市建设第一批创建城市,入选全国首批创新型县(市)建设名单、“2020年全国县域旅游综合实力百强县”等榜单。</P>
|
||||
<P> 区位交通情况:沪昆高铁、湘黔铁路和沪昆高速公路贯穿全境,凯里黄平机场直通成都、杭州等地,经高铁西抵贵阳仅需半小时,东达长沙、北至重庆都在3小时之内,经厦蓉高速公路和贵广高铁可直达广西、广东、福建等地,已构建了集高速铁路、高速公路、航空及城市主干道为一体外联内畅的交通体系,成为黔中经济区重要交通枢纽,加快了凯里融入长江经济带、粤桂黔高铁经济带的步伐。</P>
|
||||
<P> 生态环境情况:凯里市地处云贵高原向中部丘陵过度地带,属亚热带湿润气候。四季气候温和,处于最适宜人类居住20—3纬度之间,年平均气温16℃左右,平均海拔在1000米左右,森林覆盖率达57%,空气清新,市区空气质量达标天数比例达98.1%,城市(县城)环境空气质量达标率96.8%, 空气负氧离子含量为全国平均水平的20倍。中心城市和千人以上集中式饮用水水源地水质达标率均为100%。</P>
|
||||
<P> 资源禀赋情况:凯里是贵州东线旅游集散中心,是全省对接沿海发达地区的桥头堡、对外开放的排头兵和产业承接的示范区。凯里是资源优越的黄金宝地,已探明的矿藏有铁、铅、锌、重晶石、铝矶土、石英石、硅石岩等,其中铝土矿7000万吨、石英砂矿10000万吨、水泥用灰岩矿8130万吨、白云岩2502万吨。硅石中二氧化硅含量高达98%,名列西南之冠;铝土矿储量位居贵州省第二位。</P>
|
||||
<P> 园区及产业情况:凯里市辖黔东南高新技术开发区和贵州炉碧经济开发区两个省级开发区。其中:黔东南高新技术产业开发区规划面积为8.18平方公里,重点发展大健康医药为主,电子信息、银饰刺绣文化创意为辅的产业体系,同时,围绕“一轴五区”开展新城建设,促进产城融合;炉碧经济开发区规划面积118平方公里,重点发展玻璃及玻璃深加工为主,铝及陶瓷产业、酸汤和蓝莓等生态特色食品为辅的产业体系。</P>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<a class="collapsed btn" data-bs-toggle="collapse" href="#collapseThree">
|
||||
丹寨县情简介
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapseThree" class="collapse" data-bs-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<p><strong>咨询服务热线:0855-3695381</strong></p>
|
||||
<P> 丹寨县位于贵州省东部、黔东南州西部,因海拔较高,自然气候凉爽,素有“云上丹寨”的美誉。全县国土面积940平方公里,辖4镇、2乡、1个街道,1个省级经济开发区和1个省级农业园区,122个村(居、社区),总人口17.9万人,是一个以苗族为主,水、汉等多民族聚居县,少数民族占89.33%。</P>
|
||||
<P> 丹寨民族文化底蕴厚重。丹寨是历史上数支苗族迁徙路线上的居留地,是全国唯一完整保留祭祀蚩尤的“祭尤节”的地方,民族风情浓郁,民族节日众多,民族文化底蕴深厚,拥有苗族贾理、锦鸡舞、古法造纸等8项国家级、22项省级、34项州级非物质文化遗产,有17个国家级传统村落、9个中国少数民族特色村寨,被誉为苗族文化的活态博物馆。</P>
|
||||
<P> 丹寨气候独特资源丰富。地处长江、珠江流域的清水江、都柳江水系上游分水岭,海拔在600-1700米之间,森林覆盖率达70.68%,属亚热带季风性湿润气候,夏季平均气温22.8℃,冬无严寒,夏无酷暑,自然气候得天独厚,是理想的旅游、避暑、休闲胜地和天然氧吧。境内有汞、金、重晶石、硒等15种矿产资源;境内河道总长367.3公里,水能蕴藏量为3.47万千瓦;野生植物资源丰富,已定名的木本植物91科239属519种。这里土壤富含人体必需的硒、锌微量元素,盛产优质硒米、硒锌茶,是“中国硒米之乡”和“中国富硒锌茶之乡”。县内有寒武系古生物化石,有距今1500多年的省级文物石桥白皮纸作坊,有天下奇泉打鼓井,有千姿百态的彩色金瓜洞,有被誉为“黔东第一瀑”的排廷大瀑布,有龙泉山万亩杜鹃,有国家4A级旅游景区丹寨万达小镇,2012年获得“全国休闲农业和乡村旅游示范县”称号。</P>
|
||||
<P> 丹寨交通区位优势明显。面向珠三角、背靠大西南,贵广高铁、沪昆高铁和厦蓉高速、沪昆高速穿过县境周边。凯羊高速穿城而过并连通两条高铁和两条高速。县城距省会贵阳市110公里,距凯里市50公里、都匀市40公里,深度融入“凯里半小时经济圈”和“贵阳1小时经济圈”,是贵阳、重庆等地通往“珠三角”及东南沿海的“桥头堡”,成为贵州省南下通道经济带和承接泛珠三角产业转移的“前沿基地”。</P>
|
||||
<P> 经济社会持续健康发展。丹寨是万达集团“企业帮县、整体脱贫”社会扶贫创新试点县。2021 年,丹寨县实现地区生产总值 44.89 亿元, 同比增长 7.7%,高于全州水平 2.5 个百分点。其中,第一产业增加值 9.99 亿元,增长 7.3%;第二产业增加值 10.35 亿元,增长 15.6%;第三产业增加值 24.56 亿元,增长 4.8%。城镇和农村居民人均可支配收入分别为37532.89元、12094.36元,同比分别增长8.2%、10.8%。</P>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<a class="collapsed btn" data-bs-toggle="collapse" href="#collapseten">
|
||||
麻江县情简介
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapseten" class="collapse" data-bs-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<p><strong>咨询服务热线:0855-2621151</strong></p>
|
||||
<P> 麻江县地处贵州省中部,清水江上游,是黔东南苗族侗族自治州西大门。辖4镇1乡2街道,面积约960平方公里,总人口17.66万人。县城西距省会贵阳市和龙洞堡国际机场109公里,东距黔东南州府凯里市40公里,南距黔南州府都匀市23公里,北距瓮福磷矿基地福泉市21公里。沪昆铁路、沪昆高速公路、兰海高速公路和沪昆高速铁路、贵广高速铁路专线、佛山大道贯穿县境,是贵州乃至我国大西南南下东进的咽喉要塞。</P>
|
||||
<P> 麻江县围绕建设山地高效农业园区,结合交通优势和地理环境,深入推进农村产业革命,全力打好“1258”主导产业(1万亩花卉、2万亩锌硒米、5万亩商品蔬菜、8万亩蓝莓),是第七批全国农业标准化优秀示范区、国家出口食品农产品质量安全示范区、中国蓝莓产业科技创新十强县、国家有机产品认证示范区,享有“中国红蒜之乡”“中国锌硒米之乡”等美誉。围绕创建乡村旅游精品县目标,按照全域旅游、农文旅一体化的发展思路,结合“魅力麻江·田园康旅”功能定位,充分利用交通区位优势、自然资源禀赋、少数民族特色文化,积极推动农旅、工旅、文旅、康旅、体旅深度融合发展,产业成效凸显。</P>
|
||||
<P> 麻江县依托佛山大道建成后的交通区位优势,做好承接粤港澳大湾区建设,围绕佛山大道两侧打造黔中经济区、凯麻产城融合发展示范区,围绕“四新”主攻“四化”,成立“四化”产业招商专班、“蓝莓”产业招商专班、“酸汤”产业招商专班重点推进“四化”及蓝莓、酸汤产业规模化突破,培育形成一批亿元龙头企业和农业产业示范基地。依托现状国家现代农业产业园、蓝莓工坊、蓝莓物流交易中心、康养基地、酸汤加工等产业,谋划农业现代化、新型城镇化发展新格局,布局约16.5 平方公里建设用地打造 3 个特色小镇,即:酸汤小镇、康养小镇、蓝莓小镇。</P>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<a class="collapsed btn" data-bs-toggle="collapse" href="#collapsefour">
|
||||
黄平县情简介
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapsefour" class="collapse" data-bs-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<p><strong>咨询服务热线:0855-3931911</strong></p>
|
||||
<P> 黄平县位于贵州省东南部,黔东南州西北部,辖8镇3乡,2020年,全县总人口39.19万人,常住人口24.4万人,2021年全县地区生产总值72.67亿元,财政收入4.87亿元,城镇、农村居民人均可支配收入分别为37113元、11757元。</P>
|
||||
<P> 黄平历史悠久,文化厚重。自古素有“云贵最秀地、且兰古国都”之称,是2300多年前的春秋战国时期且兰酋长国都城所在地,县内有国家级重点文物保护单位4处,国家级非物质文化遗产4个,有人文景观48处,自然景观52处。由浪洞森林温泉、飞云崖古寺、旧州古镇、舞阳湖、重安江、野洞河峡谷、飞云大峡谷、飞虎队抗战史和红军二过黄平构成的“一泉一寺一古城,两河两谷两传奇”,形成了春游、夏漂、秋赏、冬泡的旅游格局,体现了黄平独具魅力的旅游资源。</P>
|
||||
<P> 黄平山川秀美,资源丰富。是国家重点生态功能区,年平均气温15.4℃,年平均降雨量1200mm,雨量充沛,气候温和,冬无严寒,夏无酷暑,全年无霜期300天以上,耕地面积达70万亩,蔬菜种植面积20万亩,太子参、白芨、前胡等中药材种植面积达13万亩。全县劳动力资源20万人。是著名的“长寿之乡”。县境内矿产资源丰富。其中,蕴藏量大的有重晶石、石灰石、石膏、铝钒土、汞矿。汞的储量为1.09万吨,重晶石的储量为39.98万吨,铀、钇等稀有金属储量为1150吨,铝钒土储量为600万吨。</P>
|
||||
<P> 黄平交通便利,通达自如。黄平交通四通八达是黔东中心,现已融入贵阳1小时经济区,重庆3小时经济区,杭州5小时经济区。沪昆高铁凯里南站距黄平县仅半个小时的车程,贵阳至黄平(119公里)预计2022年7月全面建成通车。凯里黄平机场距县城仅10余公里,已开通贵阳、杭州、天津、昆明、福州、南宁等航线,形成了航空、铁路、公路相互补充的现代立体交通网络。</P>
|
||||
<P> 黄平开放发展,服务便利。黄平始终坚持把开放作为发展重要前提,全面把握新一轮西部大开发历史机遇,加快融入凯里城市群和黔中贵阳、黔北遵义1小时经济圈,积极融入扩大开放总格局。不断建设好园区发展平台,推动园区基础设施建设提档升级,为企业安心落户、加快投产、高效生产提供便利,已建成黄平工业园区,规划总面积28.14平方公里,已实现“七通一平”。将不折不扣落实好优惠政策措施,全心全意营造优质高效的营商环境,为在我县投资的企业提供“贵人服务”,实行保姆式代办,帮助企业解决具体问题,让大家在黄平投资放心、创业安心、发展顺心。</P>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<a class="collapsed btn" data-bs-toggle="collapse" href="#collapsethirteen">
|
||||
施秉县情简介
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapsethirteen" class="collapse" data-bs-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<p><strong>咨询服务热线:0855-4228995</strong></p>
|
||||
<P> 施秉地处贵州东部、黔东南州西北部、㵲阳河国家级风景名胜区中心腹地,全县国土面积1543.8平方公里,辖5镇3乡64个行政村12个社区,总人口18万人,聚居着汉、苗、侗等19个民族。</P>
|
||||
<P> 一、资源优势</P>
|
||||
<P> (一)风光旖旎,环境优美。境内生态良好,气候宜人,森林覆盖率达59.46%,冬无严寒,夏无酷暑,是旅游、休闲、度假的理想之地,拥有世界自然遗产地、国家级风景名胜区、国家地质公园等响亮名片。县城坐落在一块三江汇流、三面环水、三面临山的平川上,是一座融山、水、园、林为一体的宜居“江南小镇”。</P>
|
||||
<P> (二)资源富集,独具特色。境内土地、水能、矿产、生物等资源丰富,建有5个省级高效农业示范园区。是全省现代烟草业主产园区和黔东南烤烟生产主产县;中药材种植面积常年保持在10万亩以上,施秉太子参、头花蓼、何首乌3个品种已通过国家GAP认证,施秉太子参、施秉头花蓼获得国家地理标志证明,太子参常年产量占全国总产量的二分之一,施秉也被誉为“中国太子参之乡”。</P>
|
||||
<P> (三)民风淳朴,社会和谐。境内民族文化丰富多彩,民族风情浓郁,苗族“刻道”被列入国家非物质文化遗产。群众生活健康向上,社会事业快速发展,先后被省委、省政府评为“全省文明城市”“省级卫生县城”,被中国科协命名为“全国科普示范县”。</P>
|
||||
<P> 二、工业园区发展情况</P>
|
||||
<P> 施秉工业园区总体布局为“一区三园”即:硅系高新材料一体化循环经济产业园、桃子湾轻工建材产业园、新红生物医药及农产品产业园。目前,主要建设发展施秉新红大健康产业园和桃子湾轻工建材产业园。</P>
|
||||
<P> (一)施秉新红大健康产业园。施秉新红大健康产业园位于城关镇新红村,距县城约8公里,距三施高速施秉西匝道仅700米,距凯里黄平机场仅9公里,规划面积4平方公里,以“工业+旅游”的发展模式,按照“一厂一景一特色”、高起点规划、高标准建设进行打造,建设成为集加工、旅游、文化创意、电子物流等为一体的大健康旅游综合体,主要以生态特色食品、保健品加工、冷链物流、电商服务等业态为主,是食品安全透明化的“观光工厂”。目前,已建设标准厂房2.83万平方米,配套用房1.14万平方米,已完成路网、停车场、绿化、宿舍楼和高管楼等配套基础设施建设, 实现了供水、供电、供气等“九通一平”。</P>
|
||||
<P> (二)桃子湾轻工建材产业园。桃子湾轻工建材产业园位于城关镇小河村,距县城1.2公里,规划面积1.6平方公里,主要以特色食品加工、特色民族绣品、特色旅游商品等轻工业为主导。目前,已建设标准厂房3.22万平米,职工宿舍、展厅、食堂等生活配套设施齐全,产业园道路交通网络、给排水网络、能源网络和信息网络已基本形成,已实现“九通一平”。</P>
|
||||
<P> 三、特色产业</P>
|
||||
<P> 中药材:全县常年种植中药材面积达10万亩以上,品种30多个,其中太子参、头花蓼、何首乌3个品种已通过国家GAP认证,“施秉太子参”、“施秉头花蓼”已获得国家地理标志证明商标。施秉太子参年产量达5000吨以上,是全国最大的太子参生产基地,被誉为“西南药城”、“中国太子参之乡”。</P>
|
||||
<P> 特色养殖:形成以绿壳蛋鸡、林下虫草鸡、白洗黑毛猪、优质肉牛羊等为主的各种畜禽特色养殖超过140万只(头),其中“施秉白洗猪”获得国家地理标志证明。目前,我县生猪存栏30万头,“十四五”规划发展成为100万头生猪大县。</P>
|
||||
<P> 林下魔芋:魔芋被誉为“肠道清道夫”,具有降血糖、降血脂、散毒、养颜、减肥、通便、开胃等多种功能,是一种绿色健康养生食品,全县发展林下魔芋种植2万多亩。</P>
|
||||
<P> 精品水果:建设有精品水果现代高效农业示范园区,为贵州省100个省级农业示范园区之一,已建成以猕猴桃、紫秋葡萄、脆红李和优势时令水果为主导的精品水果规范化基地2.65万亩,带动全县发展精品水果种植7万亩以上,年产值达3亿元以上。</P>
|
||||
<P> 四、投资方向</P>
|
||||
<P> (一)新型工业化项目。依托园区产业承载主阵地,重点引进健康医药、食品加工、特色轻工、新型建材等项目。</P>
|
||||
<P> (二)新型城镇化项目。结合“城景一体化”建设要求,丰富城市经营业态,不断配套完善县城休闲娱乐功能,着力引进住宿餐饮、文化创意、休闲娱乐、商业综合体等项目。</P>
|
||||
<P> (三)现代农业化项目。围绕太子参、生猪养殖、魔芋、精品水果等农特产品资源优势,重点引进特色食品加工、牲畜饲料生产及太子参精深加工等项目。同时,依托现代农业产业资源,引进农业观光园、采摘园、休闲农场等农文旅体验项目。</P>
|
||||
<P> (四)旅游产业化项目。结合施秉县生态优势,着力构建“旅游+”多业态发展模式,重点引进“旅游+工业”、“旅游+城镇”、“旅游+农业”、“旅游+民生”、生态+养生、传统村落+田园观光等旅游产业项目。</P>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<a class="collapsed btn" data-bs-toggle="collapse" href="#collapsesixteen">
|
||||
镇远县情简介
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapsesixteen" class="collapse" data-bs-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<p><strong>咨询服务热线:0855-5722848</strong></p>
|
||||
<P> 镇远,位于贵州省东部,隶属于黔东南苗族侗族自治州,地处湘黔两省三地(湖南怀化,我省黔东南、铜仁)交界地区,与湖南新晃,铜仁石阡、玉屏,我州岑巩、三穗、剑河、施秉七县接壤,素有“滇楚锁钥、黔东门户”之称。全县总面积1878平方公里,辖8镇4乡、1个省级经济开发区(贵州黔东经济开发区)、110个行政村、12个社区和4个居委会。总人口27.76万人,苗、侗、土家等少数民族人口占48%;</P>
|
||||
<P> 一、交通区位突显。镇远是贵州省东部最重要的交通枢纽,湘黔铁路、株六复线穿境而过,沪昆高铁,沪昆高速、松从高速、思剑高速、天黄高速纵横全境,与贵广高铁、厦蓉高速等交汇贯通,是大西南东出华东、南下华南的交通咽喉。在100公里半径内有凯里黄平机场、黎平机场、铜仁凤凰机场 、怀化芷江机场 、贵阳龙洞堡机场、高铁三穗站。形成与贵阳、长沙、桂林周边主要城市3小时经济圈,与珠三角、长三角、成渝地区5小时经济圈。便捷的现代交通网络体系为镇远县的发展提供了坚实的基础。</P>
|
||||
<P> 二、产业资源丰富。工业:镇远工业以黔东经济开发区为主战场,贵州黔东经济开发区位于贵州省东部,规划总面积24.4平方公里,以酿酒为首位产业,电子信息为主导产业进行重点培育打造,构建了以“酿酒、电子信息、新型建材、物流、特色食品”产业为支撑,采矿、冶金、饮用水为辅助的多元化、专业化、高端化、绿色化工业产业格局,现全区共入驻各类企业180余户,其中招商入驻各类生产型企业64户,2000万元以上规模工业企业14户(含贵州省百强企业2户,贵州省百强民营企业3户)。旅游:镇远自汉高祖五年(公元前202年)至今,已有2200多年的置县历史,1986年被国务院命名为中国历史文化名城。镇远拥有5A级中国历史文化名城、舞阳河、重点文物保护单位青龙洞古建筑群、在华日本人民反战同盟镇远“和平村”旧址等8张国家级旅游品牌,有省级风景名胜区高过河-森林康养示范基地,被誉为一条会唱歌的河,是贵州高原上的一颗明珠。有明清风貌的古民居、古巷道、古码头等省、县文物古迹160处,“百节之乡”的侗族“三月三”情人节、苗族“六月六”吃新节、土家族“八月八”唢呐节等传统民族民俗活动交相辉映,煜煜生辉。镇远拥有“中国最美十大古城、中国低碳旅游示范基地、中国十佳城市慢游地”等荣誉称号,已然成为人们向往的旅游胜地。生态资源:全县森林资源面积约13.06万公顷,森林覆盖率62.79%。2020年,县城环境空气质量优良天数比例为100%,环境空气质量综合指数为1.68,在贵州省88个县(区)中排名第一,南方红豆杉、香果树、榉木等国家一级保护植物栖地而生,野生植物十分丰富,49.5万亩耕地上茶叶、珍贵药材、油菜、烟叶等经济作物纵横交错,特色红桃、脆李、稻米等果蔬四季飘香。</P>
|
||||
<P> 三、镇远优惠政策叠加,营商环境优越。镇远县在省州出台的招商引资政策下,结合我县实际情况出台了标准产房入驻、优强企业装修、高管补贴等“一事一议”相关政策。近年来,镇远县致力打造省内一流的营商环境,着力创造“贵人服务”营商品牌,全力打造镇远营商环境新高地。</P>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<a class="btn" data-bs-toggle="collapse" href="#collapseOne">
|
||||
岑巩县情简介
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapseOne" class="collapse" data-bs-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<p><strong>咨询服务热线:0855-3578588</strong></p>
|
||||
<p>一、岑巩历史文化悠久,区位优势明显。岑巩位于贵州省东部,辖9镇2乡1个街道,1个省级经济开发区,国土面积1486平方公里,总人口24万人。岑巩古称思州,迄今已有1400多年的历史,是贵州政治、经济、文化的最先发祥地之一。320国道、沪昆、江玉、石玉高速、湘黔铁路穿境而过,县城距铜仁凤凰机场90公里、湖南芷江机场80公里、黄平机场80公里,距沪昆高铁铜仁南站25公里、三穗站30公里,区位优越、交通便捷,是贵州东联战略的前沿阵地。</p>
|
||||
<p>二、园区软硬环境优越,基础设施完备。岑巩经济开发区为省级经济开发区,总体规划面积30.23平方公里,已完成10平方公里核心区“九通一平”,建成标准厂房23万平方米,配套建有员工公寓、职业学校、中小学、幼儿园、医疗服务中心等。全县工业企业78户,其中规模以上企业32户,年度规上工业总产值达30亿元以上。岑巩县坚持把经济开发区作为推动新型工业化发展的主战场,综合竞争力、辐射带动力、区域协同力不断增强,已逐步建设成为工业经济“聚宝盆”。</p>
|
||||
<p>三、产业集聚效应凸显,发展后劲十足。“十四五”时期,岑巩县坚定不移把加速推动新型工业化进程作为岑巩高质量发展的首要任务。被誉为“黑色黄金”的碳基材料产业,以兴隆碳素、黔楚碳业为龙头的“黑色黄金”碳基材料产业集聚发展版图正在徐徐铺开;以“从农业中长出工业”为思路,特色食品产业园为平台的生态特色食品产业正在强势汇聚;以打火机、电子信息、香精香料等特色产业正在蓬勃崛起;以思州温泉、龙鳌河、玉门洞等为“暴点”的景区,正在不断丰富旅游发展业态,县域旅游产业化正在持续推进;以智慧停车场、产业大道、商业综合体、美食街、休闲娱乐场所等基础设施的不断完善和融合发展,岑巩的新型城镇化稳步推进,城镇品质不断提升。</p>
|
||||
<p>四、营商环境持续提升,投资创业首选。岑巩县始终坚持把优化营商环境当作高质量发展“生命线”来抓,承诺拿出最高的效率、最好的政策、最实的举措,确保项目第一时间落地,让企业第一时间获益,在岑巩投资放心、创业安心、发展顺心。</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<a class="collapsed btn" data-bs-toggle="collapse" href="#collapsetwelve">
|
||||
三穗县情简介
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapsetwelve" class="collapse" data-bs-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<p><strong>咨询服务热线:0855-4525831</strong></p>
|
||||
<P> 三穗县位于贵州省东部,黔东南苗族侗族自治州东北部,与湖南省新晃县毗邻,国土总面积1035平方公里,全县辖7镇2乡2街道,159个行政村(合并为90个中心村),8个居民社区,1个省级经济开发区,总人口23万人,境内有苗、侗等14个世居民族,少数民族占总人口的67.2%,是一个以苗族、侗族为主体的多民族聚居县。</P>
|
||||
<P> 优势聚集 禀赋天成</P>
|
||||
<P> 这里区位优势明显,是西部陆海新通道重要节点城市,县境内沪昆高速、三黎三施高速、320国道、310省道纵横全境,沪昆高铁过境设站,半径100公里范围内有4个机场,形成与贵阳、长沙、桂林2小时经济圈,粤港澳大湾区、长三角、成渝地区5小时经济圈,上海、北京8小时经济圈,开放发展的新三穗正迅速崛起。</P>
|
||||
<P> 高点布局 擘画新篇</P>
|
||||
<P> 进入新时代,三穗以活力新姿谋划未来,围绕“四新”主攻“四化”,建设商贸物流中心、旅游集散中心、医养康养中心、产业承接中心,打造黔东中心城市。</P>
|
||||
<P> 深入实施“工业强县、城镇带县、商贸活县”主战略,以做精老城核心区、丰富经济开发区、拓展高铁新区的宏大手笔,打造出“区城互动、产城一体、融合发展”的三区联动发展之局。</P>
|
||||
<P> 高质量统揽、高起点规划,跨越发展的三穗正积极抢抓新国发2号政策机遇,全力推动新型工业化、新型城镇化、农业现代化、旅游产业化突围发展。</P>
|
||||
<P> 投资沃土 活力迸发</P>
|
||||
<P> 这里,投资政策量身定制。国家财政部对西部地区的鼓励类产业企业按15%的税率征收企业所得税;经济开发区标准厂房实行“三免两减半”,县委县政府制定出台的高质量发展政策措施、42条支持工业发展政策措施等优惠政策,让企业得到土地优惠、金融支持、入规奖励、稳岗就业、税收优惠......</P>
|
||||
<P> 这里,贵人服务无微不致。所有到三穗投资的企业均可享受“穗(随)时办”“一企一专班”、企业绿卡、全程代办和领导挂帮等贵人服务。</P>
|
||||
<P> 这里,投资环境只有最好。三穗先后荣获“全国民族团结示范县”、“平安中国建设示范县”、全省“政府服务环境十佳县”“招商引资项目推进优良十佳县”“全省首批医养结合示范县”......亲商、安商、富商正成为三穗最亮丽的品牌。</P>
|
||||
<P> 携手未来 合作共赢</P>
|
||||
<P> 未来的三穗,将瞄准高质量发展目标不松劲,凝心聚力打造乡村振兴示范区、创新创业示范区</P>
|
||||
<P> 迎着新的历史节点,今天的三穗,将以更加开放进取的姿态,在八方资源的汇聚中,在欣欣向荣的宝地上,期待与您相遇,愿为四海有识之士搭建投资兴业的广阔平台!</P>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<a class="collapsed btn" data-bs-toggle="collapse" href="#collapsefifteen">
|
||||
天柱县情简介
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapsefifteen" class="collapse" data-bs-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<p><strong>咨询服务热线:0855-3850088</strong></p>
|
||||
<P> 一、区位交通</P>
|
||||
<P> 天柱县地处黔东湘西结合部,因城郊“石柱擎天”胜景而得名,全县总面积2201平方公里,总人口43万,清水江川流不息,不仅孕育了两岸勤劳奋进的苗侗人民,丰富的水能资源也奠定了天柱“黔东第一关”的历史地位,自古就是川渝黔通两广、江浙重要门户。</P>
|
||||
<P> 即将规划建设的天柱至会同、天柱至新晃高速公路,将使天柱成为沪昆、包茂、厦蓉三条高速公路交汇的重要枢纽,南下珠三角及北部湾地区将更加快捷便利。天柱将抢抓沪昆高速、贵广高铁、黎平机场1小时交通经济圈机遇,主动融入四通八达大交通格局。</P>
|
||||
<P> 二、资源优势</P>
|
||||
<P> 这里矿产资源丰富,素有“中国重晶石之乡”“贵州高原黄金城”之称。重晶石探明储量1.78亿吨,远景储量3亿吨,是我国目前已探明的最大重晶石矿床,占全球储量的三分之一。黄金已探明储量80吨以上,是贵州省首个“吨金县”。</P>
|
||||
<P> 这里农林条件优越,有万亩大坝2个,5000亩大坝3个,是贵州重要粮食主产区,享有“黔东粮仓”的美誉,是全国三大“清香型”烤烟基地之一。森林面积197万亩,活立木蓄积量达800万立方米,林业综合总产值15亿元。天柱油茶林种植面积38万亩,是中国林下经济脱贫攻坚试验区、国家林下经济示范基地、国家油茶林示范基地试点县,“天柱茶油”被评为了国家地理标志保护产品。土鸡产业,2020年已具备1000万羽的养殖能力、1800万羽的屠宰能力。</P>
|
||||
<P> 这里旅游前景广阔,天柱正依托厚重的古祠家风文化和国家级非物质文化遗产“世界上最长的歌会——四十八寨歌节”等人文优势,开发三十里水景长廊、清水江百里画廊、金凤山、九龙山、温泉地热、溶洞等自然资源,狠抓旅游产业化,全力实现旅游收入三年倍增计划。</P>
|
||||
<P> 三、发展规划</P>
|
||||
<P> 天柱立足资源优势,紧紧围绕实现“四化”目标奋力迈进。大力推进新型工业化,依托重晶石资源,重点建设重晶石系列粉体、高端钡盐系列产品、钡盐填料系列产品等生产基地,打造中国百亿级钡盐产业;兼顾发展碳、锂等新型材料产业,服装、电子等特色轻工产业。大力推进新型城镇化,按照“一园两区、产城互动”新格局,打造教育文化、医疗卫生、健康养老、智慧管理等公共服务区域高地,建成黔东湘西接边中心城市,实现“撤县设市”目标。大力推进农业现代化,围绕林地、坝区资源,重点推动竹木加工向高端产成品方向发展;营造高标准油茶林,建设茶油产品研发生产基地,推动茶油产品向健康、医药方向发展;招引土鸡养殖企业,食品加工企业,引导土鸡产业向“亿羽”目标迈进,兼顾推动包括林下中药材在内的林下复合经济;大力发展坝区经济,打造面向沿海发达地区为目标的绿色、有机蔬菜基地。大力推进旅游产业化,重点规划环托口、白市电站库区、金凤山环线旅游精品线路,推进清水江百里画廊、三十里水景长廊、金凤山、环九龙山(塘龙)等旅游景区主体功能建设,打造全域旅游示范县。</P>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<a class="collapsed btn" data-bs-toggle="collapse" href="#collapsesix">
|
||||
锦屏县情简介
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapsesix" class="collapse" data-bs-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<p><strong>咨询服务热线:0855-7225677</strong></p>
|
||||
<P> 锦屏,青山似锦、秀丽如屏!这里因“青山绿水养眼、蓝天净土养肺、传统饮食养颜、民族文化养心、田园生活养神”而享誉国内外。是集少数民族文化、军屯文化、木商文化、红色文化于一体的多元文化聚集地,是休闲度假的天然大氧吧,是人类疲惫心灵栖息的理想家园,更是聚贤聚才、投资兴业的大乐土!</P>
|
||||
<P> 锦屏县为要津之城,属泛珠三角区域和长江经济带,北可达重庆、成都经济圈,东部可达长沙、武汉经济圈,南部可达珠三角地区。1小时车程均达黎平机场、贵广高铁从江站、沪昆高铁三穗站,已形成航空、高铁、高速三位一体交通格局。</P>
|
||||
<P> 全县林业面积182.6万亩,活立木蓄积量927万立方米,被誉为中国南方林区“皇冠上的明珠”;青石储量1.3亿立方米,是贵州省“十大石材”产业县之一。林木、青石、水能等资源丰富,素有“杉木之乡”、“青石之乡”、“水电之乡”美誉。锦屏有600余年历史的明代军事城堡,国家4A级旅游景区——隆里古城旅游景区,中国环保第一村——文斗苗寨,省级森林公园——春蕾林场等优秀旅游资源。</P>
|
||||
<P> “一个羽毛球”:推动“康养之都、运动之城”快速发展。以贵州亚狮龙体育文化产业发展有限公司为“龙头”,实现以“鹅”为链,锦屏县的生态鹅全产业链综合年产值已超过10亿元,不断吸引投资者建厂创业,亚狮龙羽毛球月产达羽毛球30万打,新建亚狮龙博物馆、羽毛球小镇,同步配套羽毛球球头、球筒、球拍、球服、运动装备制造、体育赛事、文旅康养、生态养殖、屠宰加工、肉制品加工、冷链物流、羽绒服饰等项目,形成构建综合产业链发展,打造绿色、生态、运动、和谐锦屏。</P>
|
||||
<P> “一株石斛草”:破解林下经济产业发展难题。全县中药材种植约10万亩,近野生铁皮石斛种植1.2万亩,种植规模居全国第一,逐渐形成种、产、研、学、旅“五位一体”林下经济新模式。立足林业资源优势,深入挖掘林下种养殖、道地药材种植、中药材加工、中药饮片、制剂、森林康养等产业项目,打造有机锦屏、健康锦屏。</P>
|
||||
<P> “一个产业园”:快速发展中的省级经济开发区基本实现“八通一平”,建成十万平方米标准厂房,以县委书记为首席服务员的服务团队,为承接发达地区劳动密集型、农特产品精深加工、电子科研开发等优质项目提供了良好的投资环境,确保每个项目考察就能投资、投资就能落地、落地就能建设。</P>
|
||||
<P> 锦屏是一方海纳百川、开放创业的热土,先后出台了“首席服务员”、营商环境八条、“五零服务”、“一站式”全程代办等制度,打造更优、更简、更好的投资环境,锦屏县营商环境评估连续五年在全省排位前列。</P>
|
||||
<P> 锦屏,正以崭新的姿态,纵横于锦绣清江之上,屹立于神州大地之间。诚信和谐、创新奋进的锦屏人民深情期待着更多有识之士,走进锦屏,投资锦屏、共赢锦屏,合力推动锦屏经济社会裂变式发展!携手开创锦屏更加华美的新篇章!</P>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<a class="collapsed btn" data-bs-toggle="collapse" href="#collapsenine">
|
||||
黎平县情简介
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapsenine" class="collapse" data-bs-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<p><strong>咨询服务热线:0855-6227627</strong></p>
|
||||
<P> 黎平意为“黎民百姓、平安幸福”,位于贵州省东南部,地处黔、湘、桂三省区交界。全县国土面积4441平方公里,辖9乡14镇、3个街道,321个行政村(社区),总人口58.04万人,其中侗族人口40.16万人,占全县总人口的69.2%,是全国侗族人口聚居最多的县,也是全省面积第二和全州最大的县。黎平是侗文化的窗口,是全国侗族人口第一大县,是国家级侗乡风景名胜区,这里侗文化元素最齐全、资源最丰富、底蕴最深厚,98个传统村落星罗棋布,世界非物质文化遗产侗族大歌从这里走向世界、唱响全球。黎平是中国革命伟大转折的起点,红军曾三次经过黎平,1934年12月18日在这里召开长征途中第一次中央政治局会议,从根本上实现战略转兵,为遵义会议奠定了基础,拉开了中国革命走向胜利的序幕。黎平是府署古城,是贵州省历史文化名城,中国历史文化名街、贵州省历史文化街区——翘街,记载着600余年的府衙历史。黎平是一方“净土绿地”,森林覆盖率超过72%,境内有国家森林公园、国家湿地公园,被誉为“中国百佳深呼吸小城”“中国森林氧吧”。这里是“饭养身、歌养心”的圣地,是人与自然和谐共生的家园。</P>
|
||||
<P> 2021年,全县生产总值实现103.85亿元,同比增长5.6%(其中一、二、三分别增加7.4%、10.6%、2.6%),规上工业增加值同比下降12.6%,500万元以上固定资产投资预计增速12.7%,城镇、农村居民人均可支配收入完成37001元、11610元,增长 8.2%、10.8%。</P>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<a class="collapsed btn" data-bs-toggle="collapse" href="#collapseTwo">
|
||||
从江县情简介
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapseTwo" class="collapse" data-bs-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<p><strong>咨询服务热线:0855-3910178</strong></p>
|
||||
<P> 从江县位于贵州省东南部,素有“黔南门户、桂北要津”之称,是两广和港珠澳进入贵州的第一站、第一城、第一区。全县国土面积3244平方公里,总人口39万,其中苗、侗、壮、瑶、水等少数民族占总人口的94.8%,是澳门特区政府、广东佛山南海区、中国贸促会和江南大学的对口帮扶县。有“中国民间文化艺术之乡”“中国侗族大歌之乡”“中国香猪之乡”“中国优质椪柑之乡”“全球重要农业(稻鱼鸭)文化遗产保护地”“全国双拥模范县”“全国民族团结进步县”和“全国双拥模范县”的美誉,被誉为“养心圣地·神秘从江”。</P>
|
||||
<P> 从江生态资源让人心生惊羡:从江四季分明,冷暖适宜。年平均气温18.4℃,年平均无霜期326天,年平均降水量1183.6毫米。从江生态环境优良,森林覆盖率69.39%,空气质量优良率100%,负氧离子含量1万-3万个/立方厘米,是全国平均数的22倍,被誉为“天然大氧吧”。优美宜居的生态环境成就了从江被授予“贵州省长寿之乡”的美誉,现有百岁老人38人,全县人口平均寿命高居于全省之上,在全国屈指可数。</P>
|
||||
<P> 从江农特资源让人心生渴望:从江农特资源较为丰富,从江香猪、香禾米、油茶、小香辣、壮族煨酒等数以百计的特色优质农产品香飘苗乡侗寨,誉满海内外。全县拥有国家级农业产品地理标志和重点保护的农特资源名录国家级5个,省级2个。从江香猪、从江椪柑、从江瑶浴已取得国家原产地标记注册认证。境内独有的山区土壤气候让这个“国家植物基因库”3000多种各类植物生机蓬勃,其中已知的药用野生植物达400余种,如钩藤、天麻、杜仲、淫羊藿、铁皮石斛以及瑶药等系列。</P>
|
||||
<P> 从江旅游资源让人心生向往:从江县生态环境和民族文化保持完好,是旅游资源原生性最强、资源保存最完整的县份之一,被誉为“养心圣地·神秘从江”。全县有世界级历史文化资源2处,国家级历史文化资源12处,A级景区6个。世界非物质文化遗产——小黄侗族大歌、中国最后一个枪手部落——岜沙苗寨、全球重要农业文化遗产保护地——加榜梯田、中国人口与生育文化第一村——占里侗寨、世界三大洗浴文化——瑶族瑶浴等旅游景区和民族村寨惊艳世人,享有世界十大“返璞归真、回归自然”旅游目的地之一的美称实至名归。</P>
|
||||
<P> 从江交通区位让人心生赞叹:从江水陆空交通较为发达,对外交通十分便捷。G321、G242国道由南向北穿越县境,厦蓉高速、松从高速、贵广高铁在从江交汇。附近有龙洞堡机场、桂林两江国际机场。贯穿县境的都柳江由北向南,经广西三江、融安、柳州直达广州,拟规划提升为五级的航道可承载500吨轮船航行。</P>
|
||||
<P> 这里农业现代化蓄势待发:围绕特色优势产业,我县将重点打造“从江大道”沿线产业带,以百香果、从江香猪、淫羊藿、油茶等为主导产业,大力引进和培育龙头企业,抓好农特产品基地建设和精深加工,全力开拓粤港澳大湾区市场,努力打造粤港澳地区的“菜篮子”。我县将重点引进农特产品精深加工、从江香猪精深加工、油茶种植及加工、精品水果种植及加工、中药材种植及加工、河湖水面生态渔业养殖等项目,带动产业兴、百姓富。</P>
|
||||
<P> 这里新型工业化呼之欲出:围绕资源优势和产业基础,以贵州侗乡大健康产业示范区(贵州洛贯经济开发区)为主平台和聚集区,大力发展新型建材、清洁能源、木材加工、民族医药、特色食品加工、电子信息、民族民间工艺品等产业,着力打造从江特色的工业体系和制造业产业集群,奋力推动工业实现大突破。一批大数据电子信息、装备制造、新能源、新材料等战略性新兴产业集群和产业精深加工项目向国内外有识之士呈递落户名片。</P>
|
||||
<P> 这里旅游产业化方兴未艾:紧盯“养心圣地·神秘从江”旅游品牌优势,通过市场运作,引入社会资本,持续推进岜沙原生态苗族文化、侗族大歌、瑶族药浴、月亮山百里梯田等重点旅游资源开发、旅游项目建设和景区运营管理、“从江礼物”旅游商品研发等,全力打造国内外知名民族文化旅游目的地。一批效益凸显的旅游精品民宿、旅游康养、景区运营管理、旅游集散中心、旅游商品研发等项目等候国内外有识之士到来。</P>
|
||||
<P> 这里新型城镇化蓝图绘就:围绕做大县城(一城两区)、带动周边、辐射乡村的发展思路,构建“组团式”城镇空间格局,努力推动形成县城区、示范区(开发区)、乡镇村功能衔接互补的城乡融合发展格局。着力将老城区建设成为宜居、宜业、宜游的江滨旅游城市;将洛贯新城区建设成为县城的副中心、全县的经济中心和黔东南南部重要旅游集散中心、农产品集散中心、汽贸中心。一批小而精、小而美、小而特的绿色小镇、文化小镇和城市商业综合开发项目向国内外有识之士抛出绣球。</P>
|
||||
<P> 这里大健康产业雏鹏欲飞:坐落于从江县境内贵州侗乡大健康产业示范区,于2015年4月20日贵州省人民政府批准设立,是全国首个以民族文化旅游和健康养生深度融合发展的省级示范区。建设贵州侗乡大健康示范区大健康医药康养产业是从江县实现加快发展的重头戏,也是招商搭建的稳实平台。园区划分新型建材产业园、农特食品加工产业园、大健康医药产业园、轻工家纺产业园、电子商务信息产业园五大产业园。园内地广人旺,财蕴厚实。贵州侗乡大健康康养城建设项目、洛香湖旅游城市综合体项目、东方斗牛城建设项目、侗乡生态康养公园等项目期待有识之士合作共赢。</P>
|
||||
<P> 从江县将抢抓国发〔2022〕2号《关于支持贵州在新时代西部大开发上闯新路的意见》重大历史机遇和中国贸促会、澳门特区、对口帮扶城市帮扶契机,持续提升对外开放水平,主动融入“一带一路”、长江经济带、粤港澳大湾区、贵广高铁经济带等国家、省级战略,着力开展营商环境提升行动计划,全力打造政策最优、成本最低、服务最好、办事最快的一流营商环境。热诚欢迎各界精英、企业关注和支持从江,投资从江、深化合作,实现共赢发展!</P>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<a class="collapsed btn" data-bs-toggle="collapse" href="#collapseeleven">
|
||||
榕江县情简介
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapseeleven" class="collapse" data-bs-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<p><strong>咨询服务热线:0855-6628219</strong></p>
|
||||
<P> 榕江,旧称古州,位于黔东南苗族侗族自治州南部,都柳江中上游,地跨月亮山、雷公山和珠江、长江两大水系,全县国土面积3316平方公里,辖22个乡镇(街道),261个行政村(社区),总人口38.5万,苗、侗、水、瑶等少数民族占总人口的80%以上。</P>
|
||||
<P> 榕江区位优越,交通便捷,是贵州省区域性支点城市、贵州面向粤港澳大湾区的桥头堡主阵地。2小时内可直达贵阳、凯里、桂林、柳州,4小时内可达重庆、长沙、广州、深圳、厦门。公路方面,厦蓉高速、荔榕高速、剑榕高速纵横交织,榕江至雷山高速公路正在加快推进;榕江至广西融安高速公路、榕江至广西宜州高速公路、榕江至黎平高速公路正在规划建设。铁路方面,贵广高铁已经开通,可直达贵阳、重庆、成都、桂林、广州、深圳等城市。目前还规划建设的贵阳至厦门高铁、重庆涪陵至广西柳州货运铁路均在榕江设站。</P>
|
||||
<P> 林业方面,榕江县森林覆盖率为74.18%,全省排名第三、全州排名第一,是贵州省十个重点林业县之一。全县杉木总面积为234.48万亩,活立木总蓄积1815.43万立方米。</P>
|
||||
<P> 水能资源方面,榕江县地跨我国长江、珠江两大水系。以色同向斜为分水岭,北部为长江水系,南部为珠江水系。全县有长10公里、集水面积20平方公里以上的河流67条,县境地表水多属中性水,适宜工、农业生产及生活用水、地下水质好、有开发价值。</P>
|
||||
<P> 农业方面,榕江地形地貌以山地为主,土壤多为中厚层红黄壤,PH值为5.5-6.5左右,土壤肥沃,土层深厚,富含硒、锗等微量元素,适宜多种农作物生长,目前以百香果、脐橙、西瓜为主发展精品水果,以车江坝区辐射周边发展精品蔬菜,以草珊瑚、板蓝根、金钩藤为主发展中药材,禽类主要发展小黄牛、小香鸡、香羊,种植油茶、白茶等产业。</P>
|
||||
<P> 旅游方面,榕江自古有“黔省东南锁钥,苗疆第一要区”之称,是世界超短裙之乡,苗侗祖源文化集散地,中国南部侗语标准音所在地,被授予“革命老区”“全国县域足球典型”和“贵州省体操之乡”称号,目前,已建成加宜月亮山居和大利井上洞天等精品民宿,旅游资源有待进一步开发。</P>
|
||||
<P> 工业方面,榕江工业园区与县城紧密连接,总规划建设面积16.38平方公里,建成面积2.31平方公里,建成标准厂房面积17.2万平方米,初步形成以林产品深加工为首位主导产业,以特色农产品加工为重要产业,以电子信息、轻纺、民族工艺品为辅助产业的产业体系。</P>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<a class="collapsed btn" data-bs-toggle="collapse" href="#collapseeight">
|
||||
雷山县情简介
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapseeight" class="collapse" data-bs-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<p><strong>咨询服务热线:0855-3333103</strong></p>
|
||||
<P> 一、基本情况</P>
|
||||
<P> 雷山县位于贵州省黔东南州西南部,是一个生态资源大县、民族文化大县、传统村落大县和旅游大县,县境内有国家级自然保护区、国家森林公园雷公山,森林覆盖率达72.8%,是全国生态文明建设试点县。全县总面积1218.5平方公里,其中耕地总面积22.51万亩。辖5镇3乡,共154个行政村,总人口16.53万人。集中式饮用水源地水质达标率100%,县城环境空气质量优良天数率达99%以上,县城污水处理率85.6%,农村家家户户通自来水,供电可靠率达99.8%,全县实现光纤、宽带、4G网络和数字电视村村通、“广电云”户户用工程全覆盖。</P>
|
||||
<P> 二、区位优势</P>
|
||||
<P> 雷山县位于贵州省黔东南州西南部,地处东经107°55′~108°22′和北纬26°02′~26°34′之间,东临台江、剑河、榕江县,南抵黔南自治州三都水族自治县,西连丹寨县,北与凯里市接壤。距省府贵阳180公里,距州府凯里28公里。距贵阳龙洞堡机场165公里,距黔东南黄平机场78公里,凯雷高速公路21.9公里,处于“凯里半小时经济圈”、“贵阳一小时经济圈”和“昆明、南宁、广州、长沙、重庆、成都一日经济圈”。</P>
|
||||
<P> 三、产业发展</P>
|
||||
<P> (一)推动旅游产业化大提质。坚持全域旅游发展方向,丰富旅游生态和人文内涵,高品质开发旅游新业态,加快推进旅游基础设施标准化、服务标准化、监管标准化、产品标准化。全力打造国际一流山地旅游目的地、国内一流度假康养目的地。</P>
|
||||
<P> (二)推动农业现代化大发展。坚持保障群众“米袋子”“菜篮子”“肉盘子”有效供给。集中精力打造茶叶、天麻“两张名片”。种好“一叶茶”,大力提升茶产业规模化、标准化、品牌化水平,打响银球茶、做强清明茶、壮大白茶、做优红茶,引导企业集团式发展,统一雷公山茶系列品牌。着力打响“苗侗山珍·茶麻菇稻·蜂蜜黔求”品牌,申报雷山鱼酱酸获得国家地理标志产品。强化产销对接,推动黔货出山。</P>
|
||||
<P> (三)推动新型工业化大突破。坚持绿色生态工业发展格局,建设“茶麻菇稻”农文旅融合现代农业产业园、农文旅融合产业示范带、乡村振兴田园综合体示范园“一座园”,研发打造一批茶衍生品、天麻制品、“双乌”煲汤、菌菇制品、鱼酱酸系列产品、糯米酒等“茶麻菇稻”伴手礼,形成一批具有较强影响力和竞争力的产业集群。</P>
|
||||
<P> (四)推动新型城镇化大增效。坚持城镇带县,秉持城镇景区化理念,打好中央定点帮扶和东西部协作政策“一张牌”、开发陶尧温泉“一眼泉”、提升县城“一座城”,围绕文化旅游业推进现代特色新型城镇化。持续推进棚户区、老旧小区改造。以全省城市设计试点为契机,进一步加强城市规划设计,完善城镇功能。</P>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<a class="collapsed btn" data-bs-toggle="collapse" href="#collapsefourteen">
|
||||
台江县情简介
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapsefourteen" class="collapse" data-bs-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<p><strong>咨询服务热线:0855-5324777</strong></p>
|
||||
<P> 台江县位于贵州省东南部、黔东南苗族侗族自治州中部,全县辖4镇3乡2街道,总面积1108平方公里,总人口17.3万,是一个苗族、侗族等多民族聚居的苗疆风情特色山水园林城市,其中苗族人口占98%,被誉为“天下苗族第一县”。</P>
|
||||
<P> 区位优越,交通便利——沪昆高铁、G60沪昆高速横贯东西,320国道横穿腹地,半小时车程可抵达凯里及高铁南站,1小时车程可达凯里黄平机场,2小时车程可达贵阳及龙洞堡机场,是北上川渝、南下粤港澳、东出闽浙、西进贵阳的交通要道,地理位置优越,区位优势明显。</P>
|
||||
<P> 生态优良,气候宜人——台江地处云贵高原东部苗岭主峰雷公山北麓、清水江中游南岸。平均海拔717.5米,年平均气温15.9℃,空气质量指数优良率达100%,森林覆盖率达69.34%,负氧离子浓度超过全国平均水平,是全省10个重点林业县之一,被列入国家重点生态功能区范围,先后被授予中国绿色名县、中国十大品质休闲县、贵州长寿之乡等荣誉称号。</P>
|
||||
<P> 风景优美,文化荟萃——台江境内9个苗族支系文化各具特色,有苗族姊妹节、苗族刺绣、苗族银饰锻制技艺等14项国家级非物质文化遗产,有反排村、长滩村等41个国家级传统村落,有国家森林公园、国家地质公园、国家湿地公园各1个,有AAA级景区6个,AA级5个,年接待游客359万人次以上,先后被评为世界著名文化旅游县、中国十佳最具原生态旅游大县、全国休闲农业和乡村旅游示范县、中国苗绣之乡。</P>
|
||||
<P> 服务优质,发展强劲——台江县高度重视营商环境建设工作,坚持“营商环境只有更好,没有最好”,为入驻企业实行全程代办、提供“贵人服务”。近年来,台江县以贵州台江经济开发区为工业发展主战场,积极创建国家级循环经济示范园区,逐步形成北部(革一工业园区)以汽车动力电池制造为主和南部(台盘轻工业园区)以银饰、特色食品加工、民族服饰为主的“一园两区”工业格局,发展势头强劲有力。</P>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="card">
|
||||
<div class="card-header text-center">
|
||||
<a class="collapsed btn" data-bs-toggle="collapse" href="#collapsefive">
|
||||
剑河县情简介
|
||||
</a>
|
||||
</div>
|
||||
<div id="collapsefive" class="collapse" data-bs-parent="#accordion">
|
||||
<div class="card-body">
|
||||
<p><strong>咨询服务热线:0855-5220166</strong></p>
|
||||
<P> 一、剑河县基本概况</P>
|
||||
<P> 剑河县贵州省东南部,黔东南州中部,全县国土面积2176平方公里,总人口28万人,其中,苗族、侗族占96%,辖11镇1乡1街道办。县内最高海拔1626.3米,最低海拔348米,属中亚热带“湿润季风气候区”,冬无严寒,夏无酷暑,年平均温度16.7℃,雨量充沛,年降水量900-1400毫米。全县森林覆盖率72.8%,有“绿色王国”、“天然氧吧” 之美誉。2020年全县地区生产总值54.82亿元,财政总收入4.64亿元。</P>
|
||||
<P> 二、剑河县交通情况</P>
|
||||
<P> 剑河位于处于贵州“一纵线(酉阳—榕江线)”和“二横线(沪昆线)”交通大动脉的交叉点,是西南通往华南、华中地区的枢纽。沪昆、思剑、剑榕高速穿境而过。随着贵州进入高铁时代,剑河的区位交通越发显得优越,形成了至贵阳、昆明、重庆、怀化2 小时高铁交通圈,至长沙、桂林、广州 4 小时高铁交通圈,至长三角高铁 8 小时交通圈。其中剑河至贵阳机场2小时车程、距凯里高铁站65公里约50分钟车程、剑河距三穗高铁站30公里约25分钟车程。</P>
|
||||
<P> 三、剑河县招商优势资源</P>
|
||||
<P> (1)工业有基础、承接能力强。①剑河工业园区基本情况。剑河工业园区位于岑松镇屯州村,规划面积6平方公里。交通便利,沪昆、思剑高速公路、320国道从园区穿过,园区配套设施完善,建有14万平方米标准厂房,374套廉租房,配套建有学校、医院、银行网点、加油站、商店等公共服务设施,已实现“七通一平”,达到四代工业园区标准。工业园区主要承接东部产业梯度转移以及当地资源为原材料的木材深加工、食品加工、医药加工、电子产品等高附加值绿色环保产业项目。目前入驻的木材加工企业主要有荣达木业、章氏古典家具有限公司、贵州鸿盛木业有限公司、贵州弘毅家居有限公司、贵州多来美豪爽实木家居用品有限公司、剑河县银峰木业有限责任公司、贵州森环活性炭有限公司等;食品加工企业有剑荣菌业有限公司、建江菌业有限公司、剑河老蔡食品有限公司、黔味味食品有限公司、贵州剑荣生物科技有限公司等;医药类企业有贵州泰和本草中药材科技发展有限公司、贵州省盛立本草科技有限责任公司、贵州省博康乐科技有限公司、贵州苗里医药创新科技有限公司、苗泰健康产业(贵州)有限公司、贵州苗飨健康产业有限公司、贵州苗大伯健康产业发展有限责任公司等企业。②工业土地储备情况。目前,剑河工业园区工业储备用地为165亩(已征用),分成三块,一是北大门地块100亩,为山坡,需要开挖平整;二是产镇大道地块15亩(相邻北大门往岑松方向)地块15亩,为山坡,需要开挖平整;三是蒋家湾地块35亩,已开挖平整。③下步招商目标:一是打造林产林化十亿级以上产业集群。大力发展“育苗-菌材培育-林木加工-新型装配式生态房屋”等为一体的林产林化全产业链,加快形成十亿级以上林产林化产业集群。二是打造特色食品加工十亿级以上产业集群。围绕食用菌、生态水产、油茶、肉类制品打造特色食品加工十亿级以上产业集群。三是打造中药材加工十亿级以上产业集群。大力发展以钩藤、佛手、天南星等中药材品种为主的现代中医药产业,打造集育苗、种植、研发、交易、加工、养生、医药、康养为一体的全产业链,形成十亿级以上现代中医药产业集群。</P>
|
||||
<P> (2)旅游资源得天独厚、民族文化丰富多彩。剑河县是全国28个重点集体林区和贵州省10个重点林业县之一,森林覆盖率达72.8%,森林覆盖率远远超出全国20%、全球30%的平均水平,有“绿色王国”的美誉。县境内有“苗疆圣水”之称的剑河温泉,水温常年保持在38-50℃之间,温泉富含氡、硫、锂、铁、钙等元素,为国内稀有的氡硫温泉,其理化指标和法国著名的维稀温泉相似。目前,投资10亿元打造的剑河温泉城已全面对外开放。县境内有迄今贵州省保护最为完整、生物多样性保存最为完好的百里原始阔叶林区,有仰阿莎国家森林公园,是“生态天堂,天然氧吧”。县境内还有贵州最大的高山平湖—仰阿莎湖,面积120平方公里,沿岸撒落100多个民族传统村寨,自然景观非常优美,在仰阿莎湖畔还有距今5.3亿年、见证生命起源的八郎寒武纪古生物化石遗址。剑河民族文化多彩,是苗族美神——仰阿莎的诞生地;有着源远流长、绚丽多彩的民族文化,被称为“中国现代民间绘画之乡”“中国民间文化艺术之乡”;有国家级非物质文化遗产7项,有苗族武术、苗族招龙、苗族水鼓舞、苗族姊妹节等13项省级非物质文化遗产;有近20种民族盛装服饰,被称为研究民族历史的活化石、“穿在身上的史书”;有传承千年的姊妹节、牯藏节、二月二祭桥节、高雍苗族三月三、六月六民歌节、抬狗节等民俗节日。</P>
|
||||
<P> (3)农林资源丰富、生态环境好。剑河是贵州省10个林业重点县之一,盛产松、杉、樟、楠等林木,有秃杉、鹅掌楸、红豆杉、水杉、剑柏、银杏等国家一、二、三级珍稀保护树种,有活力木蓄积量900万立方米。境内野生动物繁多,有33目64类183种,其中猕猴、娃娃鱼、穿山甲等是国家重点保护动物。剑河有“天然药物园”之称,有钩藤、杜仲、黄柏、灵芝、黄金、天麻、重楼、白芨、淫羊藿、天南星、茯苓等中草药材1024种,占全国药用植物总数的14.28%。是贵州十五个中药材种植基地建设县之一,基中“剑河钩藤”获得国家地理标识产品。</P>
|
||||
<P> (4)拥有天然绿色农产品。剑河特色农产品种类繁多,有12个农产品获得无公害农产品认证。①好山好水出好“菌”。剑河县把食用菌产业作为“一县一业”的重点产业来发展,剑河的食用菌种植技术日趋成熟,成立了林菌研发中心,建成新型菌材林示范基地、野生抚育与仿野生栽培基地、名贵野生菌生态培育基地。主打产品有黑木耳、秀珍菇、海鲜菇、鹿茸菇、双胞菇、大球盖菇、茶树菇、羊肚菌、红托竹荪等近9个品种。②好山好水出好“材”。“剑河钩藤”“剑河白香猪”“剑河稻花鲤”“剑白香猪”成为国家地理标志保护产品,“剑河小香鸡”获得国家地理注册证明商标,剑河小香鸡等8个产品入选全国首批扶贫产品。同时,剑河小黄牛、蜂蜜、辣椒等农特产品质量也非常好,只要有订单需要,我们都可以批量生产提供。③好山好水出好“鱼”。剑河水资源丰富,全县有大小河流301条,水资源有河(溪)流、水库、山塘等。全县滩涂水域面积46.21万亩, 总水面约18万亩,实际可开发养鱼(含增殖放流)面积12.88万亩(不含稻田面积)。全县现有水库21座,总面积7.52万亩,实际可养鱼面积7.1万亩,其主要功能为发电、灌溉和养殖。其中最大的水库为仰阿莎湖水库,面积6.64万亩。拥有国家地理标志保护产品“剑河稻花鲤”。也称稻田鱼、稻香鱼,是每年4月种水稻时放进水田之中,食稻花长大,到了10月收获稻谷时,一起收获,可煮酸汤鱼、可制成腌鱼。剑河稻渔综合面积6.33万亩,稻鱼年产量可达1945吨以上。</P>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="container-fluid mt-3 text-center" style="font-size: 0.8em; color: #999999;">
|
||||
<p>黔东南州投资促进局<br>技术支持:<a style="color: #999999; text-decoration: none;" href="https://www.guizhoujc.com/">工诚云网</a><p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>黔东南州概况</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="../css/bootstrap.min.css" rel="stylesheet">
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="container mt-3">
|
||||
<h2 class="text-center">黔东南州概况</h2>
|
||||
<p><strong>咨询服务热线:4008-799399</strong></p>
|
||||
<P> 黔东南苗族侗族自治州位于贵州省东南部,辖1市15县,国土面积3.03万平方公里,总人口489.86万,少数民族人口占总人口的81.8%,是全国苗侗文化的核心地。全州现有1个省级高新区和10个省级经济开发区。黔东南生态环境“秀丽怡人”,森林覆盖率高达68%,983条河流水质达到一二类标准,城市空气质量优良天数占全年的98.9%,冬无严寒、夏无酷暑,处处是青山绿水、蓝天净土。黔东南民族文化“浸润心灵”,各族人民与山相安生、与水共流长,创造了各美其美、美美与共的民族文化,侗族大歌被列为世界非物质文化遗产,56项78个保护点列入国家非物质文化遗产名录,被誉为“歌舞海洋、百节之乡、非遗之冠、银饰之都”和“原生态民族文化博物馆”。黔东南的自然资源“丰富多样”,全州重晶石储量为1.9亿吨,占全国储量的三分之一以上;有铝土矿1.5亿吨,高岭土1亿吨以上,玻璃用石英砂1.7亿吨,活立木蓄积量1.69亿立方米;州境内有中药资源2831种,植物药用2656种,药用动物154种,药用矿物21种,被誉为“天然药库”“苗侗药都”,是全国、全省道地药材主产区。黔东南的交通网络“日新月异”,拥有凯里黄平和黎平两个支线机场,贵广高速高铁、沪昆高速高铁穿境而过,县县通高速,州内高速连接线不断加密,是贵州南下粤港澳、东进长三角的桥头堡。2022年,全州生产总值1293.08亿元,城镇居民人均可支配收入39299元,农村居民人均可支配收入13148元,财政总收入67.44亿元。</P>
|
||||
<P> 新时代的黔东南,将围绕“四新”主攻“四化”,集中力量扩大有效投资,做大做强主导产业。着力构建“5+N”现代工业产业体系,大力推动矿产资源精深加工、再生资源循环材料、特色食品、木材加工及家具制造、大健康医药等主导产业集群发展,大力支持新能源电池材料、白酒、轻纺工业、运动装备制造等特色产业做大做强。热忱欢迎各地企业家前来投资考察、洽谈项目。</P>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="container-fluid mt-3 text-center" style="font-size: 0.8em; color: #999999;">
|
||||
<p>黔东南州投资促进局<br>技术支持:<a style="color: #999999; text-decoration: none;" href="https://www.guizhoujc.com/">工诚云网</a><p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,13 @@
|
|||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
Version 2, December 2004
|
||||
|
||||
Copyright (C) 2004 Sam Hocevar <sam@hocevar.net>
|
||||
|
||||
Everyone is permitted to copy and distribute verbatim or modified
|
||||
copies of this license document, and changing it is allowed as long
|
||||
as the name is changed.
|
||||
|
||||
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||
|
||||
0. You just DO WHAT THE FUCK YOU WANT TO.
|
||||
|
|
@ -0,0 +1,9 @@
|
|||
# PDFViewer
|
||||
在前端显示PDF文件,针对PDFObject库不支持的浏览器可以使用Canvas绘制PDF文件内容。
|
||||
|
||||
使用了PDFObject和PDF.js这两个库。
|
||||
|
||||
# 官网链接:
|
||||
PDFObject:https://pdfobject.com/
|
||||
|
||||
PDF.js:http://mozilla.github.io/pdf.js/
|
||||
|
|
@ -0,0 +1,86 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Show PDF</title>
|
||||
<meta charset="utf-8"/>
|
||||
<script type="text/javascript" src='pdf.js'></script>
|
||||
<style type="text/css">
|
||||
html,body {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
background-color: #444;
|
||||
}
|
||||
|
||||
body {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body></body>
|
||||
<script type="text/javascript">
|
||||
|
||||
|
||||
PDFJS.getDocument('../黔东南州产业大招商政策摘编(2023版).pdf').then(pdf=>{
|
||||
var numPages = pdf.numPages;
|
||||
var start = 1;
|
||||
renderPageAsync(pdf, numPages, start);
|
||||
});
|
||||
|
||||
function renderPage(pdf, numPages, current){
|
||||
console.log("renderPage");
|
||||
pdf.getPage(current++).then(page=>{
|
||||
//console.log('page', page);
|
||||
//page.getTextContent().then(v=>console.log(v));
|
||||
var scale = 1.5;
|
||||
var viewport = page.getViewport(scale);
|
||||
// Prepare canvas using PDF page dimensions.
|
||||
var canvas = document.createElement("canvas");
|
||||
var context = canvas.getContext('2d');
|
||||
document.body.appendChild(canvas);
|
||||
|
||||
canvas.height = viewport.height;
|
||||
canvas.width = viewport.width;
|
||||
|
||||
// Render PDF page into canvas context.
|
||||
var renderContext = {
|
||||
canvasContext: context,
|
||||
viewport: viewport
|
||||
};
|
||||
page.render(renderContext);
|
||||
|
||||
//next
|
||||
if(current<=numPages)return renderPage(pdf, numPages, current);
|
||||
});
|
||||
}
|
||||
|
||||
async function renderPageAsync(pdf, numPages, current){
|
||||
console.log("renderPage async");
|
||||
for(let i=1; i<=numPages; i++){
|
||||
// page
|
||||
let page = await pdf.getPage(i);
|
||||
|
||||
let scale = 1.5;
|
||||
let viewport = page.getViewport(scale);
|
||||
// Prepare canvas using PDF page dimensions.
|
||||
let canvas = document.createElement("canvas");
|
||||
let context = canvas.getContext('2d');
|
||||
document.body.appendChild(canvas);
|
||||
|
||||
canvas.height = viewport.height;
|
||||
canvas.width = viewport.width;
|
||||
|
||||
// Render PDF page into canvas context.
|
||||
let renderContext = {
|
||||
canvasContext: context,
|
||||
viewport: viewport
|
||||
};
|
||||
page.render(renderContext);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
</script>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>投资政策</title>
|
||||
<meta charset="utf-8" />
|
||||
<script type="text/javascript" src='pdfobject.min.js'></script>
|
||||
<style type="text/css">
|
||||
html,body,#pdf_viewer{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="pdf_viewer"></div>
|
||||
</body>
|
||||
<script type="text/javascript">
|
||||
if(PDFObject.supportsPDFs){
|
||||
PDFObject.embed("黔东南州产业大招商政策摘编(2023版).pdf", "#pdf_viewer" );
|
||||
} else {
|
||||
location.href = "/resume/canvas";
|
||||
}
|
||||
</script>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
/*
|
||||
PDFObject v2.0.201604172
|
||||
https://github.com/pipwerks/PDFObject
|
||||
Copyright (c) 2008-2016 Philip Hutchison
|
||||
MIT-style license: http://pipwerks.mit-license.org/
|
||||
UMD module pattern from https://github.com/umdjs/umd/blob/master/templates/returnExports.js
|
||||
*/
|
||||
(function(root,factory){if(typeof define==="function"&&define.amd){define([],factory)}else if(typeof module==="object"&&module.exports){module.exports=factory()}else{root.PDFObject=factory()}})(this,function(){"use strict";if(typeof window==="undefined"||typeof navigator==="undefined"){return false}var pdfobjectversion="2.0.201604172",supportsPDFs,createAXO,isIE,supportsPdfMimeType=typeof navigator.mimeTypes["application/pdf"]!=="undefined",supportsPdfActiveX,buildFragmentString,log,embedError,embed,getTargetElement,generatePDFJSiframe,isIOS=function(){return/iphone|ipad|ipod/i.test(navigator.userAgent.toLowerCase())}(),generateEmbedElement;createAXO=function(type){var ax;try{ax=new ActiveXObject(type)}catch(e){ax=null}return ax};isIE=function(){return!!(window.ActiveXObject||"ActiveXObject"in window)};supportsPdfActiveX=function(){return!!(createAXO("AcroPDF.PDF")||createAXO("PDF.PdfCtrl"))};supportsPDFs=supportsPdfMimeType||isIE()&&supportsPdfActiveX();buildFragmentString=function(pdfParams){var string="",prop;if(pdfParams){for(prop in pdfParams){if(pdfParams.hasOwnProperty(prop)){string+=encodeURIComponent(prop)+"="+encodeURIComponent(pdfParams[prop])+"&"}}if(string){string="#"+string;string=string.slice(0,string.length-1)}}return string};log=function(msg){if(typeof console!=="undefined"&&console.log){console.log("[PDFObject] "+msg)}};embedError=function(msg){log(msg);return false};getTargetElement=function(targetSelector){var targetNode=document.body;if(typeof targetSelector==="string"){targetNode=document.querySelector(targetSelector)}else if(typeof jQuery!=="undefined"&&targetSelector instanceof jQuery&&targetSelector.length){targetNode=targetSelector.get(0)}else if(typeof targetSelector.nodeType!=="undefined"&&targetSelector.nodeType===1){targetNode=targetSelector}return targetNode};generatePDFJSiframe=function(targetNode,url,pdfOpenFragment,PDFJS_URL,id){var fullURL=PDFJS_URL+"?file="+encodeURIComponent(url)+pdfOpenFragment;var scrollfix=isIOS?"-webkit-overflow-scrolling: touch; overflow-y: scroll; ":"overflow: hidden; ";var iframe="<div style='"+scrollfix+"position: absolute; top: 0; right: 0; bottom: 0; left: 0;'><iframe "+id+" src='"+fullURL+"' style='border: none; width: 100%; height: 100%;' frameborder='0'></iframe></div>";targetNode.className+=" pdfobject-container";targetNode.style.position="relative";targetNode.style.overflow="auto";targetNode.innerHTML=iframe;return targetNode.getElementsByTagName("iframe")[0]};generateEmbedElement=function(targetNode,targetSelector,url,pdfOpenFragment,width,height,id){var style="";if(targetSelector&&targetSelector!==document.body){style="width: "+width+"; height: "+height+";"}else{style="position: absolute; top: 0; right: 0; bottom: 0; left: 0; width: 100%; height: 100%;"}targetNode.className+=" pdfobject-container";targetNode.innerHTML="<embed "+id+" class='pdfobject' src='"+url+pdfOpenFragment+"' type='application/pdf' style='overflow: auto; "+style+"'/>";return targetNode.getElementsByTagName("embed")[0]};embed=function(url,targetSelector,options){if(typeof url!=="string"){return embedError("URL is not valid")}targetSelector=typeof targetSelector!=="undefined"?targetSelector:false;options=typeof options!=="undefined"?options:{};var id=options.id&&typeof options.id==="string"?"id='"+options.id+"'":"",page=options.page?options.page:false,pdfOpenParams=options.pdfOpenParams?options.pdfOpenParams:{},fallbackLink=typeof options.fallbackLink!=="undefined"?options.fallbackLink:true,width=options.width?options.width:"100%",height=options.height?options.height:"100%",forcePDFJS=typeof options.forcePDFJS==="boolean"?options.forcePDFJS:false,PDFJS_URL=options.PDFJS_URL?options.PDFJS_URL:false,targetNode=getTargetElement(targetSelector),fallbackHTML="",pdfOpenFragment="",fallbackHTML_default="<p>This browser does not support inline PDFs. Please download the PDF to view it: <a href='[url]'>Download PDF</a></p>";if(!targetNode){return embedError("Target element cannot be determined")}if(page){pdfOpenParams.page=page}pdfOpenFragment=buildFragmentString(pdfOpenParams);if(forcePDFJS&&PDFJS_URL){return generatePDFJSiframe(targetNode,url,pdfOpenFragment,PDFJS_URL,id)}else if(supportsPDFs){return generateEmbedElement(targetNode,targetSelector,url,pdfOpenFragment,width,height,id)}else{if(PDFJS_URL){return generatePDFJSiframe(targetNode,url,pdfOpenFragment,PDFJS_URL,id)}else if(fallbackLink){fallbackHTML=typeof fallbackLink==="string"?fallbackLink:fallbackHTML_default;targetNode.innerHTML=fallbackHTML.replace(/\[url\]/g,url)}return embedError("This browser does not support embedded PDFs")}};return{embed:function(a,b,c){return embed(a,b,c)},pdfobjectversion:function(){return pdfobjectversion}(),supportsPDFs:function(){return supportsPDFs}()}});
|
||||
|
|
@ -0,0 +1,80 @@
|
|||
*{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-decoration: none !important;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
div,a{
|
||||
display: block;
|
||||
}
|
||||
p,h5{
|
||||
height: auto;
|
||||
padding: auto;
|
||||
margin: auto;
|
||||
}
|
||||
/* 最大盒子 */
|
||||
.container-01{
|
||||
max-width: 800px;
|
||||
width: 100%;
|
||||
height:100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
/* 整体盒子大小 */
|
||||
.Background{
|
||||
max-width:600px;
|
||||
min-height:680px;
|
||||
margin:0 auto;
|
||||
width: 100%;
|
||||
height:100%;
|
||||
}
|
||||
.Background-01{
|
||||
background-repeat:round;
|
||||
background-size: 100% 100%;
|
||||
background-image: url('../image/backgroudImg.7baac09c.jpg');
|
||||
}
|
||||
.btn_box01{
|
||||
height: 60%;
|
||||
}
|
||||
.btn_box02{
|
||||
height: 40%;
|
||||
}
|
||||
.btn_box02_small_01{
|
||||
width: 50%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.btn_01{
|
||||
width: 100%;
|
||||
height: 12%;
|
||||
text-align: center;
|
||||
margin-top: 4%;
|
||||
}
|
||||
/* 二级页面 */
|
||||
.column_01{
|
||||
height: 6%;
|
||||
line-height: 41px;
|
||||
background-color: #0d6efd;
|
||||
color:#fff;
|
||||
}
|
||||
.return_Arrow{
|
||||
height: 15px;
|
||||
width: 15px;
|
||||
line-height: 40px;
|
||||
float: left;
|
||||
}
|
||||
.input_01{
|
||||
height: 6%;
|
||||
}
|
||||
table{
|
||||
height: auto;
|
||||
}
|
||||
|
||||
.erweima{
|
||||
width: 120px;
|
||||
height: 120px;
|
||||
margin: 40% auto;
|
||||
}
|
||||
.erweima_02{
|
||||
width: 80px;
|
||||
height: 80px;
|
||||
}
|
||||
|
|
@ -0,0 +1,69 @@
|
|||
|
||||
*{
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
text-decoration: none !important;
|
||||
height: 100%;
|
||||
width: 100%;
|
||||
}
|
||||
div,a{
|
||||
display: block;
|
||||
}
|
||||
/* 最大盒子 */
|
||||
.container-01{
|
||||
max-width: 800px;
|
||||
width: 100%;
|
||||
height:100%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
/* 整体盒子大小 */
|
||||
.Background{
|
||||
max-width:600px;
|
||||
min-height:680px;
|
||||
margin:0 auto;
|
||||
width: 100%;
|
||||
height:100%;
|
||||
}
|
||||
.Background-01{
|
||||
background-repeat:round;
|
||||
background-image: url('../image/backgroudImg.7baac09c.jpg');
|
||||
}
|
||||
.btn_box01{
|
||||
height: 40%;
|
||||
}
|
||||
.btn_box02{
|
||||
height: 40%;
|
||||
}
|
||||
.btn_box02_small_01{
|
||||
width: 50%;
|
||||
margin: 0 auto;
|
||||
}
|
||||
.btn_01{
|
||||
width: 100%;
|
||||
height: 12%;
|
||||
text-align: center;
|
||||
margin-top: 4%;
|
||||
}
|
||||
|
||||
/* 二级页面 */
|
||||
.column_01{
|
||||
height: 5%;
|
||||
line-height: 38.55px;
|
||||
background-color: #0d6efd;
|
||||
color:#fff;
|
||||
}
|
||||
.return_Arrow{
|
||||
height: 15px;
|
||||
width: 15px;
|
||||
line-height: 38.55px;
|
||||
float: left;
|
||||
margin-left: 5px;
|
||||
}
|
||||
.input_01{
|
||||
height: 40px;
|
||||
}
|
||||
.container-02{
|
||||
height: 580px;
|
||||
}
|
||||
|
||||
/*三级页面*/
|
||||
|
After Width: | Height: | Size: 248 KiB |
|
After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 105 KiB |
|
After Width: | Height: | Size: 21 KiB |
|
After Width: | Height: | Size: 277 KiB |
|
After Width: | Height: | Size: 7.9 KiB |
|
After Width: | Height: | Size: 4.7 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 3.0 KiB |
|
|
@ -0,0 +1,31 @@
|
|||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="./css/index.css">
|
||||
<link rel="stylesheet" href="./css/bootstrap.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background Background-01">
|
||||
<div class="btn_group" style="height: 100%;width: 100%;">
|
||||
<div class="btn_box01"></div>
|
||||
<div class="btn_box02">
|
||||
<div class="btn_box02_small_01">
|
||||
<a href="./kc/list.html" class="btn_01 btn btn-outline-success">矿产资源精深加工</a>
|
||||
<a href="./zs/list.html" class="btn_01 btn btn-outline-success" >再生资源循环材料</a>
|
||||
<a href="./sp/list.html" class="btn_01 btn btn-outline-success" >特色食品加工</a>
|
||||
<a href="./mc/list.html" class="btn_01 btn btn-outline-success" >木材加工及家具制造</a>
|
||||
<a href="./yy/list.html" class="btn_01 btn btn-outline-success" >大健康医药制造</a>
|
||||
<a href="./wh/list.html" class="btn_01 btn btn-outline-success" >文化旅游康养</a>
|
||||
<a href="./qt/list.html" class="btn_01 btn btn-outline-success" >其它"N"个产业</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="./js/bootstrap.bundle.min.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,623 @@
|
|||
/**
|
||||
* @fileoverview
|
||||
* - Using the 'QRCode for Javascript library'
|
||||
* - Fixed dataset of 'QRCode for Javascript library' for support full-spec.
|
||||
* - this library has no dependencies.
|
||||
*
|
||||
* @author davidshimjs
|
||||
* @see <a href="http://www.d-project.com/" target="_blank">http://www.d-project.com/</a>
|
||||
* @see <a href="http://jeromeetienne.github.com/jquery-qrcode/" target="_blank">http://jeromeetienne.github.com/jquery-qrcode/</a>
|
||||
*/
|
||||
|
||||
!(function () {
|
||||
//---------------------------------------------------------------------
|
||||
// QRCode for JavaScript
|
||||
//
|
||||
// Copyright (c) 2009 Kazuhiko Arase
|
||||
//
|
||||
// URL: http://www.d-project.com/
|
||||
//
|
||||
// Licensed under the MIT license:
|
||||
// http://www.opensource.org/licenses/mit-license.php
|
||||
//
|
||||
// The word "QR Code" is registered trademark of
|
||||
// DENSO WAVE INCORPORATED
|
||||
// http://www.denso-wave.com/qrcode/faqpatent-e.html
|
||||
//
|
||||
//---------------------------------------------------------------------
|
||||
function QR8bitByte(data) {
|
||||
this.mode = QRMode.MODE_8BIT_BYTE;
|
||||
this.data = data;
|
||||
this.parsedData = [];
|
||||
|
||||
// Added to support UTF-8 Characters
|
||||
for (var i = 0, l = this.data.length; i < l; i++) {
|
||||
var byteArray = [];
|
||||
var code = this.data.charCodeAt(i);
|
||||
|
||||
if (code > 0x10000) {
|
||||
byteArray[0] = 0xF0 | ((code & 0x1C0000) >>> 18);
|
||||
byteArray[1] = 0x80 | ((code & 0x3F000) >>> 12);
|
||||
byteArray[2] = 0x80 | ((code & 0xFC0) >>> 6);
|
||||
byteArray[3] = 0x80 | (code & 0x3F);
|
||||
} else if (code > 0x800) {
|
||||
byteArray[0] = 0xE0 | ((code & 0xF000) >>> 12);
|
||||
byteArray[1] = 0x80 | ((code & 0xFC0) >>> 6);
|
||||
byteArray[2] = 0x80 | (code & 0x3F);
|
||||
} else if (code > 0x80) {
|
||||
byteArray[0] = 0xC0 | ((code & 0x7C0) >>> 6);
|
||||
byteArray[1] = 0x80 | (code & 0x3F);
|
||||
} else {
|
||||
byteArray[0] = code;
|
||||
}
|
||||
|
||||
this.parsedData.push(byteArray);
|
||||
}
|
||||
|
||||
this.parsedData = Array.prototype.concat.apply([], this.parsedData);
|
||||
|
||||
if (this.parsedData.length != this.data.length) {
|
||||
this.parsedData.unshift(191);
|
||||
this.parsedData.unshift(187);
|
||||
this.parsedData.unshift(239);
|
||||
}
|
||||
}
|
||||
|
||||
QR8bitByte.prototype = {
|
||||
getLength: function (buffer) {
|
||||
return this.parsedData.length;
|
||||
},
|
||||
write: function (buffer) {
|
||||
for (var i = 0, l = this.parsedData.length; i < l; i++) {
|
||||
buffer.put(this.parsedData[i], 8);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
function QRCodeModel(typeNumber, errorCorrectLevel) {
|
||||
this.typeNumber = typeNumber;
|
||||
this.errorCorrectLevel = errorCorrectLevel;
|
||||
this.modules = null;
|
||||
this.moduleCount = 0;
|
||||
this.dataCache = null;
|
||||
this.dataList = [];
|
||||
}
|
||||
|
||||
QRCodeModel.prototype={addData:function(data){var newData=new QR8bitByte(data);this.dataList.push(newData);this.dataCache=null;},isDark:function(row,col){if(row<0||this.moduleCount<=row||col<0||this.moduleCount<=col){throw new Error(row+","+col);}
|
||||
return this.modules[row][col];},getModuleCount:function(){return this.moduleCount;},make:function(){this.makeImpl(false,this.getBestMaskPattern());},makeImpl:function(test,maskPattern){this.moduleCount=this.typeNumber*4+17;this.modules=new Array(this.moduleCount);for(var row=0;row<this.moduleCount;row++){this.modules[row]=new Array(this.moduleCount);for(var col=0;col<this.moduleCount;col++){this.modules[row][col]=null;}}
|
||||
this.setupPositionProbePattern(0,0);this.setupPositionProbePattern(this.moduleCount-7,0);this.setupPositionProbePattern(0,this.moduleCount-7);this.setupPositionAdjustPattern();this.setupTimingPattern();this.setupTypeInfo(test,maskPattern);if(this.typeNumber>=7){this.setupTypeNumber(test);}
|
||||
if(this.dataCache==null){this.dataCache=QRCodeModel.createData(this.typeNumber,this.errorCorrectLevel,this.dataList);}
|
||||
this.mapData(this.dataCache,maskPattern);},setupPositionProbePattern:function(row,col){for(var r=-1;r<=7;r++){if(row+r<=-1||this.moduleCount<=row+r)continue;for(var c=-1;c<=7;c++){if(col+c<=-1||this.moduleCount<=col+c)continue;if((0<=r&&r<=6&&(c==0||c==6))||(0<=c&&c<=6&&(r==0||r==6))||(2<=r&&r<=4&&2<=c&&c<=4)){this.modules[row+r][col+c]=true;}else{this.modules[row+r][col+c]=false;}}}},getBestMaskPattern:function(){var minLostPoint=0;var pattern=0;for(var i=0;i<8;i++){this.makeImpl(true,i);var lostPoint=QRUtil.getLostPoint(this);if(i==0||minLostPoint>lostPoint){minLostPoint=lostPoint;pattern=i;}}
|
||||
return pattern;},createMovieClip:function(target_mc,instance_name,depth){var qr_mc=target_mc.createEmptyMovieClip(instance_name,depth);var cs=1;this.make();for(var row=0;row<this.modules.length;row++){var y=row*cs;for(var col=0;col<this.modules[row].length;col++){var x=col*cs;var dark=this.modules[row][col];if(dark){qr_mc.beginFill(0,100);qr_mc.moveTo(x,y);qr_mc.lineTo(x+cs,y);qr_mc.lineTo(x+cs,y+cs);qr_mc.lineTo(x,y+cs);qr_mc.endFill();}}}
|
||||
return qr_mc;},setupTimingPattern:function(){for(var r=8;r<this.moduleCount-8;r++){if(this.modules[r][6]!=null){continue;}
|
||||
this.modules[r][6]=(r%2==0);}
|
||||
for(var c=8;c<this.moduleCount-8;c++){if(this.modules[6][c]!=null){continue;}
|
||||
this.modules[6][c]=(c%2==0);}},setupPositionAdjustPattern:function(){var pos=QRUtil.getPatternPosition(this.typeNumber);for(var i=0;i<pos.length;i++){for(var j=0;j<pos.length;j++){var row=pos[i];var col=pos[j];if(this.modules[row][col]!=null){continue;}
|
||||
for(var r=-2;r<=2;r++){for(var c=-2;c<=2;c++){if(r==-2||r==2||c==-2||c==2||(r==0&&c==0)){this.modules[row+r][col+c]=true;}else{this.modules[row+r][col+c]=false;}}}}}},setupTypeNumber:function(test){var bits=QRUtil.getBCHTypeNumber(this.typeNumber);for(var i=0;i<18;i++){var mod=(!test&&((bits>>i)&1)==1);this.modules[Math.floor(i/3)][i%3+this.moduleCount-8-3]=mod;}
|
||||
for(var i=0;i<18;i++){var mod=(!test&&((bits>>i)&1)==1);this.modules[i%3+this.moduleCount-8-3][Math.floor(i/3)]=mod;}},setupTypeInfo:function(test,maskPattern){var data=(this.errorCorrectLevel<<3)|maskPattern;var bits=QRUtil.getBCHTypeInfo(data);for(var i=0;i<15;i++){var mod=(!test&&((bits>>i)&1)==1);if(i<6){this.modules[i][8]=mod;}else if(i<8){this.modules[i+1][8]=mod;}else{this.modules[this.moduleCount-15+i][8]=mod;}}
|
||||
for(var i=0;i<15;i++){var mod=(!test&&((bits>>i)&1)==1);if(i<8){this.modules[8][this.moduleCount-i-1]=mod;}else if(i<9){this.modules[8][15-i-1+1]=mod;}else{this.modules[8][15-i-1]=mod;}}
|
||||
this.modules[this.moduleCount-8][8]=(!test);},mapData:function(data,maskPattern){var inc=-1;var row=this.moduleCount-1;var bitIndex=7;var byteIndex=0;for(var col=this.moduleCount-1;col>0;col-=2){if(col==6)col--;while(true){for(var c=0;c<2;c++){if(this.modules[row][col-c]==null){var dark=false;if(byteIndex<data.length){dark=(((data[byteIndex]>>>bitIndex)&1)==1);}
|
||||
var mask=QRUtil.getMask(maskPattern,row,col-c);if(mask){dark=!dark;}
|
||||
this.modules[row][col-c]=dark;bitIndex--;if(bitIndex==-1){byteIndex++;bitIndex=7;}}}
|
||||
row+=inc;if(row<0||this.moduleCount<=row){row-=inc;inc=-inc;break;}}}}};QRCodeModel.PAD0=0xEC;QRCodeModel.PAD1=0x11;QRCodeModel.createData=function(typeNumber,errorCorrectLevel,dataList){var rsBlocks=QRRSBlock.getRSBlocks(typeNumber,errorCorrectLevel);var buffer=new QRBitBuffer();for(var i=0;i<dataList.length;i++){var data=dataList[i];buffer.put(data.mode,4);buffer.put(data.getLength(),QRUtil.getLengthInBits(data.mode,typeNumber));data.write(buffer);}
|
||||
var totalDataCount=0;for(var i=0;i<rsBlocks.length;i++){totalDataCount+=rsBlocks[i].dataCount;}
|
||||
if(buffer.getLengthInBits()>totalDataCount*8){throw new Error("code length overflow. ("
|
||||
+buffer.getLengthInBits()
|
||||
+">"
|
||||
+totalDataCount*8
|
||||
+")");}
|
||||
if(buffer.getLengthInBits()+4<=totalDataCount*8){buffer.put(0,4);}
|
||||
while(buffer.getLengthInBits()%8!=0){buffer.putBit(false);}
|
||||
while(true){if(buffer.getLengthInBits()>=totalDataCount*8){break;}
|
||||
buffer.put(QRCodeModel.PAD0,8);if(buffer.getLengthInBits()>=totalDataCount*8){break;}
|
||||
buffer.put(QRCodeModel.PAD1,8);}
|
||||
return QRCodeModel.createBytes(buffer,rsBlocks);};QRCodeModel.createBytes=function(buffer,rsBlocks){var offset=0;var maxDcCount=0;var maxEcCount=0;var dcdata=new Array(rsBlocks.length);var ecdata=new Array(rsBlocks.length);for(var r=0;r<rsBlocks.length;r++){var dcCount=rsBlocks[r].dataCount;var ecCount=rsBlocks[r].totalCount-dcCount;maxDcCount=Math.max(maxDcCount,dcCount);maxEcCount=Math.max(maxEcCount,ecCount);dcdata[r]=new Array(dcCount);for(var i=0;i<dcdata[r].length;i++){dcdata[r][i]=0xff&buffer.buffer[i+offset];}
|
||||
offset+=dcCount;var rsPoly=QRUtil.getErrorCorrectPolynomial(ecCount);var rawPoly=new QRPolynomial(dcdata[r],rsPoly.getLength()-1);var modPoly=rawPoly.mod(rsPoly);ecdata[r]=new Array(rsPoly.getLength()-1);for(var i=0;i<ecdata[r].length;i++){var modIndex=i+modPoly.getLength()-ecdata[r].length;ecdata[r][i]=(modIndex>=0)?modPoly.get(modIndex):0;}}
|
||||
var totalCodeCount=0;for(var i=0;i<rsBlocks.length;i++){totalCodeCount+=rsBlocks[i].totalCount;}
|
||||
var data=new Array(totalCodeCount);var index=0;for(var i=0;i<maxDcCount;i++){for(var r=0;r<rsBlocks.length;r++){if(i<dcdata[r].length){data[index++]=dcdata[r][i];}}}
|
||||
for(var i=0;i<maxEcCount;i++){for(var r=0;r<rsBlocks.length;r++){if(i<ecdata[r].length){data[index++]=ecdata[r][i];}}}
|
||||
return data;};var QRMode={MODE_NUMBER:1<<0,MODE_ALPHA_NUM:1<<1,MODE_8BIT_BYTE:1<<2,MODE_KANJI:1<<3};var QRErrorCorrectLevel={L:1,M:0,Q:3,H:2};var QRMaskPattern={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};var QRUtil={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:(1<<10)|(1<<8)|(1<<5)|(1<<4)|(1<<2)|(1<<1)|(1<<0),G18:(1<<12)|(1<<11)|(1<<10)|(1<<9)|(1<<8)|(1<<5)|(1<<2)|(1<<0),G15_MASK:(1<<14)|(1<<12)|(1<<10)|(1<<4)|(1<<1),getBCHTypeInfo:function(data){var d=data<<10;while(QRUtil.getBCHDigit(d)-QRUtil.getBCHDigit(QRUtil.G15)>=0){d^=(QRUtil.G15<<(QRUtil.getBCHDigit(d)-QRUtil.getBCHDigit(QRUtil.G15)));}
|
||||
return((data<<10)|d)^QRUtil.G15_MASK;},getBCHTypeNumber:function(data){var d=data<<12;while(QRUtil.getBCHDigit(d)-QRUtil.getBCHDigit(QRUtil.G18)>=0){d^=(QRUtil.G18<<(QRUtil.getBCHDigit(d)-QRUtil.getBCHDigit(QRUtil.G18)));}
|
||||
return(data<<12)|d;},getBCHDigit:function(data){var digit=0;while(data!=0){digit++;data>>>=1;}
|
||||
return digit;},getPatternPosition:function(typeNumber){return QRUtil.PATTERN_POSITION_TABLE[typeNumber-1];},getMask:function(maskPattern,i,j){switch(maskPattern){case QRMaskPattern.PATTERN000:return(i+j)%2==0;case QRMaskPattern.PATTERN001:return i%2==0;case QRMaskPattern.PATTERN010:return j%3==0;case QRMaskPattern.PATTERN011:return(i+j)%3==0;case QRMaskPattern.PATTERN100:return(Math.floor(i/2)+Math.floor(j/3))%2==0;case QRMaskPattern.PATTERN101:return(i*j)%2+(i*j)%3==0;case QRMaskPattern.PATTERN110:return((i*j)%2+(i*j)%3)%2==0;case QRMaskPattern.PATTERN111:return((i*j)%3+(i+j)%2)%2==0;default:throw new Error("bad maskPattern:"+maskPattern);}},getErrorCorrectPolynomial:function(errorCorrectLength){var a=new QRPolynomial([1],0);for(var i=0;i<errorCorrectLength;i++){a=a.multiply(new QRPolynomial([1,QRMath.gexp(i)],0));}
|
||||
return a;},getLengthInBits:function(mode,type){if(1<=type&&type<10){switch(mode){case QRMode.MODE_NUMBER:return 10;case QRMode.MODE_ALPHA_NUM:return 9;case QRMode.MODE_8BIT_BYTE:return 8;case QRMode.MODE_KANJI:return 8;default:throw new Error("mode:"+mode);}}else if(type<27){switch(mode){case QRMode.MODE_NUMBER:return 12;case QRMode.MODE_ALPHA_NUM:return 11;case QRMode.MODE_8BIT_BYTE:return 16;case QRMode.MODE_KANJI:return 10;default:throw new Error("mode:"+mode);}}else if(type<41){switch(mode){case QRMode.MODE_NUMBER:return 14;case QRMode.MODE_ALPHA_NUM:return 13;case QRMode.MODE_8BIT_BYTE:return 16;case QRMode.MODE_KANJI:return 12;default:throw new Error("mode:"+mode);}}else{throw new Error("type:"+type);}},getLostPoint:function(qrCode){var moduleCount=qrCode.getModuleCount();var lostPoint=0;for(var row=0;row<moduleCount;row++){for(var col=0;col<moduleCount;col++){var sameCount=0;var dark=qrCode.isDark(row,col);for(var r=-1;r<=1;r++){if(row+r<0||moduleCount<=row+r){continue;}
|
||||
for(var c=-1;c<=1;c++){if(col+c<0||moduleCount<=col+c){continue;}
|
||||
if(r==0&&c==0){continue;}
|
||||
if(dark==qrCode.isDark(row+r,col+c)){sameCount++;}}}
|
||||
if(sameCount>5){lostPoint+=(3+sameCount-5);}}}
|
||||
for(var row=0;row<moduleCount-1;row++){for(var col=0;col<moduleCount-1;col++){var count=0;if(qrCode.isDark(row,col))count++;if(qrCode.isDark(row+1,col))count++;if(qrCode.isDark(row,col+1))count++;if(qrCode.isDark(row+1,col+1))count++;if(count==0||count==4){lostPoint+=3;}}}
|
||||
for(var row=0;row<moduleCount;row++){for(var col=0;col<moduleCount-6;col++){if(qrCode.isDark(row,col)&&!qrCode.isDark(row,col+1)&&qrCode.isDark(row,col+2)&&qrCode.isDark(row,col+3)&&qrCode.isDark(row,col+4)&&!qrCode.isDark(row,col+5)&&qrCode.isDark(row,col+6)){lostPoint+=40;}}}
|
||||
for(var col=0;col<moduleCount;col++){for(var row=0;row<moduleCount-6;row++){if(qrCode.isDark(row,col)&&!qrCode.isDark(row+1,col)&&qrCode.isDark(row+2,col)&&qrCode.isDark(row+3,col)&&qrCode.isDark(row+4,col)&&!qrCode.isDark(row+5,col)&&qrCode.isDark(row+6,col)){lostPoint+=40;}}}
|
||||
var darkCount=0;for(var col=0;col<moduleCount;col++){for(var row=0;row<moduleCount;row++){if(qrCode.isDark(row,col)){darkCount++;}}}
|
||||
var ratio=Math.abs(100*darkCount/moduleCount/moduleCount-50)/5;lostPoint+=ratio*10;return lostPoint;}};var QRMath={glog:function(n){if(n<1){throw new Error("glog("+n+")");}
|
||||
return QRMath.LOG_TABLE[n];},gexp:function(n){while(n<0){n+=255;}
|
||||
while(n>=256){n-=255;}
|
||||
return QRMath.EXP_TABLE[n];},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)};for(var i=0;i<8;i++){QRMath.EXP_TABLE[i]=1<<i;}
|
||||
for(var i=8;i<256;i++){QRMath.EXP_TABLE[i]=QRMath.EXP_TABLE[i-4]^QRMath.EXP_TABLE[i-5]^QRMath.EXP_TABLE[i-6]^QRMath.EXP_TABLE[i-8];}
|
||||
for(var i=0;i<255;i++){QRMath.LOG_TABLE[QRMath.EXP_TABLE[i]]=i;}
|
||||
function QRPolynomial(num,shift){if(num.length==undefined){throw new Error(num.length+"/"+shift);}
|
||||
var offset=0;while(offset<num.length&&num[offset]==0){offset++;}
|
||||
this.num=new Array(num.length-offset+shift);for(var i=0;i<num.length-offset;i++){this.num[i]=num[i+offset];}}
|
||||
QRPolynomial.prototype={get:function(index){return this.num[index];},getLength:function(){return this.num.length;},multiply:function(e){var num=new Array(this.getLength()+e.getLength()-1);for(var i=0;i<this.getLength();i++){for(var j=0;j<e.getLength();j++){num[i+j]^=QRMath.gexp(QRMath.glog(this.get(i))+QRMath.glog(e.get(j)));}}
|
||||
return new QRPolynomial(num,0);},mod:function(e){if(this.getLength()-e.getLength()<0){return this;}
|
||||
var ratio=QRMath.glog(this.get(0))-QRMath.glog(e.get(0));var num=new Array(this.getLength());for(var i=0;i<this.getLength();i++){num[i]=this.get(i);}
|
||||
for(var i=0;i<e.getLength();i++){num[i]^=QRMath.gexp(QRMath.glog(e.get(i))+ratio);}
|
||||
return new QRPolynomial(num,0).mod(e);}};function QRRSBlock(totalCount,dataCount){this.totalCount=totalCount;this.dataCount=dataCount;}
|
||||
QRRSBlock.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];QRRSBlock.getRSBlocks=function(typeNumber,errorCorrectLevel){var rsBlock=QRRSBlock.getRsBlockTable(typeNumber,errorCorrectLevel);if(rsBlock==undefined){throw new Error("bad rs block @ typeNumber:"+typeNumber+"/errorCorrectLevel:"+errorCorrectLevel);}
|
||||
var length=rsBlock.length/3;var list=[];for(var i=0;i<length;i++){var count=rsBlock[i*3+0];var totalCount=rsBlock[i*3+1];var dataCount=rsBlock[i*3+2];for(var j=0;j<count;j++){list.push(new QRRSBlock(totalCount,dataCount));}}
|
||||
return list;};QRRSBlock.getRsBlockTable=function(typeNumber,errorCorrectLevel){switch(errorCorrectLevel){case QRErrorCorrectLevel.L:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+0];case QRErrorCorrectLevel.M:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+1];case QRErrorCorrectLevel.Q:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+2];case QRErrorCorrectLevel.H:return QRRSBlock.RS_BLOCK_TABLE[(typeNumber-1)*4+3];default:return undefined;}};function QRBitBuffer(){this.buffer=[];this.length=0;}
|
||||
QRBitBuffer.prototype={get:function(index){var bufIndex=Math.floor(index/8);return((this.buffer[bufIndex]>>>(7-index%8))&1)==1;},put:function(num,length){for(var i=0;i<length;i++){this.putBit(((num>>>(length-i-1))&1)==1);}},getLengthInBits:function(){return this.length;},putBit:function(bit){var bufIndex=Math.floor(this.length/8);if(this.buffer.length<=bufIndex){this.buffer.push(0);}
|
||||
if(bit){this.buffer[bufIndex]|=(0x80>>>(this.length%8));}
|
||||
this.length++;}};var QRCodeLimitLength=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];
|
||||
|
||||
function _isSupportCanvas() {
|
||||
return typeof CanvasRenderingContext2D != "undefined";
|
||||
}
|
||||
|
||||
// android 2.x doesn't support Data-URI spec
|
||||
function _getAndroid() {
|
||||
var android = false;
|
||||
var sAgent = navigator.userAgent;
|
||||
|
||||
if (/android/i.test(sAgent)) { // android
|
||||
android = true;
|
||||
var aMat = sAgent.toString().match(/android ([0-9]\.[0-9])/i);
|
||||
|
||||
if (aMat && aMat[1]) {
|
||||
android = parseFloat(aMat[1]);
|
||||
}
|
||||
}
|
||||
|
||||
return android;
|
||||
}
|
||||
|
||||
var svgDrawer = (function() {
|
||||
|
||||
var Drawing = function (el, htOption) {
|
||||
this._el = el;
|
||||
this._htOption = htOption;
|
||||
};
|
||||
|
||||
Drawing.prototype.draw = function (oQRCode) {
|
||||
var _htOption = this._htOption;
|
||||
var _el = this._el;
|
||||
var nCount = oQRCode.getModuleCount();
|
||||
var nWidth = Math.floor(_htOption.width / nCount);
|
||||
var nHeight = Math.floor(_htOption.height / nCount);
|
||||
|
||||
this.clear();
|
||||
|
||||
function makeSVG(tag, attrs) {
|
||||
var el = document.createElementNS('http://www.w3.org/2000/svg', tag);
|
||||
for (var k in attrs)
|
||||
if (attrs.hasOwnProperty(k)) el.setAttribute(k, attrs[k]);
|
||||
return el;
|
||||
}
|
||||
|
||||
var svg = makeSVG("svg" , {'viewBox': '0 0 ' + String(nCount) + " " + String(nCount), 'width': '100%', 'height': '100%', 'fill': _htOption.colorLight});
|
||||
svg.setAttributeNS("http://www.w3.org/2000/xmlns/", "xmlns:xlink", "http://www.w3.org/1999/xlink");
|
||||
_el.appendChild(svg);
|
||||
|
||||
svg.appendChild(makeSVG("rect", {"fill": _htOption.colorLight, "width": "100%", "height": "100%"}));
|
||||
svg.appendChild(makeSVG("rect", {"fill": _htOption.colorDark, "width": "1", "height": "1", "id": "template"}));
|
||||
|
||||
for (var row = 0; row < nCount; row++) {
|
||||
for (var col = 0; col < nCount; col++) {
|
||||
if (oQRCode.isDark(row, col)) {
|
||||
var child = makeSVG("use", {"x": String(col), "y": String(row)});
|
||||
child.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#template")
|
||||
svg.appendChild(child);
|
||||
}
|
||||
}
|
||||
}
|
||||
};
|
||||
Drawing.prototype.clear = function () {
|
||||
while (this._el.hasChildNodes())
|
||||
this._el.removeChild(this._el.lastChild);
|
||||
};
|
||||
return Drawing;
|
||||
})();
|
||||
|
||||
var useSVG = document.documentElement.tagName.toLowerCase() === "svg";
|
||||
|
||||
// Drawing in DOM by using Table tag
|
||||
var Drawing = useSVG ? svgDrawer : !_isSupportCanvas() ? (function () {
|
||||
var Drawing = function (el, htOption) {
|
||||
this._el = el;
|
||||
this._htOption = htOption;
|
||||
};
|
||||
|
||||
/**
|
||||
* Draw the QRCode
|
||||
*
|
||||
* @param {QRCode} oQRCode
|
||||
*/
|
||||
Drawing.prototype.draw = function (oQRCode) {
|
||||
var _htOption = this._htOption;
|
||||
var _el = this._el;
|
||||
var nCount = oQRCode.getModuleCount();
|
||||
var nWidth = Math.floor(_htOption.width / nCount);
|
||||
var nHeight = Math.floor(_htOption.height / nCount);
|
||||
var aHTML = ['<table style="border:0;border-collapse:collapse;">'];
|
||||
|
||||
for (var row = 0; row < nCount; row++) {
|
||||
aHTML.push('<tr>');
|
||||
|
||||
for (var col = 0; col < nCount; col++) {
|
||||
aHTML.push('<td style="border:0;border-collapse:collapse;padding:0;margin:0;width:' + nWidth + 'px;height:' + nHeight + 'px;background-color:' + (oQRCode.isDark(row, col) ? _htOption.colorDark : _htOption.colorLight) + ';"></td>');
|
||||
}
|
||||
|
||||
aHTML.push('</tr>');
|
||||
}
|
||||
|
||||
aHTML.push('</table>');
|
||||
_el.innerHTML = aHTML.join('');
|
||||
|
||||
// Fix the margin values as real size.
|
||||
var elTable = _el.childNodes[0];
|
||||
var nLeftMarginTable = (_htOption.width - elTable.offsetWidth) / 2;
|
||||
var nTopMarginTable = (_htOption.height - elTable.offsetHeight) / 2;
|
||||
|
||||
if (nLeftMarginTable > 0 && nTopMarginTable > 0) {
|
||||
elTable.style.margin = nTopMarginTable + "px " + nLeftMarginTable + "px";
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Clear the QRCode
|
||||
*/
|
||||
Drawing.prototype.clear = function () {
|
||||
this._el.innerHTML = '';
|
||||
};
|
||||
|
||||
return Drawing;
|
||||
})() : (function () { // Drawing in Canvas
|
||||
function _onMakeImage() {
|
||||
this._elImage.src = this._elCanvas.toDataURL("image/png");
|
||||
this._elImage.style.display = "block";
|
||||
this._elCanvas.style.display = "none";
|
||||
}
|
||||
|
||||
// Android 2.1 bug workaround
|
||||
// http://code.google.com/p/android/issues/detail?id=5141
|
||||
if (this._android && this._android <= 2.1) {
|
||||
var factor = 1 / window.devicePixelRatio;
|
||||
var drawImage = CanvasRenderingContext2D.prototype.drawImage;
|
||||
CanvasRenderingContext2D.prototype.drawImage = function (image, sx, sy, sw, sh, dx, dy, dw, dh) {
|
||||
if (("nodeName" in image) && /img/i.test(image.nodeName)) {
|
||||
for (var i = arguments.length - 1; i >= 1; i--) {
|
||||
arguments[i] = arguments[i] * factor;
|
||||
}
|
||||
} else if (typeof dw == "undefined") {
|
||||
arguments[1] *= factor;
|
||||
arguments[2] *= factor;
|
||||
arguments[3] *= factor;
|
||||
arguments[4] *= factor;
|
||||
}
|
||||
|
||||
drawImage.apply(this, arguments);
|
||||
};
|
||||
}
|
||||
|
||||
/**
|
||||
* Check whether the user's browser supports Data URI or not
|
||||
*
|
||||
* @private
|
||||
* @param {Function} fSuccess Occurs if it supports Data URI
|
||||
* @param {Function} fFail Occurs if it doesn't support Data URI
|
||||
*/
|
||||
function _safeSetDataURI(fSuccess, fFail) {
|
||||
var self = this;
|
||||
self._fFail = fFail;
|
||||
self._fSuccess = fSuccess;
|
||||
|
||||
// Check it just once
|
||||
if (self._bSupportDataURI === null) {
|
||||
var el = document.createElement("img");
|
||||
var fOnError = function() {
|
||||
self._bSupportDataURI = false;
|
||||
|
||||
if (self._fFail) {
|
||||
self._fFail.call(self);
|
||||
}
|
||||
};
|
||||
var fOnSuccess = function() {
|
||||
self._bSupportDataURI = true;
|
||||
|
||||
if (self._fSuccess) {
|
||||
self._fSuccess.call(self);
|
||||
}
|
||||
};
|
||||
|
||||
el.onabort = fOnError;
|
||||
el.onerror = fOnError;
|
||||
el.onload = fOnSuccess;
|
||||
el.src = "data:image/gif;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg=="; // the Image contains 1px data.
|
||||
return;
|
||||
} else if (self._bSupportDataURI === true && self._fSuccess) {
|
||||
self._fSuccess.call(self);
|
||||
} else if (self._bSupportDataURI === false && self._fFail) {
|
||||
self._fFail.call(self);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Drawing QRCode by using canvas
|
||||
*
|
||||
* @constructor
|
||||
* @param {HTMLElement} el
|
||||
* @param {Object} htOption QRCode Options
|
||||
*/
|
||||
var Drawing = function (el, htOption) {
|
||||
this._bIsPainted = false;
|
||||
this._android = _getAndroid();
|
||||
|
||||
this._htOption = htOption;
|
||||
this._elCanvas = document.createElement("canvas");
|
||||
this._elCanvas.width = htOption.width;
|
||||
this._elCanvas.height = htOption.height;
|
||||
el.appendChild(this._elCanvas);
|
||||
this._el = el;
|
||||
this._oContext = this._elCanvas.getContext("2d");
|
||||
this._bIsPainted = false;
|
||||
this._elImage = document.createElement("img");
|
||||
this._elImage.alt = "Scan me!";
|
||||
this._elImage.style.display = "none";
|
||||
this._el.appendChild(this._elImage);
|
||||
this._bSupportDataURI = null;
|
||||
};
|
||||
|
||||
/**
|
||||
* Draw the QRCode
|
||||
*
|
||||
* @param {QRCode} oQRCode
|
||||
*/
|
||||
Drawing.prototype.draw = function (oQRCode) {
|
||||
var _elImage = this._elImage;
|
||||
var _oContext = this._oContext;
|
||||
var _htOption = this._htOption;
|
||||
|
||||
var nCount = oQRCode.getModuleCount();
|
||||
var nWidth = _htOption.width / nCount;
|
||||
var nHeight = _htOption.height / nCount;
|
||||
var nRoundedWidth = Math.round(nWidth);
|
||||
var nRoundedHeight = Math.round(nHeight);
|
||||
|
||||
_elImage.style.display = "none";
|
||||
this.clear();
|
||||
|
||||
for (var row = 0; row < nCount; row++) {
|
||||
for (var col = 0; col < nCount; col++) {
|
||||
var bIsDark = oQRCode.isDark(row, col);
|
||||
var nLeft = col * nWidth;
|
||||
var nTop = row * nHeight;
|
||||
_oContext.strokeStyle = bIsDark ? _htOption.colorDark : _htOption.colorLight;
|
||||
_oContext.lineWidth = 1;
|
||||
_oContext.fillStyle = bIsDark ? _htOption.colorDark : _htOption.colorLight;
|
||||
_oContext.fillRect(nLeft, nTop, nWidth, nHeight);
|
||||
|
||||
// 안티 앨리어싱 방지 처리
|
||||
_oContext.strokeRect(
|
||||
Math.floor(nLeft) + 0.5,
|
||||
Math.floor(nTop) + 0.5,
|
||||
nRoundedWidth,
|
||||
nRoundedHeight
|
||||
);
|
||||
|
||||
_oContext.strokeRect(
|
||||
Math.ceil(nLeft) - 0.5,
|
||||
Math.ceil(nTop) - 0.5,
|
||||
nRoundedWidth,
|
||||
nRoundedHeight
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
this._bIsPainted = true;
|
||||
};
|
||||
|
||||
/**
|
||||
* Make the image from Canvas if the browser supports Data URI.
|
||||
*/
|
||||
Drawing.prototype.makeImage = function () {
|
||||
if (this._bIsPainted) {
|
||||
_safeSetDataURI.call(this, _onMakeImage);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Return whether the QRCode is painted or not
|
||||
*
|
||||
* @return {Boolean}
|
||||
*/
|
||||
Drawing.prototype.isPainted = function () {
|
||||
return this._bIsPainted;
|
||||
};
|
||||
|
||||
/**
|
||||
* Clear the QRCode
|
||||
*/
|
||||
Drawing.prototype.clear = function () {
|
||||
this._oContext.clearRect(0, 0, this._elCanvas.width, this._elCanvas.height);
|
||||
this._bIsPainted = false;
|
||||
};
|
||||
|
||||
/**
|
||||
* @private
|
||||
* @param {Number} nNumber
|
||||
*/
|
||||
Drawing.prototype.round = function (nNumber) {
|
||||
if (!nNumber) {
|
||||
return nNumber;
|
||||
}
|
||||
|
||||
return Math.floor(nNumber * 1000) / 1000;
|
||||
};
|
||||
|
||||
return Drawing;
|
||||
})();
|
||||
|
||||
/**
|
||||
* Get the type by string length
|
||||
*
|
||||
* @private
|
||||
* @param {String} sText
|
||||
* @param {Number} nCorrectLevel
|
||||
* @return {Number} type
|
||||
*/
|
||||
function _getTypeNumber(sText, nCorrectLevel) {
|
||||
var nType = 1;
|
||||
var length = _getUTF8Length(sText);
|
||||
|
||||
for (var i = 0, len = QRCodeLimitLength.length; i <= len; i++) {
|
||||
var nLimit = 0;
|
||||
|
||||
switch (nCorrectLevel) {
|
||||
case QRErrorCorrectLevel.L :
|
||||
nLimit = QRCodeLimitLength[i][0];
|
||||
break;
|
||||
case QRErrorCorrectLevel.M :
|
||||
nLimit = QRCodeLimitLength[i][1];
|
||||
break;
|
||||
case QRErrorCorrectLevel.Q :
|
||||
nLimit = QRCodeLimitLength[i][2];
|
||||
break;
|
||||
case QRErrorCorrectLevel.H :
|
||||
nLimit = QRCodeLimitLength[i][3];
|
||||
break;
|
||||
}
|
||||
|
||||
if (length <= nLimit) {
|
||||
break;
|
||||
} else {
|
||||
nType++;
|
||||
}
|
||||
}
|
||||
|
||||
if (nType > QRCodeLimitLength.length) {
|
||||
throw new Error("Too long data");
|
||||
}
|
||||
|
||||
return nType;
|
||||
}
|
||||
|
||||
function _getUTF8Length(sText) {
|
||||
var replacedText = encodeURI(sText).toString().replace(/\%[0-9a-fA-F]{2}/g, 'a');
|
||||
return replacedText.length + (replacedText.length != sText ? 3 : 0);
|
||||
}
|
||||
|
||||
/**
|
||||
* @class QRCode
|
||||
* @constructor
|
||||
* @example
|
||||
* new QRCode(document.getElementById("test"), "http://jindo.dev.naver.com/collie");
|
||||
*
|
||||
* @example
|
||||
* var oQRCode = new QRCode("test", {
|
||||
* text : "http://naver.com",
|
||||
* width : 128,
|
||||
* height : 128
|
||||
* });
|
||||
*
|
||||
* oQRCode.clear(); // Clear the QRCode.
|
||||
* oQRCode.makeCode("http://map.naver.com"); // Re-create the QRCode.
|
||||
*
|
||||
* @param {HTMLElement|String} el target element or 'id' attribute of element.
|
||||
* @param {Object|String} vOption
|
||||
* @param {String} vOption.text QRCode link data
|
||||
* @param {Number} [vOption.width=256]
|
||||
* @param {Number} [vOption.height=256]
|
||||
* @param {String} [vOption.colorDark="#000000"]
|
||||
* @param {String} [vOption.colorLight="#ffffff"]
|
||||
* @param {QRCode.CorrectLevel} [vOption.correctLevel=QRCode.CorrectLevel.H] [L|M|Q|H]
|
||||
*/
|
||||
QRCode = function (el, vOption) {
|
||||
this._htOption = {
|
||||
width : 256,
|
||||
height : 256,
|
||||
typeNumber : 4,
|
||||
colorDark : "#000000",
|
||||
colorLight : "#ffffff",
|
||||
correctLevel : QRErrorCorrectLevel.H
|
||||
};
|
||||
|
||||
if (typeof vOption === 'string') {
|
||||
vOption = {
|
||||
text : vOption
|
||||
};
|
||||
}
|
||||
|
||||
// Overwrites options
|
||||
if (vOption) {
|
||||
for (var i in vOption) {
|
||||
this._htOption[i] = vOption[i];
|
||||
}
|
||||
}
|
||||
|
||||
if (typeof el == "string") {
|
||||
el = document.getElementById(el);
|
||||
}
|
||||
|
||||
if (this._htOption.useSVG) {
|
||||
Drawing = svgDrawer;
|
||||
}
|
||||
|
||||
this._android = _getAndroid();
|
||||
this._el = el;
|
||||
this._oQRCode = null;
|
||||
this._oDrawing = new Drawing(this._el, this._htOption);
|
||||
|
||||
if (this._htOption.text) {
|
||||
this.makeCode(this._htOption.text);
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Make the QRCode
|
||||
*
|
||||
* @param {String} sText link data
|
||||
*/
|
||||
QRCode.prototype.makeCode = function (sText) {
|
||||
this._oQRCode = new QRCodeModel(_getTypeNumber(sText, this._htOption.correctLevel), this._htOption.correctLevel);
|
||||
this._oQRCode.addData(sText);
|
||||
this._oQRCode.make();
|
||||
this._el.title = sText;
|
||||
this._oDrawing.draw(this._oQRCode);
|
||||
this.makeImage();
|
||||
};
|
||||
|
||||
/**
|
||||
* Make the Image from Canvas element
|
||||
* - It occurs automatically
|
||||
* - Android below 3 doesn't support Data-URI spec.
|
||||
*
|
||||
* @private
|
||||
*/
|
||||
QRCode.prototype.makeImage = function () {
|
||||
if (typeof this._oDrawing.makeImage == "function" && (!this._android || this._android >= 3)) {
|
||||
this._oDrawing.makeImage();
|
||||
}
|
||||
};
|
||||
|
||||
/**
|
||||
* Clear the QRCode
|
||||
*/
|
||||
QRCode.prototype.clear = function () {
|
||||
this._oDrawing.clear();
|
||||
};
|
||||
|
||||
/**
|
||||
* @name QRCode.CorrectLevel
|
||||
*/
|
||||
QRCode.CorrectLevel = QRErrorCorrectLevel;
|
||||
|
||||
if (typeof define === 'function') {
|
||||
define(function() {
|
||||
return QRCode;
|
||||
});
|
||||
} else if (typeof exports !== 'undefined') {
|
||||
module.exports = QRCode;
|
||||
} else {
|
||||
this.QRCode = QRCode;
|
||||
}
|
||||
}());
|
||||
|
|
@ -0,0 +1,106 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="../css/01.css">
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background">
|
||||
|
||||
<div class="column_01 text-center">
|
||||
<div class="return_Arrow">
|
||||
<a href="../index.html">
|
||||
<img src="../image/zuojiantou.png">
|
||||
</a>
|
||||
</div>
|
||||
矿产资源精深加工
|
||||
</div>
|
||||
|
||||
<div class="input_01">
|
||||
<div class="input-group input-group-sm">
|
||||
<input type="text" id="categories" class="form-control" value="" placeholder="请输入项目名或地址">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="container-02" style="width: 100%;height: 88%;">
|
||||
<div style="height: 100%;overflow-y:scroll;">
|
||||
<table id="details" class="table table-hover">
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
<script src="../js/jquery.js"></script>
|
||||
<script>
|
||||
$('#categories').bind('input propertychange', function() {
|
||||
var insertVal = $(this).val();
|
||||
$("#details tr").each(function(){
|
||||
var paraStr = $(this).children().children().html();
|
||||
if(paraStr.indexOf(insertVal)<0){
|
||||
$(this).hide();
|
||||
}else{
|
||||
$(this).show();
|
||||
}
|
||||
})
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
|
||||
var token = '';
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/token/test/6fc1c885-3aac-4489-95f0-7b6923622743',
|
||||
dataType: 'xml',
|
||||
success: function(data) {
|
||||
$(data).find('UserToken').each(function() {
|
||||
var id = $(this).find('id').text();
|
||||
token = id;
|
||||
});
|
||||
console.log(token + ' 获取到token')
|
||||
},
|
||||
error: function() {
|
||||
console.log('Error loading XML document');
|
||||
}
|
||||
}).done(function() {
|
||||
if (token !== '') {
|
||||
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/dee/task/getMineral',
|
||||
dataType: 'xml',
|
||||
data: {token: token},
|
||||
success: function(data) {
|
||||
$(data).find('row').each(function() {
|
||||
var xiangmumingchen = $(this).find('FIELD0001').text();
|
||||
var ID = $(this).find('ID').text();
|
||||
var row = `<tr data-id="${ID}">
|
||||
<td data-label="项目名称">${xiangmumingchen}</td>
|
||||
</tr>`;
|
||||
$('#details').append(row);
|
||||
});
|
||||
|
||||
|
||||
$('#details tr').on('click', function() {
|
||||
|
||||
var id = $(this).data('id');
|
||||
|
||||
window.document.location = 'show-kc.html?id=' + id;
|
||||
});
|
||||
},
|
||||
error: function(xhr, textStatus, errorThrown) {
|
||||
|
||||
console.error(xhr.status + ": " + errorThrown);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,238 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="../css/01.css">
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
<script src="../js/jquery.js"></script>
|
||||
<script type="text/javascript" src="../js/qrcode.js"></script>
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background">
|
||||
|
||||
<div class="column_01 fw-bold text-center text-truncate">
|
||||
<div class="return_Arrow">
|
||||
<a href="../kc/list.html">
|
||||
<img src="../image/zuojiantou.png">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="background:linear-gradient(45deg,#81acec,skyblue,#fff);height: 95%;">
|
||||
<div style="height: 100%;overflow-y:scroll;padding:0 32px;">
|
||||
<div id="neirong" style="font-size: 16px; line-height: 30px; margin-top: 20px; margin-bottom: 20px;"></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var id = new URLSearchParams(window.location.search).get('id');
|
||||
var token = '';
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/token/test/6fc1c885-3aac-4489-95f0-7b6923622743',
|
||||
dataType: 'xml',
|
||||
success: function(data) {
|
||||
$(data).find('UserToken').each(function() {
|
||||
token = $(this).find('id').text();
|
||||
});
|
||||
},
|
||||
error: function() {
|
||||
console.log('Error loading XML document');
|
||||
}
|
||||
}).done(function() {
|
||||
if (token !== '') {
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/dee/task/getMineral',
|
||||
dataType: 'xml',
|
||||
data: {
|
||||
token: token,
|
||||
id: id
|
||||
},
|
||||
success: function(data) {
|
||||
$(data).find('row').each(function() {
|
||||
var ID = $(this).find('ID').text();
|
||||
if (id === ID) {
|
||||
var xmmctitle = $(this).find('FIELD0001').text();
|
||||
var row1=`${xmmctitle}`
|
||||
$('.column_01').append(row1);
|
||||
var xmmc = $(this).find('FIELD0001').text();
|
||||
var hylb = $(this).find('FIELD0046').text();
|
||||
var cylb = $(this).find('FIELD0047').text();
|
||||
var jsxz = $(this).find('FIELD0048').text();
|
||||
var hzfs = $(this).find('FIELD0049').text();
|
||||
var jstj = $(this).find('FIELD0006').text();
|
||||
var cytj = $(this).find('FIELD0007').text();
|
||||
var scqjyc = $(this).find('FIELD0008').text();
|
||||
var xmxzjgm = $(this).find('FIELD0009').text();
|
||||
var zdmj = $(this).find('FIELD0010').text();
|
||||
var jzmj = $(this).find('FIELD0011').text();
|
||||
var qksm = $(this).find('FIELD0012').text();
|
||||
var xmjslr = $(this).find('FIELD0013').text();
|
||||
var ztze = $(this).find('FIELD0014').text();
|
||||
var yzje = $(this).find('FIELD0015').text();
|
||||
var tzhsq = $(this).find('FIELD0017').text();
|
||||
var nyysr = $(this).find('FIELD0018').text();
|
||||
var nll = $(this).find('FIELD0019').text();
|
||||
var tzlrl = $(this).find('FIELD0020').text();
|
||||
var yhzcjfctj = $(this).find('FIELD0022').text();
|
||||
var yzdwmc = $(this).find('FIELD0032').text();
|
||||
var yzdwdz = $(this).find('FIELD0033').text();
|
||||
var yzdwyb = $(this).find('FIELD0035').text();
|
||||
var yzdwlxr = $(this).find('FIELD0035').text();
|
||||
var yzdwzj = $(this).find('FIELD0036').text();
|
||||
var yzdwsj = $(this).find('FIELD0037').text();
|
||||
var row = `
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目名称:</span>
|
||||
<span>${xmmc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">行业类别:</span>
|
||||
<span>${hylb}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">产业类别:</span>
|
||||
<span>${cylb}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">建设性质:</span>
|
||||
<span>${jsxz}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">合作方式:</span>
|
||||
<span>${hzfs}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">建设条件:</span>
|
||||
<span>${jstj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">产业条件:</span>
|
||||
<span>${cytj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">市场前景预测:</span>
|
||||
<span>${scqjyc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目选址及规模:</span>
|
||||
<span>${xmxzjgm}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目建设内容:</span>
|
||||
<span>${xmjslr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">总投资额:</span>
|
||||
<span>${ztze}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">引资金额:</span>
|
||||
<span>${yzje}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">投资回收期:</span>
|
||||
<span>${tzhsq}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">年营业收入:</span>
|
||||
<span>${nyysr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">年利润:</span>
|
||||
<span>${nll}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">投资利润率:</span>
|
||||
<span>${tzlrl}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">优惠政策及扶持条件:</span>
|
||||
<span>${yhzcjfctj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位名称:</span>
|
||||
<span>${yzdwmc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位地址:</span>
|
||||
<span>${yzdwdz}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位联系人:</span>
|
||||
<span>${yzdwlxr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位座机:</span>
|
||||
<span>${yzdwzj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位手机:</span>
|
||||
<span>${yzdwsj}</span>
|
||||
</p>
|
||||
<div style="height: 40%;background-image: url(../image/download.png);background-size: cover;width: 100%;">
|
||||
<!--左放二维码-->
|
||||
<div style="width: 40%;float: left;height: 100%;">
|
||||
<div id="codeDiv" class="erweima">
|
||||
<div id="qrcode"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!--右放信息-->
|
||||
<div style="width:60%;float: right;overflow: hidden;">
|
||||
<!--文本-->
|
||||
<div class="text_0" style="margin-top: 30px;margin-left: 20px;">
|
||||
<h5 class="text_01">黔东南州投资促进局</h5>
|
||||
<p class="text_01">招商热线:4008-799399</p>
|
||||
<p class="text_01">http://tzcj.qdn.gov.cn</p>
|
||||
<div class="erweima_02">
|
||||
<img src="../image/1679366979689.jpg">
|
||||
</div>
|
||||
<p class="text_01" style="font-size: small;">长按二维码关注公众号</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
$('#neirong').append(row);
|
||||
}
|
||||
})
|
||||
},
|
||||
error: function(xhr, status, error) {
|
||||
console.error(error);
|
||||
}
|
||||
});
|
||||
}
|
||||
})
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
if (id) {
|
||||
setTimeout(function() {
|
||||
var qrcode = new QRCode("qrcode", {
|
||||
text:'https://zwy.guizhoujc.com/inc/xmtzk/kc/show-kc.html?id=' + id,
|
||||
render: "canvas",
|
||||
width: 128,
|
||||
height: 128,
|
||||
typeNumber: -1,
|
||||
colorDark: "#000000",
|
||||
colorLight: "#ffffff",
|
||||
correctLevel: QRCode.CorrectLevel.H
|
||||
});
|
||||
}, 1000);
|
||||
} else {
|
||||
console.log("id is not defined");
|
||||
}
|
||||
});
|
||||
function convertCanvasToImage(canvas) {
|
||||
var image = new Image();
|
||||
image.src = canvas.toDataURL("image/png");
|
||||
return image;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,99 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="../css/01.css">
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background">
|
||||
|
||||
<div class="column_01 text-center">
|
||||
<div class="return_Arrow">
|
||||
<a href="../index.html">
|
||||
<img src="../image/zuojiantou.png">
|
||||
</a>
|
||||
</div>
|
||||
木材加工及家具制造
|
||||
</div>
|
||||
|
||||
<div class="input_01">
|
||||
<div class="input-group input-group-sm">
|
||||
<input type="text" id="categories" class="form-control" value="" placeholder="请输入项目名或地址">
|
||||
</div>
|
||||
</div>
|
||||
<div class="container-02" style="width: 100%;height: 88%;">
|
||||
<div style="height: 100%;overflow-y:scroll;">
|
||||
<table id="details" class="table table-hover">
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
<script src="../js/jquery.js"></script>
|
||||
<script>
|
||||
$('#categories').bind('input propertychange', function() {
|
||||
var insertVal = $(this).val();
|
||||
$("#details tr").each(function(){
|
||||
var paraStr = $(this).children().children().html();
|
||||
if(paraStr.indexOf(insertVal)<0){
|
||||
$(this).hide();
|
||||
}else{
|
||||
$(this).show();
|
||||
}
|
||||
})
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
|
||||
var token = '';
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/token/test/6fc1c885-3aac-4489-95f0-7b6923622743',
|
||||
dataType: 'xml',
|
||||
success: function(data) {
|
||||
$(data).find('UserToken').each(function() {
|
||||
var id = $(this).find('id').text();
|
||||
token = id;
|
||||
});
|
||||
},
|
||||
error: function() {
|
||||
console.log('Error loading XML document');
|
||||
}
|
||||
}).done(function() {
|
||||
if (token !== '') {
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/dee/task/getTimber',
|
||||
dataType: 'xml',
|
||||
data: {token: token},
|
||||
success: function(data) {
|
||||
console.log(data)
|
||||
$(data).find('row').each(function() {
|
||||
var xiangmumingchen = $(this).find('FIELD0001').text();
|
||||
var ID = $(this).find('ID').text();
|
||||
var row = `<tr data-id="${ID}">
|
||||
<td data-label="项目名称">${xiangmumingchen}</td>
|
||||
</tr>`;
|
||||
$('#details').append(row);
|
||||
});
|
||||
$('#details tr').on('click', function() {
|
||||
var id = $(this).data('id');
|
||||
window.document.location = 'show-mc.html?id=' + id;
|
||||
});
|
||||
},
|
||||
error: function(xhr, textStatus, errorThrown) {
|
||||
console.error(xhr.status + ": " + errorThrown);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,240 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="../css/01.css">
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
<script src="../js/jquery.js"></script>
|
||||
<script type="text/javascript" src="../js/qrcode.js"></script>
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background">
|
||||
|
||||
<div class="column_01 fw-bold text-center text-truncate">
|
||||
<div class="return_Arrow">
|
||||
<a href="../mc/list.html">
|
||||
<img src="../image/zuojiantou.png">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="background:linear-gradient(45deg,#81acec,skyblue,#fff);height: 95%;">
|
||||
<div style="height: 100%;overflow-y:scroll;padding:0 32px;">
|
||||
<div id="neirong" style="font-size: 16px; line-height: 30px; margin-top: 20px; margin-bottom: 20px;"></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var id = new URLSearchParams(window.location.search).get('id');
|
||||
var token = '';
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/token/test/6fc1c885-3aac-4489-95f0-7b6923622743',
|
||||
dataType: 'xml',
|
||||
success: function(data) {
|
||||
$(data).find('UserToken').each(function() {
|
||||
token = $(this).find('id').text();
|
||||
});
|
||||
},
|
||||
error: function() {
|
||||
console.log('Error loading XML document');
|
||||
}
|
||||
}).done(function() {
|
||||
if (token !== '') {
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/dee/task/getTimber',
|
||||
dataType: 'xml',
|
||||
data: {
|
||||
token: token,
|
||||
id: id
|
||||
},
|
||||
success: function(data) {
|
||||
|
||||
console.log(data);
|
||||
$(data).find('row').each(function() {
|
||||
var ID = $(this).find('ID').text();
|
||||
if (id === ID) {
|
||||
var xmmctitle = $(this).find('FIELD0001').text();
|
||||
var row1=`${xmmctitle}`
|
||||
$('.column_01').append(row1);
|
||||
var xmmc = $(this).find('FIELD0001').text();
|
||||
var hylb = $(this).find('FIELD0046').text();
|
||||
var cylb = $(this).find('FIELD0047').text();
|
||||
var jsxz = $(this).find('FIELD0048').text();
|
||||
var hzfs = $(this).find('FIELD0049').text();
|
||||
var jstj = $(this).find('FIELD0006').text();
|
||||
var cytj = $(this).find('FIELD0007').text();
|
||||
var scqjyc = $(this).find('FIELD0008').text();
|
||||
var xmxzjgm = $(this).find('FIELD0009').text();
|
||||
var zdmj = $(this).find('FIELD0010').text();
|
||||
var jzmj = $(this).find('FIELD0011').text();
|
||||
var qksm = $(this).find('FIELD0012').text();
|
||||
var xmjslr = $(this).find('FIELD0013').text();
|
||||
var ztze = $(this).find('FIELD0014').text();
|
||||
var yzje = $(this).find('FIELD0015').text();
|
||||
var tzhsq = $(this).find('FIELD0017').text();
|
||||
var nyysr = $(this).find('FIELD0018').text();
|
||||
var nll = $(this).find('FIELD0019').text();
|
||||
var tzlrl = $(this).find('FIELD0020').text();
|
||||
var yhzcjfctj = $(this).find('FIELD0022').text();
|
||||
var yzdwmc = $(this).find('FIELD0032').text();
|
||||
var yzdwdz = $(this).find('FIELD0033').text();
|
||||
var yzdwyb = $(this).find('FIELD0035').text();
|
||||
var yzdwlxr = $(this).find('FIELD0035').text();
|
||||
var yzdwzj = $(this).find('FIELD0036').text();
|
||||
var yzdwsj = $(this).find('FIELD0037').text();
|
||||
var row = `
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目名称:</span>
|
||||
<span>${xmmc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">行业类别:</span>
|
||||
<span>${hylb}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">产业类别:</span>
|
||||
<span>${cylb}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">建设性质:</span>
|
||||
<span>${jsxz}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">合作方式:</span>
|
||||
<span>${hzfs}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">建设条件:</span>
|
||||
<span>${jstj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">产业条件:</span>
|
||||
<span>${cytj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">市场前景预测:</span>
|
||||
<span>${scqjyc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目选址及规模:</span>
|
||||
<span>${xmxzjgm}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目建设内容:</span>
|
||||
<span>${xmjslr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">总投资额:</span>
|
||||
<span>${ztze}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">引资金额:</span>
|
||||
<span>${yzje}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">投资回收期:</span>
|
||||
<span>${tzhsq}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">年营业收入:</span>
|
||||
<span>${nyysr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">年利润:</span>
|
||||
<span>${nll}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">投资利润率:</span>
|
||||
<span>${tzlrl}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">优惠政策及扶持条件:</span>
|
||||
<span>${yhzcjfctj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位名称:</span>
|
||||
<span>${yzdwmc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位地址:</span>
|
||||
<span>${yzdwdz}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位联系人:</span>
|
||||
<span>${yzdwlxr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位座机:</span>
|
||||
<span>${yzdwzj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位手机:</span>
|
||||
<span>${yzdwsj}</span>
|
||||
</p>
|
||||
<div style="height: 40%;background-image: url(../image/download.png);background-size: cover;width: 100%;">
|
||||
<!--左放二维码-->
|
||||
<div style="width: 40%;float: left;height: 100%;">
|
||||
<div id="codeDiv" class="erweima">
|
||||
<div id="qrcode"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!--右放信息-->
|
||||
<div style="width:60%;float: right;overflow: hidden;">
|
||||
<!--文本-->
|
||||
<div class="text_0" style="margin-top: 30px;margin-left: 20px;">
|
||||
<h5 class="text_01">黔东南州投资促进局</h5>
|
||||
<p class="text_01">招商热线:4008-799399</p>
|
||||
<p class="text_01">http://tzcj.qdn.gov.cn</p>
|
||||
<div class="erweima_02">
|
||||
<img src="../image/1679366979689.jpg">
|
||||
</div>
|
||||
<p class="text_01" style="font-size: small;">长按二维码关注公众号</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
$('#neirong').append(row);
|
||||
}
|
||||
})
|
||||
},
|
||||
error: function(xhr, status, error) {
|
||||
console.error(error);
|
||||
}
|
||||
});
|
||||
}
|
||||
})
|
||||
|
||||
$(document).ready(function() {
|
||||
|
||||
if (id) {
|
||||
setTimeout(function() {
|
||||
var qrcode = new QRCode("qrcode", {
|
||||
text:'https://zwy.guizhoujc.com/inc/xmtzk/mc/show-mc.html?id=' + id,
|
||||
render: "canvas",
|
||||
width: 128,
|
||||
height: 128,
|
||||
typeNumber: -1,
|
||||
colorDark: "#000000",
|
||||
colorLight: "#ffffff",
|
||||
correctLevel: QRCode.CorrectLevel.H
|
||||
});
|
||||
}, 1000);
|
||||
} else {
|
||||
console.log("id is not defined");
|
||||
}
|
||||
});
|
||||
function convertCanvasToImage(canvas) {
|
||||
var image = new Image();
|
||||
image.src = canvas.toDataURL("image/png");
|
||||
return image;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,100 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="../css/01.css">
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background">
|
||||
<!--返回箭头-->
|
||||
<div class="column_01 text-center">
|
||||
<div class="return_Arrow">
|
||||
<a href="../index.html">
|
||||
<img src="../image/zuojiantou.png">
|
||||
</a>
|
||||
</div>
|
||||
其它N个产业
|
||||
</div>
|
||||
<!--输入框-->
|
||||
<div class="input_01">
|
||||
<div class="input-group input-group-sm">
|
||||
<input type="text" id="categories" class="form-control" value="" placeholder="请输入项目名或地址">
|
||||
</div>
|
||||
</div>
|
||||
<!--内容框-->
|
||||
<div class="container-02" style="width: 100%;height: 88%;">
|
||||
<div style="height: 100%;overflow-y:scroll;">
|
||||
<table id="details" class="table table-hover">
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
<script src="../js/jquery.js"></script>
|
||||
<script>
|
||||
$('#categories').bind('input propertychange', function() {
|
||||
var insertVal = $(this).val();//手动输入的字符串;
|
||||
$("#details tr").each(function(){
|
||||
var paraStr = $(this).children().children().html();
|
||||
if(paraStr.indexOf(insertVal)<0){//不包含
|
||||
$(this).hide();
|
||||
}else{//包含
|
||||
$(this).show();
|
||||
}
|
||||
})
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
var token = '';
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/token/test/6fc1c885-3aac-4489-95f0-7b6923622743',
|
||||
dataType: 'xml',
|
||||
success: function(data) {
|
||||
$(data).find('UserToken').each(function() {
|
||||
var id = $(this).find('id').text();
|
||||
token = id;
|
||||
});
|
||||
console.log(token + ' 获取到token')
|
||||
},
|
||||
error: function() {
|
||||
console.log('Error loading XML document');
|
||||
}
|
||||
}).done(function() {
|
||||
if (token !== '') {
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/dee/task/getOther',
|
||||
dataType: 'xml',
|
||||
data: {token: token},
|
||||
success: function(data) {
|
||||
console.log(data)
|
||||
$(data).find('row').each(function() {
|
||||
var xiangmumingchen = $(this).find('FIELD0001').text();
|
||||
var ID = $(this).find('ID').text();
|
||||
var row = `<tr data-id="${ID}">
|
||||
<td data-label="项目名称">${xiangmumingchen}</td>
|
||||
</tr>`;
|
||||
$('#details').append(row);
|
||||
});
|
||||
$('#details tr').on('click', function() {
|
||||
var id = $(this).data('id');
|
||||
window.document.location = 'show-qt.html?id=' + id;
|
||||
});
|
||||
},
|
||||
error: function(xhr, textStatus, errorThrown) {
|
||||
console.error(xhr.status + ": " + errorThrown);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,239 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="../css/01.css">
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
<script src="../js/jquery.js"></script>
|
||||
<script type="text/javascript" src="../js/qrcode.js"></script>
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background">
|
||||
<div class="column_01 fw-bold text-center text-truncate">
|
||||
<div class="return_Arrow">
|
||||
<a href="../qt/list.html">
|
||||
<img src="../image/zuojiantou.png">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div style="background:linear-gradient(45deg,#81acec,skyblue,#fff);height: 95%;">
|
||||
<div style="height: 100%;overflow-y:scroll;padding:0 32px;">
|
||||
<div id="neirong" style="font-size: 16px; line-height: 30px; margin-top: 20px; margin-bottom: 20px;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
|
||||
var id = new URLSearchParams(window.location.search).get('id');
|
||||
console.log(id);
|
||||
|
||||
var token = '';
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/token/test/6fc1c885-3aac-4489-95f0-7b6923622743',
|
||||
dataType: 'xml',
|
||||
success: function(data) {
|
||||
$(data).find('UserToken').each(function() {
|
||||
token = $(this).find('id').text();
|
||||
});
|
||||
},
|
||||
error: function() {
|
||||
console.log('Error loading XML document');
|
||||
}
|
||||
}).done(function() {
|
||||
if (token !== '') {
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/dee/task/getOther',
|
||||
dataType: 'xml',
|
||||
data: {
|
||||
token: token,
|
||||
id: id
|
||||
},
|
||||
success: function(data) {
|
||||
$(data).find('row').each(function() {
|
||||
var ID = $(this).find('ID').text();
|
||||
|
||||
if (id === ID) {
|
||||
console.log(ID+'通过ID出来了')
|
||||
var xmmctitle = $(this).find('FIELD0001').text();
|
||||
var row1=`${xmmctitle}`
|
||||
$('.column_01').append(row1);
|
||||
var xmmc = $(this).find('FIELD0001').text();
|
||||
var hylb = $(this).find('FIELD0046').text();
|
||||
var cylb = $(this).find('FIELD0047').text();
|
||||
var jsxz = $(this).find('FIELD0048').text();
|
||||
var hzfs = $(this).find('FIELD0049').text();
|
||||
var jstj = $(this).find('FIELD0006').text();
|
||||
var cytj = $(this).find('FIELD0007').text();
|
||||
var scqjyc = $(this).find('FIELD0008').text();
|
||||
var xmxzjgm = $(this).find('FIELD0009').text();
|
||||
var zdmj = $(this).find('FIELD0010').text();
|
||||
var jzmj = $(this).find('FIELD0011').text();
|
||||
var qksm = $(this).find('FIELD0012').text();
|
||||
var xmjslr = $(this).find('FIELD0013').text();
|
||||
var ztze = $(this).find('FIELD0014').text();
|
||||
var yzje = $(this).find('FIELD0015').text();
|
||||
var tzhsq = $(this).find('FIELD0017').text();
|
||||
var nyysr = $(this).find('FIELD0018').text();
|
||||
var nll = $(this).find('FIELD0019').text();
|
||||
var tzlrl = $(this).find('FIELD0020').text();
|
||||
var yhzcjfctj = $(this).find('FIELD0022').text();
|
||||
var yzdwmc = $(this).find('FIELD0032').text();
|
||||
var yzdwdz = $(this).find('FIELD0033').text();
|
||||
var yzdwyb = $(this).find('FIELD0035').text();
|
||||
var yzdwlxr = $(this).find('FIELD0035').text();
|
||||
var yzdwzj = $(this).find('FIELD0036').text();
|
||||
var yzdwsj = $(this).find('FIELD0037').text();
|
||||
var row = `
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目名称:</span>
|
||||
<span>${xmmc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">行业类别:</span>
|
||||
<span>${hylb}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">产业类别:</span>
|
||||
<span>${cylb}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">建设性质:</span>
|
||||
<span>${jsxz}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">合作方式:</span>
|
||||
<span>${hzfs}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">建设条件:</span>
|
||||
<span>${jstj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">产业条件:</span>
|
||||
<span>${cytj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">市场前景预测:</span>
|
||||
<span>${scqjyc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目选址及规模:</span>
|
||||
<span>${xmxzjgm}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目建设内容:</span>
|
||||
<span>${xmjslr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">总投资额:</span>
|
||||
<span>${ztze}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">引资金额:</span>
|
||||
<span>${yzje}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">投资回收期:</span>
|
||||
<span>${tzhsq}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">年营业收入:</span>
|
||||
<span>${nyysr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">年利润:</span>
|
||||
<span>${nll}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">投资利润率:</span>
|
||||
<span>${tzlrl}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">优惠政策及扶持条件:</span>
|
||||
<span>${yhzcjfctj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位名称:</span>
|
||||
<span>${yzdwmc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位地址:</span>
|
||||
<span>${yzdwdz}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位联系人:</span>
|
||||
<span>${yzdwlxr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位座机:</span>
|
||||
<span>${yzdwzj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位手机:</span>
|
||||
<span>${yzdwsj}</span>
|
||||
</p>
|
||||
<div style="height: 40%;background-image: url(../image/download.png);background-size: cover;width: 100%;">
|
||||
<!--左放二维码-->
|
||||
<div style="width: 40%;float: left;height: 100%;">
|
||||
<div id="codeDiv" class="erweima">
|
||||
<div id="qrcode"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!--右放信息-->
|
||||
<div style="width:60%;float: right;overflow: hidden;">
|
||||
<!--文本-->
|
||||
<div class="text_0" style="margin-top: 30px;margin-left: 20px;">
|
||||
<h5 class="text_01">黔东南州投资促进局</h5>
|
||||
<p class="text_01">招商热线:4008-799399</p>
|
||||
<p class="text_01">http://tzcj.qdn.gov.cn</p>
|
||||
<div class="erweima_02">
|
||||
<img src="../image/1679366979689.jpg">
|
||||
</div>
|
||||
<p class="text_01" style="font-size: small;">长按二维码关注公众号</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
$('#neirong').append(row);
|
||||
}
|
||||
})
|
||||
},
|
||||
error: function(xhr, status, error) {
|
||||
console.error(error);
|
||||
}
|
||||
});
|
||||
}
|
||||
})
|
||||
|
||||
$(document).ready(function() {
|
||||
if (id) {
|
||||
setTimeout(function() {
|
||||
var qrcode = new QRCode("qrcode", {
|
||||
text:'https://zwy.guizhoujc.com/inc/xmtzk/qt/show-qt.html?id=' + id,
|
||||
render: "canvas",
|
||||
width: 128,
|
||||
height: 128,
|
||||
typeNumber: -1,
|
||||
colorDark: "#000000",
|
||||
colorLight: "#ffffff",
|
||||
correctLevel: QRCode.CorrectLevel.H
|
||||
});
|
||||
}, 1000);
|
||||
} else {
|
||||
console.log("id is not defined");
|
||||
}
|
||||
});
|
||||
function convertCanvasToImage(canvas) {
|
||||
var image = new Image();
|
||||
image.src = canvas.toDataURL("image/png");
|
||||
return image;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,100 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="../css/01.css">
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background">
|
||||
<!--返回箭头-->
|
||||
<div class="column_01 text-center">
|
||||
<div class="return_Arrow">
|
||||
<a href="../index.html">
|
||||
<img src="../image/zuojiantou.png">
|
||||
</a>
|
||||
</div>
|
||||
特色食品
|
||||
</div>
|
||||
<!--输入框-->
|
||||
<div class="input_01">
|
||||
<div class="input-group input-group-sm">
|
||||
<input type="text" id="categories" class="form-control" value="" placeholder="请输入项目名或地址">
|
||||
</div>
|
||||
</div>
|
||||
<!--内容框-->
|
||||
<div class="container-02" style="width: 100%;height: 88%;">
|
||||
<div style="height: 100%;overflow-y:scroll;">
|
||||
<table id="details" class="table table-hover">
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
<script src="../js/jquery.js"></script>
|
||||
<script>
|
||||
$('#categories').bind('input propertychange', function() {
|
||||
var insertVal = $(this).val();//手动输入的字符串;
|
||||
$("#details tr").each(function(){
|
||||
var paraStr = $(this).children().children().html();
|
||||
if(paraStr.indexOf(insertVal)<0){//不包含
|
||||
$(this).hide();
|
||||
}else{//包含
|
||||
$(this).show();
|
||||
}
|
||||
})
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
var token = '';
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/token/test/6fc1c885-3aac-4489-95f0-7b6923622743',
|
||||
dataType: 'xml',
|
||||
success: function(data) {
|
||||
$(data).find('UserToken').each(function() {
|
||||
var id = $(this).find('id').text();
|
||||
token = id;
|
||||
});
|
||||
console.log(token + ' 获取到token')
|
||||
},
|
||||
error: function() {
|
||||
console.log('Error loading XML document');
|
||||
}
|
||||
}).done(function() {
|
||||
if (token !== '') {
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/dee/task/getCharacteristic',
|
||||
dataType: 'xml',
|
||||
data: {token: token},
|
||||
success: function(data) {
|
||||
console.log(data)
|
||||
$(data).find('row').each(function() {
|
||||
var xiangmumingchen = $(this).find('FIELD0001').text();
|
||||
var ID = $(this).find('ID').text();
|
||||
var row = `<tr data-id="${ID}">
|
||||
<td data-label="项目名称">${xiangmumingchen}</td>
|
||||
</tr>`;
|
||||
$('#details').append(row);
|
||||
});
|
||||
$('#details tr').on('click', function() {
|
||||
var id = $(this).data('id');
|
||||
window.document.location = 'show-sp.html?id=' + id;
|
||||
});
|
||||
},
|
||||
error: function(xhr, textStatus, errorThrown) {
|
||||
console.error(xhr.status + ":" + errorThrown);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,240 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="../css/01.css">
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
<script src="../js/jquery.js"></script>
|
||||
<script type="text/javascript" src="../js/qrcode.js"></script>
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background">
|
||||
<!--返回箭头-->
|
||||
<div class="column_01 fw-bold text-center text-truncate">
|
||||
<div class="return_Arrow">
|
||||
<a href="../sp/list.html">
|
||||
<img src="../image/zuojiantou.png">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--内容区-->
|
||||
<div style="background:linear-gradient(45deg,#81acec,skyblue,#fff);height: 95%;">
|
||||
<div style="height: 100%;overflow-y:scroll;padding:0 32px;">
|
||||
<div id="neirong" style="font-size: 16px; line-height: 30px; margin-top: 20px; margin-bottom: 20px;"></div>
|
||||
<!--二维码和底部信息-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var id = new URLSearchParams(window.location.search).get('id');
|
||||
var token = '';
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/token/test/6fc1c885-3aac-4489-95f0-7b6923622743',
|
||||
dataType: 'xml',
|
||||
success: function(data) {
|
||||
$(data).find('UserToken').each(function() {
|
||||
token = $(this).find('id').text();
|
||||
});
|
||||
},
|
||||
error: function() {
|
||||
console.log('Error loading XML document');
|
||||
}
|
||||
}).done(function() {
|
||||
if (token !== '') {
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/dee/task/getCharacteristic',
|
||||
dataType: 'xml',
|
||||
data: {
|
||||
token: token,
|
||||
id: id
|
||||
},
|
||||
success: function(data) {
|
||||
console.log(data);
|
||||
$(data).find('row').each(function() {
|
||||
var ID = $(this).find('ID').text();
|
||||
if (id === ID) {
|
||||
console.log(ID+'通过ID出来了')
|
||||
var xmmctitle = $(this).find('FIELD0001').text();
|
||||
var row1=`${xmmctitle}`
|
||||
$('.column_01').append(row1);
|
||||
var xmmc = $(this).find('FIELD0001').text();
|
||||
var hylb = $(this).find('FIELD0046').text();
|
||||
var cylb = $(this).find('FIELD0047').text();
|
||||
var jsxz = $(this).find('FIELD0048').text();
|
||||
var hzfs = $(this).find('FIELD0049').text();
|
||||
var jstj = $(this).find('FIELD0006').text();
|
||||
var cytj = $(this).find('FIELD0007').text();
|
||||
var scqjyc = $(this).find('FIELD0008').text();
|
||||
var xmxzjgm = $(this).find('FIELD0009').text();
|
||||
var zdmj = $(this).find('FIELD0010').text();
|
||||
var jzmj = $(this).find('FIELD0011').text();
|
||||
var qksm = $(this).find('FIELD0012').text();
|
||||
var xmjslr = $(this).find('FIELD0013').text();
|
||||
var ztze = $(this).find('FIELD0014').text();
|
||||
var yzje = $(this).find('FIELD0015').text();
|
||||
var tzhsq = $(this).find('FIELD0017').text();
|
||||
var nyysr = $(this).find('FIELD0018').text();
|
||||
var nll = $(this).find('FIELD0019').text();
|
||||
var tzlrl = $(this).find('FIELD0020').text();
|
||||
var yhzcjfctj = $(this).find('FIELD0022').text();
|
||||
var yzdwmc = $(this).find('FIELD0032').text();
|
||||
var yzdwdz = $(this).find('FIELD0033').text();
|
||||
var yzdwyb = $(this).find('FIELD0035').text();
|
||||
var yzdwlxr = $(this).find('FIELD0035').text();
|
||||
var yzdwzj = $(this).find('FIELD0036').text();
|
||||
var yzdwsj = $(this).find('FIELD0037').text();
|
||||
var row = `
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目名称:</span>
|
||||
<span>${xmmc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">行业类别:</span>
|
||||
<span>${hylb}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">产业类别:</span>
|
||||
<span>${cylb}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">建设性质:</span>
|
||||
<span>${jsxz}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">合作方式:</span>
|
||||
<span>${hzfs}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">建设条件:</span>
|
||||
<span>${jstj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">产业条件:</span>
|
||||
<span>${cytj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">市场前景预测:</span>
|
||||
<span>${scqjyc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目选址及规模:</span>
|
||||
<span>${xmxzjgm}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目建设内容:</span>
|
||||
<span>${xmjslr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">总投资额:</span>
|
||||
<span>${ztze}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">引资金额:</span>
|
||||
<span>${yzje}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">投资回收期:</span>
|
||||
<span>${tzhsq}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">年营业收入:</span>
|
||||
<span>${nyysr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">年利润:</span>
|
||||
<span>${nll}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">投资利润率:</span>
|
||||
<span>${tzlrl}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">优惠政策及扶持条件:</span>
|
||||
<span>${yhzcjfctj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位名称:</span>
|
||||
<span>${yzdwmc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位地址:</span>
|
||||
<span>${yzdwdz}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位联系人:</span>
|
||||
<span>${yzdwlxr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位座机:</span>
|
||||
<span>${yzdwzj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位手机:</span>
|
||||
<span>${yzdwsj}</span>
|
||||
</p>
|
||||
<div style="height: 40%;background-image: url(../image/download.png);background-size: cover;width: 100%;">
|
||||
<!--左放二维码-->
|
||||
<div style="width: 40%;float: left;height: 100%;">
|
||||
<div id="codeDiv" class="erweima">
|
||||
<div id="qrcode"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!--右放信息-->
|
||||
<div style="width:60%;float: right;overflow: hidden;">
|
||||
<!--文本-->
|
||||
<div class="text_0" style="margin-top: 30px;margin-left: 20px;">
|
||||
<h5 class="text_01">黔东南州投资促进局</h5>
|
||||
<p class="text_01">招商热线:4008-799399</p>
|
||||
<p class="text_01">http://tzcj.qdn.gov.cn</p>
|
||||
<div class="erweima_02">
|
||||
<img src="../image/1679366979689.jpg">
|
||||
</div>
|
||||
<p class="text_01" style="font-size: small;">长按二维码关注公众号</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
$('#neirong').append(row);
|
||||
}
|
||||
})
|
||||
},
|
||||
error: function(xhr, status, error) {
|
||||
console.error(error);
|
||||
}
|
||||
});
|
||||
}
|
||||
})
|
||||
|
||||
$(document).ready(function() {
|
||||
if (id) {
|
||||
setTimeout(function() {
|
||||
|
||||
var qrcode = new QRCode("qrcode", {
|
||||
text:'https://zwy.guizhoujc.com/inc/xmtzk/sp/show-sp.html?id=' + id,
|
||||
render: "canvas",
|
||||
width: 128,
|
||||
height: 128,
|
||||
typeNumber: -1,
|
||||
colorDark: "#000000",
|
||||
colorLight: "#ffffff",
|
||||
correctLevel: QRCode.CorrectLevel.H
|
||||
});
|
||||
}, 1000);
|
||||
} else {
|
||||
console.log("id is not defined");
|
||||
}
|
||||
});
|
||||
function convertCanvasToImage(canvas) {
|
||||
var image = new Image();
|
||||
image.src = canvas.toDataURL("image/png");
|
||||
return image;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,100 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="../css/01.css">
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background">
|
||||
<!--返回箭头-->
|
||||
<div class="column_01 text-center">
|
||||
<div class="return_Arrow">
|
||||
<a href="../index.html">
|
||||
<img src="../image/zuojiantou.png">
|
||||
</a>
|
||||
</div>
|
||||
文化旅游康养
|
||||
</div>
|
||||
<!--输入框-->
|
||||
<div class="input_01">
|
||||
<div class="input-group input-group-sm">
|
||||
<input type="text" id="categories" class="form-control" value="" placeholder="请输入项目名或地址">
|
||||
</div>
|
||||
</div>
|
||||
<!--内容框-->
|
||||
<div class="container-02" style="width: 100%;height: 88%;">
|
||||
<div style="height: 100%;overflow-y:scroll;">
|
||||
<table id="details" class="table table-hover">
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
<script src="../js/jquery.js"></script>
|
||||
<script>
|
||||
$('#categories').bind('input propertychange', function() {
|
||||
var insertVal = $(this).val();//手动输入的字符串;
|
||||
$("#details tr").each(function(){
|
||||
var paraStr = $(this).children().children().html();
|
||||
if(paraStr.indexOf(insertVal)<0){//不包含
|
||||
$(this).hide();
|
||||
}else{//包含
|
||||
$(this).show();
|
||||
}
|
||||
})
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
var token = '';
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/token/test/6fc1c885-3aac-4489-95f0-7b6923622743',
|
||||
dataType: 'xml',
|
||||
success: function(data) {
|
||||
$(data).find('UserToken').each(function() {
|
||||
var id = $(this).find('id').text();
|
||||
token = id;
|
||||
});
|
||||
console.log(token + ' 获取到token')
|
||||
},
|
||||
error: function() {
|
||||
console.log('Error loading XML document');
|
||||
}
|
||||
}).done(function() {
|
||||
if (token !== '') {
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/dee/task/getCulture',
|
||||
dataType: 'xml',
|
||||
data: {token: token},
|
||||
success: function(data) {
|
||||
console.log(data)
|
||||
$(data).find('row').each(function() {
|
||||
var xiangmumingchen = $(this).find('FIELD0001').text();
|
||||
var ID = $(this).find('ID').text();
|
||||
var row = `<tr data-id="${ID}">
|
||||
<td data-label="项目名称">${xiangmumingchen}</td>
|
||||
</tr>`;
|
||||
$('#details').append(row);
|
||||
});
|
||||
$('#details tr').on('click', function() {
|
||||
var id = $(this).data('id');
|
||||
window.document.location = 'show-wh.html?id=' + id;
|
||||
});
|
||||
},
|
||||
error: function(xhr, textStatus, errorThrown) {
|
||||
console.error(xhr.status + ": " + errorThrown);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,237 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="../css/01.css">
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
<script src="../js/jquery.js"></script>
|
||||
<script type="text/javascript" src="../js/qrcode.js"></script>
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background">
|
||||
<div class="column_01 fw-bold text-center text-truncate">
|
||||
<div class="return_Arrow">
|
||||
<a href="../wh/list.html">
|
||||
<img src="../image/zuojiantou.png">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div style="background:linear-gradient(45deg,#81acec,skyblue,#fff);height: 95%;">
|
||||
<div style="height: 100%;overflow-y:scroll;padding:0 32px;">
|
||||
<div id="neirong" style="font-size: 16px; line-height: 30px; margin-top: 20px; margin-bottom: 20px;"></div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var id = new URLSearchParams(window.location.search).get('id');
|
||||
var token = '';
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/token/test/6fc1c885-3aac-4489-95f0-7b6923622743',
|
||||
dataType: 'xml',
|
||||
success: function(data) {
|
||||
$(data).find('UserToken').each(function() {
|
||||
token = $(this).find('id').text();
|
||||
});
|
||||
},
|
||||
error: function() {
|
||||
console.log('Error loading XML document');
|
||||
}
|
||||
}).done(function() {
|
||||
if (token !== '') {
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/dee/task/getCulture',
|
||||
dataType: 'xml',
|
||||
data: {
|
||||
token: token,
|
||||
id: id
|
||||
},
|
||||
success: function(data) {
|
||||
$(data).find('row').each(function() {
|
||||
var ID = $(this).find('ID').text();
|
||||
if (id === ID) {
|
||||
console.log(ID+'通过ID出来了')
|
||||
var xmmctitle = $(this).find('FIELD0001').text();
|
||||
var row1=`${xmmctitle}`
|
||||
$('.column_01').append(row1);
|
||||
var xmmc = $(this).find('FIELD0001').text();
|
||||
var hylb = $(this).find('FIELD0046').text();
|
||||
var cylb = $(this).find('FIELD0047').text();
|
||||
var jsxz = $(this).find('FIELD0048').text();
|
||||
var hzfs = $(this).find('FIELD0049').text();
|
||||
var jstj = $(this).find('FIELD0006').text();
|
||||
var cytj = $(this).find('FIELD0007').text();
|
||||
var scqjyc = $(this).find('FIELD0008').text();
|
||||
var xmxzjgm = $(this).find('FIELD0009').text();
|
||||
var zdmj = $(this).find('FIELD0010').text();
|
||||
var jzmj = $(this).find('FIELD0011').text();
|
||||
var qksm = $(this).find('FIELD0012').text();
|
||||
var xmjslr = $(this).find('FIELD0013').text();
|
||||
var ztze = $(this).find('FIELD0014').text();
|
||||
var yzje = $(this).find('FIELD0015').text();
|
||||
var tzhsq = $(this).find('FIELD0017').text();
|
||||
var nyysr = $(this).find('FIELD0018').text();
|
||||
var nll = $(this).find('FIELD0019').text();
|
||||
var tzlrl = $(this).find('FIELD0020').text();
|
||||
var yhzcjfctj = $(this).find('FIELD0022').text();
|
||||
var yzdwmc = $(this).find('FIELD0032').text();
|
||||
var yzdwdz = $(this).find('FIELD0033').text();
|
||||
var yzdwyb = $(this).find('FIELD0035').text();
|
||||
var yzdwlxr = $(this).find('FIELD0035').text();
|
||||
var yzdwzj = $(this).find('FIELD0036').text();
|
||||
var yzdwsj = $(this).find('FIELD0037').text();
|
||||
var row = `
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目名称:</span>
|
||||
<span>${xmmc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">行业类别:</span>
|
||||
<span>${hylb}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">产业类别:</span>
|
||||
<span>${cylb}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">建设性质:</span>
|
||||
<span>${jsxz}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">合作方式:</span>
|
||||
<span>${hzfs}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">建设条件:</span>
|
||||
<span>${jstj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">产业条件:</span>
|
||||
<span>${cytj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">市场前景预测:</span>
|
||||
<span>${scqjyc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目选址及规模:</span>
|
||||
<span>${xmxzjgm}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目建设内容:</span>
|
||||
<span>${xmjslr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">总投资额:</span>
|
||||
<span>${ztze}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">引资金额:</span>
|
||||
<span>${yzje}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">投资回收期:</span>
|
||||
<span>${tzhsq}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">年营业收入:</span>
|
||||
<span>${nyysr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">年利润:</span>
|
||||
<span>${nll}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">投资利润率:</span>
|
||||
<span>${tzlrl}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">优惠政策及扶持条件:</span>
|
||||
<span>${yhzcjfctj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位名称:</span>
|
||||
<span>${yzdwmc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位地址:</span>
|
||||
<span>${yzdwdz}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位联系人:</span>
|
||||
<span>${yzdwlxr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位座机:</span>
|
||||
<span>${yzdwzj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位手机:</span>
|
||||
<span>${yzdwsj}</span>
|
||||
</p>
|
||||
<div style="height: 40%;background-image: url(../image/download.png);background-size: cover;width: 100%;">
|
||||
<!--左放二维码-->
|
||||
<div style="width: 40%;float: left;height: 100%;">
|
||||
<div id="codeDiv" class="erweima">
|
||||
<div id="qrcode"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!--右放信息-->
|
||||
<div style="width:60%;float: right;overflow: hidden;">
|
||||
<!--文本-->
|
||||
<div class="text_0" style="margin-top: 30px;margin-left: 20px;">
|
||||
<h5 class="text_01">黔东南州投资促进局</h5>
|
||||
<p class="text_01">招商热线:4008-799399</p>
|
||||
<p class="text_01">http://tzcj.qdn.gov.cn</p>
|
||||
<div class="erweima_02">
|
||||
<img src="../image/1679366979689.jpg">
|
||||
</div>
|
||||
<p class="text_01" style="font-size: small;">长按二维码关注公众号</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
$('#neirong').append(row);
|
||||
}
|
||||
})
|
||||
},
|
||||
error: function(xhr, status, error) {
|
||||
console.error(error);
|
||||
}
|
||||
});
|
||||
}
|
||||
})
|
||||
|
||||
$(document).ready(function() {
|
||||
if (id) {
|
||||
setTimeout(function() {
|
||||
var qrcode = new QRCode("qrcode", {
|
||||
text:'https://zwy.guizhoujc.com/inc/xmtzk/wh/show-wh.html?id=' + id,
|
||||
render: "canvas",
|
||||
width: 128,
|
||||
height: 128,
|
||||
typeNumber: -1,
|
||||
colorDark: "#000000",
|
||||
colorLight: "#ffffff",
|
||||
correctLevel: QRCode.CorrectLevel.H
|
||||
});
|
||||
}, 1000);
|
||||
} else {
|
||||
console.log("id is not defined");
|
||||
}
|
||||
});
|
||||
function convertCanvasToImage(canvas) {
|
||||
var image = new Image();
|
||||
image.src = canvas.toDataURL("image/png");
|
||||
return image;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,107 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="../css/01.css">
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background">
|
||||
<!--返回箭头-->
|
||||
<div class="column_01 text-center">
|
||||
<div class="return_Arrow">
|
||||
<a href="../index.html">
|
||||
<img src="../image/zuojiantou.png">
|
||||
</a>
|
||||
</div>
|
||||
大健康医药制造
|
||||
</div>
|
||||
<!--输入框-->
|
||||
<div class="input_01">
|
||||
<div class="input-group input-group-sm">
|
||||
<input type="text" id="categories" class="form-control" value="" placeholder="请输入项目名或地址">
|
||||
</div>
|
||||
</div>
|
||||
<!--内容框-->
|
||||
<div class="container-02" style="width: 100%;height: 88%;">
|
||||
<div style="height: 100%;overflow-y:scroll;">
|
||||
<table id="details" class="table table-hover">
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
<script src="../js/jquery.js"></script>
|
||||
<script>
|
||||
$('#categories').bind('input propertychange', function() {
|
||||
var insertVal = $(this).val();//手动输入的字符串;
|
||||
$("#details tr").each(function(){
|
||||
var paraStr = $(this).children().children().html();
|
||||
if(paraStr.indexOf(insertVal)<0){//不包含
|
||||
$(this).hide();
|
||||
}else{//包含
|
||||
$(this).show();
|
||||
}
|
||||
})
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
|
||||
var token = '';
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/token/test/6fc1c885-3aac-4489-95f0-7b6923622743',
|
||||
dataType: 'xml',
|
||||
success: function(data) {
|
||||
|
||||
$(data).find('UserToken').each(function() {
|
||||
var id = $(this).find('id').text();
|
||||
token = id;
|
||||
});
|
||||
|
||||
},
|
||||
error: function() {
|
||||
console.log('Error loading XML document');
|
||||
}
|
||||
}).done(function() {
|
||||
if (token !== '') {
|
||||
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/dee/task/getMedicine',
|
||||
dataType: 'xml',
|
||||
data: {token: token},
|
||||
success: function(data) {
|
||||
$(data).find('row').each(function() {
|
||||
var xiangmumingchen = $(this).find('FIELD0001').text();
|
||||
var ID = $(this).find('ID').text();
|
||||
var row = `<tr data-id="${ID}">
|
||||
<td data-label="项目名称">${xiangmumingchen}</td>
|
||||
</tr>`;
|
||||
$('#details').append(row);
|
||||
});
|
||||
|
||||
|
||||
$('#details tr').on('click', function() {
|
||||
|
||||
var id = $(this).data('id');
|
||||
|
||||
window.document.location = 'show-yy.html?id=' + id;
|
||||
});
|
||||
},
|
||||
error: function(xhr, textStatus, errorThrown) {
|
||||
|
||||
console.error(xhr.status + ": " + errorThrown);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,240 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="../css/01.css">
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
<script src="../js/jquery.js"></script>
|
||||
<script type="text/javascript" src="../js/qrcode.js"></script>
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background">
|
||||
<!--返回箭头-->
|
||||
<div class="column_01 fw-bold text-center text-truncate">
|
||||
<div class="return_Arrow">
|
||||
<a href="../yy/list.html">
|
||||
<img src="../image/zuojiantou.png">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--内容区-->
|
||||
<div style="background:linear-gradient(45deg,#81acec,skyblue,#fff);height: 95%;">
|
||||
<div style="height: 100%;overflow-y:scroll;padding:0 32px;">
|
||||
<div id="neirong" style="font-size: 16px; line-height: 30px; margin-top: 20px; margin-bottom: 20px;"></div>
|
||||
<!--二维码和底部信息-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
|
||||
var id = new URLSearchParams(window.location.search).get('id');
|
||||
console.log(id);
|
||||
|
||||
var token = '';
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/token/test/6fc1c885-3aac-4489-95f0-7b6923622743',
|
||||
dataType: 'xml',
|
||||
success: function(data) {
|
||||
$(data).find('UserToken').each(function() {
|
||||
token = $(this).find('id').text();
|
||||
});
|
||||
},
|
||||
error: function() {
|
||||
console.log('Error loading XML document');
|
||||
}
|
||||
}).done(function() {
|
||||
if (token !== '') {
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/dee/task/getMedicine',
|
||||
dataType: 'xml',
|
||||
data: {
|
||||
token: token,
|
||||
id: id
|
||||
},
|
||||
success: function(data) {
|
||||
$(data).find('row').each(function() {
|
||||
var ID = $(this).find('ID').text();
|
||||
if (id === ID) {
|
||||
var xmmctitle = $(this).find('FIELD0001').text();
|
||||
var row1=`${xmmctitle}`
|
||||
$('.column_01').append(row1);
|
||||
var xmmc = $(this).find('FIELD0001').text();
|
||||
var hylb = $(this).find('FIELD0046').text();
|
||||
var cylb = $(this).find('FIELD0047').text();
|
||||
var jsxz = $(this).find('FIELD0048').text();
|
||||
var hzfs = $(this).find('FIELD0049').text();
|
||||
var jstj = $(this).find('FIELD0006').text();
|
||||
var cytj = $(this).find('FIELD0007').text();
|
||||
var scqjyc = $(this).find('FIELD0008').text();
|
||||
var xmxzjgm = $(this).find('FIELD0009').text();
|
||||
var zdmj = $(this).find('FIELD0010').text();
|
||||
var jzmj = $(this).find('FIELD0011').text();
|
||||
var qksm = $(this).find('FIELD0012').text();
|
||||
var xmjslr = $(this).find('FIELD0013').text();
|
||||
var ztze = $(this).find('FIELD0014').text();
|
||||
var yzje = $(this).find('FIELD0015').text();
|
||||
var tzhsq = $(this).find('FIELD0017').text();
|
||||
var nyysr = $(this).find('FIELD0018').text();
|
||||
var nll = $(this).find('FIELD0019').text();
|
||||
var tzlrl = $(this).find('FIELD0020').text();
|
||||
var yhzcjfctj = $(this).find('FIELD0022').text();
|
||||
var yzdwmc = $(this).find('FIELD0032').text();
|
||||
var yzdwdz = $(this).find('FIELD0033').text();
|
||||
var yzdwyb = $(this).find('FIELD0035').text();
|
||||
var yzdwlxr = $(this).find('FIELD0035').text();
|
||||
var yzdwzj = $(this).find('FIELD0036').text();
|
||||
var yzdwsj = $(this).find('FIELD0037').text();
|
||||
var row = `
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目名称:</span>
|
||||
<span>${xmmc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">行业类别:</span>
|
||||
<span>${hylb}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">产业类别:</span>
|
||||
<span>${cylb}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">建设性质:</span>
|
||||
<span>${jsxz}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">合作方式:</span>
|
||||
<span>${hzfs}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">建设条件:</span>
|
||||
<span>${jstj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">产业条件:</span>
|
||||
<span>${cytj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">市场前景预测:</span>
|
||||
<span>${scqjyc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目选址及规模:</span>
|
||||
<span>${xmxzjgm}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目建设内容:</span>
|
||||
<span>${xmjslr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">总投资额:</span>
|
||||
<span>${ztze}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">引资金额:</span>
|
||||
<span>${yzje}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">投资回收期:</span>
|
||||
<span>${tzhsq}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">年营业收入:</span>
|
||||
<span>${nyysr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">年利润:</span>
|
||||
<span>${nll}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">投资利润率:</span>
|
||||
<span>${tzlrl}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">优惠政策及扶持条件:</span>
|
||||
<span>${yhzcjfctj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位名称:</span>
|
||||
<span>${yzdwmc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位地址:</span>
|
||||
<span>${yzdwdz}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位联系人:</span>
|
||||
<span>${yzdwlxr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位座机:</span>
|
||||
<span>${yzdwzj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位手机:</span>
|
||||
<span>${yzdwsj}</span>
|
||||
</p>
|
||||
<div style="height: 40%;background-image: url(../image/download.png);background-size: cover;width: 100%;">
|
||||
<!--左放二维码-->
|
||||
<div style="width: 40%;float: left;height: 100%;">
|
||||
<div id="codeDiv" class="erweima">
|
||||
<div id="qrcode"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!--右放信息-->
|
||||
<div style="width:60%;float: right;overflow: hidden;">
|
||||
<!--文本-->
|
||||
<div class="text_0" style="margin-top: 30px;margin-left: 20px;">
|
||||
<h5 class="text_01">黔东南州投资促进局</h5>
|
||||
<p class="text_01">招商热线:4008-799399</p>
|
||||
<p class="text_01">http://tzcj.qdn.gov.cn</p>
|
||||
<div class="erweima_02">
|
||||
<img src="../image/1679366979689.jpg">
|
||||
</div>
|
||||
<p class="text_01" style="font-size: small;">长按二维码关注公众号</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
$('#neirong').append(row);
|
||||
}
|
||||
})
|
||||
},
|
||||
error: function(xhr, status, error) {
|
||||
console.error(error);
|
||||
}
|
||||
});
|
||||
}
|
||||
})
|
||||
|
||||
$(document).ready(function() {
|
||||
if (id) {
|
||||
setTimeout(function() {
|
||||
var qrcode = new QRCode("qrcode", {
|
||||
text:'https://zwy.guizhoujc.com/inc/xmtzk/yy/show-yy.html?id=' + id,
|
||||
render: "canvas",
|
||||
width: 128,
|
||||
height: 128,
|
||||
typeNumber: -1,
|
||||
colorDark: "#000000",
|
||||
colorLight: "#ffffff",
|
||||
correctLevel: QRCode.CorrectLevel.H
|
||||
});
|
||||
}, 1000);
|
||||
} else {
|
||||
console.log("id is not defined");
|
||||
}
|
||||
});
|
||||
function convertCanvasToImage(canvas) {
|
||||
var image = new Image();
|
||||
image.src = canvas.toDataURL("image/png");
|
||||
return image;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,99 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="../css/01.css">
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background">
|
||||
<!--返回箭头-->
|
||||
<div class="column_01 text-center">
|
||||
<div class="return_Arrow">
|
||||
<a href="../index.html">
|
||||
<img src="../image/zuojiantou.png">
|
||||
</a>
|
||||
</div>
|
||||
再生资源循环材料
|
||||
</div>
|
||||
<!--输入框-->
|
||||
<div class="input_01">
|
||||
<div class="input-group input-group-sm">
|
||||
<input type="text" id="categories" class="form-control" value="" placeholder="请输入项目名或地址">
|
||||
</div>
|
||||
</div>
|
||||
<!--内容框-->
|
||||
<div class="container-02" style="width: 100%;height: 88%;">
|
||||
<div style="height: 100%;overflow-y:scroll;">
|
||||
<table id="details" class="table table-hover">
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
<script src="../js/jquery.js"></script>
|
||||
<script>
|
||||
$('#categories').bind('input propertychange', function() {
|
||||
var insertVal = $(this).val();
|
||||
$("#details tr").each(function(){
|
||||
var paraStr = $(this).children().children().html();
|
||||
if(paraStr.indexOf(insertVal)<0){
|
||||
$(this).hide();
|
||||
}else{
|
||||
$(this).show();
|
||||
}
|
||||
})
|
||||
});
|
||||
</script>
|
||||
<script>
|
||||
var token = '';
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/token/test/6fc1c885-3aac-4489-95f0-7b6923622743',
|
||||
dataType: 'xml',
|
||||
success: function(data) {
|
||||
$(data).find('UserToken').each(function() {
|
||||
var id = $(this).find('id').text();
|
||||
token = id;
|
||||
});
|
||||
|
||||
},
|
||||
error: function() {
|
||||
console.log('Error loading XML document');
|
||||
}
|
||||
}).done(function() {
|
||||
if (token !== '') {
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/dee/task/getRegeneration',
|
||||
dataType: 'xml',
|
||||
data: {token: token},
|
||||
success: function(data) {
|
||||
$(data).find('row').each(function() {
|
||||
var xiangmumingchen = $(this).find('FIELD0001').text();
|
||||
var ID = $(this).find('ID').text();
|
||||
var row = `<tr data-id="${ID}">
|
||||
<td data-label="项目名称">${xiangmumingchen}</td>
|
||||
</tr>`;
|
||||
$('#details').append(row);
|
||||
});
|
||||
$('#details tr').on('click', function() {
|
||||
var id = $(this).data('id');
|
||||
window.document.location = 'show-zs.html?id=' + id;
|
||||
});
|
||||
},
|
||||
error: function(xhr, textStatus, errorThrown) {
|
||||
console.error(xhr.status + ": " + errorThrown);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,241 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>投资黔东南</title>
|
||||
<link rel="stylesheet" href="../css/01.css">
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
<script src="../js/jquery.js"></script>
|
||||
<script type="text/javascript" src="../js/qrcode.js"></script>
|
||||
<script src="../js/bootstrap.bundle.min.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container-01">
|
||||
<div class="Background">
|
||||
<!--返回箭头-->
|
||||
<div class="column_01 fw-bold text-center text-truncate">
|
||||
<div class="return_Arrow">
|
||||
<a href="../zs/list.html">
|
||||
<img src="../image/zuojiantou.png">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<!--内容区-->
|
||||
<div style="background:linear-gradient(45deg,#81acec,skyblue,#fff);height: 95%;">
|
||||
<div style="height: 100%;overflow-y:scroll;padding:0 32px;">
|
||||
<div id="neirong" style="font-size: 16px; line-height: 30px; margin-top: 20px; margin-bottom: 20px;"></div>
|
||||
<!--二维码和底部信息-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
var id = new URLSearchParams(window.location.search).get('id');
|
||||
|
||||
var token = '';
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/token/test/6fc1c885-3aac-4489-95f0-7b6923622743',
|
||||
dataType: 'xml',
|
||||
success: function(data) {
|
||||
$(data).find('UserToken').each(function() {
|
||||
token = $(this).find('id').text();
|
||||
});
|
||||
},
|
||||
error: function() {
|
||||
console.log('Error loading XML document');
|
||||
}
|
||||
}).done(function() {
|
||||
if (token !== '') {
|
||||
$.ajax({
|
||||
url: 'https://qdngz.guizhoujc.com/seeyon/rest/dee/task/getRegeneration',
|
||||
dataType: 'xml',
|
||||
data: {
|
||||
token: token,
|
||||
id: id
|
||||
},
|
||||
success: function(data) {
|
||||
console.log(data);
|
||||
$(data).find('row').each(function() {
|
||||
var ID = $(this).find('ID').text();
|
||||
|
||||
if (id === ID) {
|
||||
|
||||
var xmmctitle = $(this).find('FIELD0001').text();
|
||||
var row1=`${xmmctitle}`
|
||||
$('.column_01').append(row1);
|
||||
var xmmc = $(this).find('FIELD0001').text();
|
||||
var hylb = $(this).find('FIELD0002').text();
|
||||
var cylb = $(this).find('FIELD0003').text();
|
||||
var jsxz = $(this).find('FIELD0004').text();
|
||||
var hzfs = $(this).find('FIELD0005').text();
|
||||
var jstj = $(this).find('FIELD0006').text();
|
||||
var cytj = $(this).find('FIELD0007').text();
|
||||
var scqjyc = $(this).find('FIELD0008').text();
|
||||
var xmxzjgm = $(this).find('FIELD0009').text();
|
||||
var zdmj = $(this).find('FIELD0010').text();
|
||||
var jzmj = $(this).find('FIELD0011').text();
|
||||
var qksm = $(this).find('FIELD0012').text();
|
||||
var xmjslr = $(this).find('FIELD0013').text();
|
||||
var ztze = $(this).find('FIELD0014').text();
|
||||
var yzje = $(this).find('FIELD0015').text();
|
||||
var tzhsq = $(this).find('FIELD0017').text();
|
||||
var nyysr = $(this).find('FIELD0018').text();
|
||||
var nll = $(this).find('FIELD0019').text();
|
||||
var tzlrl = $(this).find('FIELD0020').text();
|
||||
var yhzcjfctj = $(this).find('FIELD0022').text();
|
||||
var yzdwmc = $(this).find('FIELD0023').text();
|
||||
var yzdwdz = $(this).find('FIELD0024').text();
|
||||
var yzdwyb = $(this).find('FIELD0025').text();
|
||||
var yzdwlxr = $(this).find('FIELD0026').text();
|
||||
var yzdwzj = $(this).find('FIELD0027').text();
|
||||
var yzdwsj = $(this).find('FIELD0028').text();
|
||||
var row = `
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目名称:</span>
|
||||
<span>${xmmc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">行业类别:</span>
|
||||
<span>${hylb}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">产业类别:</span>
|
||||
<span>${cylb}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">建设性质:</span>
|
||||
<span>${jsxz}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">合作方式:</span>
|
||||
<span>${hzfs}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">建设条件:</span>
|
||||
<span>${jstj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">产业条件:</span>
|
||||
<span>${cytj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">市场前景预测:</span>
|
||||
<span>${scqjyc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目选址及规模:</span>
|
||||
<span>${xmxzjgm}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目建设内容:</span>
|
||||
<span>${xmjslr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">总投资额:</span>
|
||||
<span>${ztze}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">引资金额:</span>
|
||||
<span>${yzje}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">投资回收期:</span>
|
||||
<span>${tzhsq}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">年营业收入:</span>
|
||||
<span>${nyysr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">年利润:</span>
|
||||
<span>${nll}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">投资利润率:</span>
|
||||
<span>${tzlrl}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">优惠政策及扶持条件:</span>
|
||||
<span>${yhzcjfctj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位名称:</span>
|
||||
<span>${yzdwmc}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位地址:</span>
|
||||
<span>${yzdwdz}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位联系人:</span>
|
||||
<span>${yzdwlxr}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位座机:</span>
|
||||
<span>${yzdwzj}</span>
|
||||
</p>
|
||||
<p style="margin-bottom: 5px;">
|
||||
<span style="font-weight: bold;">项目服务单位手机:</span>
|
||||
<span>${yzdwsj}</span>
|
||||
</p>
|
||||
<div style="height: 40%;background-image: url(../image/download.png);background-size: cover;width: 100%;">
|
||||
<!--左放二维码-->
|
||||
<div style="width: 40%;float: left;height: 100%;">
|
||||
<div id="codeDiv" class="erweima">
|
||||
<div id="qrcode"></div>
|
||||
</div>
|
||||
</div>
|
||||
<!--右放信息-->
|
||||
<div style="width:60%;float: right;overflow: hidden;">
|
||||
<!--文本-->
|
||||
<div class="text_0" style="margin-top: 30px;margin-left: 20px;">
|
||||
<h5 class="text_01">黔东南州投资促进局</h5>
|
||||
<p class="text_01">招商热线:4008-799399</p>
|
||||
<p class="text_01">http://tzcj.qdn.gov.cn</p>
|
||||
<div class="erweima_02">
|
||||
<img src="../image/1679366979689.jpg">
|
||||
</div>
|
||||
<p class="text_01" style="font-size: small;">长按二维码关注公众号</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
`
|
||||
$('#neirong').append(row);
|
||||
}
|
||||
})
|
||||
},
|
||||
error: function(xhr, status, error) {
|
||||
console.error(error);
|
||||
}
|
||||
});
|
||||
}
|
||||
})
|
||||
|
||||
$(document).ready(function() {
|
||||
if (id) {
|
||||
setTimeout(function() {
|
||||
var qrcode = new QRCode("qrcode", {
|
||||
text:'https://zwy.guizhoujc.com/inc/xmtzk/zs/show-zs.html?id=' + id,
|
||||
render: "canvas",
|
||||
width: 128,
|
||||
height: 128,
|
||||
typeNumber: -1,
|
||||
colorDark: "#000000",
|
||||
colorLight: "#ffffff",
|
||||
correctLevel: QRCode.CorrectLevel.H
|
||||
});
|
||||
}, 1000);
|
||||
} else {
|
||||
console.log("id is not defined");
|
||||
}
|
||||
});
|
||||
function convertCanvasToImage(canvas) {
|
||||
var image = new Image();
|
||||
image.src = canvas.toDataURL("image/png");
|
||||
return image;
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1,57 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>投资黔东南</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
<link href="./css/bootstrap.min.css" rel="stylesheet">
|
||||
<script src="./js/bootstrap.bundle.min.js"></script>
|
||||
<div id='wx_pic' style='margin:0 auto;display:none;'>
|
||||
</div>
|
||||
</head>
|
||||
<style type="text/css">
|
||||
.onepage{width: 100%; background: url(images/bbg9.jpg) no-repeat; background-position: center center; background-size: cover;}
|
||||
</style>
|
||||
<body style="margin:0.5rem auto; max-width:800px;">
|
||||
<div>
|
||||
<img src="./images/hdtop.jpg" class="img-fluid" alt="Park" width="2000" height="1085">
|
||||
</div>
|
||||
|
||||
<div class="container mt-3 p-0">
|
||||
|
||||
</div>
|
||||
|
||||
<div class="container mt-3">
|
||||
<div class="d-grid">
|
||||
<h3 class="btn btn-primary btn-block btn-success"><a href="./inc/qdngk.html" style="color: white; text-decoration: none;"><button type="button" class="btn btn-primary btn-block btn-success p-2 container-fluid">黔东南州概况</button></a></h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container mt-3">
|
||||
<div class="d-grid">
|
||||
<h3 class="btn btn-primary btn-block btn-danger"><a href="./inc/tzzc.html" style="color: white; text-decoration: none;"><button type="button" class="btn btn-primary btn-block btn-danger p-2 container-fluid">投资政策</button></a></h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container mt-3">
|
||||
<div class="d-grid">
|
||||
<h3 class="btn btn-primary btn-block btn-primary"><a href="./inc/xmtzk/index.html" style="color: white; text-decoration: none;"><button type="button" class="btn btn-primary btn-block btn-primary p-2 container-fluid">投资项目库</button></a></h3>
|
||||
</div>
|
||||
</div>
|
||||
<div class="container mt-3">
|
||||
<div class="d-grid">
|
||||
<h3 class="btn btn-primary btn-block btn-danger" style="background: #d2673d; border-color: #d2673d;"><a href="https://pro.formtalk.net/w.do?f=B10B2A176ACE3102144FC31B02C947B68C7F12B590BA6B975697058C98477B32" style="color: white; text-decoration: none;"><button type="button" class="btn btn-primary btn-block btn-danger p-2 container-fluid" style="background: #d2673d; border-color: #d2673d;">一键投资</button></a></h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div>
|
||||
<img src="./images/bbg10.jpg" class="img-fluid" alt="Park">
|
||||
</div>
|
||||
|
||||
<div class="container-fluid mt-3 text-center" style="font-size: 0.8em; color: #999999;">
|
||||
<p>黔东南州投资促进局<br>技术支持:<a style="color: #999999; text-decoration: none;" href="https://www.guizhoujc.com/">工诚云网</a><p>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 20b4f8879ffcaddb7da2c3fe3fbf23fcc22e121b
|
||||
|
|
@ -0,0 +1 @@
|
|||
Subproject commit fe67ef36df9a64f39624ff34c63599cc911560ef
|
||||
|
|
@ -0,0 +1,177 @@
|
|||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 03de3d719387227e9137ff9f96cba3779f5aed39
|
||||