用Java轻松实现数据库数据导出为Excel表格 (java导出数据库数据为excel)

在数据处理过程中,将数据库中的数据导出为Excel表格是一项非常常见的操作。利用Java可以快速、高效地将数据导出为Excel表格,大大提高了数据处理效率和准确性。

一、Java实现Excel导出的准备工作

在使用Java实现Excel导出之前,需要进行一些准备工作,包括:

1、引入POI和Excel工具包

POI和Excel工具包是用于实现Java导出Excel的重要工具,需要先引入这两个工具包。

2、连接数据库

要导出数据库的数据,需要先连接数据库,获取需要导出的数据。

3、创建Excel文件

在导出数据之前,需要先创建一个Excel文件,将需要导出的数据写入到这个文件中。

二、将数据导出为Excel表格的具体实现

1、创建Excel文件

我们需要创建一个Excel文件,以便把数据写入到其中。创建Excel文件的步骤如下:

“`

//创建工作簿

Workbook workbook=new HSSFWorkbook();

//创建工作表

Sheet sheet =workbook.createSheet(“sheet1”);

“`

这里我们创建了一个工作簿和一个工作表。其中工作簿是Excel的更高级别的中间对象,而工作表则是工作簿下的具体表格。

2、获取需要导出的数据,并将其写入到Excel文件中

在准备工作完成之后,我们需要从数据库中获取需要导出的数据,并将其写入到创建好的Excel文件中。具体的实现方法如下:

“`

//获取连接

Connection con=this.getConnection();

Statement st = null;

ResultSet rs = null;

try {

    st = con.createStatement();

    rs = st.executeQuery(“select * from student”);//查询的SQL语句

    int rowNum = 1;

    // 添加excel的表头

Row headRow = sheet.createRow(0);

ResultSetMetaData rd = rs.getMetaData();

for (int i = 1; i

String columnName = rd.getColumnName(i);

Cell headCell = headRow.createCell(i-1);

headCell.setCellValue(columnName);

}

    while(rs.next()){

        Row row = sheet.createRow(rowNum);

        for(int i=0;i

            Cell cell = row.createCell(i);

            Object objVal = rs.getObject(i+1);

            if(objVal!=null){

                cell.setCellValue(objVal.toString());

            }

        }

        rowNum++;

    }

    

}catch(Exception e){

    e.printStackTrace();

} finally {

    try{

        if(st!=null) st.close();

        if(rs!=null) rs.close();

    }catch(SQLException e){

        e.printStackTrace();

    }

}

“`

在写入数据的过程中,我们需要注意如下问题:

① 在写入数据之前,我们需要先添加Excel表格的表头,以便于查看数据的内容;

② 在从ResultSet对象中获取每列对应的列名、列类型和列值时,一定要使用ResultSetMetaData类的方法来获取,这样可以更好的获取元数据信息,更加准确地组织数据。

3、保存Excel文件

数据写入Excel文件结束后,我们需要将这个文件保存到本地,可以使用FileOutputStream实现文件的输出和保存。具体的实现方法如下:

“`

File file = new File(“D:/student.xlsx”);

FileOutputStream fos = null;

try {

    if(!file.exists()){

        file.createNewFile();

    }

    fos=new FileOutputStream(file);

workbook.write(fos);

} catch (Exception e) {

    e.printStackTrace();

}finally {

    try {

        if (fos != null) {

            fos.close();

        }

    } catch (IOException e) {

        e.printStackTrace();

    }

}

“`

在保存Excel文件的过程中,我们需要注意如下问题:

① 在保存Excel文件之前,需要先判断文件是否存在,如果不存在,则需要创建新的文件;

② 在保存Excel文件之前,需要使用FileOutputStream来创建文件输出流,将文件的输出流与Excel文件进行关联,最后调用workbook.write(fos)方法来写入数据。

三、

利用Java实现数据库数据导出为Excel表格是一项非常实用的技术,可以大大提高数据处理的效率和准确性。Java中提供了POI和Excel工具包可以用来快速导出Excel文件,并且通过连接数据库和使用ResultSet对象可以快速获取需要导出的数据,然后将数据写入到Excel文件中并保存到本地。

相关问题拓展阅读:

java导出excel

试试double型

java导出Excel

java 代码 /* * Generated by MyEclipse Struts * Template path: templates/java/JavaClass.vtl */ package com.axon.fable.sams.view.action; import java.io.IOException; import java.io.OutputStream; import java.util.List; import javax.serv …

java导出Excel例举方式

方法一:导出Excel数据的插件jexcelapi

程序实例如下:

public void exportClassroom(OutputStream os) throws PaikeException {

try {

WritableWorkbook wbook = Workbook.createWorkbook(os); //建立excel文件

WritableSheet wsheet = wbook.createSheet(“教室信息表”, 0); //工作表名称

//设置Excel字体

WritableFont wfont = new WritableFont(WritableFont.ARIAL, 16,

WritableFont.BOLD, false,

jxl.format.UnderlineStyle.NO_UNDERLINE,

jxl.format.Colour.BLACK);

WritableCellFormat titleFormat = new WritableCellFormat(wfont);

String title = { “教室名”, “容 量”, “类 型”, “其他说明”兆源 };

//设置锋猜渗银脊Excel表头

for (int i = 0; i </p> <p>Label excelTitle = new Label(i, 0, title<i>, titleFormat); </p> <p><p>wsheet.addCell(excelTitle); </p> <p>} </p> <p>int c = 1; //用于循环时Excel的行号 </p> <p>ClassroomService cs = new ClassroomService(); </p> <p>List list = cs.findAllClassroom(); //这个是从数据库中取得要导出的数据 </p> <p>Iterator it = list.iterator(); </p> <p>while (it.hasNext()) { </p> <p>ClassroomDTO crdto = (ClassroomDTO) it.next(); </p> <p>Label content1 = new Label(0, c, crdto.getRoomname()); </p> <p>Label content2 = new Label(1, c, crdto.getCapicity().toString()); </p> <p>Label content3 = new Label(2, c, crdto.getRoomTypeId() </p> <p>.toString()); </p> <p>Label content4 = new Label(3, c, crdto.getRemark()); </p> <p>wsheet.addCell(content1); </p> <p>wsheet.addCell(content2); </p> <p>wsheet.addCell(content3); </p> <p>wsheet.addCell(content4); </p> <p>c++; </p> <p>} </p> <p>wbook.write(); //写入文件 </p> <p>wbook.close(); </p> <p>os.close(); </p> <p>} catch (Exception e) { </p> <p>throw new PaikeException(“导出文件出错”); </p> <p>} </p> <p>} </p> <p>方法二:直接用Java代码实现导出Excel报表 </p> <p>/* </p> <p>* Generated by MyEclipse Struts </p> <p>* Template path: templates/java/JavaClass.vtl </p> <p>*/ </p> <p>package com.axon.fable.sams.view.action; </p> <p>import java.io.IOException; </p> <p>import java.io.OutputStream; </p> <p>import java.util.List; </p> <p>import javax.servlet.http.HttpServletRequest; </p> <p>import javax.servlet.http.HttpServletResponse; </p> <p>import jxl.Workbook; </p> <p>import jxl.write.WriteException; </p> <p>import jxl.write.biff.RowsExceededException; </p> <p>import org.apache.struts.action.ActionForm; </p> <p>import org.apache.struts.action.ActionForward; </p> <p>import org.apache.struts.action.ActionMapping; </p> <p>import org.hibernate.HibernateException; </p> <p>import org.hibernate.Query; </p> <p>import org.hibernate.Session; </p> <p>import org.hibernate.Transaction; </p> <p>import com.axon.fable.empolderpackage.out.OutJavaScript; </p> <p>import com.axon.fable.empolderpackage.page.Pager; </p> <p>import com.axon.fable.empolderpackage.string.MyPublic; </p> <p>import com.axon.fable.sams.common.BaseAction; </p> <p>import com.axon.fable.sams.exception.AppBusinessException; </p> <p>import com.axon.fable.sams.exception.AppSystemException; </p> <p>/** </p> <p>* MyEclipse Struts </p> <p>* Creation date:</p> <p>* </p> <p>* XDoclet definition: </p> <p>* @struts.action path=”/axon” name=”axonForm” input=”/samspage/zm/axon.jsp” parameter=”method” scope=”request” validate=”true” </p> <p>* @struts.action-forward name=”success” path=”/samspage/zm/content.jsp” </p> <p>*/ </p> <p>public class StshipoperationAction extends BaseAction { </p> <p>/* </p> <p>* Generated Methods </p> <p>*/ </p> <p>private static Session session=null; </p> <p>private static Transaction ts=null; </p> <p>private static Query queryC=null; </p> <p>private static Query queryR=null; </p> <p>private static Query query=null; </p> <p>private static List list=null; </p> <p>private static Integer startRow; </p> <p>private static Integer ncurrentPage; </p> <p>private static Integer cell; </p> <p>private static String property; </p> <p>private static String sql; </p> <p>private static String type; </p> <p>private static String condition ;//是否导出当前页 </p> <p>private static String currentPage; </p> <p>private static String from ; </p> <p>private static String pactdata; </p> <p>private static String voyagename; </p> <p>private static String voyageno; </p> <p>private static String dwt ; </p> <p>private static String hirefrom ; </p> <p>private static String deliveryposion ; </p> <p>private static String redeliveryposion ; </p> <p>private static String sheepowner ; </p> <p>private static String addr; </p> <p>private static String addcomm; </p> <p>private static String rent; </p> <p>private static String fileName ; </p> <p>private static OutputStream os; </p> <p>@Override </p> <p>public ActionForward findAll(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { </p> <p>// TODO Auto-generated method stub </p> <p>return null; </p> <p>} </p> <p>@Override </p> <p>public ActionForward findById(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { </p> <p>// TODO Auto-generated method stub </p> <p>return null; </p> <p>} </p> <p>@Override </p> <p>public ActionForward save(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { </p> <p>// TODO Auto-generated method stub </p> <p>return null; </p> <p>} </p> <p>public static String strNull(Object nullStr,String newStr,Integer cell){ </p> <p>if(nullStr==null||nullStr.equals(“”)){return newStr;}else{cell+=1;return nullStr+””;} </p> <p>} </p> <p>public static String getStr(String str,Integer cell){ </p> <p>if(str==null||str.trim().equals(“”)){return “”;}else{cell+=1;return “,”+str;} </p> <p>} </p> <p>public static String getExcelTile(String title){ </p> <p>if(title==null) </p> <p>return “”; </p> <p>if(title.equals(“modela.stsid”)) </p> <p>return “编号”; </p> <p>if(title.equals(“modelc.pactdata”)) </p> <p>return “合同日期”; </p> <p>if(title.equals(“modela.voyagename”)) </p> <p>return “航名”; </p> <p>if(title.equals(“modela.voyageno”)) </p> <p>return “航次”; </p> <p>if(title.equals(“modelc.dwt”)) </p> <p>return “DWT”; </p> <p>if(title.equals(“modelc.hirefrom”)) </p> <p>return “受载期”; </p> <p>if(title.equals(“modela.deliveryposion”)) </p> <p>return “交船地点”; </p> <p>if(title.equals(“modela.redeliveryposion”)) </p> <p>return “还船地点”; </p> <p>if(title.equals(“modelc.sheepowner”)) </p> <p>return “联系人”; </p> <p>if(title.equals(“modelc.addr”)) </p> <p>return “经纪人拥金”; </p> <p>if(title.equals(“modelc.addcomm”)) </p> <p>return “ADD COMM”; </p> <p>if(title.equals(“modelc.rent”)) </p> <p>return “租金”; </p> <p>return “”; </p> <p>} </p> <p>public ActionForward exporVoyagesInfoToExcel(ActionMapping mapping, ActionForm form, </p> <p>HttpServletRequest request, HttpServletResponse response) { </p> <p>list=null; </p> <p>startRow=0; </p> <p>ncurrentPage=1; </p> <p>cell=0; </p> <p>type =request.getParameter(“type”); </p> <p>condition =request.getParameter(“condition”);//是否导出当前页 </p> <p>currentPage =request.getParameter(“currentPage”); </p> <p>from =request.getParameter(“from”); </p> <p>pactdata = request.getParameter(“modelc.pactdata”); </p> <p>voyagename = request.getParameter(“modela.voyagename”); </p> <p>voyageno = request.getParameter(“modela.voyageno”); </p> <p>dwt = request.getParameter(“modelc.dwt”); </p> <p>hirefrom = request.getParameter(“modelc.hirefrom”); </p> <p>deliveryposion = request.getParameter(“modela.deliveryposion”); </p> <p>redeliveryposion = request.getParameter(“modela.redeliveryposion”); </p> <p>sheepowner = request.getParameter(“modelc.sheepowner”); </p> <p>addr = request.getParameter(“modelc.addr”); </p> <p>addcomm = request.getParameter(“modelc.addcomm”); </p> <p>rent = request.getParameter(“modelc.rent”); </p> <p>if(type!=null&&type.trim().equals(“1”)){ </p> <p>type =”已还船舶–费用未结清”; </p> <p>}else{ </p> <p>type =”已还船舶–费用已结清”; </p> <p>} </p> <p>property =getStr(pactdata,cell)+getStr(voyagename,cell)+getStr(voyageno,cell)+getStr(dwt,cell)+getStr(hirefrom,cell) </p> <p>+getStr(deliveryposion,cell)+getStr(redeliveryposion,cell)+getStr(sheepowner,cell)+getStr(addr,cell)+getStr(addcomm,cell) </p> <p>+getStr(rent,cell); </p> <p>property = property.substring(1); </p> <p>String split = property.split(“,”); </p> <p>// System.out.println(“-property:”+property); </p> <p>if(currentPage!=null&&!currentPage.trim().equals(“”)){ </p> <p>ncurrentPage =Integer.parseInt(currentPage); </p> <p>}else{ </p> <p>OutJavaScript.outString(response, “Sorry! Failed to get information of pager.”); </p> <p>return null; </p> <p>} </p> <p>try { </p> <p>session =getServiceLocator().getBaseHibernateDAO().getSession(); </p> <p>sql =”select count(*) “+from; </p> <p>query =session.createQuery(sql); </p> <p>list = query.list(); </p> <p>for (int i = 0; i </p> <p>totalSize =(Integer)list.get(i); </p> <p>if(totalSize!=0){ </p> <p>pager =new Pager(ncurrentPage,totalSize); </p> <p>} </p> <p>} </p> <p>query =getServiceLocator().getBaseHibernateDAO().getSession().createQuery(“select ” +property+from); </p> <p>if(condition!=null&&condition.trim().equals(“1”)){//分页数据 </p> <p>startRow = (ncurrentPage – 1)*pager.getPageSize(); </p> <p>query.setFirstResult(startRow); </p> <p>query.setMaxResults(pager.getPageSize()); </p> <p>// System.out.println(“query:”+query); </p> <p>} </p> <p>list = query.list(); </p> <p>fileName = “shipInfo”; </p> <p>os = response.getOutputStream(); </p> <p>response.reset(); </p> <p>response.setHeader(“Content-disposition”, </p> <p>“attachment; filename=” +fileName + “.xls”); </p> <p>response.setContentType(“application/msexcel”); </p> <p>jxl.write.WritableWorkbook wbook = Workbook.createWorkbook(os); </p> <p>jxl.write.WritableSheet wsheet = wbook.createSheet(“the first sheet”, 0); </p> <p>for (int i = 0; i </p> <p>jxl.write.Label wlabel0; </p> <p>wlabel0 = new jxl.write.Label(i, 0, getExcelTile(split<i>)); </p> <p><p>wsheet.addCell(wlabel0); </p> <p>} </p> <p>jxl.write.Label wlabel1; </p> <p>for(int i=0;i</p> <p>if(split.length==1){ </p> <p>Object strval = (Object) list.get(i); </p> <p>String javaScript=””+MyPublic.toHtmlStr(strval==null?””:strval.toString().trim())+””; </p> <p>wlabel1 = new jxl.write.Label(0, i+1,strval==null?””:strval.toString().trim() ); </p> <p>wsheet.addCell(wlabel1); </p> <p>}else{ </p> <p>Object strval = (Object) list.get(i); </p> <p>for(int j=0;j</p> <p>String javaScript=””+MyPublic.toHtmlStr(strval==null?””:strval.toString().trim())+””; </p> <p><p>//System.out.println(“===================script:”+javaScript); </p> <p>wlabel1 = new jxl.write.Label(j, i+1,strval==null?””:strval.toString().trim() ); </p> <p><p>wsheet.addCell(wlabel1); </p> <p>} </p> <p>} </p> <p>} </p> <p>wbook.write(); </p> <p>response.flushBuffer(); </p> <p>wbook.close(); </p> <p>os.close(); </p> <p>} catch (IOException e) { </p> <p>// TODO Auto-generated catch block </p> <p>OutJavaScript.outString(response, “Sorry! Export Excel exception.”); </p> <p>e.printStackTrace(); </p> <p>} catch (HibernateException e1) { </p> <p>// TODO Auto-generated catch block </p> <p>OutJavaScript.outString(response, “Sorry! Database exception.”); </p> <p>e1.printStackTrace(); </p> <p>} catch (AppSystemException e1) { </p> <p>// TODO Auto-generated catch block </p> <p>OutJavaScript.outString(response, “Sorry! System exception.”); </p> <p>e1.printStackTrace(); </p> <p>} catch (AppBusinessException e1) { </p> <p>// TODO Auto-generated catch block </p> <p>OutJavaScript.outString(response, “Sorry! Database exception.”); </p> <p>e1.printStackTrace(); </p> <p>} catch (RowsExceededException e) { </p> <p>// TODO Auto-generated catch block </p> <p>OutJavaScript.outString(response, “Sorry! Export Excel exception.”); </p> <p>e.printStackTrace(); </p> <p>} catch (WriteException e) { </p> <p>// TODO Auto-generated catch block </p> <p>OutJavaScript.outString(response, “Sorry! Export Excel exception.”); </p> <p>e.printStackTrace(); </p> <p>} </p> <p>return null; </p> <p>} </p> <p>@Override </p> <p>public ActionForward update(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { </p> <p>// TODO Auto-generated method stub </p> <p>return null; </p> <p>} </p> <p>}</p> <p>还有其他很多种 字数限制 无法一一举例方式</p> <p>这个好像不能实现吧,导出的应该都是文本的!</p> <h3 id="如何从java输出到excel"><span class="ez-toc-section" id="%E5%A6%82%E4%BD%95%E4%BB%8Ejava%E8%BE%93%E5%87%BA%E5%88%B0excel"></span>如何从java输出到excel<span class="ez-toc-section-end"></span></h3> <p>用JAVA程序,读取或者写入excel文件戚岁,通过用jxl或者poi,下面是我给你写的例子。分别是用jxl读写excel文件,用poi读写excel文件。希望对你有帮助。(需要下载jxl和poi的jar包仿蚂)</p> <p>package util.excel;</p> <p>import java.io.FileInputStream;</p> <p>import java.io.FileOutputStream;</p> <p>import java.io.IOException;</p> <p>import java.util.ArrayList;</p> <p>import java.util.HashMap;</p> <p>import java.util.List;</p> <p>import java.util.Map;</p> <p>import jxl.Cell;</p> <p>import jxl.Sheet;</p> <p>import jxl.Workbook;</p> <p>import jxl.format.Colour;</p> <p>import jxl.format.UnderlineStyle;</p> <p>import jxl.write.Label;</p> <p>import jxl.write.WritableCellFormat;</p> <p>import jxl.write.WritableFont;</p> <p>import jxl.write.WritableSheet;</p> <p>import jxl.write.WritableWorkbook;</p> <p>import org.apache.poi.hssf.usermodel.HSSFCell;</p> <p>import org.apache.poi.hssf.usermodel.HSSFRichTextString;</p> <p>import org.apache.poi.hssf.usermodel.HSSFRow;</p> <p>import org.apache.poi.hssf.usermodel.HSSFSheet;</p> <p>import org.apache.poi.hssf.usermodel.HSSFWorkbook;</p> <p>import org.apache.poi.poifs.filesystem.POIFSFileSystem;</p> <p>public class ExcelUtil {</p> <p> /**</p> <p> * @param args</p> <p> * @throws IOException</p> <p> */</p> <p> public static void main(String args) throws IOException {</p> <p> String outFile = “D:/workspace/JavaStudy/src/util/excel/test.xls”;</p> <p> ExcelUtil.writeExcelByJXL(outFile, null);</p> <p> }</p> <p> /**</p> <p> * </p> <p> * @title: readExcelByJXL</p> <p> * @description: 通过jxl读取excel文件</p> <p> * @author yu ren tian </p> <p> * @email </p> <p> * @param excelFile</p> <p> * @return</p> <p> * @throws IOException</p> <p> */</p> <p> private static List readExcelByJXL(String excelFile) throws IOException {</p> <p> List rtn = new ArrayList();</p> <p> FileInputStream fileInputStream = null;</p> <p> try {</p> <p> fileInputStream = new FileInputStream(excelFile);</p> <p> Workbook excelWorkBook = Workbook.getWorkbook(fileInputStream);</p> <p> Sheet sheet = excelWorkBook.getSheet(0);</p> <p> int m = sheet.getRows();</p> <p> int n = sheet.getColumns();</p> <p> for (int i = 1; i </p> <p>function AllAreaExcel() { </p> <p>var title;</p> <p>title=document.getElementsByTagName(“table”).childNodes.item(0).childNodes(0).childNodes(0).innerText;</p> <p><p>alert(title);</p> <p>var oXL = new ActiveXObject(“Excel.Application”); </p> <p>var oWB = oXL.Workbooks.Add(); </p> <p>var oSheet = oWB.ActiveSheet; </p> <p>//从excel的第5行开始插入</p> <p>oSheet.Range(“A5”).select; </p> <p>oWB .Worksheets(1).Activate;</p> <p>oSheet.Cells(3,1).Value=title; //在第3行插入报表头</p> <p>oWB.Worksheets(1).Range(“A3:I3”).merge(); // 合并单元格区域 A3:I3</p> <p>oWB.Worksheets(1).Range(“亩掘A3:I3”).HorizontalAlignment=3; //旁或居中对齐A3:I3</p> <p>var sel=document.body.createTextRange();</p> <p>sel.moveToElementText(table1); //table 的ID值</p> <p>sel.select();</p> <p>sel.execCommand(“Copy”);</p> <p>oSheet.Paste(); </p> <p>oXL.Visible = true;</p> <h3 id="Java怎样将数据库中数据导出为Excel文件,求完整例子附带数据库。"><span class="ez-toc-section" id="Java%E6%80%8E%E6%A0%B7%E5%B0%86%E6%95%B0%E6%8D%AE%E5%BA%93%E4%B8%AD%E6%95%B0%E6%8D%AE%E5%AF%BC%E5%87%BA%E4%B8%BAExcel%E6%96%87%E4%BB%B6%EF%BC%8C%E6%B1%82%E5%AE%8C%E6%95%B4%E4%BE%8B%E5%AD%90%E9%99%84%E5%B8%A6%E6%95%B0%E6%8D%AE%E5%BA%93%E3%80%82"></span>Java怎样将数据库中数据导出为Excel文件,求完整例子附带数据库。<span class="ez-toc-section-end"></span></h3> <p>用POI啊!</p> <p>感觉挺好使的,刚刚做完一个账目表导出。</p> <p>下面是我写的一个运用jxl生成Excel文件的方法</p> <p>该方法接收一个保存MarkesData数据的ArrayList arlist和文件生成路径Path</p> <p>通过取得arlist里的数据生成Excel文件</p> <p>感觉应尺知该是你想要的 我没调试过也许有错 你也可以根据你的需要进握穗行修改^_^</p> <p>import java.io.File;</p> <p>import java.io.IOException;</p> <p>import java.util.ArrayList;</p> <p>import java.util.Iterator;</p> <p>import jxl.Workbook;</p> <p>import jxl.write.Label;</p> <p>import jxl.write.WritableSheet;</p> <p>import jxl.write.WritableWorkbook;</p> <p>import jxl.write.WriteException;</p> <p>import jxl.write.biff.RowsExceededException;</p> <p>public class WriteExcel {</p> <p>WritableWorkbook book=null;</p> <p>public void OutputExcel(ArrayList arlist,String Path){</p> <p> try{</p> <p>book = Workbook.createWorkbook(new File(Path));</p> <p>//设置表名</p> <p>WritableSheet sheet = book.createSheet(“考试单”,0);</p> <p>//生成表格题头</p> <p>Label labe1 = new Label(0, 0, “考生姓名” );</p> <p>Label labe2 = new Label(1, 0, “地区”);</p> <p>Label labe3 = new Label(2, 0, “所属院校”);</p> <p>Label labe4 = new Label(3, 0, “班级”);</p> <p>Label labe5 = new Label(4, 0, “考试号”);</p> <p>Label labe6 = new Label(5, 0, “考试时间”);</p> <p>Label labe7 = new Label(6, 0, “科目名称”);</p> <p>//将生成的段困卜单元格添加到工作表中 </p> <p>sheet.addCell(labe1);</p> <p>sheet.addCell(labe2);</p> <p>sheet.addCell(labe3);</p> <p>sheet.addCell(labe4);</p> <p>sheet.addCell(labe5);</p> <p>sheet.addCell(labe6);</p> <p>sheet.addCell(labe7);</p> <p>Iterator it = arlist.iterator();</p> <p>int i = 1;</p> <p> while(it.hasNext()){</p> <p>//通过迭代获得arlist里的MarkesData对象</p> <p>MarkesData temp = (MarkesData)it.next();</p> <p>//取得数据生成单元格</p> <p>Label label1=new Label(0,i,temp.getUser_name());</p> <p>Label label2=new Label(1,i,temp.getArea_name());</p> <p>Label label3=new Label(2,i,temp.getCollege_name());</p> <p>Label label4=new Label(3,i,temp.getClass_name());</p> <p>Label label5=new Label(4,i,temp.getTest_name());</p> <p>Label label6=new Label(5,i,temp.getStarttime());</p> <p>Label label7=new Label(6,i,temp.getSubject_name());</p> <p>//将生成的单元格添加到工作表中 </p> <p>sheet.addCell(label1);</p> <p>sheet.addCell(label2);</p> <p>sheet.addCell(label3);</p> <p>sheet.addCell(label4);</p> <p>sheet.addCell(label5);</p> <p>sheet.addCell(label6);</p> <p>sheet.addCell(label7); </p> <p>i++;</p> <p>}</p> <p>book.write(); </p> <p>book.close();</p> <p>} catch (RowsExceededException e) { </p> <p>e.printStackTrace(); </p> <p>} catch (WriteException e) { </p> <p>e.printStackTrace(); </p> <p>} catch (IOException e) { </p> <p>e.printStackTrace(); </p> <p>} finally{</p> <p>try{</p> <p> if(book!=null)book.close();</p> <p>}catch(Exception e){</p> <p> System.out.println(“exception when closing Connection in finally”);</p> <p> System.out.println(e.getMessage().toString());</p> <p>}</p> <p>}</p> <p> }</p> <p>}</p> <p>java导出数据库数据为excel的介绍就聊到这里吧,感谢你花时间阅读本站内容,更多关于java导出数据库数据为excel,用Java轻松实现数据库数据导出为Excel表格,java导出excel,如何从java输出到excel,Java怎样将数据库中数据导出为Excel文件,求完整例子附带数据库。的信息别忘了在本站进行查找喔。</p> <link rel="stylesheet" href="https://www.88531.cn/wp-content/plugins/mycopyright/myCopyRight.css?v=5"><p>来源地址:<a href="https://www.88531.cn/16774.html" rel="bookmark" title="本文固定链接 https://www.88531.cn/16774.html">用Java轻松实现数据库数据导出为Excel表格 (java导出数据库数据为excel)</a></p><p>转载声明:本站文章若无特别说明,皆为原创,转载请注明来源:<a href="https://www.88531.cn">www.88531.cn资享网</a>,谢谢!^^</p><div class='yarpp yarpp-related yarpp-related-website yarpp-related-none yarpp-template-list'> <p>无关联文章</p> </div> </div> <div class="em09 muted-3-color"><div><span>©</span> 版权声明</div><div class="posts-copyright">文章版权归作者所有,未经允许请勿转载。</div></div><div class="text-center theme-box muted-3-color box-body separator em09">THE END</div><div class="theme-box article-tags"><a class="but ml6 radius c-blue" title="查看更多分类文章" href="https://www.88531.cn/category/jsfx"><i class="fa fa-folder-open-o" aria-hidden="true"></i>技术分享</a><a class="but ml6 radius c-yellow" title="查看更多分类文章" href="https://www.88531.cn/category/jsfx/database"><i class="fa fa-folder-open-o" aria-hidden="true"></i>数据库</a><br></div> </div> <div class="text-center muted-3-color box-body em09">喜欢就支持一下吧</div><div class="text-center post-actions"><a href="javascript:;" data-action="like" class="action action-like" data-pid="16774"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-like"></use></svg><text>点赞</text><count>9</count></a><span class="hover-show dropup action action-share"> <svg class="icon" aria-hidden="true"><use xlink:href="#icon-share"></use></svg><text>分享</text><div class="zib-widget hover-show-con share-button dropdown-menu"><div><a class="share-btn qzone" target="_blank" title="QQ空间" href="https://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url=https://www.88531.cn/16774.html&title=用Java轻松实现数据库数据导出为Excel表格 (java导出数据库数据为excel)-www.88531.cn资享网&pics=&summary=在数据处理过程中,将数据库中的数据导出为Excel表格是一项非常常见的操作。利用Java可以快速、高效地将数据导出为Excel表格,大大提高了数据处理效率和准确性。"><icon><svg class="icon" aria-hidden="true"><use xlink:href="#icon-qzone-color"></use></svg></icon><text>QQ空间<text></a><a class="share-btn weibo" target="_blank" title="微博" href="https://service.weibo.com/share/share.php?url=https://www.88531.cn/16774.html&title=用Java轻松实现数据库数据导出为Excel表格 (java导出数据库数据为excel)-www.88531.cn资享网&pic=&searchPic=false"><icon><svg class="icon" aria-hidden="true"><use xlink:href="#icon-weibo-color"></use></svg></icon><text>微博<text></a><a class="share-btn qq" target="_blank" title="QQ好友" href="https://connect.qq.com/widget/shareqq/index.html?url=https://www.88531.cn/16774.html&title=用Java轻松实现数据库数据导出为Excel表格 (java导出数据库数据为excel)-www.88531.cn资享网&pics=&desc=在数据处理过程中,将数据库中的数据导出为Excel表格是一项非常常见的操作。利用Java可以快速、高效地将数据导出为Excel表格,大大提高了数据处理效率和准确性。"><icon><svg class="icon" aria-hidden="true"><use xlink:href="#icon-qq-color"></use></svg></icon><text>QQ好友<text></a><a class="share-btn poster" poster-share="16774" title="海报分享" href="javascript:;"><icon><svg class="icon" aria-hidden="true"><use xlink:href="#icon-poster-color"></use></svg></icon><text>海报分享<text></a><a class="share-btn copy" data-clipboard-text="https://www.88531.cn/16774.html" data-clipboard-tag="链接" title="复制链接" href="javascript:;"><icon><svg class="icon" aria-hidden="true"><use xlink:href="#icon-copy-color"></use></svg></icon><text>复制链接<text></a></div></div></span><a href="javascript:;" class="action action-favorite signin-loader" data-pid="16774"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-favorite"></use></svg><text>收藏</text><count></count></a></div> </article> <div class="theme-box" style="height:99px"> <nav class="article-nav"> <div class="main-bg box-body radius8 main-shadow"> <a href="https://www.88531.cn/14519.html"> <p class="muted-2-color"><i class="fa fa-angle-left em12"></i><i class="fa fa-angle-left em12 mr6"></i>上一篇</p> <div class="text-ellipsis-2"> 的数据?如何查询ON数据库内数据? (js怎么查询json数据库中) </div> </a> </div> <div class="main-bg box-body radius8 main-shadow"> <a href="https://www.88531.cn/12415.html"> <p class="muted-2-color">下一篇<i class="fa fa-angle-right em12 ml6"></i><i class="fa fa-angle-right em12"></i></p> <div class="text-ellipsis-2"> 数据库表中的三线表:优化性能与提高效率 (数据库表三线表) </div> </a> </div> </nav> </div> <div class="zib-widget widget_block"><a href="https://www.aliyun.com/daily-act/ecs/activity_selection?userCode=lxmgma61"> <img decoding="async" src="https://www.88531.cn/wp-content/uploads/2024/08/20240816010357295.png" width="100%"> </a></div> </div> </div> <div class="sidebar"> <div data-affix="true"></div><div data-affix="true" class="posts-nav-box" data-title="文章目录"></div><div class="mb20"><div class="user-card zib-widget widget"><div class="user-cover graphic" style="padding-bottom: 50%;"><img class="lazyload fit-cover user-cover user-cover-id-1" src="https://www.88531.cn/wp-content/themes/zibll6.92/img/thumbnail-lg.svg" data-src="/wp-content/themes/zibll6.92/img/user_t.jpg" alt="用户封面"></div> <div class="card-content mt10 relative"> <div class="user-content"> <div class="user-avatar"><a href="https://www.88531.cn/author/1"><span class="avatar-img avatar-lg"><img alt="NO.1的头像-www.88531.cn资享网" src="/wp-content/themes/zibll6.92/img/avatar-default.png" data-src="/wp-content/themes/zibll6.92/img/avatar-default.png" class="lazyload avatar avatar-id-1"><img class="lazyload avatar-badge" src="https://www.88531.cn/wp-content/themes/zibll6.92/img/thumbnail.svg" data-src="https://www.88531.cn/wp-content/themes/zibll_v7.3/img/vip-2.svg" data-toggle="tooltip" title="钻石会员" alt="钻石会员"></span></a></div> <div class="user-info mt20 mb10"> <div class="user-name flex jc"><name class="flex1 flex ac"><a class="display-name text-ellipsis " href="https://www.88531.cn/author/1">NO.1</a><img class="lazyload img-icon ml3" src="https://www.88531.cn/wp-content/themes/zibll6.92/img/thumbnail-null.svg" data-src="https://www.88531.cn/wp-content/themes/zibll_v7.3/img/user-level-6.png" data-toggle="tooltip" title="LV6" alt="等级-LV6-www.88531.cn资享网"><a href="javascript:;" class="focus-color ml10 follow flex0 signin-loader" data-pid="1"><count><i class="fa fa-heart-o mr3" aria-hidden="true"></i>关注</count></a></name></div> <div class="author-tag mt10 mini-scrollbar"><a class="but c-blue tag-posts" data-toggle="tooltip" title="共1.4W+篇文章" href="https://www.88531.cn/author/1"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-post"></use></svg>1.4W+</a><a class="but c-green tag-comment" data-toggle="tooltip" title="共1条评论" href="https://www.88531.cn/author/1?tab=comment"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-comment"></use></svg>1</a><a class="but c-yellow tag-follow" data-toggle="tooltip" title="共2个粉丝" href="https://www.88531.cn/author/1?tab=follow"><i class="fa fa-heart em09"></i>2</a><span class="badg c-red tag-view" data-toggle="tooltip" title="人气值 176W+"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-hot"></use></svg>176W+</span></div> <div class="user-desc mt10 muted-2-color em09">一名从事IT行业的技术宅,主要研究C#编程,业余喜欢搞搞网络硬件</div> </div> </div> <div class="more-posts-mini"><div class="item"><a class="icon-circle text-ellipsis" href="https://www.88531.cn/37861.html">史上最详细Docker部署Mysql主从复制,带每一步骤图!!!</a></div><div class="item"><a class="icon-circle text-ellipsis" href="https://www.88531.cn/37843.html">终于找到了实现照片备份到 NAS 的终极免费方案</a></div><div class="item"><a class="icon-circle text-ellipsis" href="https://www.88531.cn/37802.html">一键搞定!LinkAndroid,你的手机全能管家-电脑操控手机</a></div><div class="item"><a class="icon-circle text-ellipsis" href="https://www.88531.cn/37835.html">IPTV Pro v9.0.0 for Android 解锁专业版 + 全球直播源 —— 从网络上的任何来源观看免费的直播电视频道</a></div><div class="item"><a class="icon-circle text-ellipsis" href="https://www.88531.cn/37827.html">TubeMate v3.4.11 for Android 官方清爽版 + windows 版 —— Youtube 、TikTok……等视频 / 音频免费下载应用,支持多种格式</a></div><div class="item"><a class="icon-circle text-ellipsis" href="https://www.88531.cn/37818.html">FolderSync Pro v3.5.12 for Android 解锁付费专业版设备本地存储「包括SD卡」文件/文件夹与云存储同步应用00071</a></div></div> </div> </div></div><div><div class="box-body notop"><div class="title-theme">亲测资源</div></div><div class="zib-widget term-aggregation"><div class="mb20 hover-zoom-img flex px12-sm px12-m-s"><div class="term-img flex0 em09-sm"><a target="_blank" href="https://www.88531.cn/topics/qzzy"><div class="graphic hover-zoom-img " style="padding-bottom: 70%!important;"><img class="fit-cover lazyload" data-src="https://www.88531.cn/wp-content/themes/zibll_v7.3/img/user_t.jpg" src="https://www.88531.cn/wp-content/themes/zibll6.92/img/thumbnail.svg" alt="专题-亲测资源-www.88531.cn资享网"><badge class="img-badge px12"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-hot"></use></svg> 2.9W+</badge></div></a></div><div class="term-title ml10 flex xx flex1 jsb"><a class="em14 key-color" target="_blank" href="https://www.88531.cn/topics/qzzy">亲测资源</a><div class="text-ellipsis-2 muted-color">本站精华集合</div><div class="term-meta flex jsb ac"><sapn class="px12 muted-3-color"><i class="fa fa-file-text-o fa-fw"></i>100篇文章</sapn><a class="but p2-10 px12 c-blue hide-m-s" target="_blank" href="https://www.88531.cn/topics/qzzy"><i class="fa fa-angle-right"></i>更多文章</a></div></div></div><div class="mt10 flex jsb ac"><div class="text-ellipsis"><a class="icon-circle mln3" target="_blank" href="https://www.88531.cn/37402.html">【亲测有效】VMware虚拟机压缩回收磁盘空间-toolbox空间缩减解决VM占用多余空间问题</a></div><div class="em09 muted-3-color flex0 ml10"><i class="fa fa-clock-o mr3" aria-hidden="true"></i>34天前</div></div><div class="mt10 flex jsb ac"><div class="text-ellipsis"><a class="icon-circle mln3" target="_blank" href="https://www.88531.cn/36910.html">Android听歌APP 酷我音乐 11.0.2.0 免登录豪华SVIP破解开心版 无损无限免费下载</a></div><div class="em09 muted-3-color flex0 ml10"><i class="fa fa-clock-o mr3" aria-hidden="true"></i>56天前</div></div><div class="mt10 flex jsb ac"><div class="text-ellipsis"><a class="icon-circle mln3" target="_blank" href="https://www.88531.cn/36903.html">小苹果影视盒子v1.5免费版(TV版),内置接口多个播放源,免捐赠无广告修复版新苹果</a></div><div class="em09 muted-3-color flex0 ml10"><i class="fa fa-clock-o mr3" aria-hidden="true"></i>56天前</div></div><div class="mt10 flex jsb ac"><div class="text-ellipsis"><a class="icon-circle mln3" target="_blank" href="https://www.88531.cn/36669.html">【亲测】android安卓三个可用的虚拟位置location定位APP软件</a></div><div class="em09 muted-3-color flex0 ml10"><i class="fa fa-clock-o mr3" aria-hidden="true"></i>1个月前</div></div></div></div><div class="zib-widget widget_archive"><h3>归档</h3> <label class="screen-reader-text" for="archives-dropdown-8">归档</label> <select id="archives-dropdown-8" name="archive-dropdown"> <option value="">选择月份</option> <option value='https://www.88531.cn/date/2024/12'> 2024 年 12 月  (22)</option> <option value='https://www.88531.cn/date/2024/11'> 2024 年 11 月  (29)</option> <option value='https://www.88531.cn/date/2024/10'> 2024 年 10 月  (21)</option> <option value='https://www.88531.cn/date/2024/09'> 2024 年 9 月  (45)</option> <option value='https://www.88531.cn/date/2024/08'> 2024 年 8 月  (21)</option> <option value='https://www.88531.cn/date/2024/07'> 2024 年 7 月  (37)</option> <option value='https://www.88531.cn/date/2024/06'> 2024 年 6 月  (49)</option> <option value='https://www.88531.cn/date/2024/05'> 2024 年 5 月  (193)</option> <option value='https://www.88531.cn/date/2024/04'> 2024 年 4 月  (199)</option> <option value='https://www.88531.cn/date/2024/03'> 2024 年 3 月  (201)</option> <option value='https://www.88531.cn/date/2024/02'> 2024 年 2 月  (153)</option> <option value='https://www.88531.cn/date/2024/01'> 2024 年 1 月  (159)</option> <option value='https://www.88531.cn/date/2023/12'> 2023 年 12 月  (159)</option> <option value='https://www.88531.cn/date/2023/11'> 2023 年 11 月  (252)</option> <option value='https://www.88531.cn/date/2023/10'> 2023 年 10 月  (246)</option> <option value='https://www.88531.cn/date/2023/09'> 2023 年 9 月  (8039)</option> <option value='https://www.88531.cn/date/2023/08'> 2023 年 8 月  (4637)</option> <option value='https://www.88531.cn/date/2023/07'> 2023 年 7 月  (40)</option> </select> <script type="text/javascript"> /* <![CDATA[ */ (function() { var dropdown = document.getElementById( "archives-dropdown-8" ); function onSelectChange() { if ( dropdown.options[ dropdown.selectedIndex ].value !== '' ) { document.location.href = this.options[ this.selectedIndex ].value; } } dropdown.onchange = onSelectChange; })(); /* ]]> */ </script> </div><div class="theme-box"><div class="box-body notop"><div class="title-theme">标签云</div></div><div class="zib-widget widget-tag-cloud author-tag"><a target="_blank" href="https://www.88531.cn/tag/docker" class="text-ellipsis but c-blue">docker<span class="em09 tag-count"> (33)</span></a><a target="_blank" href="https://www.88531.cn/tag/pingguocms" class="text-ellipsis but c-yellow">苹果cms<span class="em09 tag-count"> (24)</span></a><a target="_blank" href="https://www.88531.cn/tag/wordpress" class="text-ellipsis but c-green">wordpress<span class="em09 tag-count"> (22)</span></a><a target="_blank" href="https://www.88531.cn/tag/zibi" class="text-ellipsis but c-purple">子比<span class="em09 tag-count"> (19)</span></a><a target="_blank" href="https://www.88531.cn/tag/shangcheng" class="text-ellipsis but c-red">商城<span class="em09 tag-count"> (19)</span></a><a target="_blank" href="https://www.88531.cn/tag/gongzhonghao" class="text-ellipsis but ">公众号<span class="em09 tag-count"> (19)</span></a><a target="_blank" href="https://www.88531.cn/tag/yuanchengzhuomian" class="text-ellipsis but c-blue-2">远程桌面<span class="em09 tag-count"> (18)</span></a><a target="_blank" href="https://www.88531.cn/tag/tvbox" class="text-ellipsis but c-yellow-2">TVBOX<span class="em09 tag-count"> (17)</span></a><a target="_blank" href="https://www.88531.cn/tag/rdp" class="text-ellipsis but c-green-2">RDP<span class="em09 tag-count"> (16)</span></a><a target="_blank" href="https://www.88531.cn/tag/nps" class="text-ellipsis but c-purple-2">NPS<span class="em09 tag-count"> (11)</span></a><a target="_blank" href="https://www.88531.cn/tag/renrenshangcheng" class="text-ellipsis but c-red-2">人人商城<span class="em09 tag-count"> (10)</span></a><a target="_blank" href="https://www.88531.cn/tag/frp" class="text-ellipsis but c-blue">FRP<span class="em09 tag-count"> (10)</span></a><a target="_blank" href="https://www.88531.cn/tag/nas" class="text-ellipsis but c-yellow">NAS<span class="em09 tag-count"> (10)</span></a><a target="_blank" href="https://www.88531.cn/tag/%e5%ae%9d%e5%a1%94" class="text-ellipsis but c-green">宝塔<span class="em09 tag-count"> (8)</span></a><a target="_blank" href="https://www.88531.cn/tag/xuniji" class="text-ellipsis but c-purple">虚拟机<span class="em09 tag-count"> (8)</span></a><a target="_blank" href="https://www.88531.cn/tag/neiwangchuantou" class="text-ellipsis but c-red">内网穿透<span class="em09 tag-count"> (8)</span></a><a target="_blank" href="https://www.88531.cn/tag/istore" class="text-ellipsis but ">istore<span class="em09 tag-count"> (8)</span></a><a target="_blank" href="https://www.88531.cn/tag/openwrt" class="text-ellipsis but c-blue-2">openwrt<span class="em09 tag-count"> (8)</span></a><a target="_blank" href="https://www.88531.cn/tag/guazai" class="text-ellipsis but c-yellow-2">挂载<span class="em09 tag-count"> (8)</span></a><a target="_blank" href="https://www.88531.cn/tag/dingwei" class="text-ellipsis but c-green-2">定位<span class="em09 tag-count"> (7)</span></a></div></div><div data-affix="true"><div class="box-body notop"><div class="title-theme">近一个月排行</div></div><div class="zib-widget hot-posts"><div class="relative"><a target="_blank" href="https://www.88531.cn/37412.html"><div class="graphic hover-zoom-img" style="padding-bottom: 60%!important;"><img src="https://www.88531.cn/wp-content/themes/zibll_v7.3/img/thumbnail.svg" data-src="https://www.88531.cn/wp-content/uploads/2024/11/37412thumb.png" alt="【亲测】解决VM 与HY共存,出现 Device/Credential Guard 不兼容-www.88531.cn资享网" class="lazyload fit-cover radius8"><div class="absolute linear-mask"></div><div class="abs-center left-bottom box-body"><div class="mb6"><span class="badg b-theme badg-sm">201人已阅读</span></div>【亲测】解决VM 与HY共存,出现 Device/Credential Guard 不兼容</div></div></a><badge class="img-badge left hot em12"><i>TOP1</i></badge></div><div class="flex mt15 relative hover-zoom-img"><a target="_blank" href="https://www.88531.cn/37861.html"><div class="graphic"><img src="https://www.88531.cn/wp-content/themes/zibll_v7.3/img/thumbnail.svg" data-src="https://www.88531.cn/wp-content/uploads/2024/12/37861thumb.png?v=1735295371" alt="史上最详细Docker部署Mysql主从复制,带每一步骤图!!!-www.88531.cn资享网" class="lazyload fit-cover radius8"></div></a><div class="term-title ml10 flex xx flex1 jsb"><div class="text-ellipsis-2"><a class="" target="_blank" href="https://www.88531.cn/37861.html">史上最详细Docker部署Mysql主从复制,带每一步骤图!!!</a></div><div class="px12 muted-3-color text-ellipsis flex jsb"><span><i class="fa fa-clock-o mr3" aria-hidden="true"></i>20小时前</span><span>196人已阅读</span></div></div><badge class="img-badge left hot jb-red"><i>TOP2</i></badge></div><div class="flex mt15 relative hover-zoom-img"><a target="_blank" href="https://www.88531.cn/37843.html"><div class="graphic"><img src="https://www.88531.cn/wp-content/themes/zibll_v7.3/img/thumbnail.svg" data-src="https://www.88531.cn/wp-content/uploads/2024/12/37843thumb.png?v=1735182021" alt="终于找到了实现照片备份到 NAS 的终极免费方案-www.88531.cn资享网" class="lazyload fit-cover radius8"></div></a><div class="term-title ml10 flex xx flex1 jsb"><div class="text-ellipsis-2"><a class="" target="_blank" href="https://www.88531.cn/37843.html">终于找到了实现照片备份到 NAS 的终极免费方案</a></div><div class="px12 muted-3-color text-ellipsis flex jsb"><span><i class="fa fa-clock-o mr3" aria-hidden="true"></i>前天</span><span>194人已阅读</span></div></div><badge class="img-badge left hot jb-yellow"><i>TOP3</i></badge></div><div class="flex mt15 relative hover-zoom-img"><a target="_blank" href="https://www.88531.cn/37802.html"><div class="graphic"><img src="https://www.88531.cn/wp-content/themes/zibll_v7.3/img/thumbnail.svg" data-src="https://www.88531.cn/wp-content/uploads/2024/12/37802thumb.png?v=1735179741" alt="一键搞定!LinkAndroid,你的手机全能管家-电脑操控手机-www.88531.cn资享网" class="lazyload fit-cover radius8"></div></a><div class="term-title ml10 flex xx flex1 jsb"><div class="text-ellipsis-2"><a class="" target="_blank" href="https://www.88531.cn/37802.html">一键搞定!LinkAndroid,你的手机全能管家-电脑操控手机</a></div><div class="px12 muted-3-color text-ellipsis flex jsb"><span><i class="fa fa-clock-o mr3" aria-hidden="true"></i>前天</span><span>194人已阅读</span></div></div><badge class="img-badge left hot b-gray"><i>TOP4</i></badge></div><div class="flex mt15 relative hover-zoom-img"><a target="_blank" href="https://www.88531.cn/37776.html"><div class="graphic"><img src="https://www.88531.cn/wp-content/themes/zibll_v7.3/img/thumbnail.svg" data-src="https://www.88531.cn/wp-content/uploads/2024/12/37776thumb.png?v=1735178045" alt="新手NAS首选:高性价比Docker应用推荐一览-www.88531.cn资享网" class="lazyload fit-cover radius8"></div></a><div class="term-title ml10 flex xx flex1 jsb"><div class="text-ellipsis-2"><a class="" target="_blank" href="https://www.88531.cn/37776.html">新手NAS首选:高性价比Docker应用推荐一览</a></div><div class="px12 muted-3-color text-ellipsis flex jsb"><span><i class="fa fa-clock-o mr3" aria-hidden="true"></i>前天</span><span>194人已阅读</span></div></div><badge class="img-badge left hot b-gray"><i>TOP5</i></badge></div><div class="flex mt15 relative hover-zoom-img"><a target="_blank" href="https://www.88531.cn/37609.html"><div class="graphic"><img src="https://www.88531.cn/wp-content/themes/zibll_v7.3/img/thumbnail.svg" data-src="https://www.88531.cn/wp-content/uploads/2024/12/37609thumb.png?v=1733382586" alt="安卓应用分身多开有术Pro v3.55.0/分身有术 v1.12.0 至尊Vip会员版-www.88531.cn资享网" class="lazyload fit-cover radius8"></div></a><div class="term-title ml10 flex xx flex1 jsb"><div class="text-ellipsis-2"><a class="" target="_blank" href="https://www.88531.cn/37609.html">安卓应用分身多开有术Pro v3.55.0/分身有术 v1.12.0 至尊Vip会员版</a></div><div class="px12 muted-3-color text-ellipsis flex jsb"><span><i class="fa fa-clock-o mr3" aria-hidden="true"></i>23天前</span><span>183人已阅读</span></div></div><badge class="img-badge left hot b-gray"><i>TOP6</i></badge></div></div></div><div class="zib-widget widget_block"><a href="https://www.aliyun.com/daily-act/ecs/activity_selection?userCode=lxmgma61"> <img decoding="async" src="https://www.88531.cn/wp-content/uploads/2024/08/2-19-1.png" width="100%"> </a> </div></div> </main> <div class="container fluid-widget"></div><footer class="footer"> <div class="container-fluid container-footer"> <ul class="list-inline"><li class="hidden-xs" style="max-width: 300px;"><p><a class="footer-logo" href="https://www.88531.cn" title=""> <img src="https://www.88531.cn/wp-content/themes/zibll6.92/img/thumbnail-sm.svg" data-src="https://www.88531.cn/wp-content/uploads/2024/08/diugai.com171276885347379-1.png" switch-src="https://www.88531.cn/wp-content/uploads/2024/08/diugai.com171276885347379-1.png" alt="www.88531.cn资享网" class="lazyload" style="height: 40px;"> </a></p><p class="title-h-left">特别声明</p><div class="footer-muted em09">本站所有资源均来源于互联网,如有侵权请联系站长(181050043#qq.com),将第一时间删除,源码仅供参考学习,请勿商用或其它非法用途,否则一切后果用户自负! </div></li><li style="max-width: 550px;"><p class="fcode-links"><a href="http://doc.88531.cn">在线文档</a> <a href="/privacy-policy">免责声明</a> <a href="#">广告合作</a> <a href="/topics/qzzy">亲测资源</a> <a href="https://www.88531.cn/wp-sitemap.xml" target="_blank">网站地图</a></p><div class="footer-muted em09">Copyright © 2023 · <a href="https://www.88531.cn">www.88531.cn资享网</a>  <a href="https://beian.miit.gov.cn/">陕ICP备2023008366号-4</a> </div><div class="footer-contact mt10"><a class="toggle-radius hover-show nowave" href="javascript:;"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-d-wechat"></use></svg><div class="hover-show-con footer-wechat-img"><img style="box-shadow: 0 5px 10px rgba(0,0,0,.2); border-radius:4px;" height="100" class="lazyload" src="https://www.88531.cn/wp-content/themes/zibll6.92/img/thumbnail-sm.svg" data-src="https://www.88531.cn/wp-content/uploads/2024/08/wx-1.jpg" alt="扫一扫加微信-www.88531.cn资享网"></div></a><a class="toggle-radius" data-toggle="tooltip" target="_blank" title="QQ联系" href="http://wpa.qq.com/msgrd?v=3&uin=181050043&site=qq&menu=yes"><svg class="icon" aria-hidden="true" data-viewBox="-50 0 1100 1100" viewBox="-50 0 1100 1100"><use xlink:href="#icon-d-qq"></use></svg></a><a class="toggle-radius" data-toggle="tooltip" title="微博" href="https://weibo.com/"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-d-weibo"></use></svg></a><a class="toggle-radius" data-toggle="tooltip" title="发邮件" href="mailto:181050043@QQ.COM"><svg class="icon" aria-hidden="true" data-viewBox="-20 80 1024 1024" viewBox="-20 80 1024 1024"><use xlink:href="#icon-d-email"></use></svg></a></div></li><li><div class="footer-miniimg" data-toggle="tooltip" title="扫码加微信"> <p> <img class="lazyload" src="https://www.88531.cn/wp-content/themes/zibll6.92/img/thumbnail-sm.svg" data-src="https://www.88531.cn/wp-content/uploads/2024/08/wx-1.jpg" alt="扫码加微信-www.88531.cn资享网"> </p> <span class="opacity8 em09">扫码加微信</span> </div></li></ul> </div> </footer> <style> /*猫爪*/ .title-theme { padding: 0px 0px 0px 45px!important; background: url(https://www.vxras.com/wp-content/uploads/2023/12/cat.svg) 10px center no-repeat; background-size: 30px 20px; color: #566889; } .title-theme:before { display:none; } .wp-posts-content>h1.wp-block-heading{ padding: 0px 0px 0px 45px!important; background: url(https://www.vxras.com/wp-content/uploads/2023/12/cat.svg) 10px center no-repeat; background-size: 30px 20px; } .wp-posts-content>h2.wp-block-heading{ padding: 0px 0px 0px 45px!important; background: url(https://www.vxras.com/wp-content/uploads/2023/12/cat.svg) 10px center no-repeat; background-size: 30px 20px; } .wp-posts-content>h3.wp-block-heading{ padding: 0px 0px 0px 45px!important; background: url(https://www.vxras.com/wp-content/uploads/2023/12/cat.svg) 10px center no-repeat; background-size: 30px 20px; } .wp-posts-content>h4.wp-block-heading{ padding: 0px 0px 0px 45px!important; background: url(https://www.vxras.com/wp-content/uploads/2023/12/cat.svg) 10px center no-repeat; background-size: 30px 20px; } .wp-posts-content>h1.wp-block-heading:before{ display:none; } .wp-posts-content>h2.wp-block-heading:before{ display:none; } .wp-posts-content>h3.wp-block-heading:before{ display:none; } .wp-posts-content>h4.wp-block-heading:before{ display:none; } </style> <div class="dimmer"></div> <style> #landlord .landlord-close {opacity: 0;visibility: hidden;width: 20px;height: 20px;line-height: 20px;background: rgb(0, 0, 0);text-align: center;color: #fff;position: absolute;top: 3px;right: 0;border-radius: 50%;font-size: 10px;cursor: pointer;z-index: 1;transition: .2s;} #landlord {user-select: none;position: fixed;left: 30px;bottom: 150px;z-index: 10000;font-size: 0;transition: all .3s ease-in-out;} #landlord .message {opacity: 0;width: 172px;height: auto;margin: auto;padding: 7px;top: -200px;left: -20px;text-align: center;color: #fff;border-radius: 12px;background-color: #0005;box-shadow: 0 3px 15px 2px #eae6e6;font-size: 13px;font-weight: 400;text-overflow: ellipsis;text-transform: uppercase;overflow: hidden;position: absolute;} @media (max-width: 767px){ #landlord .message {display: none;}} </style> <div id="landlord" style="display: block;"> <span class="landlord-close iconfont icon-guanbi" onclick="$('#landlord').hide();$('#flost-landlord').show();"></span> <div class="message" style="opacity: 1;">欢迎访问本站<br>您的访问时本站的荣幸<br>希望您能在本站<br>找到您想要的资源</div> </div> <script type="text/javascript"> jQuery(function (){ var text; var now = (new Date()).getHours(); if (now > 24 || now <= 5) { text = '清风提示您 午夜骚年,快睡觉去,妹纸等你太久了会不耐烦的哦!'; } else if (now > 5 && now <= 10) { text = '早上好~今天又是元气满满的一天哦!先去尝尝鲜</a>~'; } else if (now > 10 && now <= 12) { text = '最难的任务适合在上午时段攻克哦,期待您的订单~'; } else if (now > 12 && now <= 14) { text = '中午拿什么填补我空虚的胃和心灵?<br />停下手中的工作,快去吃饭吧,晚了就没的吃了'; } else if (now > 14 && now <= 17) { text = '下午时段初一小盏正在优化细节,力求做一个人见人爱的“细节控”哦~'; } else if (now > 17 && now <= 19) { text = '快要下班了吧?休息会扒根烟喝杯茶~'; } else if (now > 19 && now <= 21) { text = '晚安~音乐、运动、阅读,睡前时间放松一下,灵感也许会悄悄到来!'; }else if (now > 21 && now <= 24) { text = '累了就早点休息~<br />晚间22:00-5:00是最佳睡眠时间哦'; } showMessage(text, 12000); }); function showMessage(text, timeout){ if(Array.isArray(text)) text = text[Math.floor(Math.random() * text.length + 1)-1]; //console.log('showMessage', text); $('.message').stop(); if(text != undefined){ $('.message').html(text).fadeTo(200, 1); } if (timeout === null) timeout = 6000; hideMessage(timeout); } function hideMessage(timeout){ $('.message').stop().css('opacity',1); if (timeout === null) timeout = 6000; $('.message').delay(timeout).fadeTo(200, 0); } </script> <style>.hover-zoom-img-sm:hover img,.hover-zoom-sm:hover,.posts-item.mult-thumb .thumb-items>span>img:hover,.posts-item:hover .item-thumbnail img,.posts-mini:hover img {transform: scale(1.2) rotate(5deg);}</style> <style>.wp-posts-content img {border-radius: 20px;}</style> <style> .navbar-search.show { background-image: url(https://www.88531.cn/wp-content/plugins/ACG/img/shading_red.png); } </style> <style> .sign-img+.sign::before { content: ''; position: absolute; top: -144px; left: 80px; width: 191px; height: 187px; background: url(https://www.88531.cn/wp-content/plugins/ACG/img/loginll.png) no-repeat center / 100%; } .sign-img { padding-right: 50%; } </style> <style>.navbar-brand{position:relative;overflow:hidden;margin:0px 0 0 0px}.navbar-brand:before{content:"";position:absolute;left:-665px;top:-460px;width:200px;height:15px;background-color:rgba(255,255,255,.5);-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);-ms-transform:rotate(-45deg);-o-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-animation:searchLights 10s ease-in 0s infinite;-o-animation:searchLights 6s ease-in 0s infinite;animation:searchLights 10s ease-in 0s infinite}@-moz-keyframes searchLights{50%{left:-120px;top:0}65%{left:350px;top:0px}}@keyframes searchLights{40%{left:-120px;top:0}60%{left:350px;top:0px}80%{left:-120px;top:0px}}</style> <style>.display-name { animation: animate 0.5s linear infinite; } @keyframes animate { 0%, 100% { text-shadow: -1.5px -1.5px 0 #0ff, 1.5px 1.5px 0 #f00; } 25% { text-shadow: 1.5px 1.5px 0 #0ff, -1.5px -1.5px 0 #f00; } 50% { text-shadow: 1.5px -1.5px 0 #0ff, 1.5px -1.5px 0 #f00; } 75% { text-shadow: -1.5px 1.5px 0 #0ff, -1.5px 1.5px 0 #f00; } }</style> <style> /*首页文章列表悬停可爱萝莉*/ @media screen and (min-width:980px) { .tab-content .posts-row>*:hover { transition:all 0.5s; content: " "; right: -50px; background-size: contain; background-position: center right; background-image: url(/wp-content/plugins/ACG/img/decorate1.png); background-repeat: no-repeat; } } </style> <style>/*小工具头像跳动*/ .user-avatar .avatar-img, .img-ip:hover, .w-a-info img { -webkit-animation: swing 3s .4s ease both; -moz-animation: swing 3s .4s ease both; } @-webkit-keyframes swing { 20%, 40%, 60%, 80%, 100% { -webkit-transform-origin:top center } 20% { -webkit-transform:rotate(15deg) } 40% { -webkit-transform:rotate(-10deg) } 60% { -webkit-transform:rotate(5deg) } 80% { -webkit-transform:rotate(-5deg) } 100% { -webkit-transform:rotate(0deg) } } @-moz-keyframes swing { 20%, 40%, 60%, 80%, 100% { -moz-transform-origin:top center } 20% { -moz-transform:rotate(15deg) } 40% { -moz-transform:rotate(-10deg) } 60% { -moz-transform:rotate(5deg) } 80% { -moz-transform:rotate(-5deg) } 100% { -moz-transform:rotate(0deg) } }</style> <style> .display-name{ background-image: -webkit-linear-gradient(90deg, #07c160, #fb6bea 25%, #3aedff 50%, #fb6bea 75%, #28d079); -webkit-text-fill-color: transparent; -webkit-background-clip: text; background-size: 100% 600%; animation: wzw 10s linear infinite; } @keyframes wzw { 0% { background-position: 0 0; } 100% { background-position: 0 -300%; } } </style> <style>ul.nav {font-weight: 650;}</style> <style>.navbar-nav>li:first-child:before{width:30px;}.navbar-nav>li:before{width:60px;top:23px;background:rgba(0,0,0,0);height:4px;left:10px;border-radius:unset;}.navbar-top li.current-menu-item>a, .navbar-top li:hover>a {color: unset;}</style> <script >var a_idx = 0;jQuery(document).ready(function($) {$("body").click(function(e) {var a = new Array("🍉富强🍉","🎉虎虎生威🎉","🍉民主🍉","🍉文明🍉","🧧恭喜发财🧧","🎉金虎送福🎉","🍉和谐🍉","🍉自由🍉","🍉平等🍉","🎉龙腾虎跃🎉","关注关注🙈","🍉公正🍉","🍉法治🍉","🍉欢迎光临🍉","🍉爱国🍉","🍉诚信🍉","🍉友善🍉");var b = new Array("red","blue","yellow","green","pink","blue","orange");var $i = $("<span/>").text(a[a_idx]);a_idx = (a_idx + 1) % a.length;b_idx = (a_idx+1)%7;var x = e.pageX,y = e.pageY;$i.css({"z-index": 9999,"top": y - 20,"left": x,"position": "absolute","font-weight": "bold","color": b[b_idx]});$("body").append($i);$i.animate({"top": y - 180,"opacity": 0},1500,function() {$i.remove();});});});</script> <div class="mouse-cursor cursor-outer"></div><div class="mouse-cursor cursor-inner"></div> <script src="/wp-content/plugins/ACG/js/shubiao.js"></script> <style>.mouse-cursor {position: fixed;left: 0;top: 0;pointer-events: none;border-radius: 50%;-webkit-transform: translateZ(0);transform: translateZ(0);visibility: hidden;}.cursor-inner {margin-left: -3px;margin-top: -3px;width: 6px;height: 6px;z-index: 10000001;background: #123eed;-webkit-transition: width .3s ease-in-out,height .3s ease-in-out,margin .3s ease-in-out,opacity .3s ease-in-out;transition: width .3s ease-in-out,height .3s ease-in-out,margin .3s ease-in-out,opacity .3s ease-in-out;}.cursor-inner.cursor-hover {margin-left: -18px;margin-top: -18px;width: 36px;height: 36px;background: #123eed !important; opacity: .3;}.cursor-outer {margin-left: -15px; margin-top: -15px;width: 30px;height: 30px;border: 2px solid #123eed !important;-webkit-box-sizing: border-box;box-sizing: border-box;z-index: 10000000;opacity: .5;-webkit-transition: all .08s ease-out;transition: all .08s ease-out;}.cursor-outer.cursor-hover {opacity: 0;}.main-wrapper[data-magic-cursor=hide] .mouse-cursor {display: none;opacity: 0;visibility: hidden;position: absolute;z-index: -1111;}</style> <style> @media screen and (min-width: 801px) { body { background-image: url("/wp-content/plugins/ACG/img/pc2.jpg");/**这里改为你自己的图片地址**/ background-position-x: center; background-position-y: center; background-repeat: no-repeat; background-attachment: fixed; background-size: cover; }} </style> <style> @media screen and (max-width: 1000px){ body { background-image: url(/wp-content/plugins/ACG/img/pcd.png);/**这里改为你自己的图片地址**/ background-position-x: center; background-position-y: center; background-repeat: no-repeat; background-attachment: fixed; background-size: cover; }} </style> <style>#percentageCounter{position:fixed; left:0; top:0; height:3px; z-index:99999; background-image: linear-gradient(to right, #339933,#FF6666);border-radius:5px;}</style> <script>$('head').before('<div id="percentageCounter"></div>');$(window).scroll(function() {var a = $(window).scrollTop(),c = $(document).height(),b = $(window).height();scrollPercent = a / (c - b) * 100;scrollPercent = scrollPercent.toFixed(1);$("#percentageCounter").css({width: scrollPercent + "%"});}).trigger("scroll");</script> <style>.avatar{border-radius:50%;animation:light 4s ease-in-out infinite !important;transition:0.5s;@keyframes light{0%{box-shadow:0 0 4px#f00}25%{box-shadow:0 0 16px#0f0}50%{box-shadow:0 0 4px#00f}75%{box-shadow:0 0 16px#0f0}100%{box-shadow:0 0 4px#f00}}}.avatar:hover{transform:scale(1.15)rotate(720deg)}@keyframes light{0%{box-shadow:0 0 4px#f00}25%{box-shadow:0 0 16px#0f0}50%{box-shadow:0 0 4px#00f}75%{box-shadow:0 0 16px#0f0}100%{box-shadow:0 0 4px#f00}}</style> <style>.tab-content .posts-item:not(article){transition: all 0.3s;}.tab-content .posts-item:not(article):hover{transform: translateY(-10px); box-shadow: 0 8px 10px rgba(255,112,173,0.35);}</style> <style>.wp-posts-content img:hover {box-shadow:0px 0px 8px #63B8FF;}</style> <style>.article{border-radius:var(--main-radius);box-shadow: 1px 1px 3px 3px rgba(53, 231, 8, 0.35);-moz-box-shadow: 1px 1px 3px 3px rgba(53, 231, 8, 0.35);}.article:hover{box-shadow: 1px 1px 5px 5px rgba(53, 231, 8, 0.35); -moz-box-shadow: 1px 1px 5px 5px rgba(53, 231, 8, 0.35);} </style> <script src="/wp-content/plugins/ACG/js/xuehua.js"></script> <style> .theme-pagination .ajax-next a, .theme-pagination .order-ajax-next a{border-radius: 30px; padding: 15px 0; color: var(--muted-color); background-color:var(--main-bg-color);color: #FF0033;display: block;opacity: 1;font-weight:bold;}</style> <style>.article-tags{margin-bottom: 10px}.article-tags a{padding: 4px 10px;background-color: #19B5FE;color: white;font-size: 12px;line-height: 16px;font-weight: 400;margin: 0 5px 5px 0;border-radius: 2px;display: inline-block}.article-tags a:nth-child(5n){background-color: #4A4A4A;color: #FFF}.article-tags a:nth-child(5n+1){background-color: #ff5e5c;color: #FFF}.article-tags a:nth-child(5n+2){background-color: #ffbb50;color: #FFF}.article-tags a:nth-child(5n+3){background-color: #1ac756;color: #FFF}.article-tags a:nth-child(5n+4){background-color: #19B5FE;color: #FFF}.article-tags a:hover{background-color: #1B1B1B;color: #FFF}</style> <style>.navbar-logo{animation: hue 4s infinite;}@keyframes hue {from {filter: hue-rotate(0deg);}to {filter: hue-rotate(-360deg);}}</style> <style>.navbar-logo{filter:invert(1);}</style> <style>.navbar-logo{filter:drop-shadow(0 0 10px dodgerblue);}</style> <style>@media screen and (min-width: 1000px){.header-layout-1{position:relative;background-image:url("/wp-content/plugins/ACG/img/zhifeiji.gif");background-position:center right;background-size:100% 100%;}}</style> <div id="bubble"><canvas width="1494" height="815" style="display: block; position: fixed; top: 0px; left: 0px; z-index: -2;"></canvas></div> <script src="/wp-content/plugins/ACG/js/control.js"></script> <link rel="stylesheet" href="/wp-content/plugins/ACG/css/yuansufuhao.css" /> <script>$('head').before('<div class="container1"><div class="inner-container1"><div class="shape"></div></div><div class="inner-container1"><div class="shape"></div></div></div>');</script> <script src="/wp-content/plugins/ACG/js/yuansufuhao.min.js"></script> <script>$(document).ready(function(){var html='';for(var i=1;i<=50;i++){html+='<div class="shape-container--'+i+' shape-animation"><div class="random-shape"></div></div>'}document.querySelector('.shape').innerHTML+=html});</script> <div class="mouse-cursor cursor-outer"></div><div class="mouse-cursor cursor-inner"></div> <script src="/wp-content/plugins/ACG/js/shubiao.js"></script> <style>.mouse-cursor{position:fixed;left:0;top:0;pointer-events:none;border-radius:50%;-webkit-transform:translateZ(0);transform:translateZ(0);visibility:hidden}.cursor-inner{margin-left:-3px;margin-top:-3px;width:6px;height:6px;z-index:10000001;background:transparent;-webkit-transition:width.3s ease-in-out,height.3s ease-in-out,margin.3s ease-in-out,opacity.3s ease-in-out;transition:width.3s ease-in-out,height.3s ease-in-out,margin.3s ease-in-out,opacity.3s ease-in-out}.cursor-inner.cursor-hover{margin-left:-18px;margin-top:-18px;width:36px;height:36px;background:transparent;opacity:.3}.cursor-outer{margin-left:-15px;margin-top:-15px;width:30px;height:30px;border:2px solid transparent;-webkit-box-sizing:border-box;box-sizing:border-box;z-index:10000000;opacity:.5;-webkit-transition:all.08s ease-out;transition:all.08s ease-out}.cursor-outer.cursor-hover{opacity:0}.main-wrapper[data-magic-cursor=hide].mouse-cursor{display:none;opacity:0;visibility:hidden;position:absolute;z-index:-1111}</style><script src="/wp-content/plugins/ACG/js/lizi.js"></script> <style>body {background-image: url("/wp-content/plugins/ACG/img/jianyue.svg");background-position-x: center;background-position-y: center; background-repeat: no-repeat;background-attachment: fixed;background-size: cover;}</style> <style>@font-face{font-family: 'zti';src: url('https://cdn.jsdelivr.net/gh/maomaojiujiu/cdn@font/mjfont10.woff');}body{font-family:'zti' !important;}</style> <style>.zib-widget>h3:before,.wp-posts-content>h3.has-text-align-center:before, .wp-posts-content>h3:not([class]):before{content: '';position: absolute;top: 2px;left: 0;width: 20px!important;height: 20px!important;background: url(/wp-content/plugins/ACG/img/h3.gif) no-repeat center;box-shadow: none;background-size: 100% !important;}.zib-widget>h2:before,.wp-posts-content>h2.has-text-align-center:before, .wp-posts-content>h2:not([class]):before{content: '';position: absolute;top: 0;left: 0;width: 20px;height: 20px;background: url(/wp-content/plugins/ACG/img/h2.gif) no-repeat center;box-shadow: none;}.wp-posts-content h2:before{content: '';position: absolute;top: 0;left: 0;width: 20px;height: 20px;background: url(/wp-content/plugins/ACG/img/h2.gif) no-repeat center;box-shadow: none;}.wp-posts-content h3:before{content: '';position: absolute;top: 2px;left: 0;width: 20px!important;height: 20px!important;background: url(/wp-content/plugins/ACG/img/h3.gif) no-repeat center;box-shadow: none;background-size: 100% !important;}.wp-posts-content>h2.has-text-align-center, .wp-posts-content>h2:not([class]),.zib-widget>h2{color: var(--main);font-size: 18px;line-height: 24px;margin-bottom: 18px;position: relative;padding: 0 15px 0 28px;}.wp-posts-content h2{color: var(--main);font-size: 18px;line-height: 24px;margin-bottom: 18px;position: relative;padding: 0 15px 0 28px;}.wp-posts-content>h3.has-text-align-center, .wp-posts-content>h3:not([class]),.zib-widget>h3{color: var(--main);font-size: 18px;line-height: 24px;margin-bottom: 18px;position: relative;padding: 0 15px 0 28px;}.wp-posts-content h3{color: var(--main);font-size: 18px;line-height: 24px;margin-bottom: 18px;position: relative;padding: 0 15px 0 28px;}.h2:before{content: '';position: absolute;top: 0;left: 0;width: 20px;height: 20px;background: url(/wp-content/plugins/ACG/img/h2.gif) no-repeat center;box-shadow: none;},h2{color: var(--main);font-size: 18px;line-height: 24px;margin-bottom: 18px;position: relative;padding: 0 15px 0 28px;}.h2{color: var(--main);font-size: 18px;line-height: 24px;margin-bottom: 18px;position: relative;padding: 0 15px 0 28px;}</style> <script src="/wp-content/plugins/ACG/js/copyvue.js"></script> <script src="/wp-content/plugins/ACG/js/copyfour.js"></script> <link rel="stylesheet" href="/wp-content/plugins/ACG/css/copyfour.css"> <script>document.addEventListener("copy",function(e){ new Vue({data:function(){this.$notify({title:"复制成功!",message:"若要转载请保留原文链接!mua~",position: 'bottom-right', offset: 50,showClose: false,type:"success"});return{visible:false}}})})</script> <script type="text/javascript"> window._win = { views: '16774', www: 'https://www.88531.cn', uri: 'https://www.88531.cn/wp-content/themes/zibll6.92', ver: '6.9.2', imgbox: '1', imgbox_type: 'group', imgbox_thumbs: '1', imgbox_zoom: '1', imgbox_full: '1', imgbox_play: '1', imgbox_down: '1', sign_type: 'modal', signin_url: 'https://www.88531.cn/user-sign?tab=signin&redirect_to=https%3A%2F%2Fwww.88531.cn%2F16774.html', signup_url: 'https://www.88531.cn/user-sign?tab=signup&redirect_to=https%3A%2F%2Fwww.88531.cn%2F16774.html', ajax_url: 'https://www.88531.cn/wp-admin/admin-ajax.php', ajaxpager: '', ajax_trigger: '<i class="fa fa-angle-right"></i>加载更多', ajax_nomore: '没有更多内容了', qj_loading: '1', highlight_kg: '1', highlight_hh: '1', highlight_btn: '1', highlight_zt: 'enlighter', highlight_white_zt: 'enlighter', highlight_dark_zt: 'dracula', upload_img_size: '4', img_upload_multiple: '6', upload_video_size: '30', user_upload_nonce: '081c695eb1', comment_upload_img: '' } </script> <div class="float-right round position-bottom"><span style="--this-bg:rgba(255, 111, 6, 0.2);" class="float-btn more-btn hover-show nowave" data-placement="left" title="本站同款主题模板" href="javascript:;"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-gift-color"></use></svg><div style="width:240px;" class="hover-show-con dropdown-menu"><a href="https://www.88531.cn/9084.html" target="_blank"> <div class="flex c-red"> <img class="flex0" alt="zibll子比主题" src="https://www.88531.cn/wp-content/themes/zibll_v7.3/img/favicon.png" height="30"> <div class="flex1 ml10"> <dt>本站同款主题模板</dt> <div class="px12 mt10 muted-color">zibll子比主题是一款漂亮优雅的网站主题模板,功能强大,配置简单。</div> <div class="but mt10 p2-10 c-blue btn-block px12">查看详情</div> </div> </div> </a></div></span><a style="--this-color:#f2c97d;--this-bg:rgba(62,62,67,0.9);" class="float-btn signin-loader" data-toggle="tooltip" data-placement="left" title="开通会员" href="javascript:;"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-vip_1"></use></svg></a><a class="newadd-btns float-btn add-btn btn-newadd" href="https://www.88531.cn/newposts"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-add-ring"></use></svg></a><a class="float-btn service-qq" data-toggle="tooltip" data-placement="left" title="QQ联系" target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=181050043&site=qq&menu=yes"><i class="fa fa-qq"></i></a><a class="float-btn service-wechat hover-show nowave" title="扫码添加微信" href="javascript:;"><i class="fa fa-wechat"></i><div class="hover-show-con dropdown-menu"><img class="radius4 relative" width="100%" class="lazyload" src="https://www.88531.cn/wp-content/themes/zibll6.92/img/thumbnail-sm.svg" data-src="https://www.88531.cn/wp-content/uploads/2024/08/wx-1.jpg" alt="扫码添加微信-www.88531.cn资享网"></div></a><a class="float-btn toggle-theme hover-show" data-toggle="tooltip" data-placement="left" title="切换主题" href="javascript:;"><i class="fa fa-toggle-theme"></i> </a><span class="float-btn qrcode-btn hover-show service-wechat"><i class="fa fa-qrcode"></i><div class="hover-show-con dropdown-menu"><div class="qrcode" data-size="100"></div><div class="mt6 px12 muted-color">在手机上浏览此页面</div></div></span><a class="float-btn ontop fade" data-toggle="tooltip" data-placement="left" title="返回顶部" href="javascript:(scrollTo());"><i class="fa fa-angle-up em12"></i></a></div><div mini-touch="nav_search" touch-direction="top" class="main-search fixed-body main-bg box-body navbar-search nopw-sm"><div class="container"><div class="mb20"><button class="close" data-toggle-class data-target=".navbar-search" ><svg class="ic-close" aria-hidden="true"><use xlink:href="#icon-close"></use></svg></button></div><div remote-box="https://www.88531.cn/wp-admin/admin-ajax.php?action=search_box" load-click><div class="search-input"><p><i class="placeholder s1 mr6"></i><i class="placeholder s1 mr6"></i><i class="placeholder s1 mr6"></i></p><p class="placeholder k2"></p> <p class="placeholder t1"></p><p><i class="placeholder s1 mr6"></i><i class="placeholder s1 mr6"></i><i class="placeholder s1 mr6"></i><i class="placeholder s1 mr6"></i></p><p class="placeholder k1"></p><p class="placeholder t1"></p><p></p> <p class="placeholder k1" style="height: 80px;"></p> </div></div></div></div> <div class="modal fade" id="u_sign" tabindex="-1" role="dialog"> <div class="modal-dialog" role="document"> <div class="sign-content"> <div class="sign zib-widget blur-bg relative"> <button class="close" data-dismiss="modal"> <svg class="ic-close" aria-hidden="true" data-viewBox="0 0 1024 1024" viewBox="0 0 1024 1024"><use xlink:href="#icon-close"></use></svg> </button> <div class="tab-content"><div class="tab-pane fade active in" id="tab-sign-in"><div class="box-body"><div class="title-h-left fa-2x">登录</div><a class="muted-color px12" href="#tab-sign-up" data-toggle="tab">没有帐号?立即注册<i class="em12 ml3 fa fa-angle-right"></i></a></div><div id="sign-in"><form><div class="relative line-form mb10"><input type="text" name="username" class="line-form-input" tabindex="1" placeholder=""><i class="line-form-line"></i><div class="scale-placeholder">用户名/手机号/邮箱</div></div><div class="relative line-form mb10"><input type="password" name="password" class="line-form-input" tabindex="2" placeholder=""><div class="scale-placeholder">登录密码</div><div class="abs-right passw muted-2-color"><i class="fa-fw fa fa-eye"></i></div><i class="line-form-line"></i></div><input machine-verification="slider" type="hidden" name="captcha_mode" value="slider" slider-id=""><div class="relative line-form mb10 em09"><span class="muted-color form-checkbox"><input type="checkbox" id="remember" checked="checked" tabindex="4" name="remember" value="forever"><label for="remember" class="ml3">记住登录</label></span><span class="pull-right muted-2-color"><a class="muted-2-color" href="https://www.88531.cn/user-sign?tab=resetpassword&redirect_to=https%3A%2F%2Fwww.88531.cn%2F16774.html">找回密码</a></span></div><div class="box-body"><input type="hidden" name="action" value="user_signin"><button type="button" class="but radius jb-blue padding-lg signsubmit-loader btn-block"><i class="fa fa-sign-in mr10"></i>登录</button></div></form><p class="social-separator separator muted-3-color em09">社交帐号登录</p><div class="social_loginbar"><a title="微信登录" href="https://www.88531.cn/oauth/weixingzh?rurl=https%3A%2F%2Fwww.88531.cn%2F16774.html" class="social-login-item weixingzh button-lg qrcode-signin"><i class="fa fa-weixin" aria-hidden="true"></i>微信登录</a></div></div></div><div class="tab-pane fade" id="tab-sign-up"><div class="box-body"><div class="title-h-left fa-2x">注册</div><a class="muted-color px12" href="#tab-sign-in" data-toggle="tab">已有帐号,立即登录<i class="em12 ml3 fa fa-angle-right"></i></a></div><form id="sign-up"><div class="relative line-form mb10"><input type="text" name="name" class="line-form-input" tabindex="1" placeholder=""><i class="line-form-line"></i><div class="scale-placeholder">设置用户名</div></div><div class="relative line-form mb10"><input type="password" name="password2" class="line-form-input" tabindex="3" placeholder=""><div class="scale-placeholder">设置密码</div><div class="abs-right passw muted-2-color"><i class="fa-fw fa fa-eye"></i></div><i class="line-form-line"></i></div><div class="relative line-form mb10"><input type="password" name="repassword" class="line-form-input" tabindex="4" placeholder=""><div class="scale-placeholder">重复密码</div><div class="abs-right passw muted-2-color"><i class="fa-fw fa fa-eye"></i></div><i class="line-form-line"></i></div><input machine-verification="slider" type="hidden" name="captcha_mode" value="slider" slider-id=""><div class="box-body"><input type="hidden" name="action" value="user_signup"><button type="button" class="but radius jb-green padding-lg signsubmit-loader btn-block"><svg class="icon mr10" aria-hidden="true" data-viewBox="0 0 1024 1024" viewBox="0 0 1024 1024"><use xlink:href="#icon-signup"></use></svg>注册</button></div></form></div><div class="tab-pane fade" id="tab-qrcode-signin"><div class="box-body"><div class="title-h-left fa-2x">扫码登录</div><span class="muted-2-color px12">使用<a class="muted-color" href="#tab-sign-in" data-toggle="tab">其它方式登录</a>或<a class="muted-color" href="#tab-sign-up" data-toggle="tab">注册</a></span><a class="muted-color px12 hide" href="#tab-qrcode-signin" data-toggle="tab">扫码登录</a></div><div class="qrcode-signin-container box-body text-center"><p class="placeholder" style="height:180px;width:180px;margin:auto;"></p><p class="placeholder" style="height:27px;width:200px;margin:15px auto 0;"></p></div></div></div> </div> </div> </div> </div> <link rel='stylesheet' id='yarppRelatedCss-css' href='https://www.88531.cn/wp-content/plugins/yet-another-related-posts-plugin/style/related.css?ver=5.30.10' type='text/css' media='all' /> <script type="text/javascript" src="https://www.88531.cn/wp-includes/js/imagesloaded.min.js?ver=5.0.0" id="imagesloaded-js"></script> <script type="text/javascript" src="https://www.88531.cn/wp-includes/js/masonry.min.js?ver=4.2.2" id="masonry-js"></script> <script type="text/javascript" src="https://www.88531.cn/wp-content/plugins/betterdocs/assets/blocks/categorygrid/frontend.js?ver=a4a7e7ed1fd9a2aaf85a" id="betterdocs-categorygrid-js"></script> <script type="text/javascript" src="https://www.88531.cn/wp-content/plugins/betterdocs-pro/assets/public/js/extend-search-modal.js?ver=3.4.4" id="betterdocs-extend-search-modal-js"></script> <script type="text/javascript" src="https://www.88531.cn/wp-includes/js/dist/vendor/react.min.js?ver=18.3.1" id="react-js"></script> <script type="text/javascript" src="https://www.88531.cn/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.3.1" id="react-dom-js"></script> <script type="text/javascript" src="https://www.88531.cn/wp-includes/js/dist/hooks.min.js?ver=2810c76e705dd1a53b18" id="wp-hooks-js"></script> <script type="text/javascript" src="https://www.88531.cn/wp-includes/js/dist/i18n.min.js?ver=5e580eb46a90c2b997e6" id="wp-i18n-js"></script> <script type="text/javascript" id="wp-i18n-js-after"> /* <![CDATA[ */ wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } ); /* ]]> */ </script> <script type="text/javascript" id="betterdocs-search-modal-js-extra"> /* <![CDATA[ */ var betterdocsSearchModalConfig = {"ajax_url":"https:\/\/www.88531.cn\/wp-admin\/admin-ajax.php","advance_search":"","child_category_exclude":"","popular_keyword_limit":"5","search_letter_limit":"3","search_placeholder":"\u641c\u7d22..","search_button_text":"\u641c\u7d22","search_not_found_text":"Sorry, no docs were found.","kb_based_search":""}; /* ]]> */ </script> <script type="text/javascript" id="betterdocs-search-modal-js-translations"> /* <![CDATA[ */ ( function( domain, translations ) { var localeData = translations.locale_data[ domain ] || translations.locale_data.messages; localeData[""].domain = domain; wp.i18n.setLocaleData( localeData, domain ); } )( "betterdocs", {"translation-revision-date":"2024-12-10 10:18:35+0000","generator":"GlotPress\/4.0.1","domain":"messages","locale_data":{"messages":{"":{"domain":"messages","plural-forms":"nplurals=1; plural=0;","lang":"zh_CN"},"FAQ":["\u5e38\u89c1\u95ee\u7b54"],"Docs":["\u6587\u6863"]}},"comment":{"reference":"assets\/shortcodes\/js\/search-modal.js"}} ); /* ]]> */ </script> <script type="text/javascript" src="https://www.88531.cn/wp-content/plugins/betterdocs/assets/shortcodes/js/search-modal.js?ver=bdf2e7264f82ed923d6c" id="betterdocs-search-modal-js"></script> <script type="text/javascript" src="https://www.88531.cn/wp-content/plugins/easy-table-of-contents/vendor/js-cookie/js.cookie.min.js?ver=2.2.1" id="ez-toc-js-cookie-js"></script> <script type="text/javascript" src="https://www.88531.cn/wp-content/plugins/easy-table-of-contents/vendor/sticky-kit/jquery.sticky-kit.min.js?ver=1.9.2" id="ez-toc-jquery-sticky-kit-js"></script> <script type="text/javascript" id="ez-toc-js-js-extra"> /* <![CDATA[ */ var ezTOC = {"smooth_scroll":"1","visibility_hide_by_default":"","scroll_offset":"30","fallbackIcon":"<span class=\"\"><span style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span>"}; /* ]]> */ </script> <script type="text/javascript" src="https://www.88531.cn/wp-content/plugins/easy-table-of-contents/assets/js/front.min.js?ver=2.0.55-1693800392" id="ez-toc-js-js"></script> <script type="text/javascript" src="https://www.88531.cn/wp-content/themes/zibll6.92/js/libs/bootstrap.min.js?ver=6.9.2" id="bootstrap-js"></script> <script type="text/javascript" src="https://www.88531.cn/wp-content/themes/zibll6.92/js/loader.js?ver=6.9.2" id="_loader-js"></script> <script type="text/javascript" src="https://www.vxras.com/wp-content/themes/vxras/js/svg-icon.js?ver=1" id="vxras-icon-js"></script> <!--FOOTER_CODE_START--> <script charset="UTF-8" id="LA_COLLECT" src="//sdk.51.la/js-sdk-pro.min.js"></script> <script>LA.init({id:"3FqUSqYgg4RRwunU",ck:"3FqUSqYgg4RRwunU"})</script> <!--FOOTER_CODE_END--> <script type="text/javascript">var _hmt = _hmt || []; (function() { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?225297bceab00c11f86be5cf7eefe4ca"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> <!--baidu_push_js--> <script type="text/javascript"> (function() { var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> <!--baidu_push_js--> <script type="text/javascript"> console.log("数据库查询:99次 | 页面生成耗时:1673.604ms"); </script> </body> </html>