正在显示
157 个修改的文件
包含
5399 行增加
和
6 行删除
| @@ -57,6 +57,7 @@ | @@ -57,6 +57,7 @@ | ||
| 57 | </properties> | 57 | </properties> |
| 58 | 58 | ||
| 59 | <dependencies> | 59 | <dependencies> |
| 60 | + | ||
| 60 | <!-- springframe start --> | 61 | <!-- springframe start --> |
| 61 | <dependency> | 62 | <dependency> |
| 62 | <groupId>org.springframework</groupId> | 63 | <groupId>org.springframework</groupId> |
| @@ -185,6 +186,12 @@ | @@ -185,6 +186,12 @@ | ||
| 185 | <version>${junit.version}</version> | 186 | <version>${junit.version}</version> |
| 186 | <scope>test</scope> | 187 | <scope>test</scope> |
| 187 | </dependency> | 188 | </dependency> |
| 189 | + <!-- xstream --> | ||
| 190 | + <dependency> | ||
| 191 | + <groupId>com.thoughtworks.xstream</groupId> | ||
| 192 | + <artifactId>xstream</artifactId> | ||
| 193 | + <version>1.4.9</version> | ||
| 194 | + </dependency> | ||
| 188 | 195 | ||
| 189 | <!--mybatis--> | 196 | <!--mybatis--> |
| 190 | <dependency> | 197 | <dependency> |
| 1 | +package com.tianbo.controller.lost; | ||
| 2 | + | ||
| 3 | +import java.util.Date; | ||
| 4 | +import java.util.HashMap; | ||
| 5 | +import java.util.List; | ||
| 6 | +import java.util.Map; | ||
| 7 | + | ||
| 8 | +import javax.servlet.http.HttpServletRequest; | ||
| 9 | + | ||
| 10 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 11 | +import org.springframework.stereotype.Controller; | ||
| 12 | +import org.springframework.ui.ModelMap; | ||
| 13 | +import org.springframework.web.bind.annotation.RequestMapping; | ||
| 14 | +import org.springframework.web.bind.annotation.ResponseBody; | ||
| 15 | + | ||
| 16 | +import com.tianbo.model.ManifestLoad; | ||
| 17 | +import com.tianbo.model.Sendlog; | ||
| 18 | +import com.tianbo.service.LostService; | ||
| 19 | +import com.tianbo.service.SendLogService; | ||
| 20 | +import com.tianbo.util.DateUtils; | ||
| 21 | +import com.tianbo.util.json.AjaxJson; | ||
| 22 | +import com.tianbo.util.json.JsonConversion; | ||
| 23 | +import com.tianbo.util.xml.XmlGen; | ||
| 24 | +import com.tianbo.xml.lost.AdditionalInformation; | ||
| 25 | +import com.tianbo.xml.lost.AssociatedTransportDocument; | ||
| 26 | +import com.tianbo.xml.lost.BorderTransportMeans; | ||
| 27 | +import com.tianbo.xml.lost.Consignment; | ||
| 28 | +import com.tianbo.xml.lost.DeclarationXmlEntity; | ||
| 29 | +import com.tianbo.xml.lost.HeadXmlEntity; | ||
| 30 | +import com.tianbo.xml.lost.ManifestXmlEntity; | ||
| 31 | +import com.tianbo.xml.lost.TransportContractDocument; | ||
| 32 | + | ||
| 33 | +@Controller | ||
| 34 | +@RequestMapping("/lost") | ||
| 35 | +public class LostApplyController { | ||
| 36 | + | ||
| 37 | + @Autowired | ||
| 38 | + private LostService lostService; | ||
| 39 | + | ||
| 40 | + @Autowired | ||
| 41 | + private SendLogService sendLogService; | ||
| 42 | + | ||
| 43 | + @RequestMapping(value = {"index", ""}) | ||
| 44 | + public String toFlight(ModelMap model,HttpServletRequest request) { | ||
| 45 | + | ||
| 46 | + return "lost/list"; | ||
| 47 | + } | ||
| 48 | + | ||
| 49 | + @RequestMapping(value ="edit") | ||
| 50 | + public String edit(ModelMap model,HttpServletRequest request) { | ||
| 51 | + model.put("ftId", request.getParameter("id")); | ||
| 52 | + return "lost/edit"; | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | + @ResponseBody | ||
| 56 | + @RequestMapping(value = "getList") | ||
| 57 | + public String getList(HttpServletRequest request,int page,int limit){ | ||
| 58 | + int start = (page-1)*limit+1; | ||
| 59 | + int end = page*limit; | ||
| 60 | + List<ManifestLoad> lost = lostService.getList(start,end); | ||
| 61 | + ManifestLoad ft = new ManifestLoad(); | ||
| 62 | + int count = lostService.getCount(ft); | ||
| 63 | + Map<String,Object> map = new HashMap<>(); | ||
| 64 | + if(!lost.isEmpty()){ | ||
| 65 | + map.put("code", 0); | ||
| 66 | + map.put("count", count); | ||
| 67 | + map.put("msg", "success"); | ||
| 68 | + map.put("data", lost); | ||
| 69 | + }else { | ||
| 70 | + map.put("code", -1); | ||
| 71 | + map.put("msg", "请检查网络连接或重试"); | ||
| 72 | + map.put("data", ""); | ||
| 73 | + } | ||
| 74 | + return JsonConversion.writeMapJSON(map); | ||
| 75 | + } | ||
| 76 | + | ||
| 77 | + @ResponseBody | ||
| 78 | + @RequestMapping(value = "selectByParam") | ||
| 79 | + public String selectByParam(HttpServletRequest request,int page,int limit,String flightno,String flightdate,String waybillnomaster,String waybillnosecondary){ | ||
| 80 | + int start = (page-1)*limit+1; | ||
| 81 | + int end = page*limit; | ||
| 82 | + List<ManifestLoad> lost = lostService.selectByParam(start,end,flightno,flightdate,waybillnomaster,waybillnosecondary); | ||
| 83 | + ManifestLoad fs = new ManifestLoad(); | ||
| 84 | + fs.setFlightno(flightno); | ||
| 85 | + int count = lostService.getCount(fs); | ||
| 86 | + Map<String,Object> map = new HashMap<>(); | ||
| 87 | + if(!lost.isEmpty()){ | ||
| 88 | + map.put("code", 0); | ||
| 89 | + map.put("count", count); | ||
| 90 | + map.put("msg", "success"); | ||
| 91 | + map.put("data", lost); | ||
| 92 | + }else { | ||
| 93 | + map.put("code", -1); | ||
| 94 | + map.put("msg", "无此条件信息"); | ||
| 95 | + map.put("data", ""); | ||
| 96 | + } | ||
| 97 | + return JsonConversion.writeMapJSON(map); | ||
| 98 | + } | ||
| 99 | + | ||
| 100 | + /** | ||
| 101 | + * 编辑或新增 | ||
| 102 | + * @param lost | ||
| 103 | + * @param redirectAttributes | ||
| 104 | + * @return | ||
| 105 | + */ | ||
| 106 | + @ResponseBody | ||
| 107 | + @RequestMapping(value = "editForm") | ||
| 108 | + public AjaxJson editForm(ModelMap model,HttpServletRequest request) { | ||
| 109 | + String id = request.getParameter("id"); | ||
| 110 | + String flightno = request.getParameter("flightno"); | ||
| 111 | + String flightdate = request.getParameter("flightdate"); | ||
| 112 | + String waybillnomaster = request.getParameter("waybillnomaster"); | ||
| 113 | + String waybillnosecondary = request.getParameter("waybillnosecondary"); | ||
| 114 | + String message = null; | ||
| 115 | + AjaxJson j = new AjaxJson(); | ||
| 116 | + | ||
| 117 | + try { | ||
| 118 | + if( id != null && id != ""){ | ||
| 119 | + ManifestLoad manifest = lostService.findById(id); | ||
| 120 | + manifest.setFlightno(flightno); | ||
| 121 | + manifest.setFlightdate(DateUtils.stringToDate(flightdate+" 00:00:00", "yyyy-MM-dd HH:mm:ss")); | ||
| 122 | + manifest.setWaybillnomaster(waybillnomaster); | ||
| 123 | + manifest.setWaybillnosecondary(waybillnosecondary); | ||
| 124 | + lostService.saveorupdate(manifest); | ||
| 125 | + }else{ | ||
| 126 | + ManifestLoad ml = new ManifestLoad(); | ||
| 127 | + ml.setId(id); | ||
| 128 | + ml.setFlightno(flightno); | ||
| 129 | + ml.setFlightdate(DateUtils.stringToDate(flightdate+" 00:00:00", "yyyy-MM-dd HH:mm:ss")); | ||
| 130 | + ml.setWaybillnomaster(waybillnomaster); | ||
| 131 | + ml.setWaybillnosecondary(waybillnosecondary); | ||
| 132 | + lostService.saveorupdate(ml); | ||
| 133 | + } | ||
| 134 | + j.setSuccess(true); | ||
| 135 | + message = "修改成功"; | ||
| 136 | + } catch (Exception e) { | ||
| 137 | + j.setSuccess(false); | ||
| 138 | + message = "修改失败"; | ||
| 139 | + e.printStackTrace(); | ||
| 140 | + } | ||
| 141 | + j.setMsg(message); | ||
| 142 | + return j; | ||
| 143 | + } | ||
| 144 | + | ||
| 145 | + /** | ||
| 146 | + * 删除 | ||
| 147 | + * @param lost | ||
| 148 | + * @param redirectAttributes | ||
| 149 | + * @return | ||
| 150 | + */ | ||
| 151 | + @ResponseBody | ||
| 152 | + @RequestMapping(value = "del") | ||
| 153 | + public AjaxJson delete(ModelMap model,HttpServletRequest request) { | ||
| 154 | + String id = request.getParameter("id"); | ||
| 155 | + String message = null; | ||
| 156 | + AjaxJson j = new AjaxJson(); | ||
| 157 | + | ||
| 158 | + try { | ||
| 159 | + | ||
| 160 | + lostService.del(id); | ||
| 161 | + j.setSuccess(true); | ||
| 162 | + message = "删除成功"; | ||
| 163 | + | ||
| 164 | + } catch (Exception e) { | ||
| 165 | + j.setSuccess(false); | ||
| 166 | + message = "删除失败"; | ||
| 167 | + e.printStackTrace(); | ||
| 168 | + } | ||
| 169 | + j.setMsg(message); | ||
| 170 | + return j; | ||
| 171 | + } | ||
| 172 | + | ||
| 173 | + /** | ||
| 174 | + * 删除 | ||
| 175 | + * @param lost | ||
| 176 | + * @param redirectAttributes | ||
| 177 | + * @return | ||
| 178 | + */ | ||
| 179 | + @ResponseBody | ||
| 180 | + @RequestMapping(value = "updateStatues") | ||
| 181 | + public AjaxJson updateStatues(ModelMap model,HttpServletRequest request) { | ||
| 182 | + String id = request.getParameter("id"); | ||
| 183 | + String message = null; | ||
| 184 | + AjaxJson j = new AjaxJson(); | ||
| 185 | + | ||
| 186 | + try { | ||
| 187 | + | ||
| 188 | + ManifestLoad manifestLoad = lostService.findById(id); | ||
| 189 | + manifestLoad.setStatus(""); | ||
| 190 | + lostService.saveorupdate(manifestLoad); | ||
| 191 | + j.setSuccess(true); | ||
| 192 | + message = "修改状态成功"; | ||
| 193 | + | ||
| 194 | + } catch (Exception e) { | ||
| 195 | + j.setSuccess(false); | ||
| 196 | + message = "修改状态失败"; | ||
| 197 | + e.printStackTrace(); | ||
| 198 | + } | ||
| 199 | + j.setMsg(message); | ||
| 200 | + return j; | ||
| 201 | + } | ||
| 202 | + | ||
| 203 | + | ||
| 204 | + /** | ||
| 205 | + * 申报 | ||
| 206 | + * @param lost | ||
| 207 | + * @param redirectAttributes | ||
| 208 | + * @return | ||
| 209 | + */ | ||
| 210 | + @ResponseBody | ||
| 211 | + @RequestMapping(value = "send") | ||
| 212 | + public AjaxJson send(ModelMap model,HttpServletRequest request) { | ||
| 213 | + String id = request.getParameter("id"); | ||
| 214 | + String flightno = request.getParameter("flightno"); | ||
| 215 | + String flightdate = request.getParameter("flightdate"); | ||
| 216 | + String waybillnomaster = request.getParameter("waybillnomaster"); | ||
| 217 | + String waybillnosecondary = request.getParameter("waybillnosecondary"); | ||
| 218 | + String remark = request.getParameter("remark"); | ||
| 219 | + String message = null; | ||
| 220 | + AjaxJson j = new AjaxJson(); | ||
| 221 | + try { | ||
| 222 | + //保存至sendLog表 | ||
| 223 | + Sendlog sendlog = new Sendlog(); | ||
| 224 | + sendlog.setAutoid(id); | ||
| 225 | + sendlog.setCreatedate(new Date()); | ||
| 226 | + sendlog.setMessagetype("MT8202"); | ||
| 227 | + sendlog.setReceiption("发送分拨申请"); | ||
| 228 | + sendLogService.save(sendlog); | ||
| 229 | + //生成报文并发送至文件夹 | ||
| 230 | + ManifestXmlEntity manifestXml = new ManifestXmlEntity(); | ||
| 231 | + setParam(flightno, flightdate, waybillnomaster, waybillnosecondary, remark, manifestXml); | ||
| 232 | + XmlGen.genLostXmlAndSend(manifestXml); | ||
| 233 | + j.setSuccess(true); | ||
| 234 | + message = "已发送申报报文"; | ||
| 235 | + ManifestLoad lost = lostService.findById(id); | ||
| 236 | + lost.setStatus("01");//已发送 | ||
| 237 | + lostService.saveorupdate(lost); | ||
| 238 | + } catch (Exception e) { | ||
| 239 | + j.setSuccess(false); | ||
| 240 | + message = "申报报文发送失败"; | ||
| 241 | + e.printStackTrace(); | ||
| 242 | + } | ||
| 243 | + j.setMsg(message); | ||
| 244 | + return j; | ||
| 245 | + } | ||
| 246 | + | ||
| 247 | + /** | ||
| 248 | + * @param flightno | ||
| 249 | + * @param flightdate | ||
| 250 | + * @param waybillnomaster | ||
| 251 | + * @param waybillnosecondary | ||
| 252 | + * @param remark | ||
| 253 | + * @param manifestXml | ||
| 254 | + */ | ||
| 255 | + public void setParam(String flightno, String flightdate, String waybillnomaster, String waybillnosecondary, | ||
| 256 | + String remark, ManifestXmlEntity manifestXml) { | ||
| 257 | + HeadXmlEntity headXml = new HeadXmlEntity(); | ||
| 258 | + DeclarationXmlEntity declarationXml = new DeclarationXmlEntity(); | ||
| 259 | + BorderTransportMeans transportMeans = new BorderTransportMeans(); | ||
| 260 | + transportMeans.setJourneyID(flightno+"/"+flightdate.substring(0,10).replace("-", ""));//航次航班 | ||
| 261 | + AdditionalInformation information = new AdditionalInformation(); | ||
| 262 | + information.setContent(remark); | ||
| 263 | + Consignment consignment = new Consignment(); | ||
| 264 | + TransportContractDocument transportContractDocument = new TransportContractDocument(); | ||
| 265 | + transportContractDocument.setId(waybillnomaster.replace("-", ""));//主单号 | ||
| 266 | + AssociatedTransportDocument associatedTransportDocument = new AssociatedTransportDocument(); | ||
| 267 | + if(waybillnosecondary==""||waybillnosecondary==null){ | ||
| 268 | + associatedTransportDocument.setId("");//分单号 | ||
| 269 | + }else{ | ||
| 270 | + associatedTransportDocument.setId(waybillnomaster.replace("-", "")+"_"+waybillnosecondary);//分单号 | ||
| 271 | + } | ||
| 272 | + consignment.setAssociatedTransportDocument(associatedTransportDocument ); | ||
| 273 | + consignment.setTransportContractDocument(transportContractDocument ); | ||
| 274 | + declarationXml.setAdditionalInformation(information); | ||
| 275 | + declarationXml.setBorderTransportMeans(transportMeans); | ||
| 276 | + declarationXml.setConsignment(consignment); | ||
| 277 | + manifestXml.setHeadXml(headXml); | ||
| 278 | + manifestXml.setDeclarationXml(declarationXml); | ||
| 279 | + } | ||
| 280 | + | ||
| 281 | + | ||
| 282 | +} |
| 1 | +package com.tianbo.controller.lost; | ||
| 2 | + | ||
| 3 | +import java.lang.reflect.InvocationTargetException; | ||
| 4 | +import java.text.ParseException; | ||
| 5 | +import java.text.SimpleDateFormat; | ||
| 6 | +import java.util.Date; | ||
| 7 | +import java.util.HashMap; | ||
| 8 | +import java.util.List; | ||
| 9 | +import java.util.Map; | ||
| 10 | + | ||
| 11 | +import javax.servlet.http.HttpServletRequest; | ||
| 12 | + | ||
| 13 | +import org.apache.commons.beanutils.BeanUtils; | ||
| 14 | +import org.apache.commons.beanutils.ConvertUtils; | ||
| 15 | +import org.apache.commons.beanutils.Converter; | ||
| 16 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 17 | +import org.springframework.stereotype.Controller; | ||
| 18 | +import org.springframework.ui.ModelMap; | ||
| 19 | +import org.springframework.web.bind.annotation.RequestMapping; | ||
| 20 | +import org.springframework.web.bind.annotation.RequestParam; | ||
| 21 | +import org.springframework.web.bind.annotation.ResponseBody; | ||
| 22 | + | ||
| 23 | +import com.tianbo.model.ManifestItem; | ||
| 24 | +import com.tianbo.model.ManifestLostChange; | ||
| 25 | +import com.tianbo.model.Sendlog; | ||
| 26 | +import com.tianbo.service.ItemService; | ||
| 27 | +import com.tianbo.service.LostChangeService; | ||
| 28 | +import com.tianbo.service.SendLogService; | ||
| 29 | +import com.tianbo.util.json.AjaxJson; | ||
| 30 | +import com.tianbo.util.json.JsonConversion; | ||
| 31 | +import com.tianbo.util.xml.XmlGen; | ||
| 32 | +import com.tianbo.xml.lost.AdditionalInformation; | ||
| 33 | +import com.tianbo.xml.lost.AssociatedTransportDocument; | ||
| 34 | +import com.tianbo.xml.lost.BorderTransportMeans; | ||
| 35 | +import com.tianbo.xml.lost.Consignment; | ||
| 36 | +import com.tianbo.xml.lost.DeclarationXmlEntity; | ||
| 37 | +import com.tianbo.xml.lost.HeadXmlEntity; | ||
| 38 | +import com.tianbo.xml.lost.ManifestXmlEntity; | ||
| 39 | +import com.tianbo.xml.lost.TransportContractDocument; | ||
| 40 | + | ||
| 41 | +@Controller | ||
| 42 | +@RequestMapping("/lost/change") | ||
| 43 | +public class LostChangeController { | ||
| 44 | + | ||
| 45 | + @Autowired | ||
| 46 | + private LostChangeService lostChangeService; | ||
| 47 | + | ||
| 48 | + @Autowired | ||
| 49 | + private ItemService itemService; | ||
| 50 | + | ||
| 51 | + | ||
| 52 | + @Autowired | ||
| 53 | + private SendLogService sendLogService; | ||
| 54 | + | ||
| 55 | + @RequestMapping(value = {"index", ""}) | ||
| 56 | + public String toFlight(ModelMap model,HttpServletRequest request) { | ||
| 57 | + | ||
| 58 | + return "lost/change/list"; | ||
| 59 | + } | ||
| 60 | + | ||
| 61 | + @RequestMapping(value ="editItem") | ||
| 62 | + public String editItem(ModelMap model,HttpServletRequest request) { | ||
| 63 | + String id = request.getParameter("id"); | ||
| 64 | + if(id!=null||id!=""){ | ||
| 65 | + model.put("ftId", id); | ||
| 66 | + } | ||
| 67 | + String waybillnomaster = request.getParameter("waybillnomaster"); | ||
| 68 | + if(waybillnomaster!=null||waybillnomaster!=""){ | ||
| 69 | + model.put("waybillnomaster", waybillnomaster); | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | +// ManifestItem item = itemService.selectByPrimaryKey(id); | ||
| 73 | +// model.put("item", item); | ||
| 74 | + return "lost/change/item"; | ||
| 75 | + } | ||
| 76 | + @RequestMapping(value ="edit") | ||
| 77 | + public String edit(ModelMap model,HttpServletRequest request) { | ||
| 78 | + model.put("waybillnomaster", request.getParameter("waybillnomaster")); | ||
| 79 | + model.put("ftId", request.getParameter("id")); | ||
| 80 | + return "lost/change/edit"; | ||
| 81 | + } | ||
| 82 | + | ||
| 83 | + @ResponseBody | ||
| 84 | + @RequestMapping(value = "getList") | ||
| 85 | + public String getList(HttpServletRequest request,int page,int limit){ | ||
| 86 | + int start = (page-1)*limit+1; | ||
| 87 | + int end = page*limit; | ||
| 88 | + List<ManifestLostChange> lost = lostChangeService.getList(start,end); | ||
| 89 | + ManifestLostChange ft = new ManifestLostChange(); | ||
| 90 | + int count = lostChangeService.getCount(ft); | ||
| 91 | + Map<String,Object> map = new HashMap<>(); | ||
| 92 | + if(!lost.isEmpty()){ | ||
| 93 | + map.put("code", 0); | ||
| 94 | + map.put("count", count); | ||
| 95 | + map.put("msg", "success"); | ||
| 96 | + map.put("data", lost); | ||
| 97 | + }else { | ||
| 98 | + map.put("code", -1); | ||
| 99 | + map.put("msg", "请检查网络连接或重试"); | ||
| 100 | + map.put("data", ""); | ||
| 101 | + } | ||
| 102 | + return JsonConversion.writeMapJSON(map); | ||
| 103 | + } | ||
| 104 | + | ||
| 105 | + | ||
| 106 | + @ResponseBody | ||
| 107 | + @RequestMapping(value = "getIteamList") | ||
| 108 | + public String getIteamList(HttpServletRequest request,String waybillnomaster){ | ||
| 109 | + Map<String,Object> map = new HashMap<>(); | ||
| 110 | + try { | ||
| 111 | + if(waybillnomaster!=null && waybillnomaster!=""){ | ||
| 112 | + List<ManifestItem> ltem = itemService.getIteamList(waybillnomaster); | ||
| 113 | + if(!ltem.isEmpty()){ | ||
| 114 | + map.put("code", 0); | ||
| 115 | + map.put("msg", "success"); | ||
| 116 | + map.put("data", ltem); | ||
| 117 | + }else { | ||
| 118 | + map.put("code", 0); | ||
| 119 | + map.put("msg", ""); | ||
| 120 | + map.put("data", ""); | ||
| 121 | + } | ||
| 122 | + | ||
| 123 | + } | ||
| 124 | + } catch (Exception e) { | ||
| 125 | + map.put("code", -1); | ||
| 126 | + map.put("msg", "请检查网络连接或重试"); | ||
| 127 | + map.put("data", ""); | ||
| 128 | + e.printStackTrace(); | ||
| 129 | + } | ||
| 130 | + return JsonConversion.writeMapJSON(map); | ||
| 131 | + } | ||
| 132 | + | ||
| 133 | + @ResponseBody | ||
| 134 | + @RequestMapping(value = "selectByParam") | ||
| 135 | + public String selectByParam(HttpServletRequest request,int page,int limit,String flightno,String flightdate,String waybillnomaster,String waybillnosecondary){ | ||
| 136 | + int start = (page-1)*limit+1; | ||
| 137 | + int end = page*limit; | ||
| 138 | + List<ManifestLostChange> lost = lostChangeService.selectByParam(start,end,flightno,flightdate,waybillnomaster,waybillnosecondary); | ||
| 139 | + ManifestLostChange fs = new ManifestLostChange(); | ||
| 140 | + fs.setFlightno(flightno); | ||
| 141 | + int count = lostChangeService.getCount(fs); | ||
| 142 | + Map<String,Object> map = new HashMap<>(); | ||
| 143 | + if(!lost.isEmpty()){ | ||
| 144 | + map.put("code", 0); | ||
| 145 | + map.put("count", count); | ||
| 146 | + map.put("msg", "success"); | ||
| 147 | + map.put("data", lost); | ||
| 148 | + }else { | ||
| 149 | + map.put("code", -1); | ||
| 150 | + map.put("msg", "无此条件信息"); | ||
| 151 | + map.put("data", ""); | ||
| 152 | + } | ||
| 153 | + return JsonConversion.writeMapJSON(map); | ||
| 154 | + } | ||
| 155 | + | ||
| 156 | + /** | ||
| 157 | + * 编辑或新增 | ||
| 158 | + * @param lost | ||
| 159 | + * @param redirectAttributes | ||
| 160 | + * @return | ||
| 161 | + * @throws InvocationTargetException | ||
| 162 | + * @throws IllegalAccessException | ||
| 163 | + */ | ||
| 164 | + @ResponseBody | ||
| 165 | + @RequestMapping(value = "editForm") | ||
| 166 | + public AjaxJson editForm(ModelMap model,@RequestParam Map<String, Object> params) throws IllegalAccessException, InvocationTargetException { | ||
| 167 | + ManifestLostChange lostChange = new ManifestLostChange(); | ||
| 168 | + DateConvert();//日期转化 | ||
| 169 | + BeanUtils.populate(lostChange, params); | ||
| 170 | + String message = null; | ||
| 171 | + AjaxJson j = new AjaxJson(); | ||
| 172 | + | ||
| 173 | + if(lostChange.getId()!=null&&lostChange.getId()!=""){ //存在ID 执行更新 | ||
| 174 | + try { | ||
| 175 | + lostChangeService.saveorupdate(lostChange); | ||
| 176 | + j.setSuccess(true); | ||
| 177 | + message = "修改成功"; | ||
| 178 | + } catch (Exception e) { | ||
| 179 | + j.setSuccess(false); | ||
| 180 | + message = "修改失败"; | ||
| 181 | + e.printStackTrace(); | ||
| 182 | + } | ||
| 183 | + } else { | ||
| 184 | + try { | ||
| 185 | + lostChangeService.saveorupdate(lostChange); | ||
| 186 | + j.setSuccess(true); | ||
| 187 | + message = "保存成功"; | ||
| 188 | + } catch (Exception e) { | ||
| 189 | + j.setSuccess(false); | ||
| 190 | + message = "保存失败"; | ||
| 191 | + e.printStackTrace(); | ||
| 192 | + } | ||
| 193 | + } | ||
| 194 | + | ||
| 195 | + j.setMsg(message); | ||
| 196 | + return j; | ||
| 197 | + } | ||
| 198 | + | ||
| 199 | + /** | ||
| 200 | + * 日期转化 | ||
| 201 | + */ | ||
| 202 | + public void DateConvert() { | ||
| 203 | + ConvertUtils.register(new Converter() { | ||
| 204 | + | ||
| 205 | + @SuppressWarnings("rawtypes") | ||
| 206 | + public Object convert(Class type, Object value) { | ||
| 207 | + | ||
| 208 | + | ||
| 209 | + SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd"); | ||
| 210 | + try { | ||
| 211 | + return simpleDateFormat.parse(value.toString()); | ||
| 212 | + } catch (ParseException e) { | ||
| 213 | + e.printStackTrace(); | ||
| 214 | + } | ||
| 215 | + return null; | ||
| 216 | + } | ||
| 217 | + }, Date.class); | ||
| 218 | + } | ||
| 219 | + | ||
| 220 | + /** | ||
| 221 | + * 编辑或新增 | ||
| 222 | + * @param lost | ||
| 223 | + * @param redirectAttributes | ||
| 224 | + * @return | ||
| 225 | + * @throws InvocationTargetException | ||
| 226 | + * @throws IllegalAccessException | ||
| 227 | + */ | ||
| 228 | + @ResponseBody | ||
| 229 | + @RequestMapping(value = "editItemData") | ||
| 230 | + public AjaxJson editIteamData(ModelMap model,@RequestParam Map<String, Object> params) throws IllegalAccessException, InvocationTargetException { | ||
| 231 | + ManifestItem ml = new ManifestItem(); | ||
| 232 | + BeanUtils.populate(ml, params); | ||
| 233 | + String message = null; | ||
| 234 | + AjaxJson j = new AjaxJson(); | ||
| 235 | + | ||
| 236 | + try { | ||
| 237 | + itemService.saveorupdate(ml); | ||
| 238 | + j.setSuccess(true); | ||
| 239 | + message = "保存成功"; | ||
| 240 | + } catch (Exception e) { | ||
| 241 | + j.setSuccess(false); | ||
| 242 | + message = "保存失败"; | ||
| 243 | + e.printStackTrace(); | ||
| 244 | + } | ||
| 245 | + j.setMsg(message); | ||
| 246 | + return j; | ||
| 247 | + } | ||
| 248 | + | ||
| 249 | + /** | ||
| 250 | + * 删除 | ||
| 251 | + * @param lost | ||
| 252 | + * @param redirectAttributes | ||
| 253 | + * @return | ||
| 254 | + */ | ||
| 255 | + @ResponseBody | ||
| 256 | + @RequestMapping(value = "delItem") | ||
| 257 | + public AjaxJson delItem(ModelMap model,HttpServletRequest request) { | ||
| 258 | + String id = request.getParameter("id"); | ||
| 259 | + String message = null; | ||
| 260 | + AjaxJson j = new AjaxJson(); | ||
| 261 | + | ||
| 262 | + try { | ||
| 263 | + | ||
| 264 | + itemService.deleteByPrimaryKey(id); | ||
| 265 | + j.setSuccess(true); | ||
| 266 | + message = "删除成功"; | ||
| 267 | + | ||
| 268 | + } catch (Exception e) { | ||
| 269 | + j.setSuccess(false); | ||
| 270 | + message = "删除失败"; | ||
| 271 | + e.printStackTrace(); | ||
| 272 | + } | ||
| 273 | + j.setMsg(message); | ||
| 274 | + return j; | ||
| 275 | + } | ||
| 276 | + | ||
| 277 | + | ||
| 278 | + /** | ||
| 279 | + * 删除 | ||
| 280 | + * @param lost | ||
| 281 | + * @param redirectAttributes | ||
| 282 | + * @return | ||
| 283 | + */ | ||
| 284 | + @ResponseBody | ||
| 285 | + @RequestMapping(value = "del") | ||
| 286 | + public AjaxJson delete(ModelMap model,HttpServletRequest request) { | ||
| 287 | + String id = request.getParameter("id"); | ||
| 288 | + String message = null; | ||
| 289 | + AjaxJson j = new AjaxJson(); | ||
| 290 | + | ||
| 291 | + try { | ||
| 292 | + | ||
| 293 | + lostChangeService.deleteByPrimaryKey(id); | ||
| 294 | + j.setSuccess(true); | ||
| 295 | + message = "删除成功"; | ||
| 296 | + | ||
| 297 | + } catch (Exception e) { | ||
| 298 | + j.setSuccess(false); | ||
| 299 | + message = "删除失败"; | ||
| 300 | + e.printStackTrace(); | ||
| 301 | + } | ||
| 302 | + j.setMsg(message); | ||
| 303 | + return j; | ||
| 304 | + } | ||
| 305 | + | ||
| 306 | + /** | ||
| 307 | + * 删除 | ||
| 308 | + * @param lost | ||
| 309 | + * @param redirectAttributes | ||
| 310 | + * @return | ||
| 311 | + */ | ||
| 312 | + @ResponseBody | ||
| 313 | + @RequestMapping(value = "updateStatues") | ||
| 314 | + public AjaxJson updateStatues(ModelMap model,HttpServletRequest request) { | ||
| 315 | + String id = request.getParameter("id"); | ||
| 316 | + String message = null; | ||
| 317 | + AjaxJson j = new AjaxJson(); | ||
| 318 | + | ||
| 319 | + try { | ||
| 320 | + | ||
| 321 | + ManifestLostChange manifestLoad = lostChangeService.selectByPrimaryKey(id); | ||
| 322 | + manifestLoad.setStatus(""); | ||
| 323 | + lostChangeService.updateByPrimaryKeySelective(manifestLoad); | ||
| 324 | + j.setSuccess(true); | ||
| 325 | + message = "修改状态成功"; | ||
| 326 | + | ||
| 327 | + } catch (Exception e) { | ||
| 328 | + j.setSuccess(false); | ||
| 329 | + message = "修改状态失败"; | ||
| 330 | + e.printStackTrace(); | ||
| 331 | + } | ||
| 332 | + j.setMsg(message); | ||
| 333 | + return j; | ||
| 334 | + } | ||
| 335 | + | ||
| 336 | + | ||
| 337 | + /** | ||
| 338 | + * 申报 | ||
| 339 | + * @param lost | ||
| 340 | + * @param redirectAttributes | ||
| 341 | + * @return | ||
| 342 | + */ | ||
| 343 | + @ResponseBody | ||
| 344 | + @RequestMapping(value = "send") | ||
| 345 | + public AjaxJson send(ModelMap model,HttpServletRequest request) { | ||
| 346 | + String id = request.getParameter("id"); | ||
| 347 | + String flightno = request.getParameter("flightno"); | ||
| 348 | + String flightdate = request.getParameter("flightdate"); | ||
| 349 | + String waybillnomaster = request.getParameter("waybillnomaster"); | ||
| 350 | + String waybillnosecondary = request.getParameter("waybillnosecondary"); | ||
| 351 | + String remark = request.getParameter("remark"); | ||
| 352 | + String message = null; | ||
| 353 | + AjaxJson j = new AjaxJson(); | ||
| 354 | + try { | ||
| 355 | + //保存至sendLog表 | ||
| 356 | + Sendlog sendlog = new Sendlog(); | ||
| 357 | + sendlog.setAutoid(id); | ||
| 358 | + sendlog.setCreatedate(new Date()); | ||
| 359 | + sendlog.setMessagetype("MT8203"); | ||
| 360 | + sendlog.setReceiption("发送落装改配申请"); | ||
| 361 | + sendLogService.save(sendlog); | ||
| 362 | + //生成报文并发送至文件夹 | ||
| 363 | + ManifestXmlEntity manifestXml = new ManifestXmlEntity(); | ||
| 364 | + setParam(flightno, flightdate, waybillnomaster, waybillnosecondary, remark, manifestXml); | ||
| 365 | + XmlGen.genLostXmlAndSend(manifestXml); | ||
| 366 | + j.setSuccess(true); | ||
| 367 | + message = "已发送申报报文"; | ||
| 368 | + ManifestLostChange lost = lostChangeService.selectByPrimaryKey(id); | ||
| 369 | + lost.setStatus("01");//已发送 | ||
| 370 | + lostChangeService.saveorupdate(lost); | ||
| 371 | + } catch (Exception e) { | ||
| 372 | + j.setSuccess(false); | ||
| 373 | + message = "申报报文发送失败"; | ||
| 374 | + e.printStackTrace(); | ||
| 375 | + } | ||
| 376 | + j.setMsg(message); | ||
| 377 | + return j; | ||
| 378 | + } | ||
| 379 | + | ||
| 380 | + /** | ||
| 381 | + * @param flightno | ||
| 382 | + * @param flightdate | ||
| 383 | + * @param waybillnomaster | ||
| 384 | + * @param waybillnosecondary | ||
| 385 | + * @param remark | ||
| 386 | + * @param manifestXml | ||
| 387 | + */ | ||
| 388 | + public void setParam(String flightno, String flightdate, String waybillnomaster, String waybillnosecondary, | ||
| 389 | + String remark, ManifestXmlEntity manifestXml) { | ||
| 390 | + HeadXmlEntity headXml = new HeadXmlEntity(); | ||
| 391 | + DeclarationXmlEntity declarationXml = new DeclarationXmlEntity(); | ||
| 392 | + BorderTransportMeans transportMeans = new BorderTransportMeans(); | ||
| 393 | + transportMeans.setJourneyID(flightno+"/"+flightdate.substring(0,10).replace("-", ""));//航次航班 | ||
| 394 | + AdditionalInformation information = new AdditionalInformation(); | ||
| 395 | + information.setContent(remark); | ||
| 396 | + Consignment consignment = new Consignment(); | ||
| 397 | + TransportContractDocument transportContractDocument = new TransportContractDocument(); | ||
| 398 | + transportContractDocument.setId(waybillnomaster);//主单号 | ||
| 399 | + AssociatedTransportDocument associatedTransportDocument = new AssociatedTransportDocument(); | ||
| 400 | + associatedTransportDocument.setId(waybillnomaster+"_"+waybillnosecondary);//分单号 | ||
| 401 | + consignment.setAssociatedTransportDocument(associatedTransportDocument ); | ||
| 402 | + consignment.setTransportContractDocument(transportContractDocument ); | ||
| 403 | + declarationXml.setAdditionalInformation(information); | ||
| 404 | + declarationXml.setBorderTransportMeans(transportMeans); | ||
| 405 | + declarationXml.setConsignment(consignment); | ||
| 406 | + manifestXml.setHeadXml(headXml); | ||
| 407 | + manifestXml.setDeclarationXml(declarationXml); | ||
| 408 | + } | ||
| 409 | + | ||
| 410 | + | ||
| 411 | +} |
| 1 | +package com.tianbo.mapper; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | + | ||
| 5 | +import org.apache.ibatis.annotations.Param; | ||
| 6 | + | ||
| 7 | +import com.tianbo.model.ManifestLoad; | ||
| 8 | + | ||
| 9 | +public interface LostMapper { | ||
| 10 | + | ||
| 11 | + List<ManifestLoad> getList(@Param("start")int start, @Param("end")int end); | ||
| 12 | + | ||
| 13 | + int getCount(ManifestLoad fs); | ||
| 14 | + | ||
| 15 | + void del(@Param("id")String id); | ||
| 16 | + | ||
| 17 | + void insert(ManifestLoad ft); | ||
| 18 | + | ||
| 19 | + void update(ManifestLoad ft); | ||
| 20 | + | ||
| 21 | + List<ManifestLoad> selectByFlightno(@Param("start")int start, @Param("end")int end, @Param("flightno")String flightno); | ||
| 22 | + | ||
| 23 | + ManifestLoad get(String id); | ||
| 24 | + | ||
| 25 | + List<ManifestLoad> selectByParam(@Param("start")int start, @Param("end")int end, @Param("flightno")String flightno,@Param("flightdate")String flightdate,@Param("waybillnomaster")String waybillnomaster,@Param("waybillnosecondary")String waybillnosecondary); | ||
| 26 | + | ||
| 27 | +} |
| 1 | +package com.tianbo.mapper; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | + | ||
| 5 | +import org.apache.ibatis.annotations.Param; | ||
| 6 | + | ||
| 7 | +import com.tianbo.model.ManifestItem; | ||
| 8 | + | ||
| 9 | +public interface ManifestItemMapper { | ||
| 10 | + int deleteByPrimaryKey(String id); | ||
| 11 | + | ||
| 12 | + int insert(ManifestItem record); | ||
| 13 | + | ||
| 14 | + int insertSelective(ManifestItem record); | ||
| 15 | + | ||
| 16 | + ManifestItem selectByPrimaryKey(String id); | ||
| 17 | + | ||
| 18 | + int updateByPrimaryKeySelective(ManifestItem record); | ||
| 19 | + | ||
| 20 | + int updateByPrimaryKey(ManifestItem record); | ||
| 21 | + | ||
| 22 | + List<ManifestItem> getIteamList(@Param("waybillnomaster")String waybillnomaster); | ||
| 23 | + | ||
| 24 | +} |
| 1 | +package com.tianbo.mapper; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | + | ||
| 5 | +import org.apache.ibatis.annotations.Param; | ||
| 6 | + | ||
| 7 | +import com.tianbo.model.ManifestLostChange; | ||
| 8 | + | ||
| 9 | +public interface ManifestLostChangeMapper { | ||
| 10 | + int deleteByPrimaryKey(String id); | ||
| 11 | + | ||
| 12 | + int insert(ManifestLostChange record); | ||
| 13 | + | ||
| 14 | + int insertSelective(ManifestLostChange record); | ||
| 15 | + | ||
| 16 | + ManifestLostChange selectByPrimaryKey(String id); | ||
| 17 | + | ||
| 18 | + int updateByPrimaryKeySelective(ManifestLostChange record); | ||
| 19 | + | ||
| 20 | + int updateByPrimaryKey(ManifestLostChange record); | ||
| 21 | + | ||
| 22 | + List<ManifestLostChange> getList(@Param("start")int start, @Param("end")int end); | ||
| 23 | + | ||
| 24 | + int getCount(ManifestLostChange lostChange); | ||
| 25 | + | ||
| 26 | + List<ManifestLostChange> selectByParam(@Param("start")int start, @Param("end")int end, @Param("flightno")String flightno,@Param("flightdate")String flightdate,@Param("waybillnomaster")String waybillnomaster,@Param("waybillnosecondary")String waybillnosecondary); | ||
| 27 | +} |
| @@ -12,7 +12,7 @@ public interface SendlogMapper { | @@ -12,7 +12,7 @@ public interface SendlogMapper { | ||
| 12 | 12 | ||
| 13 | int deleteByExample(SendlogExample example); | 13 | int deleteByExample(SendlogExample example); |
| 14 | 14 | ||
| 15 | - int insert(Sendlog record); | 15 | + int insert(Sendlog sendlog); |
| 16 | 16 | ||
| 17 | int insertSelective(Sendlog record); | 17 | int insertSelective(Sendlog record); |
| 18 | 18 | ||
| @@ -28,4 +28,5 @@ public interface SendlogMapper { | @@ -28,4 +28,5 @@ public interface SendlogMapper { | ||
| 28 | List<Sendlog> getSendLogSecond(String billNoSecond); | 28 | List<Sendlog> getSendLogSecond(String billNoSecond); |
| 29 | 29 | ||
| 30 | List<Sendlog> getSendLogSecondByMain(String billNo); | 30 | List<Sendlog> getSendLogSecondByMain(String billNo); |
| 31 | + | ||
| 31 | } | 32 | } |
| 1 | +package com.tianbo.model; | ||
| 2 | + | ||
| 3 | +public class ManifestItem { | ||
| 4 | + private String id; | ||
| 5 | + | ||
| 6 | + private String waybillnomaster; | ||
| 7 | + | ||
| 8 | + private String piece; | ||
| 9 | + | ||
| 10 | + private String packageCode; | ||
| 11 | + | ||
| 12 | + private String shippingMarks; | ||
| 13 | + | ||
| 14 | + private String dangerousCode; | ||
| 15 | + | ||
| 16 | + private String containerNumber; | ||
| 17 | + | ||
| 18 | + private String customProcedureCode; | ||
| 19 | + | ||
| 20 | + private String customTariffCode; | ||
| 21 | + | ||
| 22 | + private String consignCode; | ||
| 23 | + | ||
| 24 | + private String originalCode; | ||
| 25 | + | ||
| 26 | + private String description; | ||
| 27 | + | ||
| 28 | + private String remark; | ||
| 29 | + | ||
| 30 | + private String weight; | ||
| 31 | + | ||
| 32 | + private String orderNumber; | ||
| 33 | + | ||
| 34 | + public String getId() { | ||
| 35 | + return id; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public void setId(String id) { | ||
| 39 | + this.id = id == null ? null : id.trim(); | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public String getWaybillnomaster() { | ||
| 43 | + return waybillnomaster; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + public void setWaybillnomaster(String waybillnomaster) { | ||
| 47 | + this.waybillnomaster = waybillnomaster == null ? null : waybillnomaster.trim(); | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + public String getPiece() { | ||
| 51 | + return piece; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + public void setPiece(String piece) { | ||
| 55 | + this.piece = piece == null ? null : piece.trim(); | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + public String getPackageCode() { | ||
| 59 | + return packageCode; | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public void setPackageCode(String packageCode) { | ||
| 63 | + this.packageCode = packageCode == null ? null : packageCode.trim(); | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public String getShippingMarks() { | ||
| 67 | + return shippingMarks; | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + public void setShippingMarks(String shippingMarks) { | ||
| 71 | + this.shippingMarks = shippingMarks == null ? null : shippingMarks.trim(); | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + public String getDangerousCode() { | ||
| 75 | + return dangerousCode; | ||
| 76 | + } | ||
| 77 | + | ||
| 78 | + public void setDangerousCode(String dangerousCode) { | ||
| 79 | + this.dangerousCode = dangerousCode == null ? null : dangerousCode.trim(); | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + public String getContainerNumber() { | ||
| 83 | + return containerNumber; | ||
| 84 | + } | ||
| 85 | + | ||
| 86 | + public void setContainerNumber(String containerNumber) { | ||
| 87 | + this.containerNumber = containerNumber == null ? null : containerNumber.trim(); | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + public String getCustomProcedureCode() { | ||
| 91 | + return customProcedureCode; | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + public void setCustomProcedureCode(String customProcedureCode) { | ||
| 95 | + this.customProcedureCode = customProcedureCode == null ? null : customProcedureCode.trim(); | ||
| 96 | + } | ||
| 97 | + | ||
| 98 | + public String getCustomTariffCode() { | ||
| 99 | + return customTariffCode; | ||
| 100 | + } | ||
| 101 | + | ||
| 102 | + public void setCustomTariffCode(String customTariffCode) { | ||
| 103 | + this.customTariffCode = customTariffCode == null ? null : customTariffCode.trim(); | ||
| 104 | + } | ||
| 105 | + | ||
| 106 | + public String getConsignCode() { | ||
| 107 | + return consignCode; | ||
| 108 | + } | ||
| 109 | + | ||
| 110 | + public void setConsignCode(String consignCode) { | ||
| 111 | + this.consignCode = consignCode == null ? null : consignCode.trim(); | ||
| 112 | + } | ||
| 113 | + | ||
| 114 | + public String getOriginalCode() { | ||
| 115 | + return originalCode; | ||
| 116 | + } | ||
| 117 | + | ||
| 118 | + public void setOriginalCode(String originalCode) { | ||
| 119 | + this.originalCode = originalCode == null ? null : originalCode.trim(); | ||
| 120 | + } | ||
| 121 | + | ||
| 122 | + public String getDescription() { | ||
| 123 | + return description; | ||
| 124 | + } | ||
| 125 | + | ||
| 126 | + public void setDescription(String description) { | ||
| 127 | + this.description = description == null ? null : description.trim(); | ||
| 128 | + } | ||
| 129 | + | ||
| 130 | + public String getRemark() { | ||
| 131 | + return remark; | ||
| 132 | + } | ||
| 133 | + | ||
| 134 | + public void setRemark(String remark) { | ||
| 135 | + this.remark = remark == null ? null : remark.trim(); | ||
| 136 | + } | ||
| 137 | + | ||
| 138 | + public String getWeight() { | ||
| 139 | + return weight; | ||
| 140 | + } | ||
| 141 | + | ||
| 142 | + public void setWeight(String weight) { | ||
| 143 | + this.weight = weight == null ? null : weight.trim(); | ||
| 144 | + } | ||
| 145 | + | ||
| 146 | + public String getOrderNumber() { | ||
| 147 | + return orderNumber; | ||
| 148 | + } | ||
| 149 | + | ||
| 150 | + public void setOrderNumber(String orderNumber) { | ||
| 151 | + this.orderNumber = orderNumber == null ? null : orderNumber.trim(); | ||
| 152 | + } | ||
| 153 | +} |
| 1 | +package com.tianbo.model; | ||
| 2 | + | ||
| 3 | +import java.util.Date; | ||
| 4 | + | ||
| 5 | +public class ManifestLoad { | ||
| 6 | + | ||
| 7 | + private String id; | ||
| 8 | + private String flightno; | ||
| 9 | + private Date flightdate; | ||
| 10 | + private String waybillnomaster; | ||
| 11 | + private String waybillnosecondary; | ||
| 12 | + private String remark; | ||
| 13 | + private String status; | ||
| 14 | + private String receiption; | ||
| 15 | + private Date createdate; | ||
| 16 | + | ||
| 17 | + | ||
| 18 | + public Date getCreatedate() { | ||
| 19 | + return createdate; | ||
| 20 | + } | ||
| 21 | + | ||
| 22 | + public void setCreatedate(Date createdate) { | ||
| 23 | + this.createdate = createdate; | ||
| 24 | + } | ||
| 25 | + | ||
| 26 | + public String getFlightno() { | ||
| 27 | + return flightno; | ||
| 28 | + } | ||
| 29 | + | ||
| 30 | + public void setFlightno(String flightno) { | ||
| 31 | + this.flightno = flightno; | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + public String getRemark() { | ||
| 35 | + return remark; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public void setRemark(String remark) { | ||
| 39 | + this.remark = remark; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + | ||
| 43 | + public String getReceiption() { | ||
| 44 | + return receiption; | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + public void setReceiption(String receiption) { | ||
| 48 | + this.receiption = receiption; | ||
| 49 | + } | ||
| 50 | + | ||
| 51 | + public String getId() { | ||
| 52 | + return id; | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | + public void setId(String id) { | ||
| 56 | + this.id = id; | ||
| 57 | + } | ||
| 58 | + | ||
| 59 | + public Date getFlightdate() { | ||
| 60 | + return flightdate; | ||
| 61 | + } | ||
| 62 | + | ||
| 63 | + public void setFlightdate(Date flightdate) { | ||
| 64 | + this.flightdate = flightdate; | ||
| 65 | + } | ||
| 66 | + | ||
| 67 | + public String getWaybillnomaster() { | ||
| 68 | + return waybillnomaster; | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + public void setWaybillnomaster(String waybillnomaster) { | ||
| 72 | + this.waybillnomaster = waybillnomaster; | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + public String getWaybillnosecondary() { | ||
| 76 | + return waybillnosecondary; | ||
| 77 | + } | ||
| 78 | + | ||
| 79 | + public void setWaybillnosecondary(String waybillnosecondary) { | ||
| 80 | + this.waybillnosecondary = waybillnosecondary; | ||
| 81 | + } | ||
| 82 | + | ||
| 83 | + public String getStatus() { | ||
| 84 | + return status; | ||
| 85 | + } | ||
| 86 | + | ||
| 87 | + public void setStatus(String status) { | ||
| 88 | + this.status = status; | ||
| 89 | + } | ||
| 90 | + | ||
| 91 | +} |
| 1 | +package com.tianbo.model; | ||
| 2 | + | ||
| 3 | +import java.util.Date; | ||
| 4 | + | ||
| 5 | +public class ManifestLostChange { | ||
| 6 | + private String id; | ||
| 7 | + | ||
| 8 | + private String flightno; | ||
| 9 | + | ||
| 10 | + private Date flightdate; | ||
| 11 | + | ||
| 12 | + private String waybillnomaster; | ||
| 13 | + | ||
| 14 | + private String waybillnosecondary; | ||
| 15 | + | ||
| 16 | + private String cwaybillnomaster; | ||
| 17 | + | ||
| 18 | + private String cwaybillnosecondary; | ||
| 19 | + | ||
| 20 | + private Date createdate; | ||
| 21 | + | ||
| 22 | + private String status; | ||
| 23 | + | ||
| 24 | + private String receiption; | ||
| 25 | + | ||
| 26 | + private String cflightno; | ||
| 27 | + | ||
| 28 | + private Date cflightdate; | ||
| 29 | + | ||
| 30 | + public String getId() { | ||
| 31 | + return id; | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + public void setId(String id) { | ||
| 35 | + this.id = id == null ? null : id.trim(); | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public String getFlightno() { | ||
| 39 | + return flightno; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public void setFlightno(String flightno) { | ||
| 43 | + this.flightno = flightno == null ? null : flightno.trim(); | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + public Date getFlightdate() { | ||
| 47 | + return flightdate; | ||
| 48 | + } | ||
| 49 | + | ||
| 50 | + public void setFlightdate(Date flightdate) { | ||
| 51 | + this.flightdate = flightdate; | ||
| 52 | + } | ||
| 53 | + | ||
| 54 | + public String getWaybillnomaster() { | ||
| 55 | + return waybillnomaster; | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + public void setWaybillnomaster(String waybillnomaster) { | ||
| 59 | + this.waybillnomaster = waybillnomaster == null ? null : waybillnomaster.trim(); | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + public String getWaybillnosecondary() { | ||
| 63 | + return waybillnosecondary; | ||
| 64 | + } | ||
| 65 | + | ||
| 66 | + public void setWaybillnosecondary(String waybillnosecondary) { | ||
| 67 | + this.waybillnosecondary = waybillnosecondary == null ? null : waybillnosecondary.trim(); | ||
| 68 | + } | ||
| 69 | + | ||
| 70 | + public String getCwaybillnomaster() { | ||
| 71 | + return cwaybillnomaster; | ||
| 72 | + } | ||
| 73 | + | ||
| 74 | + public void setCwaybillnomaster(String cwaybillnomaster) { | ||
| 75 | + this.cwaybillnomaster = cwaybillnomaster == null ? null : cwaybillnomaster.trim(); | ||
| 76 | + } | ||
| 77 | + | ||
| 78 | + public String getCwaybillnosecondary() { | ||
| 79 | + return cwaybillnosecondary; | ||
| 80 | + } | ||
| 81 | + | ||
| 82 | + public void setCwaybillnosecondary(String cwaybillnosecondary) { | ||
| 83 | + this.cwaybillnosecondary = cwaybillnosecondary == null ? null : cwaybillnosecondary.trim(); | ||
| 84 | + } | ||
| 85 | + | ||
| 86 | + public Date getCreatedate() { | ||
| 87 | + return createdate; | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + public void setCreatedate(Date createdate) { | ||
| 91 | + this.createdate = createdate; | ||
| 92 | + } | ||
| 93 | + | ||
| 94 | + public String getStatus() { | ||
| 95 | + return status; | ||
| 96 | + } | ||
| 97 | + | ||
| 98 | + public void setStatus(String status) { | ||
| 99 | + this.status = status == null ? null : status.trim(); | ||
| 100 | + } | ||
| 101 | + | ||
| 102 | + public String getReceiption() { | ||
| 103 | + return receiption; | ||
| 104 | + } | ||
| 105 | + | ||
| 106 | + public void setReceiption(String receiption) { | ||
| 107 | + this.receiption = receiption == null ? null : receiption.trim(); | ||
| 108 | + } | ||
| 109 | + | ||
| 110 | + public String getCflightno() { | ||
| 111 | + return cflightno; | ||
| 112 | + } | ||
| 113 | + | ||
| 114 | + public void setCflightno(String cflightno) { | ||
| 115 | + this.cflightno = cflightno == null ? null : cflightno.trim(); | ||
| 116 | + } | ||
| 117 | + | ||
| 118 | + public Date getCflightdate() { | ||
| 119 | + return cflightdate; | ||
| 120 | + } | ||
| 121 | + | ||
| 122 | + public void setCflightdate(Date cflightdate) { | ||
| 123 | + this.cflightdate = cflightdate; | ||
| 124 | + } | ||
| 125 | +} |
| 1 | +package com.tianbo.service; | ||
| 2 | + | ||
| 3 | + | ||
| 4 | +import java.util.List; | ||
| 5 | + | ||
| 6 | +import com.tianbo.model.ManifestItem; | ||
| 7 | + | ||
| 8 | + | ||
| 9 | +public interface ItemService { | ||
| 10 | + | ||
| 11 | + | ||
| 12 | + | ||
| 13 | + | ||
| 14 | + ManifestItem selectByPrimaryKey(String id); | ||
| 15 | + | ||
| 16 | + void saveorupdate(ManifestItem manifest); | ||
| 17 | + | ||
| 18 | + void deleteByPrimaryKey(String id); | ||
| 19 | + | ||
| 20 | + void insertSelective(ManifestItem manifest); | ||
| 21 | + | ||
| 22 | + void updateByPrimaryKeySelective(ManifestItem manifest); | ||
| 23 | + | ||
| 24 | + List<ManifestItem> getIteamList(String flightno); | ||
| 25 | + | ||
| 26 | + | ||
| 27 | + | ||
| 28 | +} |
| 1 | +package com.tianbo.service; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | + | ||
| 5 | +import com.tianbo.model.ManifestLostChange; | ||
| 6 | + | ||
| 7 | + | ||
| 8 | +public interface LostChangeService { | ||
| 9 | + | ||
| 10 | + List<ManifestLostChange> getList(int start, int end); | ||
| 11 | + | ||
| 12 | + int getCount(ManifestLostChange ft); | ||
| 13 | + | ||
| 14 | + List<ManifestLostChange> selectByParam(int start, int end, String flightno, String flightdate, | ||
| 15 | + String waybillnomaster, String waybillnosecondary); | ||
| 16 | + | ||
| 17 | + ManifestLostChange selectByPrimaryKey(String id); | ||
| 18 | + | ||
| 19 | + void saveorupdate(ManifestLostChange manifest); | ||
| 20 | + | ||
| 21 | + void deleteByPrimaryKey(String id); | ||
| 22 | + | ||
| 23 | + void insertSelective(ManifestLostChange manifestLoad); | ||
| 24 | + | ||
| 25 | + void updateByPrimaryKeySelective(ManifestLostChange manifestLoad); | ||
| 26 | + | ||
| 27 | +} |
| 1 | +package com.tianbo.service; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | + | ||
| 5 | +import com.tianbo.model.ManifestLoad; | ||
| 6 | + | ||
| 7 | +public interface LostService { | ||
| 8 | + List<ManifestLoad> getList(int start, int end); | ||
| 9 | + | ||
| 10 | + int getCount(ManifestLoad mf); | ||
| 11 | + | ||
| 12 | + void del(String id); | ||
| 13 | + | ||
| 14 | + void saveorupdate(ManifestLoad mf); | ||
| 15 | + | ||
| 16 | + List<ManifestLoad> selectByFlightno(int start, int end, String flightno); | ||
| 17 | + | ||
| 18 | + public ManifestLoad findById(String id); | ||
| 19 | + | ||
| 20 | + List<ManifestLoad> selectByParam(int start, int end, String flightno, String flightdate, String waybillnomaster,String waybillnosecondary); | ||
| 21 | +} |
| 1 | +package com.tianbo.service.imp; | ||
| 2 | + | ||
| 3 | + | ||
| 4 | +import java.util.List; | ||
| 5 | +import java.util.UUID; | ||
| 6 | + | ||
| 7 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 8 | +import org.springframework.stereotype.Service; | ||
| 9 | +import org.springframework.transaction.annotation.Transactional; | ||
| 10 | + | ||
| 11 | +import com.tianbo.mapper.ManifestItemMapper; | ||
| 12 | +import com.tianbo.model.ManifestItem; | ||
| 13 | +import com.tianbo.service.ItemService; | ||
| 14 | + | ||
| 15 | + | ||
| 16 | + | ||
| 17 | +@Service | ||
| 18 | +@Transactional | ||
| 19 | +public class ItemServiceImp implements ItemService{ | ||
| 20 | + @Autowired | ||
| 21 | + private ManifestItemMapper ItemDao; | ||
| 22 | + | ||
| 23 | + @Override | ||
| 24 | + public ManifestItem selectByPrimaryKey(String id) { | ||
| 25 | + // TODO Auto-generated method stub | ||
| 26 | + return ItemDao.selectByPrimaryKey(id); | ||
| 27 | + } | ||
| 28 | + | ||
| 29 | + @Override | ||
| 30 | + public void saveorupdate(ManifestItem manifest) { | ||
| 31 | + if (manifest.getId()==null||manifest.getId()==""){ | ||
| 32 | + manifest.setId(UUID.randomUUID().toString()); | ||
| 33 | + ItemDao.insert(manifest); | ||
| 34 | + }else{ | ||
| 35 | + // 更新用户数据 | ||
| 36 | + ItemDao.updateByPrimaryKeySelective(manifest); | ||
| 37 | + } | ||
| 38 | + | ||
| 39 | + } | ||
| 40 | + | ||
| 41 | + @Override | ||
| 42 | + public void deleteByPrimaryKey(String id) { | ||
| 43 | + // TODO Auto-generated method stub | ||
| 44 | + ItemDao.deleteByPrimaryKey(id); | ||
| 45 | + } | ||
| 46 | + | ||
| 47 | + @Override | ||
| 48 | + public void insertSelective(ManifestItem manifest) { | ||
| 49 | + // TODO Auto-generated method stub | ||
| 50 | + ItemDao.insertSelective(manifest); | ||
| 51 | + } | ||
| 52 | + | ||
| 53 | + @Override | ||
| 54 | + public void updateByPrimaryKeySelective(ManifestItem manifest) { | ||
| 55 | + // TODO Auto-generated method stub | ||
| 56 | + ItemDao.updateByPrimaryKeySelective(manifest); | ||
| 57 | + } | ||
| 58 | + | ||
| 59 | + @Override | ||
| 60 | + public List<ManifestItem> getIteamList(String waybillnomaster) { | ||
| 61 | + // TODO Auto-generated method stub | ||
| 62 | + return ItemDao.getIteamList(waybillnomaster); | ||
| 63 | + } | ||
| 64 | + | ||
| 65 | + | ||
| 66 | + | ||
| 67 | + | ||
| 68 | +} |
| 1 | +package com.tianbo.service.imp; | ||
| 2 | + | ||
| 3 | + | ||
| 4 | +import java.util.Date; | ||
| 5 | +import java.util.List; | ||
| 6 | +import java.util.UUID; | ||
| 7 | + | ||
| 8 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 9 | +import org.springframework.stereotype.Service; | ||
| 10 | +import org.springframework.transaction.annotation.Transactional; | ||
| 11 | + | ||
| 12 | +import com.tianbo.mapper.ManifestLostChangeMapper; | ||
| 13 | +import com.tianbo.model.ManifestLostChange; | ||
| 14 | +import com.tianbo.service.LostChangeService; | ||
| 15 | + | ||
| 16 | + | ||
| 17 | + | ||
| 18 | +@Service | ||
| 19 | +@Transactional | ||
| 20 | +public class LostChangeServiceImp implements LostChangeService{ | ||
| 21 | + @Autowired | ||
| 22 | + private ManifestLostChangeMapper lostChangeDao; | ||
| 23 | + | ||
| 24 | + @Override | ||
| 25 | + public List<ManifestLostChange> getList(int start, int end) { | ||
| 26 | + // TODO Auto-generated method stub | ||
| 27 | + return lostChangeDao.getList(start,end); | ||
| 28 | + } | ||
| 29 | + | ||
| 30 | + @Override | ||
| 31 | + public int getCount(ManifestLostChange lostChange) { | ||
| 32 | + | ||
| 33 | + return lostChangeDao.getCount(lostChange); | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + @Override | ||
| 37 | + public List<ManifestLostChange> selectByParam(int start, int end, String flightno, String flightdate, | ||
| 38 | + String waybillnomaster, String waybillnosecondary) { | ||
| 39 | + // TODO Auto-generated method stub | ||
| 40 | + return lostChangeDao.selectByParam(start,end,flightno,flightdate,waybillnomaster,waybillnosecondary); | ||
| 41 | + } | ||
| 42 | + | ||
| 43 | + @Override | ||
| 44 | + public ManifestLostChange selectByPrimaryKey(String id) { | ||
| 45 | + // TODO Auto-generated method stub | ||
| 46 | + return lostChangeDao.selectByPrimaryKey(id); | ||
| 47 | + } | ||
| 48 | + | ||
| 49 | + @Override | ||
| 50 | + public void saveorupdate(ManifestLostChange manifest) { | ||
| 51 | + if (manifest.getId()==null||manifest.getId()==""){ | ||
| 52 | + manifest.setId(UUID.randomUUID().toString()); | ||
| 53 | + manifest.setCreatedate(new Date()); | ||
| 54 | + lostChangeDao.insert(manifest); | ||
| 55 | + }else{ | ||
| 56 | + // 更新用户数据 | ||
| 57 | + manifest.setCreatedate(new Date()); | ||
| 58 | + lostChangeDao.updateByPrimaryKeySelective(manifest); | ||
| 59 | + } | ||
| 60 | + } | ||
| 61 | + | ||
| 62 | + @Override | ||
| 63 | + public void deleteByPrimaryKey(String id) { | ||
| 64 | + | ||
| 65 | + lostChangeDao.deleteByPrimaryKey(id); | ||
| 66 | + | ||
| 67 | + } | ||
| 68 | + | ||
| 69 | + @Override | ||
| 70 | + public void insertSelective(ManifestLostChange manifestLoad) { | ||
| 71 | + // TODO Auto-generated method stub | ||
| 72 | + lostChangeDao.insertSelective(manifestLoad); | ||
| 73 | + } | ||
| 74 | + | ||
| 75 | + @Override | ||
| 76 | + public void updateByPrimaryKeySelective(ManifestLostChange manifestLoad) { | ||
| 77 | + // TODO Auto-generated method stub | ||
| 78 | + lostChangeDao.updateByPrimaryKeySelective(manifestLoad); | ||
| 79 | + } | ||
| 80 | + | ||
| 81 | + | ||
| 82 | + | ||
| 83 | +} |
| 1 | +package com.tianbo.service.imp; | ||
| 2 | + | ||
| 3 | +import java.util.Date; | ||
| 4 | +import java.util.List; | ||
| 5 | +import java.util.UUID; | ||
| 6 | + | ||
| 7 | +import org.springframework.beans.factory.annotation.Autowired; | ||
| 8 | +import org.springframework.stereotype.Service; | ||
| 9 | +import org.springframework.transaction.annotation.Transactional; | ||
| 10 | + | ||
| 11 | +import com.tianbo.mapper.LostMapper; | ||
| 12 | +import com.tianbo.model.ManifestLoad; | ||
| 13 | +import com.tianbo.service.LostService; | ||
| 14 | + | ||
| 15 | + | ||
| 16 | + | ||
| 17 | +@Service | ||
| 18 | +@Transactional | ||
| 19 | +public class LostServiceImp implements LostService{ | ||
| 20 | + @Autowired | ||
| 21 | + private LostMapper lostDao; | ||
| 22 | + | ||
| 23 | + | ||
| 24 | + @Override | ||
| 25 | + public List<ManifestLoad> getList(int start, int end) { | ||
| 26 | + | ||
| 27 | + return lostDao.getList(start,end); | ||
| 28 | + } | ||
| 29 | + | ||
| 30 | + | ||
| 31 | + @Override | ||
| 32 | + public int getCount(ManifestLoad fs) { | ||
| 33 | + | ||
| 34 | + return lostDao.getCount(fs); | ||
| 35 | + } | ||
| 36 | + | ||
| 37 | + | ||
| 38 | + @Override | ||
| 39 | + public void del(String id) { | ||
| 40 | + | ||
| 41 | + lostDao.del(id); | ||
| 42 | + } | ||
| 43 | + | ||
| 44 | + | ||
| 45 | + @Override | ||
| 46 | + public void saveorupdate(ManifestLoad ft) { | ||
| 47 | + if (ft.getId()==null||ft.getId()==""){ | ||
| 48 | + ft.setId(UUID.randomUUID().toString()); | ||
| 49 | + ft.setCreatedate(new Date()); | ||
| 50 | + lostDao.insert(ft); | ||
| 51 | + }else{ | ||
| 52 | + // 更新用户数据 | ||
| 53 | + ft.setCreatedate(new Date()); | ||
| 54 | + lostDao.update(ft); | ||
| 55 | + } | ||
| 56 | + } | ||
| 57 | + | ||
| 58 | + | ||
| 59 | + @Override | ||
| 60 | + public List<ManifestLoad> selectByFlightno(int start, int end, String flightno) { | ||
| 61 | + | ||
| 62 | + return lostDao.selectByFlightno(start,end,flightno); | ||
| 63 | + } | ||
| 64 | + | ||
| 65 | + | ||
| 66 | + @Override | ||
| 67 | + public ManifestLoad findById(String id) { | ||
| 68 | + // TODO Auto-generated method stub | ||
| 69 | + return lostDao.get(id); | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + | ||
| 73 | + @Override | ||
| 74 | + public List<ManifestLoad> selectByParam(int start, int end, String flightno, String flightdate, | ||
| 75 | + String waybillnomaster, String waybillnosecondary) { | ||
| 76 | + // TODO Auto-generated method stub | ||
| 77 | + return lostDao.selectByParam(start,end,flightno,flightdate,waybillnomaster,waybillnosecondary); | ||
| 78 | + } | ||
| 79 | + | ||
| 80 | + | ||
| 81 | + | ||
| 82 | + | ||
| 83 | + | ||
| 84 | +} |
| @@ -32,4 +32,10 @@ public class SendLogServiceImpl implements SendLogService { | @@ -32,4 +32,10 @@ public class SendLogServiceImpl implements SendLogService { | ||
| 32 | return sendlogDao.getSendLogSecondByMain(billNo); | 32 | return sendlogDao.getSendLogSecondByMain(billNo); |
| 33 | } | 33 | } |
| 34 | 34 | ||
| 35 | + @Override | ||
| 36 | + public void save(Sendlog sendlog) { | ||
| 37 | + | ||
| 38 | + sendlogDao.insert(sendlog); | ||
| 39 | + } | ||
| 40 | + | ||
| 35 | } | 41 | } |
| 1 | +package com.tianbo.util; | ||
| 2 | + | ||
| 3 | +import java.lang.reflect.Field; | ||
| 4 | +import java.lang.reflect.Method; | ||
| 5 | +import java.math.BigDecimal; | ||
| 6 | +import java.sql.Timestamp; | ||
| 7 | +import java.text.DecimalFormat; | ||
| 8 | +import java.util.ArrayList; | ||
| 9 | +import java.util.HashMap; | ||
| 10 | +import java.util.List; | ||
| 11 | +import java.util.Map; | ||
| 12 | + | ||
| 13 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 14 | +import com.thoughtworks.xstream.converters.Converter; | ||
| 15 | +import com.thoughtworks.xstream.converters.MarshallingContext; | ||
| 16 | +import com.thoughtworks.xstream.converters.UnmarshallingContext; | ||
| 17 | +import com.thoughtworks.xstream.io.HierarchicalStreamReader; | ||
| 18 | +import com.thoughtworks.xstream.io.HierarchicalStreamWriter; | ||
| 19 | + | ||
| 20 | +public class NullConverter implements Converter { | ||
| 21 | + private Map<Class<?>, List<String>> attributes = null; | ||
| 22 | + | ||
| 23 | + public void regAttribute(Class<?> type, String attribute) | ||
| 24 | + { | ||
| 25 | + if (null == attributes) | ||
| 26 | + { | ||
| 27 | + attributes = new HashMap<Class<?>, List<String>>(); | ||
| 28 | + } | ||
| 29 | + | ||
| 30 | + List value = attributes.get(type); | ||
| 31 | + if (null == value) | ||
| 32 | + { | ||
| 33 | + value = new ArrayList<String>(); | ||
| 34 | + attributes.put(type, value); | ||
| 35 | + } | ||
| 36 | + | ||
| 37 | + value.add(attribute); | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | + | ||
| 41 | + /** | ||
| 42 | + * 是否是属性(是属性的不用以单独标签实现) | ||
| 43 | + * @param type | ||
| 44 | + * @param attribute | ||
| 45 | + * @return | ||
| 46 | + */ | ||
| 47 | + public boolean isClassAttribute(Class<?> type,String attribute) { | ||
| 48 | + List<String> value = getAttributes(type); | ||
| 49 | + if (type.equals(Integer.class) || type.equals(Double.class) | ||
| 50 | + || type.equals(Long.class) || type.equals(Short.class) | ||
| 51 | + || type.equals(Float.class) || type.equals(BigDecimal.class) | ||
| 52 | + || type.equals(int.class) || type.equals(float.class) | ||
| 53 | + || type.equals(long.class) || type.equals(double.class) | ||
| 54 | + || type.equals(short.class)) { | ||
| 55 | + return true; | ||
| 56 | + } | ||
| 57 | + return false; | ||
| 58 | + } | ||
| 59 | + /** | ||
| 60 | + * 获取注册的属性 | ||
| 61 | + * @param type | ||
| 62 | + * @return | ||
| 63 | + */ | ||
| 64 | + public List<String> getAttributes(Class<?> type) { | ||
| 65 | + if (null != attributes){ | ||
| 66 | + return attributes.get(type); | ||
| 67 | + } | ||
| 68 | + return null; | ||
| 69 | + } | ||
| 70 | + /** | ||
| 71 | + * 输出对象的属性标签 | ||
| 72 | + * @param source | ||
| 73 | + * @param writer | ||
| 74 | + */ | ||
| 75 | + public void writerAttribute (Object source, HierarchicalStreamWriter writer) { | ||
| 76 | + Class cType = source.getClass(); | ||
| 77 | + List<String> value = getAttributes(cType); | ||
| 78 | + if ((null != value) && (value.size() > 0)){ | ||
| 79 | + Method[] methods = cType.getMethods(); | ||
| 80 | + for (Method method : methods){ | ||
| 81 | + String methodName = method.getName(); | ||
| 82 | + if (methodName.indexOf("get") != -1 && methodName != "getClass") { | ||
| 83 | + String name = methodName.substring(3); | ||
| 84 | + name = name.toLowerCase(); | ||
| 85 | + if (value.contains(name)){ | ||
| 86 | + Object o = null; | ||
| 87 | + try { | ||
| 88 | + o = method.invoke(source, null); | ||
| 89 | + } catch (Exception e) { | ||
| 90 | + e.printStackTrace(); | ||
| 91 | + } | ||
| 92 | + writer.addAttribute(name, o==null?"":o.toString()); | ||
| 93 | + } | ||
| 94 | + } | ||
| 95 | + } | ||
| 96 | + } | ||
| 97 | + } | ||
| 98 | + @SuppressWarnings("unchecked") | ||
| 99 | + public void marshal(Object source, HierarchicalStreamWriter writer, | ||
| 100 | + MarshallingContext context) { | ||
| 101 | + if (null == source) | ||
| 102 | + return; | ||
| 103 | + Class cType = source.getClass(); | ||
| 104 | + Field[] fields = cType.getDeclaredFields(); | ||
| 105 | + if (source instanceof List) { | ||
| 106 | + List list = (List) source; | ||
| 107 | + for (Object obj : list) { | ||
| 108 | + XStreamAlias alias = obj.getClass().getAnnotation(XStreamAlias.class); | ||
| 109 | + if (alias != null) { | ||
| 110 | + writer.startNode(alias.value()); | ||
| 111 | + marshal(obj, writer, context); | ||
| 112 | + writer.endNode(); | ||
| 113 | + }else { | ||
| 114 | + marshal(obj, writer, context); | ||
| 115 | + } | ||
| 116 | + } | ||
| 117 | + } else { | ||
| 118 | + for (Field field : fields) { | ||
| 119 | + //获得get方法 | ||
| 120 | + String temp1 = "get" | ||
| 121 | + + field.getName().substring(0, 1).toUpperCase() | ||
| 122 | + + field.getName().substring(1); | ||
| 123 | + Method m = null; | ||
| 124 | + try { | ||
| 125 | + m = cType.getMethod(temp1, null); | ||
| 126 | + } catch (SecurityException e1) { | ||
| 127 | + e1.printStackTrace(); | ||
| 128 | + } catch (NoSuchMethodException e1) { | ||
| 129 | + e1.printStackTrace(); | ||
| 130 | + } | ||
| 131 | + String methodName = m.getName(); | ||
| 132 | + if (methodName.indexOf("get") != -1 && methodName != "getClass") { | ||
| 133 | + boolean isBaseType = isBaseType(m.getReturnType()); | ||
| 134 | + String name = methodName.substring(3); | ||
| 135 | + Object o = null; | ||
| 136 | + try { | ||
| 137 | + o = m.invoke(source, null); | ||
| 138 | + } catch (Exception e) { | ||
| 139 | + e.printStackTrace(); | ||
| 140 | + } | ||
| 141 | + //递归打出基础类型值 | ||
| 142 | + if (isBaseType) { | ||
| 143 | + if(getAliasByNameAndType(name, cType)!=null){ | ||
| 144 | + writer.startNode(getAliasByNameAndType(name, cType).value()); | ||
| 145 | + writeData(o, m.getReturnType(), writer); | ||
| 146 | + writer.endNode(); | ||
| 147 | + } | ||
| 148 | + } else { | ||
| 149 | + XStreamAlias alias = getAliasByNameAndType(name, cType); | ||
| 150 | + if (alias == null) { | ||
| 151 | + marshal(o, writer, context); | ||
| 152 | + } else { | ||
| 153 | + writer.startNode(alias.value()); | ||
| 154 | + marshal(o, writer, context); | ||
| 155 | + writer.endNode(); | ||
| 156 | + } | ||
| 157 | + } | ||
| 158 | + } | ||
| 159 | + } | ||
| 160 | + } | ||
| 161 | + } | ||
| 162 | + | ||
| 163 | + /** | ||
| 164 | + * 根据Name和类获得Xstream注解 | ||
| 165 | + * @param name | ||
| 166 | + * Name | ||
| 167 | + * @param cType | ||
| 168 | + * 类 | ||
| 169 | + * @return | ||
| 170 | + * XStreamAlias | ||
| 171 | + */ | ||
| 172 | + private XStreamAlias getAliasByNameAndType(String name,Class<?> cType){ | ||
| 173 | + String temp = name.substring(0, 1).toLowerCase() | ||
| 174 | + + name.substring(1); | ||
| 175 | + Field f = null; | ||
| 176 | + try { | ||
| 177 | + f = cType.getDeclaredField(temp); | ||
| 178 | + } catch (SecurityException e) { | ||
| 179 | + e.printStackTrace(); | ||
| 180 | + } catch (NoSuchFieldException e) { | ||
| 181 | + e.printStackTrace(); | ||
| 182 | + } | ||
| 183 | + XStreamAlias alias = f.getAnnotation(XStreamAlias.class); | ||
| 184 | + return alias; | ||
| 185 | + } | ||
| 186 | + | ||
| 187 | + /** | ||
| 188 | + * 改写输出XML | ||
| 189 | + * @param o | ||
| 190 | + * @param ReturnType | ||
| 191 | + * @param writer | ||
| 192 | + */ | ||
| 193 | + private void writeData(Object o,Class<?> ReturnType,HierarchicalStreamWriter writer) { | ||
| 194 | + //如果是数字类型的话就要预设为0而不能为空 | ||
| 195 | + if (isNumValueType(ReturnType)) { | ||
| 196 | + if (o == null) { | ||
| 197 | + writer.setValue("0"); | ||
| 198 | + }else if (ReturnType.equals(Double.class)||ReturnType.equals(double.class)||ReturnType.equals(BigDecimal.class)) { | ||
| 199 | + DecimalFormat df = new DecimalFormat("#.##"); | ||
| 200 | + writer.setValue(df.format(o)); | ||
| 201 | + }else { | ||
| 202 | + writer.setValue(o.toString()); | ||
| 203 | + } | ||
| 204 | + } else { | ||
| 205 | + writer.setValue(o == null ? "" : o.toString()); | ||
| 206 | + } | ||
| 207 | + } | ||
| 208 | + | ||
| 209 | + public Object unmarshal(HierarchicalStreamReader reader, | ||
| 210 | + UnmarshallingContext context) { | ||
| 211 | + return null; | ||
| 212 | + } | ||
| 213 | + | ||
| 214 | + public boolean canConvert(Class type) { | ||
| 215 | + return true; | ||
| 216 | + } | ||
| 217 | + | ||
| 218 | + | ||
| 219 | + /** | ||
| 220 | + * 判断是否为基本类型 | ||
| 221 | + * @param type | ||
| 222 | + * @return | ||
| 223 | + * boolean | ||
| 224 | + */ | ||
| 225 | + private boolean isBaseType(Class<?> type) { | ||
| 226 | + if (type.equals(Integer.class) || type.equals(Double.class) | ||
| 227 | + || type.equals(String.class) || type.equals(Boolean.class) | ||
| 228 | + || type.equals(Long.class) || type.equals(Short.class) | ||
| 229 | + || type.equals(Byte.class) || type.equals(Float.class) | ||
| 230 | + || type.equals(BigDecimal.class) || type.equals(int.class) | ||
| 231 | + || type.equals(float.class) || type.equals(long.class) | ||
| 232 | + || type.equals(double.class) || type.equals(short.class) | ||
| 233 | + || type.equals(boolean.class) || type.equals(byte.class) | ||
| 234 | + || type.equals(Timestamp.class)) { | ||
| 235 | + return true; | ||
| 236 | + } | ||
| 237 | + return false; | ||
| 238 | + } | ||
| 239 | + | ||
| 240 | + /** | ||
| 241 | + * 判断是否为数字类型 | ||
| 242 | + * @param type | ||
| 243 | + * @return | ||
| 244 | + * boolean | ||
| 245 | + */ | ||
| 246 | + public boolean isNumValueType(Class<?> type) { | ||
| 247 | + if (type.equals(Integer.class) || type.equals(Double.class) | ||
| 248 | + || type.equals(Long.class) || type.equals(Short.class) | ||
| 249 | + || type.equals(Float.class) || type.equals(BigDecimal.class) | ||
| 250 | + || type.equals(int.class) || type.equals(float.class) | ||
| 251 | + || type.equals(long.class) || type.equals(double.class) | ||
| 252 | + || type.equals(short.class)) { | ||
| 253 | + return true; | ||
| 254 | + } | ||
| 255 | + return false; | ||
| 256 | + } | ||
| 257 | +} |
| 1 | +package com.tianbo.util.xml; | ||
| 2 | + | ||
| 3 | +import java.lang.reflect.Field; | ||
| 4 | +import java.lang.reflect.Method; | ||
| 5 | +import java.math.BigDecimal; | ||
| 6 | +import java.sql.Timestamp; | ||
| 7 | +import java.text.DecimalFormat; | ||
| 8 | +import java.util.List; | ||
| 9 | + | ||
| 10 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 11 | +import com.thoughtworks.xstream.converters.Converter; | ||
| 12 | +import com.thoughtworks.xstream.converters.MarshallingContext; | ||
| 13 | +import com.thoughtworks.xstream.converters.UnmarshallingContext; | ||
| 14 | +import com.thoughtworks.xstream.io.HierarchicalStreamReader; | ||
| 15 | +import com.thoughtworks.xstream.io.HierarchicalStreamWriter; | ||
| 16 | + | ||
| 17 | +public class NullConverter implements Converter { | ||
| 18 | + | ||
| 19 | + @SuppressWarnings("unchecked") | ||
| 20 | + public void marshal(Object source, HierarchicalStreamWriter writer, | ||
| 21 | + MarshallingContext context) { | ||
| 22 | + if (null == source) | ||
| 23 | + return; | ||
| 24 | + Class cType = source.getClass(); | ||
| 25 | + Field[] fields = cType.getDeclaredFields(); | ||
| 26 | + if (source instanceof List) { | ||
| 27 | + List list = (List) source; | ||
| 28 | + for (Object obj : list) { | ||
| 29 | + XStreamAlias alias = obj.getClass().getAnnotation(XStreamAlias.class); | ||
| 30 | + if (alias != null) { | ||
| 31 | + writer.startNode(alias.value()); | ||
| 32 | + marshal(obj, writer, context); | ||
| 33 | + writer.endNode(); | ||
| 34 | + }else { | ||
| 35 | + marshal(obj, writer, context); | ||
| 36 | + } | ||
| 37 | + } | ||
| 38 | + } else { | ||
| 39 | + for (Field field : fields) { | ||
| 40 | + //获得get方法 | ||
| 41 | + String temp1 = "get" | ||
| 42 | + + field.getName().substring(0, 1).toUpperCase() | ||
| 43 | + + field.getName().substring(1); | ||
| 44 | + Method m = null; | ||
| 45 | + try { | ||
| 46 | + m = cType.getMethod(temp1, null); | ||
| 47 | + } catch (SecurityException e1) { | ||
| 48 | + e1.printStackTrace(); | ||
| 49 | + } catch (NoSuchMethodException e1) { | ||
| 50 | + e1.printStackTrace(); | ||
| 51 | + } | ||
| 52 | + String methodName = m.getName(); | ||
| 53 | + if (methodName.indexOf("get") != -1 && methodName != "getClass") { | ||
| 54 | + boolean isBaseType = isBaseType(m.getReturnType()); | ||
| 55 | + String name = methodName.substring(3); | ||
| 56 | + Object o = null; | ||
| 57 | + try { | ||
| 58 | + o = m.invoke(source, null); | ||
| 59 | + } catch (Exception e) { | ||
| 60 | + e.printStackTrace(); | ||
| 61 | + } | ||
| 62 | + //递归打出基础类型值 | ||
| 63 | + if (isBaseType) { | ||
| 64 | + if(getAliasByNameAndType(name, cType)!=null){ | ||
| 65 | + writer.startNode(getAliasByNameAndType(name, cType).value()); | ||
| 66 | + writeData(o, m.getReturnType(), writer); | ||
| 67 | + writer.endNode(); | ||
| 68 | + } | ||
| 69 | + } else { | ||
| 70 | + XStreamAlias alias = getAliasByNameAndType(name, cType); | ||
| 71 | + if (alias == null) { | ||
| 72 | + marshal(o, writer, context); | ||
| 73 | + } else { | ||
| 74 | + writer.startNode(alias.value()); | ||
| 75 | + marshal(o, writer, context); | ||
| 76 | + writer.endNode(); | ||
| 77 | + } | ||
| 78 | + } | ||
| 79 | + } | ||
| 80 | + } | ||
| 81 | + } | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + /** | ||
| 85 | + * 根据Name和类获得Xstream注解 | ||
| 86 | + * @param name | ||
| 87 | + * Name | ||
| 88 | + * @param cType | ||
| 89 | + * 类 | ||
| 90 | + * @return | ||
| 91 | + * XStreamAlias | ||
| 92 | + */ | ||
| 93 | + private XStreamAlias getAliasByNameAndType(String name,Class<?> cType){ | ||
| 94 | + String temp = name.substring(0, 1).toLowerCase() | ||
| 95 | + + name.substring(1); | ||
| 96 | + Field f = null; | ||
| 97 | + try { | ||
| 98 | + f = cType.getDeclaredField(temp); | ||
| 99 | + } catch (SecurityException e) { | ||
| 100 | + e.printStackTrace(); | ||
| 101 | + } catch (NoSuchFieldException e) { | ||
| 102 | + e.printStackTrace(); | ||
| 103 | + } | ||
| 104 | + XStreamAlias alias = f.getAnnotation(XStreamAlias.class); | ||
| 105 | + return alias; | ||
| 106 | + } | ||
| 107 | + | ||
| 108 | + /** | ||
| 109 | + * 改写输出XML | ||
| 110 | + * @param o | ||
| 111 | + * @param ReturnType | ||
| 112 | + * @param writer | ||
| 113 | + */ | ||
| 114 | + private void writeData(Object o,Class<?> ReturnType,HierarchicalStreamWriter writer) { | ||
| 115 | + //如果是数字类型的话就要预设为0而不能为空 | ||
| 116 | + if (isNumValueType(ReturnType)) { | ||
| 117 | + if (o == null) { | ||
| 118 | + writer.setValue("0"); | ||
| 119 | + }else if (ReturnType.equals(Double.class)||ReturnType.equals(double.class)||ReturnType.equals(BigDecimal.class)) { | ||
| 120 | + DecimalFormat df = new DecimalFormat("#.##"); | ||
| 121 | + writer.setValue(df.format(o)); | ||
| 122 | + }else { | ||
| 123 | + writer.setValue(o.toString()); | ||
| 124 | + } | ||
| 125 | + } else { | ||
| 126 | + writer.setValue(o == null ? "" : o.toString()); | ||
| 127 | + } | ||
| 128 | + } | ||
| 129 | + | ||
| 130 | + public Object unmarshal(HierarchicalStreamReader reader, | ||
| 131 | + UnmarshallingContext context) { | ||
| 132 | + return null; | ||
| 133 | + } | ||
| 134 | + | ||
| 135 | + public boolean canConvert(Class type) { | ||
| 136 | + return true; | ||
| 137 | + } | ||
| 138 | + | ||
| 139 | + | ||
| 140 | + /** | ||
| 141 | + * 判断是否为基本类型 | ||
| 142 | + * @param type | ||
| 143 | + * @return | ||
| 144 | + * boolean | ||
| 145 | + */ | ||
| 146 | + private boolean isBaseType(Class<?> type) { | ||
| 147 | + if (type.equals(Integer.class) || type.equals(Double.class) | ||
| 148 | + || type.equals(String.class) || type.equals(Boolean.class) | ||
| 149 | + || type.equals(Long.class) || type.equals(Short.class) | ||
| 150 | + || type.equals(Byte.class) || type.equals(Float.class) | ||
| 151 | + || type.equals(BigDecimal.class) || type.equals(int.class) | ||
| 152 | + || type.equals(float.class) || type.equals(long.class) | ||
| 153 | + || type.equals(double.class) || type.equals(short.class) | ||
| 154 | + || type.equals(boolean.class) || type.equals(byte.class) | ||
| 155 | + || type.equals(Timestamp.class)) { | ||
| 156 | + return true; | ||
| 157 | + } | ||
| 158 | + return false; | ||
| 159 | + } | ||
| 160 | + | ||
| 161 | + /** | ||
| 162 | + * 判断是否为数字类型 | ||
| 163 | + * @param type | ||
| 164 | + * @return | ||
| 165 | + * boolean | ||
| 166 | + */ | ||
| 167 | + public boolean isNumValueType(Class<?> type) { | ||
| 168 | + if (type.equals(Integer.class) || type.equals(Double.class) | ||
| 169 | + || type.equals(Long.class) || type.equals(Short.class) | ||
| 170 | + || type.equals(Float.class) || type.equals(BigDecimal.class) | ||
| 171 | + || type.equals(int.class) || type.equals(float.class) | ||
| 172 | + || type.equals(long.class) || type.equals(double.class) | ||
| 173 | + || type.equals(short.class)) { | ||
| 174 | + return true; | ||
| 175 | + } | ||
| 176 | + return false; | ||
| 177 | + } | ||
| 178 | + | ||
| 179 | +} |
| 1 | +package com.tianbo.util.xml; | ||
| 2 | + | ||
| 3 | +import java.io.File; | ||
| 4 | +import java.io.FileNotFoundException; | ||
| 5 | +import java.io.FileOutputStream; | ||
| 6 | +import java.io.IOException; | ||
| 7 | +import java.io.OutputStream; | ||
| 8 | +import java.io.OutputStreamWriter; | ||
| 9 | +import java.nio.charset.Charset; | ||
| 10 | + | ||
| 11 | +import org.springframework.stereotype.Component; | ||
| 12 | + | ||
| 13 | +import com.thoughtworks.xstream.XStream; | ||
| 14 | +import com.tianbo.util.DateUtils; | ||
| 15 | +import com.tianbo.util.NullConverter; | ||
| 16 | +import com.tianbo.util.PropertiesUtils; | ||
| 17 | +import com.tianbo.xml.lost.ManifestXmlEntity; | ||
| 18 | + | ||
| 19 | +@Component | ||
| 20 | +public class XmlGen { | ||
| 21 | + | ||
| 22 | + /** | ||
| 23 | + * 生成落装申请报文 | ||
| 24 | + * @param entity | ||
| 25 | + */ | ||
| 26 | + public static String genLostXmlAndSend(ManifestXmlEntity xmlVO){ | ||
| 27 | + | ||
| 28 | + String xmlFileName = "CN_MT8202_1P0_460470678920X_" + DateUtils.currentFormatDate("yyyyMMddHHmmssSSS") + ".xml"; | ||
| 29 | + | ||
| 30 | + XStream xstream = new XStream(); | ||
| 31 | + xstream.autodetectAnnotations(true); | ||
| 32 | + xstream.registerConverter(new NullConverter()); | ||
| 33 | + | ||
| 34 | + String xml = xstream.toXML(xmlVO); | ||
| 35 | + | ||
| 36 | + xml="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"+xml; | ||
| 37 | + xml=xml.replace("__", "_"); | ||
| 38 | + | ||
| 39 | + String xmlPath =PropertiesUtils.readProperty("MT8202Path")+xmlFileName; | ||
| 40 | + | ||
| 41 | + xml2File(xmlVO, xmlFileName, xstream,xmlPath); | ||
| 42 | + | ||
| 43 | + return xml; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + | ||
| 47 | + /** | ||
| 48 | + * 生成落装改配申请报文 | ||
| 49 | + * @param entity | ||
| 50 | + */ | ||
| 51 | + public static String genLostChangeXmlAndSend(ManifestXmlEntity xmlVO){ | ||
| 52 | + | ||
| 53 | + String xmlFileName = "CN_MT8202_1P0_460470678920X_" + DateUtils.currentFormatDate("yyyyMMddHHmmssSSS") + ".xml"; | ||
| 54 | + | ||
| 55 | + XStream xstream = new XStream(); | ||
| 56 | + xstream.autodetectAnnotations(true); | ||
| 57 | + xstream.registerConverter(new NullConverter()); | ||
| 58 | + | ||
| 59 | + String xml = xstream.toXML(xmlVO); | ||
| 60 | + | ||
| 61 | + xml="<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"+xml; | ||
| 62 | + xml=xml.replace("__", "_"); | ||
| 63 | + | ||
| 64 | + String xmlPath =PropertiesUtils.readProperty("MT8202Path")+xmlFileName; | ||
| 65 | + | ||
| 66 | + xml2File(xmlVO, xmlFileName, xstream,xmlPath); | ||
| 67 | + | ||
| 68 | + return xml; | ||
| 69 | + } | ||
| 70 | + | ||
| 71 | + | ||
| 72 | + | ||
| 73 | + /** | ||
| 74 | + * @param xmlVO | ||
| 75 | + * @param xmlFileName | ||
| 76 | + * @param xstream | ||
| 77 | + */ | ||
| 78 | + public static void xml2File(ManifestXmlEntity xmlVO, String xmlFileName, XStream xstream,String xmlPath) { | ||
| 79 | + File file = new File(xmlPath); | ||
| 80 | + if (!file.exists()) { | ||
| 81 | + try { | ||
| 82 | + file.createNewFile(); | ||
| 83 | + System.out.println("文件创建成功!"); | ||
| 84 | + } catch (IOException e) { | ||
| 85 | + System.out.println("文件创建失败!"); | ||
| 86 | + e.printStackTrace(); | ||
| 87 | + } | ||
| 88 | + } | ||
| 89 | + | ||
| 90 | + OutputStream out; | ||
| 91 | + try { | ||
| 92 | + out = new FileOutputStream(file); | ||
| 93 | + OutputStreamWriter writer = new OutputStreamWriter(out,Charset.forName("UTF-8")); | ||
| 94 | + writer.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); | ||
| 95 | + xstream.toXML(xmlVO, writer); | ||
| 96 | + out.close(); | ||
| 97 | + writer.close(); | ||
| 98 | + } catch (FileNotFoundException e) { | ||
| 99 | + e.printStackTrace(); | ||
| 100 | + }catch (IOException e) { | ||
| 101 | + e.printStackTrace(); | ||
| 102 | + } | ||
| 103 | + } | ||
| 104 | + | ||
| 105 | +} |
| 1 | +package com.tianbo.util.xml; | ||
| 2 | + | ||
| 3 | +import java.io.File; | ||
| 4 | +import java.io.FileNotFoundException; | ||
| 5 | +import java.io.FileOutputStream; | ||
| 6 | +import java.io.IOException; | ||
| 7 | +import java.io.OutputStream; | ||
| 8 | +import java.io.OutputStreamWriter; | ||
| 9 | +import java.nio.charset.Charset; | ||
| 10 | + | ||
| 11 | +import org.junit.Test; | ||
| 12 | + | ||
| 13 | +import com.thoughtworks.xstream.XStream; | ||
| 14 | +import com.thoughtworks.xstream.io.xml.DomDriver; | ||
| 15 | + | ||
| 16 | +public class xmlUtils { | ||
| 17 | + | ||
| 18 | + private Object obj; | ||
| 19 | + | ||
| 20 | + @Test // 将对象信息写入xml文件 | ||
| 21 | + public void writeXML() { | ||
| 22 | + XStream xstream = new XStream(new DomDriver("utf-8")); | ||
| 23 | + String xmlFileName = "student.xml"; | ||
| 24 | + File file = new File("C:\\Users\\admin\\Desktop\\" + xmlFileName); | ||
| 25 | + if (!file.exists()) { | ||
| 26 | + try { | ||
| 27 | + file.createNewFile(); | ||
| 28 | + System.out.println("文件创建成功!"); | ||
| 29 | + } catch (IOException e) { | ||
| 30 | + System.out.println("文件创建失败!"); | ||
| 31 | + e.printStackTrace(); | ||
| 32 | + } | ||
| 33 | + } | ||
| 34 | + // String xml = xstream.toXML(student);//不会直接生成xml文件,返回的仅仅只是xml文本字符串 | ||
| 35 | + // System.out.println(xml); | ||
| 36 | + OutputStream out; | ||
| 37 | + try { | ||
| 38 | + out = new FileOutputStream(file); | ||
| 39 | + OutputStreamWriter writer = new OutputStreamWriter(out, Charset.forName("GBK")); | ||
| 40 | + writer.write("<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"); | ||
| 41 | + xstream.toXML(obj, writer); | ||
| 42 | + out.close(); | ||
| 43 | + writer.close(); | ||
| 44 | + } catch (FileNotFoundException e) { | ||
| 45 | + e.printStackTrace(); | ||
| 46 | + } catch (IOException e) { | ||
| 47 | + e.printStackTrace(); | ||
| 48 | + } | ||
| 49 | + } | ||
| 50 | +} |
| 1 | +package com.tianbo.xml.lost; | ||
| 2 | + | ||
| 3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 4 | + | ||
| 5 | +public class AdditionalInformation { | ||
| 6 | + | ||
| 7 | + @XStreamAlias("Content") | ||
| 8 | + private String content; | ||
| 9 | + | ||
| 10 | + public String getContent() { | ||
| 11 | + return content; | ||
| 12 | + } | ||
| 13 | + | ||
| 14 | + public void setContent(String content) { | ||
| 15 | + this.content = content; | ||
| 16 | + } | ||
| 17 | + | ||
| 18 | +} |
| 1 | +package com.tianbo.xml.lost; | ||
| 2 | + | ||
| 3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 4 | + | ||
| 5 | +public class AssociatedTransportDocument { | ||
| 6 | + | ||
| 7 | + @XStreamAlias("ID") | ||
| 8 | + private String id; | ||
| 9 | + | ||
| 10 | + public String getId() { | ||
| 11 | + return id; | ||
| 12 | + } | ||
| 13 | + | ||
| 14 | + public void setId(String id) { | ||
| 15 | + this.id = id; | ||
| 16 | + } | ||
| 17 | + | ||
| 18 | +} |
| 1 | +package com.tianbo.xml.lost; | ||
| 2 | + | ||
| 3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 4 | + | ||
| 5 | +public class BorderTransportMeans { | ||
| 6 | + | ||
| 7 | + @XStreamAlias("JourneyID") | ||
| 8 | + private String journeyID; | ||
| 9 | + | ||
| 10 | + public String getJourneyID() { | ||
| 11 | + return journeyID; | ||
| 12 | + } | ||
| 13 | + | ||
| 14 | + public void setJourneyID(String journeyID) { | ||
| 15 | + this.journeyID = journeyID; | ||
| 16 | + } | ||
| 17 | +} |
| 1 | +package com.tianbo.xml.lost; | ||
| 2 | + | ||
| 3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 4 | + | ||
| 5 | +public class Consignment { | ||
| 6 | + | ||
| 7 | + @XStreamAlias("TransportContractDocument") | ||
| 8 | + private TransportContractDocument transportContractDocument; | ||
| 9 | + | ||
| 10 | + @XStreamAlias("AssociatedTransportDocument") | ||
| 11 | + private AssociatedTransportDocument associatedTransportDocument; | ||
| 12 | + | ||
| 13 | + public TransportContractDocument getTransportContractDocument() { | ||
| 14 | + return transportContractDocument; | ||
| 15 | + } | ||
| 16 | + | ||
| 17 | + public void setTransportContractDocument(TransportContractDocument transportContractDocument) { | ||
| 18 | + this.transportContractDocument = transportContractDocument; | ||
| 19 | + } | ||
| 20 | + | ||
| 21 | + public AssociatedTransportDocument getAssociatedTransportDocument() { | ||
| 22 | + return associatedTransportDocument; | ||
| 23 | + } | ||
| 24 | + | ||
| 25 | + public void setAssociatedTransportDocument(AssociatedTransportDocument associatedTransportDocument) { | ||
| 26 | + this.associatedTransportDocument = associatedTransportDocument; | ||
| 27 | + } | ||
| 28 | + | ||
| 29 | +} |
| 1 | +package com.tianbo.xml.lost; | ||
| 2 | + | ||
| 3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 4 | + | ||
| 5 | +public class DeclarationXmlEntity { | ||
| 6 | + | ||
| 7 | + @XStreamAlias("BorderTransportMeans") | ||
| 8 | + private BorderTransportMeans borderTransportMeans; | ||
| 9 | + | ||
| 10 | + @XStreamAlias("Consignment") | ||
| 11 | + private Consignment consignment; | ||
| 12 | + | ||
| 13 | + @XStreamAlias("AdditionalInformation") | ||
| 14 | + private AdditionalInformation additionalInformation; | ||
| 15 | + | ||
| 16 | + public BorderTransportMeans getBorderTransportMeans() { | ||
| 17 | + return borderTransportMeans; | ||
| 18 | + } | ||
| 19 | + | ||
| 20 | + public void setBorderTransportMeans(BorderTransportMeans borderTransportMeans) { | ||
| 21 | + this.borderTransportMeans = borderTransportMeans; | ||
| 22 | + } | ||
| 23 | + | ||
| 24 | + public Consignment getConsignment() { | ||
| 25 | + return consignment; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + public void setConsignment(Consignment consignment) { | ||
| 29 | + this.consignment = consignment; | ||
| 30 | + } | ||
| 31 | + | ||
| 32 | + public AdditionalInformation getAdditionalInformation() { | ||
| 33 | + return additionalInformation; | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + public void setAdditionalInformation(AdditionalInformation additionalInformation) { | ||
| 37 | + this.additionalInformation = additionalInformation; | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | +} |
| 1 | +package com.tianbo.xml.lost; | ||
| 2 | + | ||
| 3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 4 | +import com.tianbo.util.DateUtils; | ||
| 5 | + | ||
| 6 | +public class HeadXmlEntity { | ||
| 7 | + | ||
| 8 | + @XStreamAlias("MessageID") | ||
| 9 | + private String messageId="CN_MT8202_1P0_460470678920X_" + DateUtils.currentFormatDate("yyyyMMddHHmmssSSS"); | ||
| 10 | + | ||
| 11 | + @XStreamAlias("FunctionCode") | ||
| 12 | + private String functionCode="2"; | ||
| 13 | + | ||
| 14 | + @XStreamAlias("MessageType") | ||
| 15 | + private String messageType="MT8202"; | ||
| 16 | + | ||
| 17 | + @XStreamAlias("SenderID") | ||
| 18 | + private String senderId="460470678920X_DXPENT0000460002"; | ||
| 19 | + | ||
| 20 | + @XStreamAlias("ReceiverID") | ||
| 21 | + private String receiverId="4604"; | ||
| 22 | + | ||
| 23 | + @XStreamAlias("SendTime") | ||
| 24 | + private String sendTime=DateUtils.currentFormatDate("yyyyMMddHHmmssSSS"); | ||
| 25 | + | ||
| 26 | + @XStreamAlias("Version") | ||
| 27 | + private String version="1.0"; | ||
| 28 | + | ||
| 29 | + | ||
| 30 | + public String getMessageType() { | ||
| 31 | + return messageType; | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + public void setMessageType(String messageType) { | ||
| 35 | + this.messageType = messageType; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public String getMessageId() { | ||
| 39 | + return messageId; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public void setMessageId(String messageId) { | ||
| 43 | + this.messageId = messageId; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + | ||
| 47 | + public String getSenderId() { | ||
| 48 | + return senderId; | ||
| 49 | + } | ||
| 50 | + | ||
| 51 | + public void setSenderId(String senderId) { | ||
| 52 | + this.senderId = senderId; | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | + | ||
| 56 | + public String getReceiverId() { | ||
| 57 | + return receiverId; | ||
| 58 | + } | ||
| 59 | + | ||
| 60 | + public void setReceiverId(String receiverId) { | ||
| 61 | + this.receiverId = receiverId; | ||
| 62 | + } | ||
| 63 | + | ||
| 64 | + public String getFunctionCode() { | ||
| 65 | + return functionCode; | ||
| 66 | + } | ||
| 67 | + | ||
| 68 | + public void setFunctionCode(String functionCode) { | ||
| 69 | + this.functionCode = functionCode; | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + public String getVersion() { | ||
| 73 | + return version; | ||
| 74 | + } | ||
| 75 | + | ||
| 76 | + public void setVersion(String version) { | ||
| 77 | + this.version = version; | ||
| 78 | + } | ||
| 79 | + | ||
| 80 | + public String getSendTime() { | ||
| 81 | + return sendTime; | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + public void setSendTime(String sendTime) { | ||
| 85 | + this.sendTime = sendTime; | ||
| 86 | + } | ||
| 87 | + public static void main(String[] args) { | ||
| 88 | + HeadXmlEntity hd = new HeadXmlEntity(); | ||
| 89 | + System.out.println(hd); | ||
| 90 | + } | ||
| 91 | +} |
| 1 | +package com.tianbo.xml.lost; | ||
| 2 | + | ||
| 3 | + | ||
| 4 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 5 | +import com.tianbo.util.xml.XmlGen; | ||
| 6 | + | ||
| 7 | +@XStreamAlias("Manifest") | ||
| 8 | +public class ManifestXmlEntity { | ||
| 9 | + | ||
| 10 | + @XStreamAlias("Head") | ||
| 11 | + private HeadXmlEntity headXml; | ||
| 12 | + | ||
| 13 | + @XStreamAlias("Declaration") | ||
| 14 | + private DeclarationXmlEntity declarationXml; | ||
| 15 | + | ||
| 16 | + | ||
| 17 | + public HeadXmlEntity getHeadXml() { | ||
| 18 | + return headXml; | ||
| 19 | + } | ||
| 20 | + | ||
| 21 | + public void setHeadXml(HeadXmlEntity headXml) { | ||
| 22 | + this.headXml = headXml; | ||
| 23 | + } | ||
| 24 | + | ||
| 25 | + public DeclarationXmlEntity getDeclarationXml() { | ||
| 26 | + return declarationXml; | ||
| 27 | + } | ||
| 28 | + | ||
| 29 | + public void setDeclarationXml(DeclarationXmlEntity declarationXml) { | ||
| 30 | + this.declarationXml = declarationXml; | ||
| 31 | + } | ||
| 32 | + | ||
| 33 | + public static void main(String[] args) { | ||
| 34 | + ManifestXmlEntity ms = getXmlEntity(); | ||
| 35 | + String xml = XmlGen.genLostXmlAndSend(ms); | ||
| 36 | + System.err.println(xml); | ||
| 37 | + } | ||
| 38 | + | ||
| 39 | + /** | ||
| 40 | + * @return | ||
| 41 | + */ | ||
| 42 | + public static ManifestXmlEntity getXmlEntity() { | ||
| 43 | + ManifestXmlEntity ms = new ManifestXmlEntity(); | ||
| 44 | + HeadXmlEntity headXml = new HeadXmlEntity(); | ||
| 45 | + DeclarationXmlEntity declarationXml = new DeclarationXmlEntity(); | ||
| 46 | + AdditionalInformation information = new AdditionalInformation(); | ||
| 47 | + BorderTransportMeans transportMeans = new BorderTransportMeans(); | ||
| 48 | + Consignment consignment = new Consignment(); | ||
| 49 | + AssociatedTransportDocument associatedTransportDocument = new AssociatedTransportDocument(); | ||
| 50 | + consignment.setAssociatedTransportDocument(associatedTransportDocument ); | ||
| 51 | + TransportContractDocument transportContractDocument = new TransportContractDocument(); | ||
| 52 | + consignment.setTransportContractDocument(transportContractDocument ); | ||
| 53 | + declarationXml.setAdditionalInformation(information); | ||
| 54 | + declarationXml.setBorderTransportMeans(transportMeans); | ||
| 55 | + declarationXml.setConsignment(consignment); | ||
| 56 | + ms.setHeadXml(headXml); | ||
| 57 | + ms.setDeclarationXml(declarationXml); | ||
| 58 | + return ms; | ||
| 59 | + } | ||
| 60 | + | ||
| 61 | +} |
| 1 | +package com.tianbo.xml.lost; | ||
| 2 | + | ||
| 3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 4 | + | ||
| 5 | +public class TransportContractDocument { | ||
| 6 | + | ||
| 7 | + @XStreamAlias("ID") | ||
| 8 | + private String id; | ||
| 9 | + | ||
| 10 | + public String getId() { | ||
| 11 | + return id; | ||
| 12 | + } | ||
| 13 | + | ||
| 14 | + public void setId(String id) { | ||
| 15 | + this.id = id; | ||
| 16 | + } | ||
| 17 | +} |
| 1 | +package com.tianbo.xml.lostChange; | ||
| 2 | + | ||
| 3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 4 | + | ||
| 5 | +public class AdditionalInformation { | ||
| 6 | + | ||
| 7 | + @XStreamAlias("Content") | ||
| 8 | + private String content; | ||
| 9 | + | ||
| 10 | + public String getContent() { | ||
| 11 | + return content; | ||
| 12 | + } | ||
| 13 | + | ||
| 14 | + public void setContent(String content) { | ||
| 15 | + this.content = content; | ||
| 16 | + } | ||
| 17 | + | ||
| 18 | +} |
| 1 | +package com.tianbo.xml.lostChange; | ||
| 2 | + | ||
| 3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 4 | +/** | ||
| 5 | + * 运输合同附加信息 | ||
| 6 | + * @author Promise | ||
| 7 | + * | ||
| 8 | + */ | ||
| 9 | +public class AssociatedTransportDocument { | ||
| 10 | + | ||
| 11 | + @XStreamAlias("ID") | ||
| 12 | + private String id; | ||
| 13 | + | ||
| 14 | + public String getId() { | ||
| 15 | + return id; | ||
| 16 | + } | ||
| 17 | + | ||
| 18 | + public void setId(String id) { | ||
| 19 | + this.id = id; | ||
| 20 | + } | ||
| 21 | + | ||
| 22 | +} |
| 1 | +package com.tianbo.xml.lostChange; | ||
| 2 | + | ||
| 3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 4 | + | ||
| 5 | +public class BorderTransportMeans { | ||
| 6 | + | ||
| 7 | + @XStreamAlias("JourneyID") | ||
| 8 | + private String journeyID; | ||
| 9 | + | ||
| 10 | + public String getJourneyID() { | ||
| 11 | + return journeyID; | ||
| 12 | + } | ||
| 13 | + | ||
| 14 | + public void setJourneyID(String journeyID) { | ||
| 15 | + this.journeyID = journeyID; | ||
| 16 | + } | ||
| 17 | +} |
| 1 | +package com.tianbo.xml.lostChange; | ||
| 2 | + | ||
| 3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 4 | + | ||
| 5 | +public class ChangeBorderTransportMeans { | ||
| 6 | + | ||
| 7 | + @XStreamAlias("JourneyID") | ||
| 8 | + private String journeyID; | ||
| 9 | + | ||
| 10 | + public String getJourneyID() { | ||
| 11 | + return journeyID; | ||
| 12 | + } | ||
| 13 | + | ||
| 14 | + public void setJourneyID(String journeyID) { | ||
| 15 | + this.journeyID = journeyID; | ||
| 16 | + } | ||
| 17 | +} |
| 1 | +package com.tianbo.xml.lostChange; | ||
| 2 | + | ||
| 3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * 变更后提(运)单信息 | ||
| 7 | + * @author Promise | ||
| 8 | + * | ||
| 9 | + */ | ||
| 10 | +public class ChangeConsignment { | ||
| 11 | + | ||
| 12 | + @XStreamAlias("TransportContractDocument") | ||
| 13 | + private TransportContractDocument transportContractDocument; | ||
| 14 | + | ||
| 15 | + @XStreamAlias("TransportContractDocument") | ||
| 16 | + private AssociatedTransportDocument associatedTransportDocument; | ||
| 17 | + | ||
| 18 | + @XStreamAlias("TransportEquipment") | ||
| 19 | + private TransportEquipment transportEquipment; | ||
| 20 | + | ||
| 21 | + public TransportContractDocument getTransportContractDocument() { | ||
| 22 | + return transportContractDocument; | ||
| 23 | + } | ||
| 24 | + | ||
| 25 | + public void setTransportContractDocument(TransportContractDocument transportContractDocument) { | ||
| 26 | + this.transportContractDocument = transportContractDocument; | ||
| 27 | + } | ||
| 28 | + | ||
| 29 | + public AssociatedTransportDocument getAssociatedTransportDocument() { | ||
| 30 | + return associatedTransportDocument; | ||
| 31 | + } | ||
| 32 | + | ||
| 33 | + public void setAssociatedTransportDocument(AssociatedTransportDocument associatedTransportDocument) { | ||
| 34 | + this.associatedTransportDocument = associatedTransportDocument; | ||
| 35 | + } | ||
| 36 | + | ||
| 37 | + public TransportEquipment getTransportEquipment() { | ||
| 38 | + return transportEquipment; | ||
| 39 | + } | ||
| 40 | + | ||
| 41 | + public void setTransportEquipment(TransportEquipment transportEquipment) { | ||
| 42 | + this.transportEquipment = transportEquipment; | ||
| 43 | + } | ||
| 44 | + | ||
| 45 | +} |
| 1 | +package com.tianbo.xml.lostChange; | ||
| 2 | + | ||
| 3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 4 | + | ||
| 5 | +public class Consignment { | ||
| 6 | + | ||
| 7 | + @XStreamAlias("TransportContractDocument") | ||
| 8 | + private TransportContractDocument transportContractDocument; | ||
| 9 | + | ||
| 10 | + @XStreamAlias("AssociatedTransportDocument") | ||
| 11 | + private AssociatedTransportDocument associatedTransportDocument; | ||
| 12 | + | ||
| 13 | + @XStreamAlias("ChangeConsignment") | ||
| 14 | + private ChangeConsignment changeConsignment; | ||
| 15 | + | ||
| 16 | + public TransportContractDocument getTransportContractDocument() { | ||
| 17 | + return transportContractDocument; | ||
| 18 | + } | ||
| 19 | + | ||
| 20 | + public void setTransportContractDocument(TransportContractDocument transportContractDocument) { | ||
| 21 | + this.transportContractDocument = transportContractDocument; | ||
| 22 | + } | ||
| 23 | + | ||
| 24 | + public AssociatedTransportDocument getAssociatedTransportDocument() { | ||
| 25 | + return associatedTransportDocument; | ||
| 26 | + } | ||
| 27 | + | ||
| 28 | + public void setAssociatedTransportDocument(AssociatedTransportDocument associatedTransportDocument) { | ||
| 29 | + this.associatedTransportDocument = associatedTransportDocument; | ||
| 30 | + } | ||
| 31 | + | ||
| 32 | + public ChangeConsignment getChangeConsignment() { | ||
| 33 | + return changeConsignment; | ||
| 34 | + } | ||
| 35 | + | ||
| 36 | + public void setChangeConsignment(ChangeConsignment changeConsignment) { | ||
| 37 | + this.changeConsignment = changeConsignment; | ||
| 38 | + } | ||
| 39 | + | ||
| 40 | +} |
| 1 | +package com.tianbo.xml.lostChange; | ||
| 2 | + | ||
| 3 | +import java.util.List; | ||
| 4 | + | ||
| 5 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 6 | + | ||
| 7 | +public class DeclarationXmlEntity { | ||
| 8 | + | ||
| 9 | + @XStreamAlias("BorderTransportMeans") | ||
| 10 | + private BorderTransportMeans borderTransportMeans; | ||
| 11 | + | ||
| 12 | + @XStreamAlias("ChangeBorderTransportMeans") | ||
| 13 | + private ChangeBorderTransportMeans changeBorderTransportMeans; | ||
| 14 | + | ||
| 15 | + @XStreamAlias("Consignment") | ||
| 16 | + private List<Consignment> consignment; | ||
| 17 | + | ||
| 18 | + @XStreamAlias("AdditionalInformation") | ||
| 19 | + private AdditionalInformation additionalInformation; | ||
| 20 | + | ||
| 21 | + public BorderTransportMeans getBorderTransportMeans() { | ||
| 22 | + return borderTransportMeans; | ||
| 23 | + } | ||
| 24 | + | ||
| 25 | + public void setBorderTransportMeans(BorderTransportMeans borderTransportMeans) { | ||
| 26 | + this.borderTransportMeans = borderTransportMeans; | ||
| 27 | + } | ||
| 28 | + | ||
| 29 | + | ||
| 30 | + public AdditionalInformation getAdditionalInformation() { | ||
| 31 | + return additionalInformation; | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + public void setAdditionalInformation(AdditionalInformation additionalInformation) { | ||
| 35 | + this.additionalInformation = additionalInformation; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public List<Consignment> getConsignment() { | ||
| 39 | + return consignment; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public void setConsignment(List<Consignment> consignment) { | ||
| 43 | + this.consignment = consignment; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | +} |
| 1 | +package com.tianbo.xml.lostChange; | ||
| 2 | + | ||
| 3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 4 | +import com.tianbo.util.DateUtils; | ||
| 5 | + | ||
| 6 | +public class HeadXmlEntity { | ||
| 7 | + | ||
| 8 | + @XStreamAlias("MessageID") | ||
| 9 | + private String messageId="CN_MT8203_1P0_460470678920X_" + DateUtils.currentFormatDate("yyyyMMddHHmmssSSS"); | ||
| 10 | + | ||
| 11 | + @XStreamAlias("FunctionCode") | ||
| 12 | + private String functionCode="2"; | ||
| 13 | + | ||
| 14 | + @XStreamAlias("MessageType") | ||
| 15 | + private String messageType="MT8203"; | ||
| 16 | + | ||
| 17 | + @XStreamAlias("SenderID") | ||
| 18 | + private String senderId="460470678920X_DXPENT0000460002"; | ||
| 19 | + | ||
| 20 | + @XStreamAlias("ReceiverID") | ||
| 21 | + private String receiverId="4604"; | ||
| 22 | + | ||
| 23 | + @XStreamAlias("SendTime") | ||
| 24 | + private String sendTime=DateUtils.currentFormatDate("yyyyMMddHHmmssSSS"); | ||
| 25 | + | ||
| 26 | + @XStreamAlias("Version") | ||
| 27 | + private String version="1.0"; | ||
| 28 | + | ||
| 29 | + | ||
| 30 | + public String getMessageType() { | ||
| 31 | + return messageType; | ||
| 32 | + } | ||
| 33 | + | ||
| 34 | + public void setMessageType(String messageType) { | ||
| 35 | + this.messageType = messageType; | ||
| 36 | + } | ||
| 37 | + | ||
| 38 | + public String getMessageId() { | ||
| 39 | + return messageId; | ||
| 40 | + } | ||
| 41 | + | ||
| 42 | + public void setMessageId(String messageId) { | ||
| 43 | + this.messageId = messageId; | ||
| 44 | + } | ||
| 45 | + | ||
| 46 | + | ||
| 47 | + public String getSenderId() { | ||
| 48 | + return senderId; | ||
| 49 | + } | ||
| 50 | + | ||
| 51 | + public void setSenderId(String senderId) { | ||
| 52 | + this.senderId = senderId; | ||
| 53 | + } | ||
| 54 | + | ||
| 55 | + | ||
| 56 | + public String getReceiverId() { | ||
| 57 | + return receiverId; | ||
| 58 | + } | ||
| 59 | + | ||
| 60 | + public void setReceiverId(String receiverId) { | ||
| 61 | + this.receiverId = receiverId; | ||
| 62 | + } | ||
| 63 | + | ||
| 64 | + public String getFunctionCode() { | ||
| 65 | + return functionCode; | ||
| 66 | + } | ||
| 67 | + | ||
| 68 | + public void setFunctionCode(String functionCode) { | ||
| 69 | + this.functionCode = functionCode; | ||
| 70 | + } | ||
| 71 | + | ||
| 72 | + public String getVersion() { | ||
| 73 | + return version; | ||
| 74 | + } | ||
| 75 | + | ||
| 76 | + public void setVersion(String version) { | ||
| 77 | + this.version = version; | ||
| 78 | + } | ||
| 79 | + | ||
| 80 | + public String getSendTime() { | ||
| 81 | + return sendTime; | ||
| 82 | + } | ||
| 83 | + | ||
| 84 | + public void setSendTime(String sendTime) { | ||
| 85 | + this.sendTime = sendTime; | ||
| 86 | + } | ||
| 87 | + public static void main(String[] args) { | ||
| 88 | + HeadXmlEntity hd = new HeadXmlEntity(); | ||
| 89 | + System.out.println(hd); | ||
| 90 | + } | ||
| 91 | +} |
| 1 | +package com.tianbo.xml.lostChange; | ||
| 2 | + | ||
| 3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 4 | +/** | ||
| 5 | + * 运输合同信息 | ||
| 6 | + * @author Promise | ||
| 7 | + * | ||
| 8 | + */ | ||
| 9 | +public class TransportContractDocument { | ||
| 10 | + | ||
| 11 | + @XStreamAlias("ID") | ||
| 12 | + private String id; | ||
| 13 | + | ||
| 14 | + public String getId() { | ||
| 15 | + return id; | ||
| 16 | + } | ||
| 17 | + | ||
| 18 | + public void setId(String id) { | ||
| 19 | + this.id = id; | ||
| 20 | + } | ||
| 21 | +} |
| 1 | +package com.tianbo.xml.lostChange; | ||
| 2 | + | ||
| 3 | +import com.thoughtworks.xstream.annotations.XStreamAlias; | ||
| 4 | + | ||
| 5 | +/** | ||
| 6 | + * 集装箱(器)信息 | ||
| 7 | + * @author Promise | ||
| 8 | + * | ||
| 9 | + */ | ||
| 10 | +public class TransportEquipment { | ||
| 11 | + | ||
| 12 | + @XStreamAlias("EquipmentIdentification") //集装箱(器)编号信息 | ||
| 13 | + private String equipmentIdentification; | ||
| 14 | + | ||
| 15 | + @XStreamAlias("CharacteristicCode") | ||
| 16 | + private String characteristicCode; //集装箱(器)尺寸和类型 | ||
| 17 | + | ||
| 18 | + @XStreamAlias("SupplierPartyTypeCode") | ||
| 19 | + private String supplierPartyTypeCode; //集装箱(器)尺寸和类型 | ||
| 20 | + | ||
| 21 | + public String getEquipmentIdentification() { | ||
| 22 | + return equipmentIdentification; | ||
| 23 | + } | ||
| 24 | + | ||
| 25 | + public void setEquipmentIdentification(String equipmentIdentification) { | ||
| 26 | + this.equipmentIdentification = equipmentIdentification; | ||
| 27 | + } | ||
| 28 | + | ||
| 29 | + public String getCharacteristicCode() { | ||
| 30 | + return characteristicCode; | ||
| 31 | + } | ||
| 32 | + | ||
| 33 | + public void setCharacteristicCode(String characteristicCode) { | ||
| 34 | + this.characteristicCode = characteristicCode; | ||
| 35 | + } | ||
| 36 | +} |
| 1 | +<?xml version="1.0" encoding="UTF-8" ?> | ||
| 2 | +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> | ||
| 3 | +<mapper namespace="com.tianbo.mapper.LostMapper"> | ||
| 4 | + | ||
| 5 | + <sql id="lostColumns"> | ||
| 6 | + a.id AS "id", | ||
| 7 | + a.createdate AS "createdate", | ||
| 8 | + a.flightno AS "flightno", | ||
| 9 | + a.flightdate AS "flightdate", | ||
| 10 | + a.waybillnomaster AS "waybillnomaster", | ||
| 11 | + a.waybillnosecondary AS "waybillnosecondary", | ||
| 12 | + a.remark AS "remark", | ||
| 13 | + a.status AS "status", | ||
| 14 | + a.receiption AS "receiption", | ||
| 15 | + a.createdate AS "createdate" | ||
| 16 | + </sql> | ||
| 17 | + | ||
| 18 | + <sql id="lostJoins"> | ||
| 19 | + </sql> | ||
| 20 | + | ||
| 21 | + <select id="get" resultType="com.tianbo.model.ManifestLoad"> | ||
| 22 | + SELECT | ||
| 23 | + <include refid="lostColumns"/> | ||
| 24 | + FROM MANIFESTLOAD a | ||
| 25 | + <include refid="lostJoins"/> | ||
| 26 | + WHERE a.id = #{id} | ||
| 27 | + </select> | ||
| 28 | + | ||
| 29 | + <select id="getCount" parameterType="com.tianbo.model.ManifestLoad" resultType="java.lang.Integer" > | ||
| 30 | + select count(*) from MANIFESTLOAD | ||
| 31 | + WHERE 1=1 | ||
| 32 | + <if test="flightno != null and flightno != ''"> | ||
| 33 | + AND flightno like CONCAT(CONCAT('%',#{flightno}),'%') | ||
| 34 | + </if> | ||
| 35 | + </select> | ||
| 36 | + | ||
| 37 | + <select id="getList" resultType="com.tianbo.model.ManifestLoad"> | ||
| 38 | + SELECT | ||
| 39 | + T2.* | ||
| 40 | + FROM | ||
| 41 | + ( SELECT ROWNUM RN, T.* FROM ( SELECT * FROM ( SELECT * FROM MANIFESTLOAD ) ORDER BY createdate DESC ) T ) T2 | ||
| 42 | + WHERE | ||
| 43 | + RN BETWEEN #{start} AND #{end} | ||
| 44 | + </select> | ||
| 45 | + | ||
| 46 | + <select id="selectByFlightno" resultType="com.tianbo.model.ManifestLoad"> | ||
| 47 | + SELECT | ||
| 48 | + T2.* | ||
| 49 | + FROM | ||
| 50 | + ( SELECT ROWNUM RN, T.* FROM ( | ||
| 51 | + SELECT * FROM ( | ||
| 52 | + SELECT * FROM MANIFESTLOAD | ||
| 53 | + <if test="flightno != null and flightno != ''"> | ||
| 54 | + WHERE flightno like CONCAT(CONCAT('%',#{flightno}),'%') | ||
| 55 | + </if> | ||
| 56 | + ) ORDER BY createdate DESC ) T ) T2 | ||
| 57 | + WHERE | ||
| 58 | + RN BETWEEN #{start} AND #{end} | ||
| 59 | + </select> | ||
| 60 | + | ||
| 61 | + <select id="selectByParam" resultType="com.tianbo.model.ManifestLoad"> | ||
| 62 | + SELECT | ||
| 63 | + T2.* | ||
| 64 | + FROM | ||
| 65 | + ( SELECT ROWNUM RN, T.* FROM ( | ||
| 66 | + SELECT * FROM ( | ||
| 67 | + SELECT * FROM MANIFESTLOAD | ||
| 68 | + WHERE 1=1 | ||
| 69 | + <if test="flightno != null and flightno != ''"> | ||
| 70 | + AND flightno like CONCAT(CONCAT('%',#{flightno}),'%') | ||
| 71 | + </if> | ||
| 72 | + <if test="flightdate != null and flightdate != ''"> | ||
| 73 | + AND flightdate = "TO_DATE" ( #{flightdate}, 'yyyy-mm-dd' ) | ||
| 74 | + </if> | ||
| 75 | + <if test="waybillnomaster != null and waybillnomaster != ''"> | ||
| 76 | + AND waybillnomaster like CONCAT(CONCAT('%',#{waybillnomaster}),'%') | ||
| 77 | + </if> | ||
| 78 | + <if test="waybillnosecondary != null and waybillnosecondary != ''"> | ||
| 79 | + AND waybillnosecondary like CONCAT(CONCAT('%',#{waybillnosecondary}),'%') | ||
| 80 | + </if> | ||
| 81 | + ) ORDER BY createdate DESC ) T ) T2 | ||
| 82 | + WHERE | ||
| 83 | + RN BETWEEN #{start} AND #{end} | ||
| 84 | + </select> | ||
| 85 | + | ||
| 86 | + <insert id="insert" parameterType="com.tianbo.model.ManifestLoad"> | ||
| 87 | + INSERT INTO MANIFESTLOAD( | ||
| 88 | + id, | ||
| 89 | + createdate, | ||
| 90 | + flightno, | ||
| 91 | + flightdate, | ||
| 92 | + waybillnomaster, | ||
| 93 | + waybillnosecondary, | ||
| 94 | + remark, | ||
| 95 | + status, | ||
| 96 | + receiption | ||
| 97 | + ) VALUES ( | ||
| 98 | + #{id,jdbcType=VARCHAR}, | ||
| 99 | + #{createdate,jdbcType=DATE}, | ||
| 100 | + #{flightno,jdbcType=VARCHAR}, | ||
| 101 | + #{flightdate,jdbcType=DATE}, | ||
| 102 | + #{waybillnomaster,jdbcType=VARCHAR}, | ||
| 103 | + #{waybillnosecondary,jdbcType=VARCHAR}, | ||
| 104 | + #{remark,jdbcType=VARCHAR}, | ||
| 105 | + #{status,jdbcType=VARCHAR}, | ||
| 106 | + #{receiption,jdbcType=VARCHAR} | ||
| 107 | + ) | ||
| 108 | + </insert> | ||
| 109 | + | ||
| 110 | + <update id="update" parameterType="com.tianbo.model.ManifestLoad"> | ||
| 111 | + UPDATE MANIFESTLOAD | ||
| 112 | + SET | ||
| 113 | + flightno=#{flightno,jdbcType=VARCHAR}, | ||
| 114 | + flightdate=#{flightdate,jdbcType=DATE}, | ||
| 115 | + waybillnomaster=#{waybillnomaster,jdbcType=VARCHAR}, | ||
| 116 | + waybillnosecondary=#{waybillnosecondary,jdbcType=VARCHAR}, | ||
| 117 | + status=#{status,jdbcType=VARCHAR}, | ||
| 118 | + remark=#{remark,jdbcType=VARCHAR}, | ||
| 119 | + receiption=#{receiption,jdbcType=VARCHAR}, | ||
| 120 | + createdate=#{createdate,jdbcType=DATE} | ||
| 121 | + WHERE id = #{id} | ||
| 122 | + </update> | ||
| 123 | + | ||
| 124 | + <update id="del"> | ||
| 125 | + DELETE FROM MANIFESTLOAD | ||
| 126 | + WHERE id = #{id} | ||
| 127 | + </update> | ||
| 128 | + | ||
| 129 | +</mapper> |
| 1 | +<?xml version="1.0" encoding="UTF-8" ?> | ||
| 2 | +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > | ||
| 3 | +<mapper namespace="com.tianbo.mapper.ManifestItemMapper" > | ||
| 4 | + <resultMap id="BaseResultMap" type="com.tianbo.model.ManifestItem" > | ||
| 5 | + <id column="ID" property="id" jdbcType="VARCHAR" /> | ||
| 6 | + <result column="WAYBILLNOMASTER" property="waybillnomaster" jdbcType="VARCHAR" /> | ||
| 7 | + <result column="PIECE" property="piece" jdbcType="VARCHAR" /> | ||
| 8 | + <result column="PACKAGE_CODE" property="packageCode" jdbcType="VARCHAR" /> | ||
| 9 | + <result column="SHIPPING_MARKS" property="shippingMarks" jdbcType="VARCHAR" /> | ||
| 10 | + <result column="DANGEROUS_CODE" property="dangerousCode" jdbcType="VARCHAR" /> | ||
| 11 | + <result column="CONTAINER_NUMBER" property="containerNumber" jdbcType="VARCHAR" /> | ||
| 12 | + <result column="CUSTOM_PROCEDURE_CODE" property="customProcedureCode" jdbcType="VARCHAR" /> | ||
| 13 | + <result column="CUSTOM_TARIFF_CODE " property="customTariffCode" jdbcType="VARCHAR" /> | ||
| 14 | + <result column="CONSIGN_CODE" property="consignCode" jdbcType="VARCHAR" /> | ||
| 15 | + <result column="ORIGINAL_CODE" property="originalCode" jdbcType="VARCHAR" /> | ||
| 16 | + <result column="DESCRIPTION" property="description" jdbcType="VARCHAR" /> | ||
| 17 | + <result column="REMARK" property="remark" jdbcType="VARCHAR" /> | ||
| 18 | + <result column="WEIGHT" property="weight" jdbcType="VARCHAR" /> | ||
| 19 | + <result column="ORDER_NUMBER" property="orderNumber" jdbcType="VARCHAR" /> | ||
| 20 | + </resultMap> | ||
| 21 | + <sql id="Base_Column_List" > | ||
| 22 | + ID, WAYBILLNOMASTER, PIECE, PACKAGE_CODE, SHIPPING_MARKS, DANGEROUS_CODE, CONTAINER_NUMBER, | ||
| 23 | + CUSTOM_PROCEDURE_CODE, "CUSTOM_TARIFF_CODE ", CONSIGN_CODE, ORIGINAL_CODE, DESCRIPTION, | ||
| 24 | + REMARK, WEIGHT, ORDER_NUMBER | ||
| 25 | + </sql> | ||
| 26 | + <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" > | ||
| 27 | + select | ||
| 28 | + <include refid="Base_Column_List" /> | ||
| 29 | + from MANIFESTITEM | ||
| 30 | + where ID = #{id,jdbcType=VARCHAR} | ||
| 31 | + </select> | ||
| 32 | + | ||
| 33 | + <select id="getIteamList" resultMap="BaseResultMap" parameterType="java.lang.String" > | ||
| 34 | + select | ||
| 35 | + * | ||
| 36 | + from MANIFESTITEM | ||
| 37 | + where WAYBILLNOMASTER = #{waybillnomaster,jdbcType=VARCHAR} ORDER BY ABS(ORDER_NUMBER) | ||
| 38 | + </select> | ||
| 39 | + | ||
| 40 | + | ||
| 41 | + | ||
| 42 | + <delete id="deleteByPrimaryKey" parameterType="java.lang.String" > | ||
| 43 | + delete from MANIFESTITEM | ||
| 44 | + where ID = #{id,jdbcType=VARCHAR} | ||
| 45 | + </delete> | ||
| 46 | + <insert id="insert" parameterType="com.tianbo.model.ManifestItem" > | ||
| 47 | + insert into MANIFESTITEM (ID, WAYBILLNOMASTER, PIECE, | ||
| 48 | + PACKAGE_CODE, SHIPPING_MARKS, DANGEROUS_CODE, | ||
| 49 | + CONTAINER_NUMBER, CUSTOM_PROCEDURE_CODE, "CUSTOM_TARIFF_CODE ", | ||
| 50 | + CONSIGN_CODE, ORIGINAL_CODE, DESCRIPTION, | ||
| 51 | + REMARK, WEIGHT, ORDER_NUMBER | ||
| 52 | + ) | ||
| 53 | + values (#{id,jdbcType=VARCHAR}, #{waybillnomaster,jdbcType=VARCHAR}, #{piece,jdbcType=VARCHAR}, | ||
| 54 | + #{packageCode,jdbcType=VARCHAR}, #{shippingMarks,jdbcType=VARCHAR}, #{dangerousCode,jdbcType=VARCHAR}, | ||
| 55 | + #{containerNumber,jdbcType=VARCHAR}, #{customProcedureCode,jdbcType=VARCHAR}, #{customTariffCode,jdbcType=VARCHAR}, | ||
| 56 | + #{consignCode,jdbcType=VARCHAR}, #{originalCode,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, | ||
| 57 | + #{remark,jdbcType=VARCHAR}, #{weight,jdbcType=VARCHAR}, #{orderNumber,jdbcType=VARCHAR} | ||
| 58 | + ) | ||
| 59 | + </insert> | ||
| 60 | + <insert id="insertSelective" parameterType="com.tianbo.model.ManifestItem" > | ||
| 61 | + insert into MANIFESTITEM | ||
| 62 | + <trim prefix="(" suffix=")" suffixOverrides="," > | ||
| 63 | + <if test="id != null" > | ||
| 64 | + ID, | ||
| 65 | + </if> | ||
| 66 | + <if test="waybillnomaster != null" > | ||
| 67 | + WAYBILLNOMASTER, | ||
| 68 | + </if> | ||
| 69 | + <if test="piece != null" > | ||
| 70 | + PIECE, | ||
| 71 | + </if> | ||
| 72 | + <if test="packageCode != null" > | ||
| 73 | + PACKAGE_CODE, | ||
| 74 | + </if> | ||
| 75 | + <if test="shippingMarks != null" > | ||
| 76 | + SHIPPING_MARKS, | ||
| 77 | + </if> | ||
| 78 | + <if test="dangerousCode != null" > | ||
| 79 | + DANGEROUS_CODE, | ||
| 80 | + </if> | ||
| 81 | + <if test="containerNumber != null" > | ||
| 82 | + CONTAINER_NUMBER, | ||
| 83 | + </if> | ||
| 84 | + <if test="customProcedureCode != null" > | ||
| 85 | + CUSTOM_PROCEDURE_CODE, | ||
| 86 | + </if> | ||
| 87 | + <if test="customTariffCode != null" > | ||
| 88 | + "CUSTOM_TARIFF_CODE ", | ||
| 89 | + </if> | ||
| 90 | + <if test="consignCode != null" > | ||
| 91 | + CONSIGN_CODE, | ||
| 92 | + </if> | ||
| 93 | + <if test="originalCode != null" > | ||
| 94 | + ORIGINAL_CODE, | ||
| 95 | + </if> | ||
| 96 | + <if test="description != null" > | ||
| 97 | + DESCRIPTION, | ||
| 98 | + </if> | ||
| 99 | + <if test="remark != null" > | ||
| 100 | + REMARK, | ||
| 101 | + </if> | ||
| 102 | + <if test="weight != null" > | ||
| 103 | + WEIGHT, | ||
| 104 | + </if> | ||
| 105 | + <if test="orderNumber != null" > | ||
| 106 | + ORDER_NUMBER, | ||
| 107 | + </if> | ||
| 108 | + </trim> | ||
| 109 | + <trim prefix="values (" suffix=")" suffixOverrides="," > | ||
| 110 | + <if test="id != null" > | ||
| 111 | + #{id,jdbcType=VARCHAR}, | ||
| 112 | + </if> | ||
| 113 | + <if test="waybillnomaster != null" > | ||
| 114 | + #{waybillnomaster,jdbcType=VARCHAR}, | ||
| 115 | + </if> | ||
| 116 | + <if test="piece != null" > | ||
| 117 | + #{piece,jdbcType=VARCHAR}, | ||
| 118 | + </if> | ||
| 119 | + <if test="packageCode != null" > | ||
| 120 | + #{packageCode,jdbcType=VARCHAR}, | ||
| 121 | + </if> | ||
| 122 | + <if test="shippingMarks != null" > | ||
| 123 | + #{shippingMarks,jdbcType=VARCHAR}, | ||
| 124 | + </if> | ||
| 125 | + <if test="dangerousCode != null" > | ||
| 126 | + #{dangerousCode,jdbcType=VARCHAR}, | ||
| 127 | + </if> | ||
| 128 | + <if test="containerNumber != null" > | ||
| 129 | + #{containerNumber,jdbcType=VARCHAR}, | ||
| 130 | + </if> | ||
| 131 | + <if test="customProcedureCode != null" > | ||
| 132 | + #{customProcedureCode,jdbcType=VARCHAR}, | ||
| 133 | + </if> | ||
| 134 | + <if test="customTariffCode != null" > | ||
| 135 | + #{customTariffCode,jdbcType=VARCHAR}, | ||
| 136 | + </if> | ||
| 137 | + <if test="consignCode != null" > | ||
| 138 | + #{consignCode,jdbcType=VARCHAR}, | ||
| 139 | + </if> | ||
| 140 | + <if test="originalCode != null" > | ||
| 141 | + #{originalCode,jdbcType=VARCHAR}, | ||
| 142 | + </if> | ||
| 143 | + <if test="description != null" > | ||
| 144 | + #{description,jdbcType=VARCHAR}, | ||
| 145 | + </if> | ||
| 146 | + <if test="remark != null" > | ||
| 147 | + #{remark,jdbcType=VARCHAR}, | ||
| 148 | + </if> | ||
| 149 | + <if test="weight != null" > | ||
| 150 | + #{weight,jdbcType=VARCHAR}, | ||
| 151 | + </if> | ||
| 152 | + <if test="orderNumber != null" > | ||
| 153 | + #{orderNumber,jdbcType=VARCHAR}, | ||
| 154 | + </if> | ||
| 155 | + </trim> | ||
| 156 | + </insert> | ||
| 157 | + <update id="updateByPrimaryKeySelective" parameterType="com.tianbo.model.ManifestItem" > | ||
| 158 | + update MANIFESTITEM | ||
| 159 | + <set > | ||
| 160 | + <if test="waybillnomaster != null" > | ||
| 161 | + WAYBILLNOMASTER = #{waybillnomaster,jdbcType=VARCHAR}, | ||
| 162 | + </if> | ||
| 163 | + <if test="piece != null" > | ||
| 164 | + PIECE = #{piece,jdbcType=VARCHAR}, | ||
| 165 | + </if> | ||
| 166 | + <if test="packageCode != null" > | ||
| 167 | + PACKAGE_CODE = #{packageCode,jdbcType=VARCHAR}, | ||
| 168 | + </if> | ||
| 169 | + <if test="shippingMarks != null" > | ||
| 170 | + SHIPPING_MARKS = #{shippingMarks,jdbcType=VARCHAR}, | ||
| 171 | + </if> | ||
| 172 | + <if test="dangerousCode != null" > | ||
| 173 | + DANGEROUS_CODE = #{dangerousCode,jdbcType=VARCHAR}, | ||
| 174 | + </if> | ||
| 175 | + <if test="containerNumber != null" > | ||
| 176 | + CONTAINER_NUMBER = #{containerNumber,jdbcType=VARCHAR}, | ||
| 177 | + </if> | ||
| 178 | + <if test="customProcedureCode != null" > | ||
| 179 | + CUSTOM_PROCEDURE_CODE = #{customProcedureCode,jdbcType=VARCHAR}, | ||
| 180 | + </if> | ||
| 181 | + <if test="customTariffCode != null" > | ||
| 182 | + "CUSTOM_TARIFF_CODE " = #{customTariffCode,jdbcType=VARCHAR}, | ||
| 183 | + </if> | ||
| 184 | + <if test="consignCode != null" > | ||
| 185 | + CONSIGN_CODE = #{consignCode,jdbcType=VARCHAR}, | ||
| 186 | + </if> | ||
| 187 | + <if test="originalCode != null" > | ||
| 188 | + ORIGINAL_CODE = #{originalCode,jdbcType=VARCHAR}, | ||
| 189 | + </if> | ||
| 190 | + <if test="description != null" > | ||
| 191 | + DESCRIPTION = #{description,jdbcType=VARCHAR}, | ||
| 192 | + </if> | ||
| 193 | + <if test="remark != null" > | ||
| 194 | + REMARK = #{remark,jdbcType=VARCHAR}, | ||
| 195 | + </if> | ||
| 196 | + <if test="weight != null" > | ||
| 197 | + WEIGHT = #{weight,jdbcType=VARCHAR}, | ||
| 198 | + </if> | ||
| 199 | + <if test="orderNumber != null" > | ||
| 200 | + ORDER_NUMBER = #{orderNumber,jdbcType=VARCHAR}, | ||
| 201 | + </if> | ||
| 202 | + </set> | ||
| 203 | + where ID = #{id,jdbcType=VARCHAR} | ||
| 204 | + </update> | ||
| 205 | + <update id="updateByPrimaryKey" parameterType="com.tianbo.model.ManifestItem" > | ||
| 206 | + update MANIFESTITEM | ||
| 207 | + set WAYBILLNOMASTER = #{waybillnomaster,jdbcType=VARCHAR}, | ||
| 208 | + PIECE = #{piece,jdbcType=VARCHAR}, | ||
| 209 | + PACKAGE_CODE = #{packageCode,jdbcType=VARCHAR}, | ||
| 210 | + SHIPPING_MARKS = #{shippingMarks,jdbcType=VARCHAR}, | ||
| 211 | + DANGEROUS_CODE = #{dangerousCode,jdbcType=VARCHAR}, | ||
| 212 | + CONTAINER_NUMBER = #{containerNumber,jdbcType=VARCHAR}, | ||
| 213 | + CUSTOM_PROCEDURE_CODE = #{customProcedureCode,jdbcType=VARCHAR}, | ||
| 214 | + "CUSTOM_TARIFF_CODE " = #{customTariffCode,jdbcType=VARCHAR}, | ||
| 215 | + CONSIGN_CODE = #{consignCode,jdbcType=VARCHAR}, | ||
| 216 | + ORIGINAL_CODE = #{originalCode,jdbcType=VARCHAR}, | ||
| 217 | + DESCRIPTION = #{description,jdbcType=VARCHAR}, | ||
| 218 | + REMARK = #{remark,jdbcType=VARCHAR}, | ||
| 219 | + WEIGHT = #{weight,jdbcType=VARCHAR}, | ||
| 220 | + ORDER_NUMBER = #{orderNumber,jdbcType=VARCHAR} | ||
| 221 | + where ID = #{id,jdbcType=VARCHAR} | ||
| 222 | + </update> | ||
| 223 | +</mapper> |
| 1 | +<?xml version="1.0" encoding="UTF-8" ?> | ||
| 2 | +<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" > | ||
| 3 | +<mapper namespace="com.tianbo.mapper.ManifestLostChangeMapper" > | ||
| 4 | + <resultMap id="BaseResultMap" type="com.tianbo.model.ManifestLostChange" > | ||
| 5 | + <id column="ID" property="id" jdbcType="VARCHAR" /> | ||
| 6 | + <result column="FLIGHTNO" property="flightno" jdbcType="VARCHAR" /> | ||
| 7 | + <result column="FLIGHTDATE" property="flightdate" jdbcType="DATE" /> | ||
| 8 | + <result column="WAYBILLNOMASTER" property="waybillnomaster" jdbcType="VARCHAR" /> | ||
| 9 | + <result column="WAYBILLNOSECONDARY" property="waybillnosecondary" jdbcType="VARCHAR" /> | ||
| 10 | + <result column="CWAYBILLNOMASTER" property="cwaybillnomaster" jdbcType="VARCHAR" /> | ||
| 11 | + <result column="CWAYBILLNOSECONDARY" property="cwaybillnosecondary" jdbcType="VARCHAR" /> | ||
| 12 | + <result column="CREATEDATE" property="createdate" jdbcType="DATE" /> | ||
| 13 | + <result column="STATUS" property="status" jdbcType="VARCHAR" /> | ||
| 14 | + <result column="RECEIPTION" property="receiption" jdbcType="VARCHAR" /> | ||
| 15 | + <result column="CFLIGHTNO" property="cflightno" jdbcType="VARCHAR" /> | ||
| 16 | + <result column="CFLIGHTDATE" property="cflightdate" jdbcType="DATE" /> | ||
| 17 | + </resultMap> | ||
| 18 | + <sql id="Base_Column_List" > | ||
| 19 | + ID, FLIGHTNO, FLIGHTDATE, WAYBILLNOMASTER, WAYBILLNOSECONDARY, CWAYBILLNOMASTER, | ||
| 20 | + CWAYBILLNOSECONDARY, CREATEDATE, STATUS, RECEIPTION, CFLIGHTNO, CFLIGHTDATE | ||
| 21 | + </sql> | ||
| 22 | + <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" > | ||
| 23 | + select | ||
| 24 | + <include refid="Base_Column_List" /> | ||
| 25 | + from MANIFESTLOSTCHANGE | ||
| 26 | + where ID = #{id,jdbcType=VARCHAR} | ||
| 27 | + </select> | ||
| 28 | + <delete id="deleteByPrimaryKey" parameterType="java.lang.String" > | ||
| 29 | + delete from MANIFESTLOSTCHANGE | ||
| 30 | + where ID = #{id,jdbcType=VARCHAR} | ||
| 31 | + </delete> | ||
| 32 | + <insert id="insert" parameterType="com.tianbo.model.ManifestLostChange" > | ||
| 33 | + insert into MANIFESTLOSTCHANGE (ID, FLIGHTNO, FLIGHTDATE, | ||
| 34 | + WAYBILLNOMASTER, WAYBILLNOSECONDARY, CWAYBILLNOMASTER, | ||
| 35 | + CWAYBILLNOSECONDARY, CREATEDATE, STATUS, | ||
| 36 | + RECEIPTION, CFLIGHTNO, CFLIGHTDATE | ||
| 37 | + ) | ||
| 38 | + values (#{id,jdbcType=VARCHAR}, #{flightno,jdbcType=VARCHAR}, #{flightdate,jdbcType=DATE}, | ||
| 39 | + #{waybillnomaster,jdbcType=VARCHAR}, #{waybillnosecondary,jdbcType=VARCHAR}, #{cwaybillnomaster,jdbcType=VARCHAR}, | ||
| 40 | + #{cwaybillnosecondary,jdbcType=VARCHAR}, #{createdate,jdbcType=DATE}, #{status,jdbcType=VARCHAR}, | ||
| 41 | + #{receiption,jdbcType=VARCHAR}, #{cflightno,jdbcType=VARCHAR}, #{cflightdate,jdbcType=DATE} | ||
| 42 | + ) | ||
| 43 | + </insert> | ||
| 44 | + <insert id="insertSelective" parameterType="com.tianbo.model.ManifestLostChange" > | ||
| 45 | + insert into MANIFESTLOSTCHANGE | ||
| 46 | + <trim prefix="(" suffix=")" suffixOverrides="," > | ||
| 47 | + <if test="id != null" > | ||
| 48 | + ID, | ||
| 49 | + </if> | ||
| 50 | + <if test="flightno != null" > | ||
| 51 | + FLIGHTNO, | ||
| 52 | + </if> | ||
| 53 | + <if test="flightdate != null" > | ||
| 54 | + FLIGHTDATE, | ||
| 55 | + </if> | ||
| 56 | + <if test="waybillnomaster != null" > | ||
| 57 | + WAYBILLNOMASTER, | ||
| 58 | + </if> | ||
| 59 | + <if test="waybillnosecondary != null" > | ||
| 60 | + WAYBILLNOSECONDARY, | ||
| 61 | + </if> | ||
| 62 | + <if test="cwaybillnomaster != null" > | ||
| 63 | + CWAYBILLNOMASTER, | ||
| 64 | + </if> | ||
| 65 | + <if test="cwaybillnosecondary != null" > | ||
| 66 | + CWAYBILLNOSECONDARY, | ||
| 67 | + </if> | ||
| 68 | + <if test="createdate != null" > | ||
| 69 | + CREATEDATE, | ||
| 70 | + </if> | ||
| 71 | + <if test="status != null" > | ||
| 72 | + STATUS, | ||
| 73 | + </if> | ||
| 74 | + <if test="receiption != null" > | ||
| 75 | + RECEIPTION, | ||
| 76 | + </if> | ||
| 77 | + <if test="cflightno != null" > | ||
| 78 | + CFLIGHTNO, | ||
| 79 | + </if> | ||
| 80 | + <if test="cflightdate != null" > | ||
| 81 | + CFLIGHTDATE, | ||
| 82 | + </if> | ||
| 83 | + </trim> | ||
| 84 | + <trim prefix="values (" suffix=")" suffixOverrides="," > | ||
| 85 | + <if test="id != null" > | ||
| 86 | + #{id,jdbcType=VARCHAR}, | ||
| 87 | + </if> | ||
| 88 | + <if test="flightno != null" > | ||
| 89 | + #{flightno,jdbcType=VARCHAR}, | ||
| 90 | + </if> | ||
| 91 | + <if test="flightdate != null" > | ||
| 92 | + #{flightdate,jdbcType=DATE}, | ||
| 93 | + </if> | ||
| 94 | + <if test="waybillnomaster != null" > | ||
| 95 | + #{waybillnomaster,jdbcType=VARCHAR}, | ||
| 96 | + </if> | ||
| 97 | + <if test="waybillnosecondary != null" > | ||
| 98 | + #{waybillnosecondary,jdbcType=VARCHAR}, | ||
| 99 | + </if> | ||
| 100 | + <if test="cwaybillnomaster != null" > | ||
| 101 | + #{cwaybillnomaster,jdbcType=VARCHAR}, | ||
| 102 | + </if> | ||
| 103 | + <if test="cwaybillnosecondary != null" > | ||
| 104 | + #{cwaybillnosecondary,jdbcType=VARCHAR}, | ||
| 105 | + </if> | ||
| 106 | + <if test="createdate != null" > | ||
| 107 | + #{createdate,jdbcType=DATE}, | ||
| 108 | + </if> | ||
| 109 | + <if test="status != null" > | ||
| 110 | + #{status,jdbcType=VARCHAR}, | ||
| 111 | + </if> | ||
| 112 | + <if test="receiption != null" > | ||
| 113 | + #{receiption,jdbcType=VARCHAR}, | ||
| 114 | + </if> | ||
| 115 | + <if test="cflightno != null" > | ||
| 116 | + #{cflightno,jdbcType=VARCHAR}, | ||
| 117 | + </if> | ||
| 118 | + <if test="cflightdate != null" > | ||
| 119 | + #{cflightdate,jdbcType=DATE}, | ||
| 120 | + </if> | ||
| 121 | + </trim> | ||
| 122 | + </insert> | ||
| 123 | + <update id="updateByPrimaryKeySelective" parameterType="com.tianbo.model.ManifestLostChange" > | ||
| 124 | + update MANIFESTLOSTCHANGE | ||
| 125 | + <set > | ||
| 126 | + <if test="flightno != null" > | ||
| 127 | + FLIGHTNO = #{flightno,jdbcType=VARCHAR}, | ||
| 128 | + </if> | ||
| 129 | + <if test="flightdate != null" > | ||
| 130 | + FLIGHTDATE = #{flightdate,jdbcType=DATE}, | ||
| 131 | + </if> | ||
| 132 | + <if test="waybillnomaster != null" > | ||
| 133 | + WAYBILLNOMASTER = #{waybillnomaster,jdbcType=VARCHAR}, | ||
| 134 | + </if> | ||
| 135 | + <if test="waybillnosecondary != null" > | ||
| 136 | + WAYBILLNOSECONDARY = #{waybillnosecondary,jdbcType=VARCHAR}, | ||
| 137 | + </if> | ||
| 138 | + <if test="cwaybillnomaster != null" > | ||
| 139 | + CWAYBILLNOMASTER = #{cwaybillnomaster,jdbcType=VARCHAR}, | ||
| 140 | + </if> | ||
| 141 | + <if test="cwaybillnosecondary != null" > | ||
| 142 | + CWAYBILLNOSECONDARY = #{cwaybillnosecondary,jdbcType=VARCHAR}, | ||
| 143 | + </if> | ||
| 144 | + <if test="createdate != null" > | ||
| 145 | + CREATEDATE = #{createdate,jdbcType=DATE}, | ||
| 146 | + </if> | ||
| 147 | + <if test="status != null" > | ||
| 148 | + STATUS = #{status,jdbcType=VARCHAR}, | ||
| 149 | + </if> | ||
| 150 | + <if test="receiption != null" > | ||
| 151 | + RECEIPTION = #{receiption,jdbcType=VARCHAR}, | ||
| 152 | + </if> | ||
| 153 | + <if test="cflightno != null" > | ||
| 154 | + CFLIGHTNO = #{cflightno,jdbcType=VARCHAR}, | ||
| 155 | + </if> | ||
| 156 | + <if test="cflightdate != null" > | ||
| 157 | + CFLIGHTDATE = #{cflightdate,jdbcType=DATE}, | ||
| 158 | + </if> | ||
| 159 | + </set> | ||
| 160 | + where ID = #{id,jdbcType=VARCHAR} | ||
| 161 | + </update> | ||
| 162 | + <update id="updateByPrimaryKey" parameterType="com.tianbo.model.ManifestLostChange" > | ||
| 163 | + update MANIFESTLOSTCHANGE | ||
| 164 | + set FLIGHTNO = #{flightno,jdbcType=VARCHAR}, | ||
| 165 | + FLIGHTDATE = #{flightdate,jdbcType=DATE}, | ||
| 166 | + WAYBILLNOMASTER = #{waybillnomaster,jdbcType=VARCHAR}, | ||
| 167 | + WAYBILLNOSECONDARY = #{waybillnosecondary,jdbcType=VARCHAR}, | ||
| 168 | + CWAYBILLNOMASTER = #{cwaybillnomaster,jdbcType=VARCHAR}, | ||
| 169 | + CWAYBILLNOSECONDARY = #{cwaybillnosecondary,jdbcType=VARCHAR}, | ||
| 170 | + CREATEDATE = #{createdate,jdbcType=DATE}, | ||
| 171 | + STATUS = #{status,jdbcType=VARCHAR}, | ||
| 172 | + RECEIPTION = #{receiption,jdbcType=VARCHAR}, | ||
| 173 | + CFLIGHTNO = #{cflightno,jdbcType=VARCHAR}, | ||
| 174 | + CFLIGHTDATE = #{cflightdate,jdbcType=DATE} | ||
| 175 | + where ID = #{id,jdbcType=VARCHAR} | ||
| 176 | + </update> | ||
| 177 | + | ||
| 178 | + | ||
| 179 | + <select id="getList" resultType="com.tianbo.model.ManifestLostChange"> | ||
| 180 | + SELECT | ||
| 181 | + T2.* | ||
| 182 | + FROM | ||
| 183 | + ( SELECT ROWNUM RN, T.* FROM ( SELECT * FROM ( SELECT * FROM MANIFESTLOSTCHANGE ) ORDER BY createdate DESC ) T ) T2 | ||
| 184 | + WHERE | ||
| 185 | + RN BETWEEN #{start} AND #{end} | ||
| 186 | + </select> | ||
| 187 | + | ||
| 188 | + <select id="getCount" parameterType="com.tianbo.model.ManifestLostChange" resultType="java.lang.Integer" > | ||
| 189 | + select count(*) from MANIFESTLOSTCHANGE | ||
| 190 | + WHERE 1=1 | ||
| 191 | + <if test="flightno != null and flightno != ''"> | ||
| 192 | + AND flightno like CONCAT(CONCAT('%',#{flightno}),'%') | ||
| 193 | + </if> | ||
| 194 | + </select> | ||
| 195 | + | ||
| 196 | + <select id="selectByParam" resultType="com.tianbo.model.ManifestLostChange"> | ||
| 197 | + SELECT | ||
| 198 | + T2.* | ||
| 199 | + FROM | ||
| 200 | + ( SELECT ROWNUM RN, T.* FROM ( | ||
| 201 | + SELECT * FROM ( | ||
| 202 | + SELECT * FROM MANIFESTLOSTCHANGE | ||
| 203 | + WHERE 1=1 | ||
| 204 | + <if test="flightno != null and flightno != ''"> | ||
| 205 | + AND flightno like CONCAT(CONCAT('%',#{flightno}),'%') | ||
| 206 | + </if> | ||
| 207 | + <if test="flightdate != null and flightdate != ''"> | ||
| 208 | + AND flightdate = "TO_DATE" ( #{flightdate}, 'yyyy-mm-dd' ) | ||
| 209 | + </if> | ||
| 210 | + <if test="waybillnomaster != null and waybillnomaster != ''"> | ||
| 211 | + AND waybillnomaster like CONCAT(CONCAT('%',#{waybillnomaster}),'%') | ||
| 212 | + </if> | ||
| 213 | + <if test="waybillnosecondary != null and waybillnosecondary != ''"> | ||
| 214 | + AND waybillnosecondary like CONCAT(CONCAT('%',#{waybillnosecondary}),'%') | ||
| 215 | + </if> | ||
| 216 | + ) ORDER BY createdate DESC ) T ) T2 | ||
| 217 | + WHERE | ||
| 218 | + RN BETWEEN #{start} AND #{end} | ||
| 219 | + </select> | ||
| 220 | +</mapper> |
| @@ -8,6 +8,8 @@ | @@ -8,6 +8,8 @@ | ||
| 8 | #########################MYSQL################################################ | 8 | #########################MYSQL################################################ |
| 9 | jdbc.driver = oracle.jdbc.driver.OracleDriver | 9 | jdbc.driver = oracle.jdbc.driver.OracleDriver |
| 10 | #jdbc.url = jdbc:oracle:thin:@192.168.0.253:1522:CGODW | 10 | #jdbc.url = jdbc:oracle:thin:@192.168.0.253:1522:CGODW |
| 11 | -jdbc.url = jdbc:oracle:thin:@10.50.3.69:1521:CGODB | 11 | +#jdbc.url = jdbc:oracle:thin:@10.50.3.69:1521:CGODB |
| 12 | +jdbc.url = jdbc:oracle:thin:@218.28.199.134:8004:CGODB | ||
| 13 | +#jdbc.url = jdbc:oracle:thin:@10.50.3.70:1521:CGODB | ||
| 12 | jdbc.username = CGONMS | 14 | jdbc.username = CGONMS |
| 13 | jdbc.password = 1q2w3e4r | 15 | jdbc.password = 1q2w3e4r |
| @@ -11,6 +11,9 @@ | @@ -11,6 +11,9 @@ | ||
| 11 | <!--自动扫描控制器--> | 11 | <!--自动扫描控制器--> |
| 12 | <context:component-scan base-package="com.tianbo.controller" /> | 12 | <context:component-scan base-package="com.tianbo.controller" /> |
| 13 | 13 | ||
| 14 | + <mvc:annotation-driven enable-matrix-variables="true"></mvc:annotation-driven> | ||
| 15 | + <mvc:default-servlet-handler/> | ||
| 16 | + | ||
| 14 | <!--视图渲染--> | 17 | <!--视图渲染--> |
| 15 | <bean id="internalResourceViewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"> | 18 | <bean id="internalResourceViewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver"> |
| 16 | <property name="prefix" value="/WEB-INF/views/"/> | 19 | <property name="prefix" value="/WEB-INF/views/"/> |
| 1 | 1 | ||
| 2 | path1=D:/1test | 2 | path1=D:/1test |
| 3 | -targetPath=E:/2test/ | 3 | +targetPath= |
| 4 | #path1=//10.50.3.61/nms_customs_xml1 | 4 | #path1=//10.50.3.61/nms_customs_xml1 |
| 5 | #path2=//10.50.3.61/nms_customs_xml_SDM | 5 | #path2=//10.50.3.61/nms_customs_xml_SDM |
| 6 | #path3=//10.50.3.61/nms_customs_xml3 | 6 | #path3=//10.50.3.61/nms_customs_xml3 |
| 7 | #path=D:/1test | 7 | #path=D:/1test |
| 8 | #targetPath=//10.50.3.61/nms_customs_xml/ | 8 | #targetPath=//10.50.3.61/nms_customs_xml/ |
| 9 | +MT8202Path=E:/2test/ |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | ||
| 2 | +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> | ||
| 3 | +<%@ page isELIgnored="false"%> | ||
| 4 | +<% | ||
| 5 | + String path = request.getContextPath(); | ||
| 6 | + String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; | ||
| 7 | +%> | ||
| 8 | +<!doctype html> | ||
| 9 | +<html lang="zh"> | ||
| 10 | +<head> | ||
| 11 | + <meta charset="utf-8"> | ||
| 12 | + <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
| 13 | + <title>落装改配修改</title> | ||
| 14 | + <%-- <link href="<%=basePath %>static/css/login.css" rel="stylesheet"> --%> | ||
| 15 | + <link href="<%=basePath %>static/layui2.4.5/css/layui.css" rel="stylesheet"> | ||
| 16 | + <style type="text/css"> | ||
| 17 | + .layui-input-b1ock { | ||
| 18 | + margin-left: 25px; | ||
| 19 | + min-height: 36px; | ||
| 20 | + } | ||
| 21 | + </style> | ||
| 22 | + <script src="<%=basePath %>static/easyui/jquery.min.js"></script> | ||
| 23 | + <script src="<%=basePath %>static/layui2.4.5/layui.js"></script> | ||
| 24 | + <script type="text/javascript" src="<%=basePath %>static/layer-v3.0.3/layer/layer.js"></script> | ||
| 25 | + <script> | ||
| 26 | + function child(d) { | ||
| 27 | + $("#id").val(d.id) | ||
| 28 | + $("#flightno").val(d.flightno); | ||
| 29 | + $("#cflightno").val(d.cflightno); | ||
| 30 | + $("#flightdate").val(d.flightdate.substring(0,10)); | ||
| 31 | + $("#cflightdate").val(d.cflightdate.substring(0,10)); | ||
| 32 | + $("#waybillnomaster").val(d.waybillnomaster); | ||
| 33 | + $("#cwaybillnomaster").val(d.cwaybillnomaster); | ||
| 34 | + $("#waybillnosecondary").val(d.waybillnosecondary); | ||
| 35 | + $("#cwaybillnosecondary").val(d.cwaybillnosecondary); | ||
| 36 | + } | ||
| 37 | + </script> | ||
| 38 | + <script> | ||
| 39 | + layui.use(['form','laydate'], function(){ | ||
| 40 | + var form = layui.form | ||
| 41 | + ,laydate = layui.laydate; | ||
| 42 | + //监听提交 | ||
| 43 | + form.on('submit(demo1)', function(data){ | ||
| 44 | + if(check()){ | ||
| 45 | + editForm(data.field); | ||
| 46 | + } | ||
| 47 | + return false; | ||
| 48 | + }); | ||
| 49 | + }); | ||
| 50 | + | ||
| 51 | + function editForm(data){ | ||
| 52 | + var billNo = $("#waybillnomaster").val(); | ||
| 53 | + data.waybillnomaster=billNo; | ||
| 54 | + $.ajax({ | ||
| 55 | + type : "post", | ||
| 56 | + url : "<%=basePath %>/lost/change/editForm", | ||
| 57 | + data : data, | ||
| 58 | + success: function(data){ | ||
| 59 | + if(data.success){ | ||
| 60 | + layer.alert( data.msg, function () { | ||
| 61 | + window.parent.location.reload(); //刷新父页面 | ||
| 62 | + parent.layer.close(index); //关闭当前弹窗 | ||
| 63 | + }); | ||
| 64 | + }else{ | ||
| 65 | + layer.alert( data.msg, function () { | ||
| 66 | + window.parent.location.reload(); //刷新父页面 | ||
| 67 | + parent.layer.close(index); //关闭当前弹窗 | ||
| 68 | + }); | ||
| 69 | + } | ||
| 70 | + }, | ||
| 71 | + error: function() { | ||
| 72 | + layer.alert("保存失败,请重试"); | ||
| 73 | + } | ||
| 74 | + }); | ||
| 75 | + } | ||
| 76 | + </script> | ||
| 77 | + | ||
| 78 | + | ||
| 79 | + | ||
| 80 | +</head > | ||
| 81 | + | ||
| 82 | +<body align="center"> | ||
| 83 | +<blockquote class="layui-elem-quote">原始信息</blockquote> | ||
| 84 | +<hr> | ||
| 85 | +<form class="layui-form" action="" lay-filter="example"> | ||
| 86 | +<input type="hidden" id="id" name="id" autocomplete="off" class="layui-input" > | ||
| 87 | + <div class="layui-form-item"> | ||
| 88 | + <div class="layui-inline"> | ||
| 89 | + <label class="layui-form-label">航班号</label> | ||
| 90 | + <div class="layui-input-inline"> | ||
| 91 | + <input type="text" id="flightno" placeholder="此项为必填项" style="text-transform:uppercase;" name="flightno" autocomplete="off" class="layui-input" onkeyup="if (this.value != this.value.toUpperCase()) this.value=this.value.toUpperCase();"> | ||
| 92 | + </div> | ||
| 93 | + </div> | ||
| 94 | + <div class="layui-inline"> | ||
| 95 | + <label class="layui-form-label">航班日期</label> | ||
| 96 | + <div class="layui-input-inline"> | ||
| 97 | + <input type="text" id="flightdate" placeholder="此项为必填项" name="flightdate" autocomplete="off" class="layui-input"> | ||
| 98 | + </div> | ||
| 99 | + </div> | ||
| 100 | + </div> | ||
| 101 | + <div class="layui-form-item"> | ||
| 102 | + <div class="layui-inline"> | ||
| 103 | + <label class="layui-form-label">主单号</label> | ||
| 104 | + <div class="layui-input-inline"> | ||
| 105 | + <input type="text" id="waybillnomaster" placeholder="此项为必填项" name="waybillnomaster" value="${waybillnomaster}" autocomplete="off" class="layui-input"> | ||
| 106 | + </div> | ||
| 107 | + </div> | ||
| 108 | + <div class="layui-inline"> | ||
| 109 | + <label class="layui-form-label">分单号</label> | ||
| 110 | + <div class="layui-input-inline"> | ||
| 111 | + <input type="text" id="waybillnosecondary" style="text-transform:uppercase;" name="waybillnosecondary" autocomplete="off" class="layui-input" onkeyup="if (this.value != this.value.toUpperCase()) this.value=this.value.toUpperCase();"> | ||
| 112 | + </div> | ||
| 113 | + </div> | ||
| 114 | + </div> | ||
| 115 | + <blockquote class="layui-elem-quote">改配后信息</blockquote> | ||
| 116 | + <div class="layui-form-item"> | ||
| 117 | + <div class="layui-inline"> | ||
| 118 | + <label class="layui-form-label">航班号</label> | ||
| 119 | + <div class="layui-input-inline"> | ||
| 120 | + <input type="text" id="cflightno" style="text-transform:uppercase;" placeholder="此项为必填项" name="cflightno" autocomplete="off" class="layui-input" onkeyup="if (this.value != this.value.toUpperCase()) this.value=this.value.toUpperCase();"> | ||
| 121 | + </div> | ||
| 122 | + </div> | ||
| 123 | + <div class="layui-inline"> | ||
| 124 | + <label class="layui-form-label">航班日期</label> | ||
| 125 | + <div class="layui-input-inline"> | ||
| 126 | + <input type="text" id="cflightdate" placeholder="此项为必填项" name="cflightdate" autocomplete="off" class="layui-input"> | ||
| 127 | + </div> | ||
| 128 | + </div> | ||
| 129 | + </div> | ||
| 130 | + <div class="layui-form-item"> | ||
| 131 | + <div class="layui-inline"> | ||
| 132 | + <label class="layui-form-label">主单号</label> | ||
| 133 | + <div class="layui-input-inline"> | ||
| 134 | + <input type="text" id="cwaybillnomaster" name="cwaybillnomaster" autocomplete="off" class="layui-input"> | ||
| 135 | + </div> | ||
| 136 | + </div> | ||
| 137 | + <div class="layui-inline"> | ||
| 138 | + <label class="layui-form-label">分单号</label> | ||
| 139 | + <div class="layui-input-inline"> | ||
| 140 | + <input type="text" id="cwaybillnosecondary" style="text-transform:uppercase;" name="cwaybillnosecondary" autocomplete="off" class="layui-input" onkeyup="if (this.value != this.value.toUpperCase()) this.value=this.value.toUpperCase();"> | ||
| 141 | + </div> | ||
| 142 | + </div> | ||
| 143 | + </div> | ||
| 144 | + <blockquote class="layui-elem-quote">商品项信息 <a style="margin-left:450px" class="layui-btn layui-btn-xs" onclick="add()">新增</a></blockquote> | ||
| 145 | + | ||
| 146 | + <div class="layui-inline" > | ||
| 147 | + <table class="layui-hide" id="flightItem" lay-filter="flightItem" style="width:99%; text-align="center"></table> | ||
| 148 | + </div> | ||
| 149 | + <hr> | ||
| 150 | + <div class="layui-form-item" > | ||
| 151 | + <div class="layui-input-b1ock"> | ||
| 152 | + <button class="layui-btn" lay-submit="" lay-filter="demo1"> | ||
| 153 | + <c:if test="${empty ftId }">保存</c:if> | ||
| 154 | + <c:if test="${not empty ftId}">修改</c:if> | ||
| 155 | + </button> | ||
| 156 | + </div> | ||
| 157 | + </div> | ||
| 158 | +</form> | ||
| 159 | + <script type="text/javascript"> | ||
| 160 | + layui.use(['form', 'laydate'], function(){ | ||
| 161 | + var form = layui.form | ||
| 162 | + ,laydate = layui.laydate | ||
| 163 | + | ||
| 164 | + //日期 | ||
| 165 | + laydate.render({ | ||
| 166 | + elem: '#flightdate' | ||
| 167 | + }); | ||
| 168 | + laydate.render({ | ||
| 169 | + elem: '#cflightdate' | ||
| 170 | + }); | ||
| 171 | + }); | ||
| 172 | + | ||
| 173 | + function add(){ | ||
| 174 | + var waybillnomaster =$("#waybillnomaster").val(); | ||
| 175 | + parent.layer.open({ | ||
| 176 | + type: 2, | ||
| 177 | + title: "商品信息新增", | ||
| 178 | + shade: 0.8, | ||
| 179 | + id: (new Date()).valueOf(), //设定一个id,防止重复弹出 时间戳1280977330748 | ||
| 180 | + moveType: 1, //拖拽模式,0或者1 | ||
| 181 | + type: 2, | ||
| 182 | + skin: 'layui-layer-rim', //加上边框 | ||
| 183 | + /* area: [window.screen.width / 2 + 'px', window.screen.height / 2 + 'px'], //宽高 */ | ||
| 184 | + area: ['700px', '386px'], | ||
| 185 | + maxmin: true, //开启最大化最小化按钮 | ||
| 186 | + content: "<%=basePath %>/lost/change/editItem?waybillnomaster="+waybillnomaster, | ||
| 187 | + zIndex: parent.layer.zIndex, | ||
| 188 | + success: function (layero, index) { | ||
| 189 | + // 获取子页面的iframe | ||
| 190 | + var frameId = $(layero).find("iframe").attr('id');//父页面获取子页面的iframe | ||
| 191 | + var iframe = parent.window['layui-layer-iframe' + index]; | ||
| 192 | + var iframeWin = parent.window[layero.find('iframe')[0]['name']]; | ||
| 193 | + parent.layer.setTop(layero); | ||
| 194 | + // 向子页面的全局函数child传参 | ||
| 195 | + //iframe.child(data); | ||
| 196 | + } | ||
| 197 | + ,end : function(){ | ||
| 198 | + layui.table.reload('flightItem') | ||
| 199 | + } | ||
| 200 | + }) | ||
| 201 | + } | ||
| 202 | + | ||
| 203 | + function check(){ | ||
| 204 | + var billNo = $("#waybillnomaster").val(); | ||
| 205 | + var cbillNo = $("#cwaybillnomaster").val(); | ||
| 206 | + var flightno = $("#flightno").val(); | ||
| 207 | + var cflightno = $("#cflightno").val(); | ||
| 208 | + var flightdate = $("#flightdate").val(); | ||
| 209 | + var cflightdate = $("#cflightdate").val(); | ||
| 210 | + var regs = /[a-z]/i; | ||
| 211 | + if(flightno==''){ | ||
| 212 | + $("#flightno").focus(); | ||
| 213 | + layer.tips('请输入航班号', '#flightno', { | ||
| 214 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 215 | + }); | ||
| 216 | + return false; | ||
| 217 | + }else if(flightdate==''){ | ||
| 218 | + $("#flightdate").focus(); | ||
| 219 | + layer.tips('请输入航班日期', '#flightdate', { | ||
| 220 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 221 | + }); | ||
| 222 | + return false; | ||
| 223 | + }else if(billNo==''){ | ||
| 224 | + $("#waybillnomaster").focus(); | ||
| 225 | + layer.tips('请输入主单号', '#waybillnomaster', { | ||
| 226 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 227 | + }); | ||
| 228 | + return false; | ||
| 229 | + }else if(billNo.indexOf("-") != -1){ | ||
| 230 | + billNo=billNo; | ||
| 231 | + if(billNo.length!=12){ | ||
| 232 | + $("#waybillnomaster").focus(); | ||
| 233 | + layer.tips('主单号必须为11位', '#waybillnomaster', { | ||
| 234 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 235 | + }); | ||
| 236 | + return false; | ||
| 237 | + } | ||
| 238 | + }else if(regs.test(billNo)){ | ||
| 239 | + $("#waybillnomaster").focus(); | ||
| 240 | + layer.tips('主单号必须为数字', '#waybillnomaster', { | ||
| 241 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 242 | + }); | ||
| 243 | + return false; | ||
| 244 | + }else if(billNo.length!=11){ | ||
| 245 | + $("#waybillnomaster").focus(); | ||
| 246 | + layer.tips('主单号必须为11位', '#waybillnomaster', { | ||
| 247 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 248 | + }); | ||
| 249 | + return false; | ||
| 250 | + }else if(cflightno==''){ | ||
| 251 | + $("#cflightno").focus(); | ||
| 252 | + layer.tips('请输入改配后航班号', '#cflightno', { | ||
| 253 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 254 | + }); | ||
| 255 | + return false; | ||
| 256 | + }else if(cflightdate==''){ | ||
| 257 | + $("#cflightdate").focus(); | ||
| 258 | + layer.tips('请输入改配后航班日期', '#cflightdate', { | ||
| 259 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 260 | + }); | ||
| 261 | + return false; | ||
| 262 | + }else if(regs.test(cbillNo)){ | ||
| 263 | + $("#cwaybillnomaster").focus(); | ||
| 264 | + layer.tips('主单号必须为数字', 'c#waybillnomaster', { | ||
| 265 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 266 | + }); | ||
| 267 | + return false; | ||
| 268 | + }else if(cbillNo==''){ | ||
| 269 | + return true; | ||
| 270 | + }else if(cbillNo.indexOf("-") != -1){ | ||
| 271 | + cbillNo=cbillNo; | ||
| 272 | + if(cbillNo.length!=12){ | ||
| 273 | + $("#cwaybillnomaster").focus(); | ||
| 274 | + layer.tips('主单号必须为11位', '#cwaybillnomaster', { | ||
| 275 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 276 | + }); | ||
| 277 | + return false; | ||
| 278 | + } | ||
| 279 | + }else if(cbillNo.length!=11){ | ||
| 280 | + $("#cwaybillnomaster").focus(); | ||
| 281 | + layer.tips('主单号必须为11位', '#cwaybillnomaster', { | ||
| 282 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 283 | + }); | ||
| 284 | + return false; | ||
| 285 | + }else { | ||
| 286 | + return true; | ||
| 287 | + } | ||
| 288 | + } | ||
| 289 | + | ||
| 290 | + | ||
| 291 | + layui.use('table', function(){ | ||
| 292 | + var table = layui.table; | ||
| 293 | + var waybillnomaster = $("#waybillnomaster").val(); | ||
| 294 | + table.render({ | ||
| 295 | + elem: '#flightItem' | ||
| 296 | + ,url:'<%=basePath %>/lost/change/getIteamList?waybillnomaster='+waybillnomaster | ||
| 297 | + /* ,toolbar: '#toolbar' */ | ||
| 298 | + ,page: false //开启分页 | ||
| 299 | + ,cols: [[ | ||
| 300 | + {field:'orderNumber', align:'center',title:'序号', width:130, sort: true} | ||
| 301 | + ,{field:'description', align:'center',title:'简要描述', width:150} | ||
| 302 | + ,{field:'piece', title:'件数',align:'center', width:130,} | ||
| 303 | + ,{field:'weight', title:'重量',align:'center', width:100,} | ||
| 304 | + ,{fixed: 'right', title:'操作',align:'center', toolbar: '#barDemo', width:135} | ||
| 305 | + ]] | ||
| 306 | + }) | ||
| 307 | + | ||
| 308 | + table.on('tool(flightItem)', function(obj){ | ||
| 309 | + var data = obj.data; | ||
| 310 | + console.log(obj) | ||
| 311 | + if(obj.event === 'edit'){ | ||
| 312 | + var data = obj.data; | ||
| 313 | + var id = data.id; | ||
| 314 | + parent.layer.open({ | ||
| 315 | + type: 2, | ||
| 316 | + title: "商品信息编辑", | ||
| 317 | + shade: 0.8, | ||
| 318 | + id: (new Date()).valueOf(), //设定一个id,防止重复弹出 时间戳1280977330748 | ||
| 319 | + moveType: 1, //拖拽模式,0或者1 | ||
| 320 | + type: 2, | ||
| 321 | + skin: 'layui-layer-rim', //加上边框 | ||
| 322 | + /* area: [window.screen.width / 2 + 'px', window.screen.height / 2 + 'px'], //宽高 */ | ||
| 323 | + area: ['700px', '386px'], | ||
| 324 | + maxmin: true, //开启最大化最小化按钮 | ||
| 325 | + content: "<%=basePath %>/lost/change/editItem?id="+id, | ||
| 326 | + zIndex: parent.layer.zIndex, | ||
| 327 | + success: function (layero, index) { | ||
| 328 | + debugger; | ||
| 329 | + var layer = layui.layer; | ||
| 330 | + // 获取子页面的iframe | ||
| 331 | + var iframe = parent.window['layui-layer-iframe' + index]; | ||
| 332 | + parent.layer.setTop(layero); | ||
| 333 | + // 向子页面的全局函数child传参 | ||
| 334 | + iframe.child(data); | ||
| 335 | + } | ||
| 336 | + ,end : function(){ | ||
| 337 | + layui.table.reload('flightItem') | ||
| 338 | + } | ||
| 339 | + }) | ||
| 340 | + }else if(obj.event === 'del'){ | ||
| 341 | + var data = obj.data; | ||
| 342 | + var id = data.id; | ||
| 343 | + layer.confirm('您确定要删除吗', function(index){ | ||
| 344 | + $.ajax({ | ||
| 345 | + type : "post", | ||
| 346 | + url : "<%=basePath %>/lost/change/delItem?id="+id, | ||
| 347 | + data : data, | ||
| 348 | + success: function(data){ | ||
| 349 | + if(data.success){ | ||
| 350 | + layer.alert( data.msg, function (index) { | ||
| 351 | + layer.close(index); //关闭当前弹窗 | ||
| 352 | + layui.table.reload('flightItem') | ||
| 353 | + }); | ||
| 354 | + } | ||
| 355 | + }, | ||
| 356 | + error: function() { | ||
| 357 | + layer.alert("删除失败,请重试"); | ||
| 358 | + } | ||
| 359 | + }); | ||
| 360 | + }); | ||
| 361 | + } | ||
| 362 | + | ||
| 363 | + }) | ||
| 364 | + }) | ||
| 365 | + | ||
| 366 | + </script> | ||
| 367 | + <script type="text/html" id="barDemo"> | ||
| 368 | + <a class="layui-btn layui-btn-xs" lay-event="edit">编辑</a> | ||
| 369 | + <a class="layui-btn layui-btn-xs" lay-event="del">删除</a> | ||
| 370 | + </script> | ||
| 371 | + </body > | ||
| 372 | +</html > |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | ||
| 2 | +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> | ||
| 3 | +<%@ page isELIgnored="false"%> | ||
| 4 | +<% | ||
| 5 | + String path = request.getContextPath(); | ||
| 6 | + String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; | ||
| 7 | +%> | ||
| 8 | +<!doctype html> | ||
| 9 | +<html lang="zh"> | ||
| 10 | +<head> | ||
| 11 | + <meta charset="utf-8"> | ||
| 12 | + <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
| 13 | + <title>商品项信息</title> | ||
| 14 | + <%-- <link href="<%=basePath %>static/css/login.css" rel="stylesheet"> --%> | ||
| 15 | + <link href="<%=basePath %>static/layui2.4.5/css/layui.css" rel="stylesheet"> | ||
| 16 | + <style type="text/css"> | ||
| 17 | + .layui-input-block { | ||
| 18 | + width:100px; | ||
| 19 | + } | ||
| 20 | + .layui-elip, .layui-form-checkbox span, .layui-form-pane .layui-form-label{ | ||
| 21 | + text-overflow:inherit;!important | ||
| 22 | + } | ||
| 23 | + .layui-disabled{ | ||
| 24 | + background-color:rgb(235, 235, 228); | ||
| 25 | + } | ||
| 26 | + .layui-input1{ | ||
| 27 | + width:545px; | ||
| 28 | + height: 38px; | ||
| 29 | + line-height: 38px; | ||
| 30 | + border: 1px solid #e6e6e6; | ||
| 31 | + background-color: #fff; | ||
| 32 | + border-radius: 2px; | ||
| 33 | + box-sizing: border-box!important; | ||
| 34 | + } | ||
| 35 | + .left{ | ||
| 36 | + padding: 10px | ||
| 37 | + } | ||
| 38 | + </style> | ||
| 39 | + <script src="<%=basePath %>static/easyui/jquery.min.js"></script> | ||
| 40 | + <script src="<%=basePath %>static/layui2.4.5/layui.js"></script> | ||
| 41 | + <script type="text/javascript" src="<%=basePath %>static/layer-v3.0.3/layer/layer.js"></script> | ||
| 42 | + <script> | ||
| 43 | + function child(d) { | ||
| 44 | + $("#orderNumber").val(d.orderNumber) | ||
| 45 | + $("#piece").val(d.piece); | ||
| 46 | + $("#packageCode").val(d.packageCode); | ||
| 47 | + $("#shippingMarks").val(d.shippingMarks); | ||
| 48 | + $("#containerNumber").val(d.containerNumber); | ||
| 49 | + $("#customProcedureCode").val(d.customProcedureCode); | ||
| 50 | + $("#customTariffCode").val(d.customTariffCode); | ||
| 51 | + $("#consignCode").val(d.consignCode); | ||
| 52 | + $("#originalCode").val(d.originalCode); | ||
| 53 | + $("#description").val(d.description); | ||
| 54 | + $("#remark").val(d.remark); | ||
| 55 | + $("#weight").val(d.weight); | ||
| 56 | + $("#id").val(d.id); | ||
| 57 | + $("#waybillnomaster").val(d.waybillnomaster); | ||
| 58 | + } | ||
| 59 | + </script> | ||
| 60 | + | ||
| 61 | + | ||
| 62 | + | ||
| 63 | +</head > | ||
| 64 | + | ||
| 65 | +<body style="text-align: center"> | ||
| 66 | +<hr> | ||
| 67 | + <form class="layui-form layui-form-pane" action=""> | ||
| 68 | + <input type="hidden" name="id" id = "id" /> | ||
| 69 | + <input type="hidden" name="waybillnomaster" id = "waybillnomaster" value="${waybillnomaster}" /> | ||
| 70 | + <div class="layui-form-item"> | ||
| 71 | + <div class="layui-inline"> | ||
| 72 | + <label class="layui-form-label">序号</label> | ||
| 73 | + <div class="layui-input-block"> | ||
| 74 | + <input type="text" name="orderNumber" id="orderNumber" autocomplete="off" class="layui-input"> | ||
| 75 | + </div> | ||
| 76 | + </div> | ||
| 77 | + <div class="layui-inline"> | ||
| 78 | + <label class="layui-form-label">托运货物件数</label> | ||
| 79 | + <div class="layui-input-block"> | ||
| 80 | + <input type="text" name="piece" id="piece" autocomplete="off" class="layui-input"> | ||
| 81 | + </div> | ||
| 82 | + </div> | ||
| 83 | + <div class="layui-inline"> | ||
| 84 | + <label class="layui-form-label">包装种类代码</label> | ||
| 85 | + <div class="layui-input-block"> | ||
| 86 | + <input type="text" name="packageCode" id="packageCode" autocomplete="off" class="layui-input"> | ||
| 87 | + </div> | ||
| 88 | + </div> | ||
| 89 | + </div> | ||
| 90 | + <div class="layui-form-item"> | ||
| 91 | + <div class="layui-inline"> | ||
| 92 | + <label class="layui-form-label">唛头</label> | ||
| 93 | + <div class="layui-input-block"> | ||
| 94 | + <input type="text" name="shippingMarks" id="shippingMarks" autocomplete="off" class="layui-input"> | ||
| 95 | + </div> | ||
| 96 | + </div> | ||
| 97 | + <div class="layui-inline"> | ||
| 98 | + <label class="layui-form-label">危险品编号</label> | ||
| 99 | + <div class="layui-input-block"> | ||
| 100 | + <input type="text" name="dangerousCode" id="dangerousCode" autocomplete="off" class="layui-input"> | ||
| 101 | + </div> | ||
| 102 | + </div> | ||
| 103 | + <div class="layui-inline"> | ||
| 104 | + <label class="layui-form-label">货物毛重KG</label> | ||
| 105 | + <div class="layui-input-block"> | ||
| 106 | + <input type="text" name="weight" id="weight"autocomplete="off" class="layui-input"> | ||
| 107 | + </div> | ||
| 108 | + </div> | ||
| 109 | + </div> | ||
| 110 | + <div class="layui-form-item"> | ||
| 111 | + <div class="layui-inline"> | ||
| 112 | + <label class="layui-form-label">集装箱编号</label> | ||
| 113 | + <div class="layui-input-block"> | ||
| 114 | + <input type="text" name="containerNumber" id="containerNumber" autocomplete="off" class="layui-input layui-disabled" disabled> | ||
| 115 | + </div> | ||
| 116 | + </div> | ||
| 117 | + <div class="layui-inline"> | ||
| 118 | + <label class="layui-form-label">海关手续代码</label> | ||
| 119 | + <div class="layui-input-block"> | ||
| 120 | + <input type="text" name="customProcedureCode" id="customProcedureCode" autocomplete="off" class="layui-input"> | ||
| 121 | + </div> | ||
| 122 | + </div> | ||
| 123 | + <div class="layui-inline"> | ||
| 124 | + <label class="layui-form-label">海关税则编号</label> | ||
| 125 | + <div class="layui-input-block"> | ||
| 126 | + <input type="text" name="customTariffCode" id="customTariffCode" autocomplete="off" class="layui-input"> | ||
| 127 | + </div> | ||
| 128 | + </div> | ||
| 129 | + </div> | ||
| 130 | + <div class="layui-form-item"> | ||
| 131 | + <div class="layui-inline"> | ||
| 132 | + <label class="layui-form-label">唯一托运编号</label> | ||
| 133 | + <div class="layui-input-block"> | ||
| 134 | + <input type="text" name="consignCode" id="consignCode" autocomplete="off" class="layui-input"> | ||
| 135 | + </div> | ||
| 136 | + </div> | ||
| 137 | + <div class="layui-inline"> | ||
| 138 | + <label class="layui-form-label">原产地代码</label> | ||
| 139 | + <div class="layui-input-block"> | ||
| 140 | + <input type="text" name="originalCode" id="originalCode" autocomplete="off" class="layui-input"> | ||
| 141 | + </div> | ||
| 142 | + </div> | ||
| 143 | + <div class="layui-inline"> | ||
| 144 | + <label class="layui-form-label">货物简要描述</label> | ||
| 145 | + <div class="layui-input-block"> | ||
| 146 | + <input type="text" name="description" id="description" autocomplete="off" class="layui-input"> | ||
| 147 | + </div> | ||
| 148 | + </div> | ||
| 149 | + <div class="left" align="left"> | ||
| 150 | + <label class="layui-form-label">备注</label> | ||
| 151 | + <div class="layui-input-inline"> | ||
| 152 | + <input type="text" name="remark" id="remark" autocomplete="off" class="layui-input1"> | ||
| 153 | + </div> | ||
| 154 | + </div> | ||
| 155 | + </div> | ||
| 156 | + <div class="layui-form-item"> | ||
| 157 | + <button type="button" class="layui-btn" lay-submit="" lay-filter="demo1" > | ||
| 158 | + <c:if test="${empty ftId}">保存</c:if> | ||
| 159 | + <c:if test="${not empty ftId}">修改</c:if> | ||
| 160 | + </button> | ||
| 161 | + </div> | ||
| 162 | + </form> | ||
| 163 | + | ||
| 164 | + <script> | ||
| 165 | + layui.use(['layer', 'form','laydate'], function(){ | ||
| 166 | + var layer = layui.layer | ||
| 167 | + ,laydate=layui.laydate | ||
| 168 | + ,form = layui.form; | ||
| 169 | + //监听提交 | ||
| 170 | + form.on('submit(demo1)', function(data){ | ||
| 171 | + editForm(data.field); | ||
| 172 | + return false; | ||
| 173 | + }); | ||
| 174 | + }); | ||
| 175 | + | ||
| 176 | + function editForm(data){ | ||
| 177 | + $.ajax({ | ||
| 178 | + type : "post", | ||
| 179 | + url : "<%=basePath %>/lost/change/editItemData", | ||
| 180 | + data : data, | ||
| 181 | + success: function(data){ | ||
| 182 | + if(data.success){ | ||
| 183 | + layer.alert( data.msg, function (index, layero) { | ||
| 184 | + var index = parent.layer.getFrameIndex(window.name); //先得到当前iframe层的索引 | ||
| 185 | + parent.layer.close(index); //关闭当前弹窗 | ||
| 186 | + /* var layer = layui.layer; | ||
| 187 | + var table = layui.table; | ||
| 188 | + parent.layui.table.reload('flight',{page:{curr:1}}) | ||
| 189 | + layui.table.reload('flightItem',{page:{curr:1}}) */ | ||
| 190 | + | ||
| 191 | + }); | ||
| 192 | + }else{ | ||
| 193 | + layer.alert(data.msg, function () { | ||
| 194 | + window.parent.location.reload(); //刷新父页面 | ||
| 195 | + layer.close(index); //关闭当前弹窗 | ||
| 196 | + }); | ||
| 197 | + } | ||
| 198 | + } | ||
| 199 | + }); | ||
| 200 | + } | ||
| 201 | + </script> | ||
| 202 | +</body > | ||
| 203 | +</html > |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | ||
| 2 | +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> | ||
| 3 | +<%@ page isELIgnored="false"%> | ||
| 4 | +<% | ||
| 5 | + String path = request.getContextPath(); | ||
| 6 | + String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; | ||
| 7 | +%> | ||
| 8 | +<!doctype html> | ||
| 9 | +<html lang="zh"> | ||
| 10 | +<head> | ||
| 11 | + <meta charset="utf-8"> | ||
| 12 | + <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
| 13 | + <title>商品项信息</title> | ||
| 14 | + <%-- <link href="<%=basePath %>static/css/login.css" rel="stylesheet"> --%> | ||
| 15 | + <link href="<%=basePath %>static/layui2.4.5/css/layui.css" rel="stylesheet"> | ||
| 16 | + <style type="text/css"> | ||
| 17 | + .layui-input-block { | ||
| 18 | + width:100px; | ||
| 19 | + } | ||
| 20 | + .layui-elip, .layui-form-checkbox span, .layui-form-pane .layui-form-label{ | ||
| 21 | + text-overflow:inherit;!important | ||
| 22 | + } | ||
| 23 | + .layui-disabled{ | ||
| 24 | + background-color:rgb(235, 235, 228); | ||
| 25 | + } | ||
| 26 | + .layui-input1{ | ||
| 27 | + width:545px; | ||
| 28 | + height: 38px; | ||
| 29 | + line-height: 38px; | ||
| 30 | + border: 1px solid #e6e6e6; | ||
| 31 | + background-color: #fff; | ||
| 32 | + border-radius: 2px; | ||
| 33 | + box-sizing: border-box!important; | ||
| 34 | + } | ||
| 35 | + .left{ | ||
| 36 | + padding: 10px | ||
| 37 | + } | ||
| 38 | + </style> | ||
| 39 | + <script src="<%=basePath %>static/easyui/jquery.min.js"></script> | ||
| 40 | + <script src="<%=basePath %>static/layui2.4.5/layui.js"></script> | ||
| 41 | + <script type="text/javascript" src="<%=basePath %>static/layer-v3.0.3/layer/layer.js"></script> | ||
| 42 | + <script> | ||
| 43 | + function child(d) { | ||
| 44 | + debugger; | ||
| 45 | + $("#orderNumber").val(d.orderNumber) | ||
| 46 | + $("#piece").val(d.piece); | ||
| 47 | + $("#packageCode").val(d.packageCode); | ||
| 48 | + $("#shippingMarks").val(d.shippingMarks); | ||
| 49 | + $("#containerNumber").val(d.containerNumber); | ||
| 50 | + $("#customProcedureCode").val(d.customProcedureCode); | ||
| 51 | + $("#customTariffCode").val(d.customTariffCode); | ||
| 52 | + $("#consignCode").val(d.consignCode); | ||
| 53 | + $("#originalCode").val(d.originalCode); | ||
| 54 | + $("#description").val(d.description); | ||
| 55 | + $("#remark").val(d.remark); | ||
| 56 | + $("#weight").val(d.weight); | ||
| 57 | + } | ||
| 58 | + </script> | ||
| 59 | + | ||
| 60 | + | ||
| 61 | + | ||
| 62 | +</head > | ||
| 63 | + | ||
| 64 | +<body style="text-align: center"> | ||
| 65 | +<hr> | ||
| 66 | + <form class="layui-form layui-form-pane" action=""> | ||
| 67 | + <input type="hidden" name="id" id = "id" value="${item.id}"/> | ||
| 68 | + <input type="hidden" name="waybillnomaster" id = "waybillnomaster" value="${waybillnomaster}"/> | ||
| 69 | + <div class="layui-form-item"> | ||
| 70 | + <div class="layui-inline"> | ||
| 71 | + <label class="layui-form-label">序号</label> | ||
| 72 | + <div class="layui-input-block"> | ||
| 73 | + <input type="text" name="orderNumber" id="orderNumber" value="${item.orderNumber}"autocomplete="off" class="layui-input"> | ||
| 74 | + </div> | ||
| 75 | + </div> | ||
| 76 | + <div class="layui-inline"> | ||
| 77 | + <label class="layui-form-label">托运货物件数</label> | ||
| 78 | + <div class="layui-input-block"> | ||
| 79 | + <input type="text" name="piece" id="piece" value="${item.piece}" autocomplete="off" class="layui-input"> | ||
| 80 | + </div> | ||
| 81 | + </div> | ||
| 82 | + <div class="layui-inline"> | ||
| 83 | + <label class="layui-form-label">包装种类代码</label> | ||
| 84 | + <div class="layui-input-block"> | ||
| 85 | + <input type="text" name="packageCode" id="packageCode" value="${item.packageCode}" autocomplete="off" class="layui-input"> | ||
| 86 | + </div> | ||
| 87 | + </div> | ||
| 88 | + </div> | ||
| 89 | + <div class="layui-form-item"> | ||
| 90 | + <div class="layui-inline"> | ||
| 91 | + <label class="layui-form-label">唛头</label> | ||
| 92 | + <div class="layui-input-block"> | ||
| 93 | + <input type="text" name="shippingMarks" id="shippingMarks" value="${item.shippingMarks}" autocomplete="off" class="layui-input"> | ||
| 94 | + </div> | ||
| 95 | + </div> | ||
| 96 | + <div class="layui-inline"> | ||
| 97 | + <label class="layui-form-label">危险品编号</label> | ||
| 98 | + <div class="layui-input-block"> | ||
| 99 | + <input type="text" name="dangerousCode" id="dangerousCode" value="${item.dangerousCode}" autocomplete="off" class="layui-input"> | ||
| 100 | + </div> | ||
| 101 | + </div> | ||
| 102 | + <div class="layui-inline"> | ||
| 103 | + <label class="layui-form-label">货物毛重KG</label> | ||
| 104 | + <div class="layui-input-block"> | ||
| 105 | + <input type="text" name="weight" id="weight" value="${item.weight}" autocomplete="off" class="layui-input"> | ||
| 106 | + </div> | ||
| 107 | + </div> | ||
| 108 | + </div> | ||
| 109 | + <div class="layui-form-item"> | ||
| 110 | + <div class="layui-inline"> | ||
| 111 | + <label class="layui-form-label">集装箱编号</label> | ||
| 112 | + <div class="layui-input-block"> | ||
| 113 | + <input type="text" name="containerNumber" id="containerNumber" value="${item.containerNumber}" autocomplete="off" class="layui-input layui-disabled" disabled> | ||
| 114 | + </div> | ||
| 115 | + </div> | ||
| 116 | + <div class="layui-inline"> | ||
| 117 | + <label class="layui-form-label">海关手续代码</label> | ||
| 118 | + <div class="layui-input-block"> | ||
| 119 | + <input type="text" name="customProcedureCode" id="customProcedureCode" value="${item.customProcedureCode}" autocomplete="off" class="layui-input"> | ||
| 120 | + </div> | ||
| 121 | + </div> | ||
| 122 | + <div class="layui-inline"> | ||
| 123 | + <label class="layui-form-label">海关税则编号</label> | ||
| 124 | + <div class="layui-input-block"> | ||
| 125 | + <input type="text" name="customTariffCode" id="customTariffCode" value="${item.customTariffCode}" autocomplete="off" class="layui-input"> | ||
| 126 | + </div> | ||
| 127 | + </div> | ||
| 128 | + </div> | ||
| 129 | + <div class="layui-form-item"> | ||
| 130 | + <div class="layui-inline"> | ||
| 131 | + <label class="layui-form-label">唯一托运编号</label> | ||
| 132 | + <div class="layui-input-block"> | ||
| 133 | + <input type="text" name="consignCode" id="consignCode" value="${item.consignCode}" autocomplete="off" class="layui-input"> | ||
| 134 | + </div> | ||
| 135 | + </div> | ||
| 136 | + <div class="layui-inline"> | ||
| 137 | + <label class="layui-form-label">原产地代码</label> | ||
| 138 | + <div class="layui-input-block"> | ||
| 139 | + <input type="text" name="originalCode" id="originalCode" value="${item.originalCode}" autocomplete="off" class="layui-input"> | ||
| 140 | + </div> | ||
| 141 | + </div> | ||
| 142 | + <div class="layui-inline"> | ||
| 143 | + <label class="layui-form-label">货物简要描述</label> | ||
| 144 | + <div class="layui-input-block"> | ||
| 145 | + <input type="text" name="description" id="description" value="${item.description}" autocomplete="off" class="layui-input"> | ||
| 146 | + </div> | ||
| 147 | + </div> | ||
| 148 | + <div class="left" align="left"> | ||
| 149 | + <label class="layui-form-label">备注</label> | ||
| 150 | + <div class="layui-input-inline"> | ||
| 151 | + <input type="text" name="remark" id="remark" value="${item.remark}" autocomplete="off" class="layui-input1"> | ||
| 152 | + </div> | ||
| 153 | + </div> | ||
| 154 | + </div> | ||
| 155 | + <div class="layui-form-item"> | ||
| 156 | + <button class="layui-btn" lay-submit="" lay-filter="demo1" return false;> | ||
| 157 | + <c:if test="${empty ftId }">保存</c:if> | ||
| 158 | + <c:if test="${not empty ftId}">修改</c:if> | ||
| 159 | + </button> | ||
| 160 | + </div> | ||
| 161 | + </form> | ||
| 162 | + | ||
| 163 | + <script> | ||
| 164 | + layui.use(['layer', 'form','laydate'], function(){ | ||
| 165 | + var layer = layui.layer | ||
| 166 | + ,laydate=layui.laydate | ||
| 167 | + ,form = layui.form; | ||
| 168 | + //监听提交 | ||
| 169 | + form.on('submit(demo1)', function(data){ | ||
| 170 | + editForm(data.field); | ||
| 171 | + }); | ||
| 172 | + }); | ||
| 173 | + | ||
| 174 | + function editForm(data){ | ||
| 175 | + $.ajax({ | ||
| 176 | + type : "post", | ||
| 177 | + url : "<%=basePath %>/lost/change/editItemData", | ||
| 178 | + data : data, | ||
| 179 | + success: function(data){ | ||
| 180 | + if(data.success){ | ||
| 181 | + parent.layer.alert(data.msg, function () { | ||
| 182 | + var index = parent.layer.getFrameIndex(window.name) | ||
| 183 | + window.parent.location.reload(); //刷新父页面 | ||
| 184 | + parent.layer.close(index); //关闭当前弹窗 | ||
| 185 | + }); | ||
| 186 | + }else{ | ||
| 187 | + layer.alert(data.msg, function () { | ||
| 188 | + window.parent.location.reload(); //刷新父页面 | ||
| 189 | + layer.close(index); //关闭当前弹窗 | ||
| 190 | + }); | ||
| 191 | + } | ||
| 192 | + } | ||
| 193 | + }); | ||
| 194 | + } | ||
| 195 | + </script> | ||
| 196 | +</body > | ||
| 197 | +</html > |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | ||
| 2 | +<% | ||
| 3 | + String path = request.getContextPath(); | ||
| 4 | + String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; | ||
| 5 | +%> | ||
| 6 | +<!doctype html> | ||
| 7 | +<html lang="zh"> | ||
| 8 | + | ||
| 9 | +<head> | ||
| 10 | + <meta charset="utf-8"> | ||
| 11 | + <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
| 12 | + <title>落装改配申请列表</title> | ||
| 13 | + <%-- <link href="<%=basePath %>static/css/login.css" rel="stylesheet"> --%> | ||
| 14 | + <%-- <link rel="stylesheet" href="<%=basePath %>/static/css/main.css" /> --%> | ||
| 15 | + | ||
| 16 | + <script src="<%=basePath %>static/easyui/jquery.min.js"></script> | ||
| 17 | + <link href="<%=basePath %>static/layui2.4.5/css/layui.css" rel="stylesheet"> | ||
| 18 | + <script src="<%=basePath %>static/layui2.4.5/layui.js"></script> | ||
| 19 | + <script type="text/javascript" src="<%=basePath %>static/layer-v3.0.3/layer/layer.js"></script> | ||
| 20 | + <style> | ||
| 21 | + body{ | ||
| 22 | + .layui-input{color:#FF7F24;font-size: 16px} | ||
| 23 | + /* margin: 10px; */ | ||
| 24 | + /* text-align: center; */ | ||
| 25 | + } | ||
| 26 | + </style> | ||
| 27 | +</head> | ||
| 28 | +<body> | ||
| 29 | + <blockquote class="layui-elem-quote" align="left">落装改配申请列表</blockquote> | ||
| 30 | + <div> | ||
| 31 | + <div class="layui-inline"> | ||
| 32 | + <label class="layui-form-label" style="font-size: 15px; font-weight: bold; width: 70px;">航班号:</label> | ||
| 33 | + <div class="layui-input-inline"> | ||
| 34 | + <input type="text" name="flightno" id="flightno" autocomplete="off" class="layui-input" style="text-transform:uppercase;" onkeyup="this.value=this.value.toUpperCase()"/> | ||
| 35 | + </div> | ||
| 36 | + </div> | ||
| 37 | + <div class="layui-inline"> | ||
| 38 | + <label class="layui-form-label" | ||
| 39 | + style="font-weight: bold; font-size: 15px; width: 80px;">航班日期:</label> | ||
| 40 | + <div class="layui-input-inline"> | ||
| 41 | + <input type="text" autocomplete="off" class="layui-input" id="flightdate" name="flightdate"/> | ||
| 42 | + </div> | ||
| 43 | + </div> | ||
| 44 | + | ||
| 45 | + <div class="layui-inline"> | ||
| 46 | + <div class="layui-inline"> | ||
| 47 | + <label class="layui-form-label" | ||
| 48 | + style="font-weight: bold; font-size: 15px; width: 70px;">主单号:</label> | ||
| 49 | + <div class="layui-input-inline"> | ||
| 50 | + <input type="text" name="waybillnomaster" autocomplete="off" class="layui-input" id="waybillnomaster" /> | ||
| 51 | + </div> | ||
| 52 | + </div> | ||
| 53 | + </div> | ||
| 54 | + <div class="layui-inline"> | ||
| 55 | + <div class="layui-inline"> | ||
| 56 | + <label class="layui-form-label" | ||
| 57 | + style="font-weight: bold; font-size: 15px; width: 70px;">分单号:</label> | ||
| 58 | + <div class="layui-input-inline"> | ||
| 59 | + <input type="text" name="waybillnosecondary" autocomplete="off" class="layui-input" id="waybillnosecondary" style="text-transform:uppercase;" onkeyup="this.value=this.value.toUpperCase()"/> | ||
| 60 | + </div> | ||
| 61 | + </div> | ||
| 62 | + </div> | ||
| 63 | + <div class="layui-inline"> | ||
| 64 | + <button class="layui-btn" lay-submit="" id="searchBtn" data-type="getInfo">查询</button> | ||
| 65 | + <button class="layui-btn" data-type="reload" id="add">新增</button> | ||
| 66 | + </div> | ||
| 67 | + </div> | ||
| 68 | + <!-- <button class="layui-btn" lay-submit="" id="searchBtn" data-type="getInfo">查询</button> --> | ||
| 69 | + | ||
| 70 | + </div> | ||
| 71 | + <hr> | ||
| 72 | + <blockquote class="layui-elem-quote" align="left">落装改配申请明细</blockquote> | ||
| 73 | + | ||
| 74 | + <div class="layui-inline" > | ||
| 75 | + <table class="layui-hide" id="flight" lay-filter="flight" style="width:99%; text-align="center"></table> | ||
| 76 | + </div> | ||
| 77 | + <%-- | ||
| 78 | + <script type="text/html" id="toolbar"> | ||
| 79 | + <div class="layui-btn-container"> | ||
| 80 | + <button class="layui-btn layui-btn-sm" >新增</button> | ||
| 81 | + <input id="searchInput" type="text" placeholder="请输入关键字"> | ||
| 82 | + <button class="layui-btn layui-btn-sm" >查询</button> | ||
| 83 | + </div> | ||
| 84 | + </script> --%> | ||
| 85 | + | ||
| 86 | + <script type="text/html" id="barDemo"> | ||
| 87 | + | ||
| 88 | + <a class="layui-btn layui-btn-xs" lay-event="shoufa">收发明细</a> | ||
| 89 | + <a class="layui-btn layui-btn-xs" lay-event="edit">编辑运单</a> | ||
| 90 | + {{#console.log(d)}} | ||
| 91 | + {{# if(d.status =="01"){ }} | ||
| 92 | + <a class="layui-btn layui-btn-xs layui-btn-disabled">申报</a> | ||
| 93 | + {{# } else { }} | ||
| 94 | + <a class="layui-btn layui-btn-xs" lay-event="send" id="sb">申报</a> | ||
| 95 | + {{# } }} | ||
| 96 | + <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">修改状态</a> | ||
| 97 | + </script> | ||
| 98 | + | ||
| 99 | + | ||
| 100 | + <script> | ||
| 101 | + layui.use('table', function(){ | ||
| 102 | + var table = layui.table; | ||
| 103 | + | ||
| 104 | + table.render({ | ||
| 105 | + elem: '#flight' | ||
| 106 | + ,url:'<%=basePath %>/lost/change/getList' | ||
| 107 | + /* ,toolbar: '#toolbar' */ | ||
| 108 | + ,title: '落装改配申请' | ||
| 109 | + ,height: 'full-200' | ||
| 110 | + ,page: true //开启分页 | ||
| 111 | + ,cols: [[ | ||
| 112 | + {field:'waybillnomaster', align:'center',title:'主单号', width:130, sort: true} | ||
| 113 | + ,{field:'waybillnosecondary', align:'center',title:'分单号', width:150} | ||
| 114 | + ,{field:'cwaybillnomaster', title:'改配后主单号',align:'center', width:130,} | ||
| 115 | + ,{field:'cwaybillnosecondary',align:'center', title:'改配后分单号', width:150 ,templet: function(d){ | ||
| 116 | + return d.waybillnosecondary.substring(0,10) | ||
| 117 | + } | ||
| 118 | + } | ||
| 119 | + ,{field:'flightno', title:'航班号',align:'center', width:100,} | ||
| 120 | + ,{field:'cflightno',align:'center', title:'改配后航班号', width:115 ,templet: function(d){ | ||
| 121 | + return d.flightno.substring(0,10) | ||
| 122 | + } | ||
| 123 | + } | ||
| 124 | + ,{field:'status', align:'center',title:'状态', width:90,templet: function(d){ | ||
| 125 | + var text = d.status; | ||
| 126 | + if(text=="01"){ | ||
| 127 | + return '已发送' | ||
| 128 | + }else if(text=="02"){ | ||
| 129 | + return '申报成功' | ||
| 130 | + }else{ | ||
| 131 | + return '' | ||
| 132 | + } | ||
| 133 | + } | ||
| 134 | + } | ||
| 135 | + ,{field:'receiption', align:'center',title:'回执信息', width:336} | ||
| 136 | + ,{fixed: 'right', title:'操作',align:'center', toolbar: '#barDemo', width:300} | ||
| 137 | + ]] | ||
| 138 | + }); | ||
| 139 | + $('#searchBtn').on('click',function(){ | ||
| 140 | + var type = $(this).data('type'); | ||
| 141 | + active[type] ? active[type].call(this) : ''; | ||
| 142 | + }); | ||
| 143 | + // 点击获取数据 | ||
| 144 | + var active = { | ||
| 145 | + getInfo: function () { | ||
| 146 | + if(check()){ | ||
| 147 | + var flightno=$('#flightno').val(); | ||
| 148 | + var flightdate=$('#flightdate').val(); | ||
| 149 | + var waybillnomaster=$('#waybillnomaster').val(); | ||
| 150 | + var waybillnosecondary=$('#waybillnosecondary').val(); | ||
| 151 | + /* if (flightno) { */ | ||
| 152 | + var index = layer.msg('查询中,请稍候...',{icon: 16,time:false,shade:0}); | ||
| 153 | + setTimeout(function(){ | ||
| 154 | + table.reload('flight', { //表格的id | ||
| 155 | + url:'<%=basePath %>/lost/change/selectByParam', | ||
| 156 | + page:{ | ||
| 157 | + curr:1 //从第一页开始 | ||
| 158 | + }, | ||
| 159 | + where: { | ||
| 160 | + 'flightno':$.trim(flightno), | ||
| 161 | + 'flightdate':$.trim(flightdate), | ||
| 162 | + 'waybillnomaster':$.trim(waybillnomaster), | ||
| 163 | + 'waybillnosecondary':$.trim(waybillnosecondary) | ||
| 164 | + } | ||
| 165 | + }); | ||
| 166 | + layer.close(index); | ||
| 167 | + },800); | ||
| 168 | + /* } else { | ||
| 169 | + layer.msg("请输入航班号"); | ||
| 170 | + } */ | ||
| 171 | + } | ||
| 172 | + }, | ||
| 173 | + }; | ||
| 174 | + $("#flightno").bind("keyup", function (e) { | ||
| 175 | + if (e.keyCode == 13) { | ||
| 176 | + var type = "getInfo"; | ||
| 177 | + active[type] ? active[type].call(this) : ''; | ||
| 178 | + } | ||
| 179 | + }); | ||
| 180 | + | ||
| 181 | + //监听行工具事件 | ||
| 182 | + table.on('tool(flight)', function(obj){ | ||
| 183 | + var data = obj.data; | ||
| 184 | + console.log(obj) | ||
| 185 | + if(obj.event === 'del'){ | ||
| 186 | + layer.confirm('您确定要修改状态吗', function(index){ | ||
| 187 | + $.ajax({ | ||
| 188 | + type : "post", | ||
| 189 | + url : "<%=basePath %>/lost/change/updateStatues", | ||
| 190 | + data : data, | ||
| 191 | + success: function(data){ | ||
| 192 | + if(data.success){ | ||
| 193 | + layer.alert( data.msg, function () { | ||
| 194 | + window.parent.location.reload(); //刷新父页面 | ||
| 195 | + parent.layer.close(index); //关闭当前弹窗 | ||
| 196 | + }); | ||
| 197 | + } | ||
| 198 | + }, | ||
| 199 | + error: function() { | ||
| 200 | + layer.alert("删除失败,请重试"); | ||
| 201 | + } | ||
| 202 | + }); | ||
| 203 | + }); | ||
| 204 | + }else if(obj.event === 'send'){ | ||
| 205 | + layer.confirm('您确定要申报吗', function(index){ | ||
| 206 | + if (data) { | ||
| 207 | + var id = data.id; | ||
| 208 | + $.ajax({ | ||
| 209 | + type : "post", | ||
| 210 | + url : "<%=basePath %>/lost/change/send", | ||
| 211 | + data : data, | ||
| 212 | + success: function(data){ | ||
| 213 | + if(data.success){ | ||
| 214 | + debugger; | ||
| 215 | + layer.alert(data.msg, function () { | ||
| 216 | + window.parent.location.reload(); //刷新父页面 | ||
| 217 | + parent.layer.close(index); //关闭当前弹窗 | ||
| 218 | + | ||
| 219 | + }); | ||
| 220 | + }else{ | ||
| 221 | + layer.alert(data.msg, function () { | ||
| 222 | + window.parent.location.reload(); //刷新父页面 | ||
| 223 | + parent.layer.close(index); //关闭当前弹窗 | ||
| 224 | + }); | ||
| 225 | + } | ||
| 226 | + }, | ||
| 227 | + error: function() { | ||
| 228 | + layer.alert("申报失败", function () { | ||
| 229 | + window.parent.location.reload(); //刷新父页面 | ||
| 230 | + parent.layer.close(index); //关闭当前弹窗 | ||
| 231 | + }); | ||
| 232 | + } | ||
| 233 | + }); | ||
| 234 | + } else { | ||
| 235 | + alert("请选择需要申报的运单") | ||
| 236 | + } | ||
| 237 | + }); | ||
| 238 | + } else if(obj.event === 'edit'){ | ||
| 239 | + if (data) { | ||
| 240 | + var waybillnomaster = data.waybillnomaster; | ||
| 241 | + var id = data.id; | ||
| 242 | + layer.open({ | ||
| 243 | + type: 2, | ||
| 244 | + title: "落装改配申请", | ||
| 245 | + shade: 0.8, | ||
| 246 | + id: (new Date()).valueOf(), //设定一个id,防止重复弹出 时间戳1280977330748 | ||
| 247 | + moveType: 1, //拖拽模式,0或者1 | ||
| 248 | + type: 2, | ||
| 249 | + skin: 'layui-layer-rim', //加上边框 | ||
| 250 | + /* area: [window.screen.width / 2 + 'px', window.screen.height / 2 + 'px'], //宽高 */ | ||
| 251 | + area: ['692px', '372px'], | ||
| 252 | + maxmin: true, //开启最大化最小化按钮 | ||
| 253 | + zIndex: layer.zIndex, //重点1 | ||
| 254 | + content: "<%=basePath %>/lost/change/edit?id="+id+"&waybillnomaster="+waybillnomaster, | ||
| 255 | + success: function (layero, index) { | ||
| 256 | + debugger; | ||
| 257 | + var layer = layui.layer; | ||
| 258 | + // 获取子页面的iframe | ||
| 259 | + var iframe = window['layui-layer-iframe' + index]; | ||
| 260 | + // 向子页面的全局函数child传参 | ||
| 261 | + iframe.child(data); | ||
| 262 | + layer.setTop(layero); //重点2 | ||
| 263 | + } | ||
| 264 | + }) | ||
| 265 | + } else { | ||
| 266 | + alert("请选择运单") | ||
| 267 | + } | ||
| 268 | + }else if(obj.event === 'shoufa'){ | ||
| 269 | + if (data) { | ||
| 270 | + var id = data.id; | ||
| 271 | + layer.open({ | ||
| 272 | + type: 2, | ||
| 273 | + title: "收发明细", | ||
| 274 | + shade: 0.8, | ||
| 275 | + id: (new Date()).valueOf(), //设定一个id,防止重复弹出 时间戳1280977330748 | ||
| 276 | + moveType: 1, //拖拽模式,0或者1 | ||
| 277 | + type: 2, | ||
| 278 | + skin: 'layui-layer-rim', //加上边框 | ||
| 279 | + /* area: [window.screen.width / 2 + 'px', window.screen.height / 2 + 'px'], //宽高 */ | ||
| 280 | + area: ['692px', '372px'], | ||
| 281 | + maxmin: true, //开启最大化最小化按钮 | ||
| 282 | + content: "<%=basePath %>/lost/change/edit?id="+id, | ||
| 283 | + success: function (layero, index) { | ||
| 284 | + // 获取子页面的iframe | ||
| 285 | + var iframe = window['layui-layer-iframe' + index]; | ||
| 286 | + // 向子页面的全局函数child传参 | ||
| 287 | + iframe.child(data); | ||
| 288 | + } | ||
| 289 | + }) | ||
| 290 | + } else { | ||
| 291 | + alert("请选择需要申报的运单") | ||
| 292 | + } | ||
| 293 | + } | ||
| 294 | + | ||
| 295 | + }); | ||
| 296 | + | ||
| 297 | + }); | ||
| 298 | + $("#add").click(function(){ | ||
| 299 | + layer.open({ | ||
| 300 | + type: 2, | ||
| 301 | + title: "落装改配申请", //不显示标题栏 | ||
| 302 | + //closeBtn: 2, | ||
| 303 | + shade: 0.8, | ||
| 304 | + id: (new Date()).valueOf(), //设定一个id,防止重复弹出 时间戳1280977330748 | ||
| 305 | + moveType: 1, //拖拽模式,0或者1 | ||
| 306 | + type: 2, | ||
| 307 | + skin: 'layui-layer-rim', //加上边框 | ||
| 308 | + /* area: [window.screen.width / 2 + 'px', window.screen.height / 2 + 'px'], //宽高 */ | ||
| 309 | + area: ['692px', '372px'], | ||
| 310 | + maxmin: true, //开启最大化最小化按钮 | ||
| 311 | + content: "<%=basePath %>/lost/change/edit", | ||
| 312 | + zIndex: layer.zIndex, | ||
| 313 | + success: function (layero, index) { | ||
| 314 | + // 获取子页面的iframe | ||
| 315 | + var iframe = window['layui-layer-iframe' + index]; | ||
| 316 | + // 向子页面的全局函数child传参 | ||
| 317 | + iframe.child(data); | ||
| 318 | + layer.setTop(layero); | ||
| 319 | + | ||
| 320 | + } | ||
| 321 | + }) | ||
| 322 | + }) | ||
| 323 | + </script> | ||
| 324 | + | ||
| 325 | + <script type="text/javascript"> | ||
| 326 | + layui.use(['form', 'laydate'], function(){ | ||
| 327 | + var form = layui.form | ||
| 328 | + ,laydate = layui.laydate; | ||
| 329 | + | ||
| 330 | + //日期 | ||
| 331 | + laydate.render({ | ||
| 332 | + elem: '#flightdate' | ||
| 333 | + }); | ||
| 334 | + }); | ||
| 335 | + | ||
| 336 | + function check(){ | ||
| 337 | + var billNo = $("#waybillnomaster").val(); | ||
| 338 | + var regs = /[a-z]/i; | ||
| 339 | + if(billNo==''){ | ||
| 340 | + return true; | ||
| 341 | + }else if(regs.test(billNo)){ | ||
| 342 | + $("#waybillnomaster").focus(); | ||
| 343 | + layer.tips('主单号必须为数字', '#waybillnomaster', { | ||
| 344 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 345 | + }); | ||
| 346 | + return false; | ||
| 347 | + } | ||
| 348 | + else{ | ||
| 349 | + if(billNo.indexOf("-") != -1){ | ||
| 350 | + billNo=billNo; | ||
| 351 | + if(billNo.length!=12){ | ||
| 352 | + $("#waybillnomaster").focus(); | ||
| 353 | + layer.tips('主单号必须为11位', '#waybillnomaster', { | ||
| 354 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 355 | + }); | ||
| 356 | + return false; | ||
| 357 | + } | ||
| 358 | + }else{ | ||
| 359 | + // billNo = billNo.substring(0,3)+'-'+billNo.substring(3) | ||
| 360 | + if(billNo.length!=11){ | ||
| 361 | + $("#waybillnomaster").focus(); | ||
| 362 | + layer.tips('主单号必须为11位', '#waybillnomaster', { | ||
| 363 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 364 | + }); | ||
| 365 | + return false; | ||
| 366 | + } | ||
| 367 | + } | ||
| 368 | + $("#waybillnomaster").val(billNo); | ||
| 369 | + return true; | ||
| 370 | + } | ||
| 371 | + } | ||
| 372 | + </script> | ||
| 373 | +</body> | ||
| 374 | +</html> |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | ||
| 2 | +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> | ||
| 3 | +<%@ page isELIgnored="false"%> | ||
| 4 | +<% | ||
| 5 | + String path = request.getContextPath(); | ||
| 6 | + String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; | ||
| 7 | +%> | ||
| 8 | +<!doctype html> | ||
| 9 | +<html lang="zh"> | ||
| 10 | +<head> | ||
| 11 | + <meta charset="utf-8"> | ||
| 12 | + <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
| 13 | + <title>落装申请修改</title> | ||
| 14 | + <%-- <link href="<%=basePath %>static/css/login.css" rel="stylesheet"> --%> | ||
| 15 | + <link href="<%=basePath %>static/layui2.4.5/css/layui.css" rel="stylesheet"> | ||
| 16 | + <style type="text/css"> | ||
| 17 | + .layui-input-b1ock { | ||
| 18 | + margin-left: 510px; | ||
| 19 | + min-height: 36px; | ||
| 20 | + } | ||
| 21 | + </style> | ||
| 22 | + <script src="<%=basePath %>static/easyui/jquery.min.js"></script> | ||
| 23 | + <script src="<%=basePath %>static/layui2.4.5/layui.js"></script> | ||
| 24 | + <script type="text/javascript" src="<%=basePath %>static/layer-v3.0.3/layer/layer.js"></script> | ||
| 25 | + <script> | ||
| 26 | + function child(d) { | ||
| 27 | + $("#id").val(d.id) | ||
| 28 | + $("#flightno").val(d.flightno); | ||
| 29 | + $("#flightdate").val(d.flightdate.substring(0,10)); | ||
| 30 | + $("#waybillnomaster").val(d.waybillnomaster); | ||
| 31 | + $("#waybillnosecondary").val(d.waybillnosecondary); | ||
| 32 | + } | ||
| 33 | + </script> | ||
| 34 | + <script> | ||
| 35 | + layui.use(['layer', 'form','laydate'], function(){ | ||
| 36 | + var layer = layui.layer | ||
| 37 | + ,laydate=layui.laydate | ||
| 38 | + ,form = layui.form; | ||
| 39 | + //监听提交 | ||
| 40 | + form.on('submit(demo1)', function(data){ | ||
| 41 | + if(check()){ | ||
| 42 | + editForm(data.field); | ||
| 43 | + } | ||
| 44 | + return false; | ||
| 45 | + }); | ||
| 46 | + }); | ||
| 47 | + | ||
| 48 | + function editForm(data){ | ||
| 49 | + var billNo = $("#waybillnomaster").val(); | ||
| 50 | + data.waybillnomaster=billNo; | ||
| 51 | + $.ajax({ | ||
| 52 | + type : "post", | ||
| 53 | + url : "<%=basePath %>/lost/editForm", | ||
| 54 | + data : data, | ||
| 55 | + success: function(data){ | ||
| 56 | + if(data.success){ | ||
| 57 | + layer.alert( data.msg, function () { | ||
| 58 | + window.parent.location.reload(); //刷新父页面 | ||
| 59 | + parent.layer.close(index); //关闭当前弹窗 | ||
| 60 | + }); | ||
| 61 | + }else{ | ||
| 62 | + layer.alert( data.msg, function () { | ||
| 63 | + window.parent.location.reload(); //刷新父页面 | ||
| 64 | + parent.layer.close(index); //关闭当前弹窗 | ||
| 65 | + }); | ||
| 66 | + } | ||
| 67 | + }, | ||
| 68 | + error: function() { | ||
| 69 | + layer.alert("保存失败,请重试"); | ||
| 70 | + } | ||
| 71 | + }); | ||
| 72 | + } | ||
| 73 | + </script> | ||
| 74 | + | ||
| 75 | + | ||
| 76 | + | ||
| 77 | +</head > | ||
| 78 | + | ||
| 79 | +<body style="margin: auto"> | ||
| 80 | +<blockquote class="layui-elem-quote">运单信息编辑</blockquote> | ||
| 81 | +<hr> | ||
| 82 | +<form class="layui-form" action="" lay-filter="example"> | ||
| 83 | +<input type="hidden" id="id" name="id" autocomplete="off" class="layui-input" > | ||
| 84 | + <div class="layui-form-item"> | ||
| 85 | + <div class="layui-inline"> | ||
| 86 | + <label class="layui-form-label">航班号</label> | ||
| 87 | + <div class="layui-input-inline"> | ||
| 88 | + <input type="text" id="flightno" style="text-transform:uppercase;" name="flightno" autocomplete="off" class="layui-input" onkeyup="if (this.value != this.value.toUpperCase()) this.value=this.value.toUpperCase();"> | ||
| 89 | + </div> | ||
| 90 | + </div> | ||
| 91 | + <div class="layui-inline"> | ||
| 92 | + <label class="layui-form-label">航班日期</label> | ||
| 93 | + <div class="layui-input-inline"> | ||
| 94 | + <input type="text" id="flightdate" name="flightdate" autocomplete="off" class="layui-input"> | ||
| 95 | + </div> | ||
| 96 | + </div> | ||
| 97 | + </div> | ||
| 98 | + <div class="layui-form-item"> | ||
| 99 | + <div class="layui-inline"> | ||
| 100 | + <label class="layui-form-label">主单号</label> | ||
| 101 | + <div class="layui-input-inline"> | ||
| 102 | + <input type="text" id="waybillnomaster" name="waybillnomaster" autocomplete="off" class="layui-input"> | ||
| 103 | + </div> | ||
| 104 | + </div> | ||
| 105 | + <div class="layui-inline"> | ||
| 106 | + <label class="layui-form-label">分单号</label> | ||
| 107 | + <div class="layui-input-inline"> | ||
| 108 | + <input type="text" id="waybillnosecondary" style="text-transform:uppercase;" name="waybillnosecondary" autocomplete="off" class="layui-input" onkeyup="if (this.value != this.value.toUpperCase()) this.value=this.value.toUpperCase();"> | ||
| 109 | + </div> | ||
| 110 | + </div> | ||
| 111 | + </div> | ||
| 112 | + <div class="layui-form-item" > | ||
| 113 | + <div class="layui-input-b1ock"> | ||
| 114 | + <button class="layui-btn" lay-submit="" lay-filter="demo1"> | ||
| 115 | + <c:if test="${empty ftId }">保存</c:if> | ||
| 116 | + <c:if test="${not empty ftId}">修改</c:if> | ||
| 117 | + </button> | ||
| 118 | + </div> | ||
| 119 | + </div> | ||
| 120 | +</form> | ||
| 121 | + <script type="text/javascript"> | ||
| 122 | + layui.use(['form', 'laydate'], function(){ | ||
| 123 | + var form = layui.form | ||
| 124 | + ,laydate = layui.laydate; | ||
| 125 | + | ||
| 126 | + //日期 | ||
| 127 | + laydate.render({ | ||
| 128 | + elem: '#flightdate' | ||
| 129 | + }); | ||
| 130 | + }); | ||
| 131 | + | ||
| 132 | + function check(){ | ||
| 133 | + var billNo = $("#waybillnomaster").val(); | ||
| 134 | + var flightno = $("#flightno").val(); | ||
| 135 | + var flightdate = $("#flightdate").val(); | ||
| 136 | + var regs = /[a-z]/i; | ||
| 137 | + if(flightno==''){ | ||
| 138 | + $("#flightno").focus(); | ||
| 139 | + layer.tips('请输入航班号', '#flightno', { | ||
| 140 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 141 | + }); | ||
| 142 | + return false; | ||
| 143 | + }else if(flightdate==''){ | ||
| 144 | + $("#flightdate").focus(); | ||
| 145 | + layer.tips('请输入航班日期', '#flightdate', { | ||
| 146 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 147 | + }); | ||
| 148 | + return false; | ||
| 149 | + }else | ||
| 150 | + if(billNo==''){ | ||
| 151 | + $("#waybillnomaster").focus(); | ||
| 152 | + layer.tips('请输入主单号', '#waybillnomaster', { | ||
| 153 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 154 | + }); | ||
| 155 | + return false; | ||
| 156 | + }else if(regs.test(billNo)){ | ||
| 157 | + $("#waybillnomaster").focus(); | ||
| 158 | + layer.tips('主单号必须为数字', '#waybillnomaster', { | ||
| 159 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 160 | + }); | ||
| 161 | + return false; | ||
| 162 | + } | ||
| 163 | + else{ | ||
| 164 | + if(billNo.indexOf("-") != -1){ | ||
| 165 | + billNo=billNo; | ||
| 166 | + if(billNo.length!=12){ | ||
| 167 | + $("#waybillnomaster").focus(); | ||
| 168 | + layer.tips('主单号必须为11位', '#waybillnomaster', { | ||
| 169 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 170 | + }); | ||
| 171 | + return false; | ||
| 172 | + } | ||
| 173 | + }else{ | ||
| 174 | + billNo = billNo.substring(0,3)+'-'+billNo.substring(3) | ||
| 175 | + if(billNo.length!=12){ | ||
| 176 | + $("#waybillnomaster").focus(); | ||
| 177 | + layer.tips('主单号必须为11位', '#waybillnomaster', { | ||
| 178 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 179 | + }); | ||
| 180 | + return false; | ||
| 181 | + } | ||
| 182 | + } | ||
| 183 | + $("#waybillnomaster").val(billNo); | ||
| 184 | + return true; | ||
| 185 | + } | ||
| 186 | + } | ||
| 187 | + </script> | ||
| 188 | + </body > | ||
| 189 | +</html > |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | ||
| 2 | +<% | ||
| 3 | + String path = request.getContextPath(); | ||
| 4 | + String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/"; | ||
| 5 | +%> | ||
| 6 | +<!doctype html> | ||
| 7 | +<html lang="zh"> | ||
| 8 | + | ||
| 9 | +<head> | ||
| 10 | + <meta charset="utf-8"> | ||
| 11 | + <meta name="viewport" content="width=device-width, initial-scale=1"> | ||
| 12 | + <title>落装申请列表</title> | ||
| 13 | + <%-- <link href="<%=basePath %>static/css/login.css" rel="stylesheet"> --%> | ||
| 14 | + <%-- <link rel="stylesheet" href="<%=basePath %>/static/css/main.css" /> --%> | ||
| 15 | + | ||
| 16 | + <script src="<%=basePath %>static/easyui/jquery.min.js"></script> | ||
| 17 | + <link href="<%=basePath %>static/layui2.4.5/css/layui.css" rel="stylesheet"> | ||
| 18 | + <script src="<%=basePath %>static/layui2.4.5/layui.js"></script> | ||
| 19 | + <script type="text/javascript" src="<%=basePath %>static/layer-v3.0.3/layer/layer.js"></script> | ||
| 20 | + <style> | ||
| 21 | + body{ | ||
| 22 | + /* margin: 10px; */ | ||
| 23 | + /* text-align: center; */ | ||
| 24 | + } | ||
| 25 | + </style> | ||
| 26 | +</head> | ||
| 27 | +<body> | ||
| 28 | + <blockquote class="layui-elem-quote" align="left">落装申请列表</blockquote> | ||
| 29 | + <div> | ||
| 30 | + <div class="layui-inline"> | ||
| 31 | + <label class="layui-form-label" style="font-size: 15px; font-weight: bold; width: 70px;">航班号:</label> | ||
| 32 | + <div class="layui-input-inline"> | ||
| 33 | + <input type="text" name="flightno" id="flightno" autocomplete="off" class="layui-input" style="text-transform:uppercase;" onkeyup="this.value=this.value.toUpperCase()"/> | ||
| 34 | + </div> | ||
| 35 | + </div> | ||
| 36 | + <div class="layui-inline"> | ||
| 37 | + <label class="layui-form-label" | ||
| 38 | + style="font-weight: bold; font-size: 15px; width: 80px;">航班日期:</label> | ||
| 39 | + <div class="layui-input-inline"> | ||
| 40 | + <input type="text" autocomplete="off" class="layui-input" id="flightdate" name="flightdate"/> | ||
| 41 | + </div> | ||
| 42 | + </div> | ||
| 43 | + | ||
| 44 | + <div class="layui-inline"> | ||
| 45 | + <div class="layui-inline"> | ||
| 46 | + <label class="layui-form-label" | ||
| 47 | + style="font-weight: bold; font-size: 15px; width: 70px;">主单号:</label> | ||
| 48 | + <div class="layui-input-inline"> | ||
| 49 | + <input type="text" name="waybillnomaster" autocomplete="off" class="layui-input" id="waybillnomaster" /> | ||
| 50 | + </div> | ||
| 51 | + </div> | ||
| 52 | + </div> | ||
| 53 | + <div class="layui-inline"> | ||
| 54 | + <div class="layui-inline"> | ||
| 55 | + <label class="layui-form-label" | ||
| 56 | + style="font-weight: bold; font-size: 15px; width: 70px;">分单号:</label> | ||
| 57 | + <div class="layui-input-inline"> | ||
| 58 | + <input type="text" name="waybillnosecondary" autocomplete="off" class="layui-input" id="waybillnosecondary" style="text-transform:uppercase;" onkeyup="this.value=this.value.toUpperCase()"/> | ||
| 59 | + </div> | ||
| 60 | + </div> | ||
| 61 | + </div> | ||
| 62 | + <div class="layui-inline"> | ||
| 63 | + <button class="layui-btn" lay-submit="" id="searchBtn" data-type="getInfo">查询</button> | ||
| 64 | + <button class="layui-btn" data-type="reload" id="add">新增</button> | ||
| 65 | + </div> | ||
| 66 | + </div> | ||
| 67 | + <!-- <button class="layui-btn" lay-submit="" id="searchBtn" data-type="getInfo">查询</button> --> | ||
| 68 | + | ||
| 69 | + </div> | ||
| 70 | + <hr> | ||
| 71 | + <blockquote class="layui-elem-quote" align="left">落装申请明细</blockquote> | ||
| 72 | + | ||
| 73 | + <div class="layui-inline" > | ||
| 74 | + <table class="layui-hide" id="flight" lay-filter="flight" style="width:99%; text-align="center"></table> | ||
| 75 | + </div> | ||
| 76 | + <%-- | ||
| 77 | + <script type="text/html" id="toolbar"> | ||
| 78 | + <div class="layui-btn-container"> | ||
| 79 | + <button class="layui-btn layui-btn-sm" >新增</button> | ||
| 80 | + <input id="searchInput" type="text" placeholder="请输入关键字"> | ||
| 81 | + <button class="layui-btn layui-btn-sm" >查询</button> | ||
| 82 | + </div> | ||
| 83 | + </script> --%> | ||
| 84 | + | ||
| 85 | + <script type="text/html" id="barDemo"> | ||
| 86 | + | ||
| 87 | + <a class="layui-btn layui-btn-xs" lay-event="shoufa">收发明细</a> | ||
| 88 | + <a class="layui-btn layui-btn-xs" lay-event="edit">编辑运单</a> | ||
| 89 | + {{#console.log(d)}} | ||
| 90 | + {{# if(d.status =="01"){ }} | ||
| 91 | + <a class="layui-btn layui-btn-xs layui-btn-disabled">申报</a> | ||
| 92 | + {{# } else { }} | ||
| 93 | + <a class="layui-btn layui-btn-xs" lay-event="send" id="sb">申报</a> | ||
| 94 | + {{# } }} | ||
| 95 | + <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">修改状态</a> | ||
| 96 | + </script> | ||
| 97 | + | ||
| 98 | + | ||
| 99 | + <script> | ||
| 100 | + layui.use('table', function(){ | ||
| 101 | + var table = layui.table; | ||
| 102 | + | ||
| 103 | + table.render({ | ||
| 104 | + elem: '#flight' | ||
| 105 | + ,url:'<%=basePath %>/lost/getList' | ||
| 106 | + /* ,toolbar: '#toolbar' */ | ||
| 107 | + ,title: '落装申请' | ||
| 108 | + ,height: 'full-200' | ||
| 109 | + ,page: true //开启分页 | ||
| 110 | + ,cols: [[ | ||
| 111 | + {field:'waybillnomaster', align:'center',title:'主单号', width:130, sort: true} | ||
| 112 | + ,{field:'waybillnosecondary', align:'center',title:'分单号', width:150} | ||
| 113 | + ,{field:'flightno', title:'航班号',align:'center', width:100,} | ||
| 114 | + ,{field:'flightdate',align:'center', title:'航班日期', width:120 ,templet: function(d){ | ||
| 115 | + return d.flightdate.substring(0,10) | ||
| 116 | + } | ||
| 117 | + } | ||
| 118 | + ,{field:'status', align:'center',title:'状态', width:100,templet: function(d){ | ||
| 119 | + var text = d.status; | ||
| 120 | + if(text=="01"){ | ||
| 121 | + return '已发送' | ||
| 122 | + }else if(text=="02"){ | ||
| 123 | + return '申报成功' | ||
| 124 | + }else{ | ||
| 125 | + return '' | ||
| 126 | + } | ||
| 127 | + } | ||
| 128 | + } | ||
| 129 | + ,{field:'receiption', align:'center',title:'回执信息', width:350} | ||
| 130 | + ,{fixed: 'right', title:'操作',align:'center', toolbar: '#barDemo', width:300} | ||
| 131 | + ]] | ||
| 132 | + }); | ||
| 133 | + | ||
| 134 | + $('#searchBtn').on('click',function(){ | ||
| 135 | + var type = $(this).data('type'); | ||
| 136 | + active[type] ? active[type].call(this) : ''; | ||
| 137 | + }); | ||
| 138 | + // 点击获取数据 | ||
| 139 | + var active = { | ||
| 140 | + getInfo: function () { | ||
| 141 | + if(check()){ | ||
| 142 | + var flightno=$('#flightno').val(); | ||
| 143 | + var flightdate=$('#flightdate').val(); | ||
| 144 | + var waybillnomaster=$('#waybillnomaster').val(); | ||
| 145 | + var waybillnosecondary=$('#waybillnosecondary').val(); | ||
| 146 | + /* if (flightno) { */ | ||
| 147 | + var index = layer.msg('查询中,请稍候...',{icon: 16,time:false,shade:0}); | ||
| 148 | + setTimeout(function(){ | ||
| 149 | + table.reload('flight', { //表格的id | ||
| 150 | + url:'<%=basePath %>/lost/selectByParam', | ||
| 151 | + page:{ | ||
| 152 | + curr:1 //从第一页开始 | ||
| 153 | + }, | ||
| 154 | + where: { | ||
| 155 | + 'flightno':$.trim(flightno), | ||
| 156 | + 'flightdate':$.trim(flightdate), | ||
| 157 | + 'waybillnomaster':$.trim(waybillnomaster), | ||
| 158 | + 'waybillnosecondary':$.trim(waybillnosecondary) | ||
| 159 | + } | ||
| 160 | + }); | ||
| 161 | + layer.close(index); | ||
| 162 | + },800); | ||
| 163 | + /* } else { | ||
| 164 | + layer.msg("请输入航班号"); | ||
| 165 | + } */ | ||
| 166 | + } | ||
| 167 | + }, | ||
| 168 | + }; | ||
| 169 | + $("#flightno").bind("keyup", function (e) { | ||
| 170 | + if (e.keyCode == 13) { | ||
| 171 | + var type = "getInfo"; | ||
| 172 | + active[type] ? active[type].call(this) : ''; | ||
| 173 | + } | ||
| 174 | + }); | ||
| 175 | + | ||
| 176 | + //监听行工具事件 | ||
| 177 | + table.on('tool(flight)', function(obj){ | ||
| 178 | + var data = obj.data; | ||
| 179 | + console.log(obj) | ||
| 180 | + if(obj.event === 'del'){ | ||
| 181 | + layer.confirm('您确定要修改状态吗', function(index){ | ||
| 182 | + $.ajax({ | ||
| 183 | + type : "post", | ||
| 184 | + url : "<%=basePath %>/lost/updateStatues", | ||
| 185 | + data : data, | ||
| 186 | + success: function(data){ | ||
| 187 | + if(data.success){ | ||
| 188 | + layer.alert( data.msg, function () { | ||
| 189 | + window.parent.location.reload(); //刷新父页面 | ||
| 190 | + parent.layer.close(index); //关闭当前弹窗 | ||
| 191 | + }); | ||
| 192 | + } | ||
| 193 | + }, | ||
| 194 | + error: function() { | ||
| 195 | + layer.alert("删除失败,请重试"); | ||
| 196 | + } | ||
| 197 | + }); | ||
| 198 | + }); | ||
| 199 | + }else if(obj.event === 'send'){ | ||
| 200 | + layer.confirm('您确定要申报吗', function(index){ | ||
| 201 | + if (data) { | ||
| 202 | + var id = data.id; | ||
| 203 | + $.ajax({ | ||
| 204 | + type : "post", | ||
| 205 | + url : "<%=basePath %>/lost/send", | ||
| 206 | + data : data, | ||
| 207 | + success: function(data){ | ||
| 208 | + if(data.success){ | ||
| 209 | + debugger; | ||
| 210 | + layer.alert(data.msg, function () { | ||
| 211 | + window.parent.location.reload(); //刷新父页面 | ||
| 212 | + parent.layer.close(index); //关闭当前弹窗 | ||
| 213 | + | ||
| 214 | + }); | ||
| 215 | + }else{ | ||
| 216 | + layer.alert(data.msg, function () { | ||
| 217 | + window.parent.location.reload(); //刷新父页面 | ||
| 218 | + parent.layer.close(index); //关闭当前弹窗 | ||
| 219 | + }); | ||
| 220 | + } | ||
| 221 | + }, | ||
| 222 | + error: function() { | ||
| 223 | + layer.alert("申报失败", function () { | ||
| 224 | + window.parent.location.reload(); //刷新父页面 | ||
| 225 | + parent.layer.close(index); //关闭当前弹窗 | ||
| 226 | + }); | ||
| 227 | + } | ||
| 228 | + }); | ||
| 229 | + } else { | ||
| 230 | + alert("请选择需要申报的运单") | ||
| 231 | + } | ||
| 232 | + }); | ||
| 233 | + } else if(obj.event === 'edit'){ | ||
| 234 | + if (data) { | ||
| 235 | + var id = data.id; | ||
| 236 | + layer.open({ | ||
| 237 | + type: 2, | ||
| 238 | + title: "落装申请", | ||
| 239 | + shade: 0.8, | ||
| 240 | + id: (new Date()).valueOf(), //设定一个id,防止重复弹出 时间戳1280977330748 | ||
| 241 | + moveType: 1, //拖拽模式,0或者1 | ||
| 242 | + type: 2, | ||
| 243 | + skin: 'layui-layer-rim', //加上边框 | ||
| 244 | + /* area: [window.screen.width / 2 + 'px', window.screen.height / 2 + 'px'], //宽高 */ | ||
| 245 | + area: ['692px', '372px'], | ||
| 246 | + maxmin: true, //开启最大化最小化按钮 | ||
| 247 | + content: "<%=basePath %>/lost/edit?id="+id, | ||
| 248 | + success: function (layero, index) { | ||
| 249 | + // 获取子页面的iframe | ||
| 250 | + var iframe = window['layui-layer-iframe' + index]; | ||
| 251 | + // 向子页面的全局函数child传参 | ||
| 252 | + iframe.child(data); | ||
| 253 | + } | ||
| 254 | + }) | ||
| 255 | + } else { | ||
| 256 | + alert("请选择运单") | ||
| 257 | + } | ||
| 258 | + }else if(obj.event === 'shoufa'){ | ||
| 259 | + if (data) { | ||
| 260 | + var id = data.id; | ||
| 261 | + layer.open({ | ||
| 262 | + type: 2, | ||
| 263 | + title: "收发明细", | ||
| 264 | + shade: 0.8, | ||
| 265 | + id: (new Date()).valueOf(), //设定一个id,防止重复弹出 时间戳1280977330748 | ||
| 266 | + moveType: 1, //拖拽模式,0或者1 | ||
| 267 | + type: 2, | ||
| 268 | + skin: 'layui-layer-rim', //加上边框 | ||
| 269 | + /* area: [window.screen.width / 2 + 'px', window.screen.height / 2 + 'px'], //宽高 */ | ||
| 270 | + area: ['692px', '372px'], | ||
| 271 | + maxmin: true, //开启最大化最小化按钮 | ||
| 272 | + content: "<%=basePath %>/lost/edit?id="+id, | ||
| 273 | + success: function (layero, index) { | ||
| 274 | + // 获取子页面的iframe | ||
| 275 | + var iframe = window['layui-layer-iframe' + index]; | ||
| 276 | + // 向子页面的全局函数child传参 | ||
| 277 | + iframe.child(data); | ||
| 278 | + } | ||
| 279 | + }) | ||
| 280 | + } else { | ||
| 281 | + alert("请选择需要申报的运单") | ||
| 282 | + } | ||
| 283 | + } | ||
| 284 | + | ||
| 285 | + }); | ||
| 286 | + | ||
| 287 | + }); | ||
| 288 | + $("#add").click(function(){ | ||
| 289 | + layer.open({ | ||
| 290 | + type: 2, | ||
| 291 | + title: "落装申请", //不显示标题栏 | ||
| 292 | + //closeBtn: 2, | ||
| 293 | + shade: 0.8, | ||
| 294 | + id: (new Date()).valueOf(), //设定一个id,防止重复弹出 时间戳1280977330748 | ||
| 295 | + moveType: 1, //拖拽模式,0或者1 | ||
| 296 | + type: 2, | ||
| 297 | + skin: 'layui-layer-rim', //加上边框 | ||
| 298 | + /* area: [window.screen.width / 2 + 'px', window.screen.height / 2 + 'px'], //宽高 */ | ||
| 299 | + area: ['692px', '372px'], | ||
| 300 | + maxmin: true, //开启最大化最小化按钮 | ||
| 301 | + content: "<%=basePath %>/lost/edit", | ||
| 302 | + success: function (layero, index) { | ||
| 303 | + // 获取子页面的iframe | ||
| 304 | + var iframe = window['layui-layer-iframe' + index]; | ||
| 305 | + // 向子页面的全局函数child传参 | ||
| 306 | + iframe.child(data); | ||
| 307 | + | ||
| 308 | + } | ||
| 309 | + }) | ||
| 310 | + }) | ||
| 311 | + </script> | ||
| 312 | + | ||
| 313 | + <script type="text/javascript"> | ||
| 314 | + layui.use(['form', 'laydate'], function(){ | ||
| 315 | + var form = layui.form | ||
| 316 | + ,laydate = layui.laydate; | ||
| 317 | + | ||
| 318 | + //日期 | ||
| 319 | + laydate.render({ | ||
| 320 | + elem: '#flightdate' | ||
| 321 | + }); | ||
| 322 | + }); | ||
| 323 | + | ||
| 324 | + function check(){ | ||
| 325 | + var billNo = $("#waybillnomaster").val(); | ||
| 326 | + var regs = /[a-z]/i; | ||
| 327 | + if(billNo==''){ | ||
| 328 | + return true; | ||
| 329 | + }else if(regs.test(billNo)){ | ||
| 330 | + $("#waybillnomaster").focus(); | ||
| 331 | + layer.tips('主单号必须为数字', '#waybillnomaster', { | ||
| 332 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 333 | + }); | ||
| 334 | + return false; | ||
| 335 | + } | ||
| 336 | + else{ | ||
| 337 | + if(billNo.indexOf("-") != -1){ | ||
| 338 | + billNo=billNo; | ||
| 339 | + if(billNo.length!=12){ | ||
| 340 | + $("#waybillnomaster").focus(); | ||
| 341 | + layer.tips('主单号必须为11位', '#waybillnomaster', { | ||
| 342 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 343 | + }); | ||
| 344 | + return false; | ||
| 345 | + } | ||
| 346 | + }else{ | ||
| 347 | + billNo = billNo.substring(0,3)+'-'+billNo.substring(3) | ||
| 348 | + if(billNo.length!=12){ | ||
| 349 | + $("#waybillnomaster").focus(); | ||
| 350 | + layer.tips('主单号必须为11位', '#waybillnomaster', { | ||
| 351 | + tips: [1, '#0FA6D8'] //还可配置颜色 | ||
| 352 | + }); | ||
| 353 | + return false; | ||
| 354 | + } | ||
| 355 | + } | ||
| 356 | + $("#waybillnomaster").val(billNo); | ||
| 357 | + return true; | ||
| 358 | + } | ||
| 359 | + } | ||
| 360 | + </script> | ||
| 361 | +</body> | ||
| 362 | +</html> |
| @@ -131,10 +131,12 @@ | @@ -131,10 +131,12 @@ | ||
| 131 | window.parent.location.reload(); //刷新父页面 | 131 | window.parent.location.reload(); //刷新父页面 |
| 132 | parent.layer.close(index); //关闭当前弹窗 | 132 | parent.layer.close(index); //关闭当前弹窗 |
| 133 | }); | 133 | }); |
| 134 | + }else{ | ||
| 135 | + layer.alert("转换失败,请联系管理员或重试") | ||
| 134 | } | 136 | } |
| 135 | }, | 137 | }, |
| 136 | error: function() { | 138 | error: function() { |
| 137 | - layer.alert("转运失败"); | 139 | + layer.alert("转换失败,请联系管理员或重试"); |
| 138 | } | 140 | } |
| 139 | }); | 141 | }); |
| 140 | layer.close(index); | 142 | layer.close(index); |
| @@ -198,10 +200,12 @@ | @@ -198,10 +200,12 @@ | ||
| 198 | window.parent.location.reload(); //刷新父页面 | 200 | window.parent.location.reload(); //刷新父页面 |
| 199 | parent.layer.close(index); //关闭当前弹窗 | 201 | parent.layer.close(index); //关闭当前弹窗 |
| 200 | }); | 202 | }); |
| 203 | + }else{ | ||
| 204 | + layer.alert("转换失败,请联系管理员或重试"); | ||
| 201 | } | 205 | } |
| 202 | }, | 206 | }, |
| 203 | error: function() { | 207 | error: function() { |
| 204 | - layer.alert("转运失败"); | 208 | + layer.alert("转换失败,请联系管理员或重试"); |
| 205 | } | 209 | } |
| 206 | }); | 210 | }); |
| 207 | layer.close(index); | 211 | layer.close(index); |
| @@ -260,6 +264,8 @@ | @@ -260,6 +264,8 @@ | ||
| 260 | window.parent.location.reload(); //刷新父页面 | 264 | window.parent.location.reload(); //刷新父页面 |
| 261 | parent.layer.close(index); //关闭当前弹窗 | 265 | parent.layer.close(index); //关闭当前弹窗 |
| 262 | }); | 266 | }); |
| 267 | + }else{ | ||
| 268 | + layer.alert("国际转运申请失败,请联系管理员或重试"); | ||
| 263 | } | 269 | } |
| 264 | }, | 270 | }, |
| 265 | error: function() { | 271 | error: function() { |
| 1 | +/** layui-v1.0.7 LGPL License By http://www.layui.com */ | ||
| 2 | + .layui-btn,.layui-inline,img{vertical-align:middle}.layui-btn,.layui-unselect{-webkit-user-select:none;-ms-user-select:none;-moz-user-select:none}.layui-laypage a,a{text-decoration:none}.layui-btn,.layui-tree li i,.layui-unselect{-moz-user-select:none}.layui-form-select dl,.layui-nav-child{min-width:100%;box-shadow:0 2px 4px rgba(0,0,0,.12)}blockquote,body,button,dd,div,dl,dt,form,h1,h2,h3,h4,h5,h6,input,li,ol,p,pre,td,textarea,th,ul{margin:0;padding:0;-webkit-tap-highlight-color:rgba(0,0,0,0)}a:active,a:hover{outline:0}img{display:inline-block;border:none}li{list-style:none}table{border-collapse:collapse;border-spacing:0}h1,h2,h3{font-size:14px;font-weight:400}h4,h5,h6{font-size:100%;font-weight:400}button,input,optgroup,option,select,textarea{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;outline:0}pre{white-space:pre-wrap;white-space:-moz-pre-wrap;white-space:-pre-wrap;white-space:-o-pre-wrap;word-wrap:break-word}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-button:vertical{display:none}::-webkit-scrollbar-corner,::-webkit-scrollbar-track{background-color:#e2e2e2}::-webkit-scrollbar-thumb{border-radius:0;background-color:rgba(0,0,0,.3)}::-webkit-scrollbar-thumb:vertical:hover{background-color:rgba(0,0,0,.35)}::-webkit-scrollbar-thumb:vertical:active{background-color:rgba(0,0,0,.38)}@font-face{font-family:layui-icon;src:url(../font/iconfont.eot);src:url(../font/iconfont.eot?#iefix) format('embedded-opentype'),url(../font/iconfont.woff) format('woff'),url(../font/iconfont.ttf) format('truetype'),url(../font/iconfont.svg#iconfont) format('svg')}.layui-icon{font-family:layui-icon!important;font-size:16px;font-style:normal;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}body{line-height:24px;font:14px Helvetica Neue,Helvetica,PingFang SC,\5FAE\8F6F\96C5\9ED1,Tahoma,Arial,sans-serif}.layui-flow-more a cite,.layui-laypage em,.layui-tree li a cite,a cite{font-style:normal}hr{height:1px;margin:10px 0;border:0;background-color:#e2e2e2;clear:both}a{color:#333}a:hover{color:#777}a cite{*cursor:pointer}.layui-box,.layui-box *{-webkit-box-sizing:content-box!important;-moz-box-sizing:content-box!important;box-sizing:content-box!important}.layui-border-box,.layui-border-box *{-webkit-box-sizing:border-box!important;-moz-box-sizing:border-box!important;box-sizing:border-box!important}.layui-clear{clear:both;*zoom:1}.layui-clear:after{content:'\20';clear:both;*zoom:1;display:block;height:0}.layui-inline{position:relative;display:inline-block;*display:inline;*zoom:1}.layui-edge{position:absolute;width:0;height:0;border-style:dashed;border-color:transparent;overflow:hidden}.layui-elip{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-disabled,.layui-disabled:hover{color:#d2d2d2!important;cursor:not-allowed!important}.layui-circle{border-radius:100%}.layui-show{display:block!important}.layui-hide{display:none!important}.layui-main{position:relative;width:1140px;margin:0 auto}.layui-header{position:relative;z-index:1000;height:65px}.layui-header a:hover{transition:all .5s;-webkit-transition:all .5s}.layui-side{position:fixed;top:0;bottom:0;z-index:999;width:200px;overflow-x:hidden}.layui-side-scroll{width:220px;height:100%;overflow-x:hidden}.layui-body{position:absolute;left:200px;right:0;top:0;bottom:0;z-index:998;width:auto;overflow:hidden;overflow-y:auto;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.layui-layout-admin .layui-header{border-bottom:5px solid #1AA094}.layui-layout-admin .layui-side{top:70px;width:200px;overflow-x:hidden}.layui-layout-admin .layui-body{top:70px;bottom:44px}.layui-layout-admin .layui-main{width:auto;margin:0 15px}.layui-layout-admin .layui-footer{position:fixed;left:200px;right:0;bottom:0;height:44px;background-color:#eee}.layui-btn,.layui-input,.layui-select,.layui-textarea,.layui-upload-button{outline:0;-webkit-transition:border-color .3s cubic-bezier(.65,.05,.35,.5);transition:border-color .3s cubic-bezier(.65,.05,.35,.5);-webkit-box-sizing:border-box!important;-moz-box-sizing:border-box!important;box-sizing:border-box!important}.layui-elem-quote{margin-bottom:10px;padding:15px;line-height:22px;border-left:5px solid #009688;border-radius:0 2px 2px 0;background-color:#f2f2f2}.layui-quote-nm{border-color:#e2e2e2;border-style:solid;border-width:1px 1px 1px 5px;background:0 0}.layui-elem-field{margin-bottom:10px;padding:0;border:1px solid #e2e2e2}.layui-elem-field legend{margin-left:20px;padding:0 10px;font-size:20px;font-weight:300}.layui-field-title{margin:10px 0 20px;border:none;border-top:1px solid #e2e2e2}.layui-field-box{padding:10px 15px}.layui-field-title .layui-field-box{padding:10px 0}.layui-bg-black{background-color:#393D49;color:#c2c2c2}.layui-bg-black a{color:#c2c2c2}.layui-bg-black a:hover{color:#fff}.layui-bg-gray{background-color:#eee;color:#333}.layui-bg-green{background-color:#009688;color:#D7EEE8}.layui-bg-blue{background-color:#1E9FFF;color:#D7EEE8}.layui-word-aux{font-size:12px;color:#999;padding:0 5px}.layui-btn{display:inline-block;height:38px;line-height:38px;padding:0 18px;background-color:#009688;color:#fff;white-space:nowrap;text-align:center;border:none;border-radius:2px;cursor:pointer;opacity:.9;filter:alpha(opacity=90)}.layui-btn:hover{opacity:.8;filter:alpha(opacity=80);color:#fff}.layui-btn:active{opacity:1;filter:alpha(opacity=100)}.layui-btn+.layui-btn{margin-left:10px}.layui-btn-radius{border-radius:100px}.layui-btn .layui-icon{font-size:18px;vertical-align:bottom}.layui-btn-primary{border:1px solid #C9C9C9;background-color:#fff;color:#555}.layui-btn-primary:hover{border-color:#009688;color:#333}.layui-btn-normal{background-color:#1E9FFF}.layui-btn-warm{background-color:#F7B824}.layui-btn-danger{background-color:#FF5722}.layui-btn-disabled,.layui-btn-disabled:active,.layui-btn-disabled:hover{border:1px solid #e6e6e6;background-color:#FBFBFB;color:#C9C9C9;cursor:not-allowed;opacity:1}.layui-btn-big{height:44px;line-height:44px;padding:0 25px;font-size:16px}.layui-btn-small{height:30px;line-height:30px;padding:0 10px;font-size:12px}.layui-btn-small i{font-size:16px!important}.layui-btn-mini{height:22px;line-height:22px;padding:0 5px;font-size:12px}.layui-btn-mini i{font-size:14px!important}.layui-input,.layui-select,.layui-textarea{height:38px;line-height:38px;line-height:36px\9;border:1px solid #e6e6e6;background-color:#fff;border-radius:2px}.layui-form-label,.layui-form-mid,.layui-textarea{line-height:20px;position:relative}.layui-input,.layui-textarea{display:block;width:100%;padding-left:10px}.layui-input:hover,.layui-textarea:hover{border-color:#D2D2D2!important}.layui-input:focus,.layui-textarea:focus{border-color:#C9C9C9!important}.layui-textarea{min-height:100px;height:auto;padding:6px 10px;resize:vertical}.layui-select{padding:0 10px}.layui-form input[type=checkbox],.layui-form input[type=radio],.layui-form select{display:none}.layui-form-item{margin-bottom:15px;clear:both;*zoom:1}.layui-form-item:after{content:'\20';clear:both;*zoom:1;display:block;height:0}.layui-form-label{float:left;display:block;padding:9px 15px;width:80px;font-weight:400;text-align:right}.layui-form-item .layui-inline{margin-bottom:5px;margin-right:10px}.layui-input-block,.layui-input-inline{position:relative}.layui-input-block{margin-left:110px;min-height:36px}.layui-input-inline{display:inline-block;vertical-align:middle}.layui-form-item .layui-input-inline{float:left;width:190px;margin-right:10px}.layui-form-text .layui-input-inline{width:auto}.layui-form-mid{float:left;display:block;padding:8px 0;margin-right:10px}.layui-form-danger+.layui-form-select .layui-input,.layui-form-danger:focus{border:1px solid #FF5722!important}.layui-form-select{position:relative}.layui-form-select .layui-input{padding-right:30px;cursor:pointer}.layui-form-select .layui-edge{position:absolute;right:10px;top:50%;margin-top:-3px;cursor:pointer;border-width:6px;border-top-color:#c2c2c2;border-top-style:solid;transition:all .3s;-webkit-transition:all .3s}.layui-form-checkbox,.layui-form-switch{-webkit-transition:.1s linear;cursor:pointer}.layui-form-select dl{display:none;position:absolute;left:0;top:42px;padding:5px 0;z-index:999;border:1px solid #d2d2d2;max-height:300px;overflow-y:auto;background-color:#fff;border-radius:2px;box-sizing:border-box}.layui-form-select dl dd,.layui-form-select dl dt{padding:0 10px;line-height:36px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.layui-form-select dl dt{font-size:12px;color:#999}.layui-form-select dl dd{cursor:pointer}.layui-form-select dl dd:hover{background-color:#f2f2f2}.layui-form-select .layui-select-group dd{padding-left:20px}.layui-form-select dl dd.layui-this{background-color:#5FB878;color:#fff}.layui-form-checkbox,.layui-form-select dl dd.layui-disabled{background-color:#fff}.layui-form-selected dl{display:block}.layui-form-checkbox,.layui-form-checkbox *,.layui-form-radio,.layui-form-radio *,.layui-form-switch{display:inline-block;vertical-align:middle}.layui-form-selected .layui-edge{margin-top:-9px;-webkit-transform:rotate(180deg);transform:rotate(180deg);margin-top:-3px\9}:root .layui-form-selected .layui-edge{margin-top:-9px\0/IE9}.layui-select-disabled .layui-disabled{border-color:#eee!important}.layui-select-disabled .layui-edge{border-top-color:#d2d2d2}.layui-form-checkbox{position:relative;height:30px;line-height:28px;margin:4px 10px 0 0;padding-right:30px;border:1px solid #d2d2d2;font-size:0;border-radius:2px;transition:.1s linear;box-sizing:border-box!important}.layui-form-checkbox:hover{border:1px solid #c2c2c2}.layui-form-checkbox span{padding:0 10px;font-size:14px;background-color:#d2d2d2;color:#fff;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.layui-form-checkbox:hover span{background-color:#c2c2c2}.layui-form-checkbox i{position:absolute;right:0;width:37px;color:#fff;font-size:20px}.layui-form-checkbox:hover i{color:#c2c2c2}.layui-form-checked,.layui-form-checked:hover{border:1px solid #5FB878}.layui-form-checked span,.layui-form-checked:hover span{background-color:#5FB878}.layui-form-checked i,.layui-form-checked:hover i{color:#5FB878}.layui-form-switch{position:relative;height:22px;line-height:22px;width:40px;padding:0 5px;margin-top:8px;border:1px solid #d2d2d2;border-radius:20px;background-color:#fff;transition:.1s linear}.layui-form-switch i{position:absolute;left:5px;top:3px;width:16px;height:16px;border-radius:20px;background-color:#d2d2d2;-webkit-transition:.1s linear;transition:.1s linear}.layui-form-onswitch{border-color:#5FB878;background-color:#5FB878}.layui-form-onswitch:before{content:'ON';color:#fff}.layui-form-onswitch i{left:30px;background-color:#fff}.layui-checkbox-disbaled{border-color:#e2e2e2!important}.layui-checkbox-disbaled span{background-color:#e2e2e2!important}.layui-checkbox-disbaled:hover i{color:#fff!important}.layui-form-radio{line-height:28px;margin:6px 10px 0 0;padding-right:10px;cursor:pointer;font-size:0}.layui-form-radio i{margin-right:8px;font-size:22px;color:#c2c2c2}.layui-form-radio span{font-size:14px}.layui-form-radio i:hover,.layui-form-radioed i{color:#5FB878}.layui-radio-disbaled i{color:#e2e2e2!important}.layui-form-pane .layui-form-label{width:80px;padding:8px 15px;line-height:20px;border:1px solid #e6e6e6;border-radius:2px 0 0 2px;text-align:center;background-color:#FBFBFB;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.layui-form-pane .layui-input-inline{margin-left:-1px}.layui-form-pane .layui-input-block{margin-left:112px;left:-1px}.layui-form-pane .layui-input{border-radius:0 2px 2px 0}.layui-form-pane .layui-form-text .layui-form-label{float:none;width:100%;border-right:1px solid #e6e6e6;border-radius:2px;box-sizing:border-box!important;text-align:left}.layui-laypage button,.layui-laypage input,.layui-nav{-webkit-box-sizing:border-box!important;-moz-box-sizing:border-box!important}.layui-form-pane .layui-form-text .layui-input-inline{display:block;margin:0;top:-1px;clear:both}.layui-form-pane .layui-form-text .layui-input-block{margin:0;left:0;top:-1px}.layui-form-pane .layui-form-text .layui-textarea{min-height:100px;border-radius:0 0 2px 2px}.layui-form-pane .layui-input:hover,.layui-form-pane .layui-textarea:hover{border-color:#e6e6e6!important}.layui-form-pane .layui-input:focus,.layui-form-pane .layui-textarea:focus{border-color:#e6e6e6!important}.layui-form-pane .layui-form-checkbox{margin:0 0 10px 10px}.layui-form-pane .layui-form-radio,.layui-form-pane .layui-form-switch{margin-left:10px}.layui-layedit{border:1px solid #d2d2d2;border-radius:2px}.layui-layedit-tool{padding:3px 5px;border-bottom:1px solid #e2e2e2;font-size:0}.layedit-tool-fixed{position:fixed;top:0;border-top:1px solid #e2e2e2}.layui-layedit-tool .layedit-tool-mid,.layui-layedit-tool .layui-icon{display:inline-block;vertical-align:middle;text-align:center;font-size:14px}.layui-layedit-tool .layui-icon{position:relative;width:32px;height:30px;line-height:30px;margin:3px 5px;color:#777;cursor:pointer;border-radius:2px}.layui-layedit-tool .layui-icon:hover{color:#393D49}.layui-layedit-tool .layui-icon:active{color:#000}.layui-layedit-tool .layedit-tool-active{background-color:#e2e2e2;color:#000}.layui-layedit-tool .layui-disabled,.layui-layedit-tool .layui-disabled:hover{color:#d2d2d2;cursor:not-allowed}.layui-layedit-tool .layedit-tool-mid{width:1px;height:18px;margin:0 10px;background-color:#d2d2d2}.layedit-tool-html{width:50px!important;font-size:30px!important}.layedit-tool-b,.layedit-tool-code,.layedit-tool-help{font-size:16px!important}.layedit-tool-d,.layedit-tool-face,.layedit-tool-image,.layedit-tool-unlink{font-size:18px!important}.layedit-tool-image input{position:absolute;font-size:0;left:0;top:0;width:100%;height:100%;opacity:.01;filter:Alpha(opacity=1);cursor:pointer}.layui-layedit-iframe iframe{display:block;width:100%}#LAY_layedit_code{overflow:hidden}.layui-table{width:100%;margin:10px 0;background-color:#fff}.layui-table tr{transition:all .3s;-webkit-transition:all .3s}.layui-table thead tr{background-color:#f2f2f2}.layui-table th{text-align:left}.layui-table td,.layui-table th{padding:9px 15px;min-height:20px;line-height:20px;border:1px solid #e2e2e2;font-size:14px}.layui-table tr:hover,.layui-table[lay-even] tr:nth-child(even){background-color:#f8f8f8}.layui-table[lay-skin=line],.layui-table[lay-skin=row]{border:1px solid #e2e2e2}.layui-table[lay-skin=line] td,.layui-table[lay-skin=line] th{border:none;border-bottom:1px solid #e2e2e2}.layui-table[lay-skin=row] td,.layui-table[lay-skin=row] th{border:none;border-right:1px solid #e2e2e2}.layui-table[lay-skin=nob] td,.layui-table[lay-skin=nob] th{border:none}.layui-upload-button{position:relative;display:inline-block;vertical-align:middle;min-width:60px;height:38px;line-height:38px;border:1px solid #DFDFDF;border-radius:2px;overflow:hidden;background-color:#fff;color:#666}.layui-upload-button:hover{border:1px solid #aaa;color:#333}.layui-upload-button:active{border:1px solid #4CAF50;color:#000}.layui-upload-button input,.layui-upload-file{opacity:.01;filter:Alpha(opacity=1);cursor:pointer}.layui-upload-button input{position:absolute;left:0;top:0;z-index:10;font-size:100px;width:100%;height:100%}.layui-upload-icon{display:block;margin:0 15px;text-align:center}.layui-upload-icon i{margin-right:5px;vertical-align:top;font-size:20px;color:#5FB878}.layui-upload-iframe{position:absolute;width:0;height:0;border:0;visibility:hidden}.layui-upload-enter{border:1px solid #009E94;background-color:#009E94;color:#fff;-webkit-transform:scale(1.1);transform:scale(1.1)}.layui-upload-enter .layui-upload-icon,.layui-upload-enter .layui-upload-icon i{color:#fff}.layui-flow-more{margin:10px 0;text-align:center;color:#999;font-size:14px}.layui-flow-more a{height:32px;line-height:32px}.layui-flow-more a *{display:inline-block;vertical-align:top}.layui-flow-more a cite{padding:0 20px;border-radius:3px;background-color:#eee;color:#333}.layui-flow-more a cite:hover{opacity:.8}.layui-flow-more a i{font-size:30px;color:#737383}.layui-laypage{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;margin:10px 0;font-size:0}.layui-laypage>:first-child,.layui-laypage>:first-child em{border-radius:2px 0 0 2px}.layui-laypage>:last-child,.layui-laypage>:last-child em{border-radius:0 2px 2px 0}.layui-laypage a,.layui-laypage span{display:inline-block;*display:inline;*zoom:1;vertical-align:middle;padding:0 15px;border:1px solid #e2e2e2;height:28px;line-height:28px;margin:0 -1px 5px 0;background-color:#fff;color:#333;font-size:12px}.layui-laypage span{color:#999;font-weight:700}.layui-laypage .layui-laypage-curr{position:relative}.layui-laypage .layui-laypage-curr em{position:relative;color:#fff;font-weight:400}.layui-laypage .layui-laypage-curr .layui-laypage-em{position:absolute;left:-1px;top:-1px;padding:1px;width:100%;height:100%;background-color:#009688}.layui-laypage-em{border-radius:2px}.layui-laypage-next em,.layui-laypage-prev em{font-family:Sim sun;font-size:16px}.layui-laypage .layui-laypage-total{height:30px;line-height:30px;margin-left:1px;border:none;font-weight:400}.layui-laypage button,.layui-laypage input{height:30px;line-height:30px;border:1px solid #e2e2e2;border-radius:2px;vertical-align:top;background-color:#fff;box-sizing:border-box!important}.layui-laypage input{width:50px;margin:0 5px;text-align:center}.layui-laypage button{margin-left:5px;padding:0 15px;cursor:pointer}.layui-code{position:relative;margin:10px 0;padding:15px;line-height:20px;border:1px solid #ddd;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New;font-size:12px}.layui-tree{line-height:26px}.layui-tree li{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-tree li .layui-tree-spread,.layui-tree li a{display:inline-block;vertical-align:top;height:26px;*display:inline;*zoom:1;cursor:pointer}.layui-tree li a{font-size:0}.layui-tree li a i{font-size:16px}.layui-tree li a cite{padding:0 6px;font-size:14px}.layui-tree li i{padding-left:6px;color:#333}.layui-tree li .layui-tree-check{font-size:13px}.layui-tree li .layui-tree-check:hover{color:#009E94}.layui-tree li ul{display:none;margin-left:20px}.layui-tree li .layui-tree-enter{line-height:24px;border:1px dotted #000}.layui-tree-drag{display:none;position:absolute;left:-666px;top:-666px;background-color:#f2f2f2;padding:5px 10px;border:1px dotted #000;white-space:nowrap}.layui-nav .layui-nav-item,.layui-tab-title li{display:inline-block;*zoom:1;vertical-align:middle}.layui-tree-drag i{padding-right:5px}.layui-nav{position:relative;padding:0 20px;background-color:#393D49;color:#c2c2c2;border-radius:2px;font-size:0;box-sizing:border-box!important}.layui-nav *{font-size:14px}.layui-nav .layui-nav-item{position:relative;*display:inline;line-height:60px}.layui-nav .layui-nav-item a{display:block;padding:0 20px;color:#c2c2c2;transition:all .3s;-webkit-transition:all .3s}.layui-nav .layui-this:after,.layui-nav-bar,.layui-nav-tree .layui-nav-itemed:after{position:absolute;left:0;top:0;width:0;height:5px;background-color:#5FB878;transition:all .2s;-webkit-transition:all .2s}.layui-nav-bar{z-index:1000}.layui-nav .layui-nav-item a:hover,.layui-nav .layui-this a{color:#fff}.layui-nav .layui-this:after{content:'';top:auto;bottom:0;width:100%}.layui-nav .layui-nav-more{content:'';width:0;height:0;border-style:solid dashed dashed;border-color:#c2c2c2 transparent transparent;overflow:hidden;cursor:pointer;transition:all .2s;-webkit-transition:all .2s;position:absolute;top:28px;right:3px;border-width:6px}.layui-nav .layui-nav-mored,.layui-nav-itemed .layui-nav-more{top:22px;border-style:dashed dashed solid;border-color:transparent transparent #c2c2c2}.layui-nav-child{display:none;position:absolute;left:0;top:65px;line-height:36px;padding:5px 0;border:1px solid #d2d2d2;background-color:#fff;z-index:100;border-radius:2px;white-space:nowrap}.layui-nav .layui-nav-child a{color:#333}.layui-nav .layui-nav-child a:hover{background-color:#f2f2f2;color:#333}.layui-nav-child dd{position:relative}.layui-nav-child dd.layui-this{background-color:#5FB878;color:#fff}.layui-nav-child dd.layui-this a{color:#fff}.layui-nav-child dd.layui-this:after{display:none}.layui-nav-tree{width:200px;padding:0}.layui-nav-tree .layui-nav-item{display:block;width:100%;line-height:45px}.layui-nav-tree .layui-nav-item a{height:45px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-nav-tree .layui-nav-item a:hover{background-color:#4E5465}.layui-nav-tree .layui-nav-child dd.layui-this,.layui-nav-tree .layui-this,.layui-nav-tree .layui-this>a,.layui-nav-tree .layui-this>a:hover{background-color:#009688;color:#fff}.layui-nav-tree .layui-this:after{display:none}.layui-nav-itemed>a,.layui-nav-tree .layui-nav-title a,.layui-nav-tree .layui-nav-title a:hover{background-color:#2B2E37!important;color:#fff!important}.layui-nav-tree .layui-nav-bar{width:5px;height:0;background-color:#009688}.layui-nav-tree .layui-nav-child{position:relative;z-index:0;top:0;border:none;box-shadow:none}.layui-nav-tree .layui-nav-child a{height:40px;line-height:40px;color:#c2c2c2}.layui-nav-tree .layui-nav-child,.layui-nav-tree .layui-nav-child a:hover{background:0 0;color:#fff}.layui-nav-tree .layui-nav-more{top:20px;right:10px}.layui-nav-itemed .layui-nav-more{top:14px}.layui-nav-itemed .layui-nav-child{display:block;padding:0}.layui-nav-side{position:fixed;top:0;bottom:0;left:0;overflow-x:hidden;z-index:999}.layui-breadcrumb{visibility:hidden;font-size:0}.layui-breadcrumb a{padding-right:8px;line-height:22px;font-size:14px;color:#333!important}.layui-breadcrumb a:hover{color:#01AAED!important}.layui-breadcrumb a cite,.layui-breadcrumb a span{color:#666;cursor:text;font-style:normal}.layui-breadcrumb a span{padding-left:8px;font-family:Sim sun}.layui-tab{margin:10px 0;overflow:hidden;text-align:left!important}.layui-fixbar li,.layui-tab-bar,.layui-tab-title li,.layui-util-face ul li{cursor:pointer;text-align:center}.layui-tab-title{position:relative;left:0;height:40px;white-space:nowrap;font-size:0;border-bottom:1px solid #e2e2e2;transition:all .2s;-webkit-transition:all .2s}.layui-tab-title li{*display:inline;font-size:14px;transition:all .3s;-webkit-transition:all .3s;position:relative;line-height:40px;min-width:65px;padding:0 10px}.layui-tab-title .layui-this{color:#000}.layui-tab-title .layui-this:after{position:absolute;left:0;top:0;content:'';width:100%;height:41px;border:1px solid #e2e2e2;border-bottom-color:#fff;border-radius:2px 2px 0 0;-webkit-box-sizing:border-box!important;-moz-box-sizing:border-box!important;box-sizing:border-box!important;pointer-events:none}.layui-tab-bar{position:absolute;right:0;top:0;width:30px;height:39px;line-height:39px;border:1px solid #e2e2e2;border-radius:2px;background-color:#fff}.layui-tab-bar .layui-icon{position:relative;display:inline-block;top:3px;transition:all .3s;-webkit-transition:all .3s}.layui-tab-item,.layui-util-face .layui-layer-TipsG{display:none}.layui-tab-more{padding-right:30px;height:auto;white-space:normal}.layui-tab-more li.layui-this:after{border-bottom-color:#e2e2e2;border-radius:2px}.layui-tab-more .layui-tab-bar .layui-icon{top:-2px;top:3px\9;-webkit-transform:rotate(180deg);transform:rotate(180deg)}:root .layui-tab-more .layui-tab-bar .layui-icon{top:-2px\0/IE9}.layui-tab-content{padding:10px}.layui-tab-title li .layui-tab-close{position:relative;margin-left:8px;top:1px;color:#c2c2c2}.layui-tab-title li .layui-tab-close:hover{border-radius:10px;background-color:#FF5722;color:#fff}.layui-tab-brief>.layui-tab-title .layui-this{color:#009688}.layui-tab-brief>.layui-tab-more li.layui-this:after,.layui-tab-brief>.layui-tab-title .layui-this:after{border:none;border-radius:0;border-bottom:3px solid #5FB878}.layui-tab-card{border:1px solid #e2e2e2;border-radius:2px;box-shadow:0 2px 5px 0 rgba(0,0,0,.1)}.layui-tab-card>.layui-tab-title{background-color:#f2f2f2}.layui-tab-card>.layui-tab-title li{margin-right:-1px;margin-left:-1px}.layui-tab-card>.layui-tab-title .layui-this{background-color:#fff}.layui-tab-card>.layui-tab-title .layui-this:after{border-top:none;border-width:1px;border-bottom-color:#fff}.layui-tab-card>.layui-tab-title .layui-tab-bar{height:40px;line-height:40px;border-radius:0;border-top:none;border-right:none}.layui-tab-card>.layui-tab-more .layui-this{background:0 0;color:#5FB878}.layui-tab-card>.layui-tab-more .layui-this:after{border:none}.layui-fixbar{position:fixed;right:15px;bottom:15px;z-index:9999}.layui-fixbar li{width:50px;height:50px;line-height:50px;margin-bottom:1px;font-size:30px;background-color:#9F9F9F;color:#fff;border-radius:2px;opacity:.95}.layui-fixbar li:hover{opacity:.85}.layui-fixbar li:active{opacity:1}.layui-fixbar .layui-fixbar-top{display:none;font-size:40px}body .layui-util-face{border:none;background:0 0}body .layui-util-face .layui-layer-content{padding:0;background-color:#fff;color:#666;box-shadow:none}.layui-util-face ul{position:relative;width:372px;padding:10px;border:1px solid #D9D9D9;background-color:#fff;box-shadow:0 0 20px rgba(0,0,0,.2)}.layui-util-face ul li{float:left;border:1px solid #e8e8e8;height:22px;width:26px;overflow:hidden;margin:-1px 0 0 -1px;padding:4px 2px}.layui-util-face ul li:hover{position:relative;z-index:2;border:1px solid #eb7350;background:#fff9ec}.layui-anim{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.layui-anim-loop{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}@-webkit-keyframes layui-rotate{from{-webkit-transform:rotate(0)}to{-webkit-transform:rotate(360deg)}}@keyframes layui-rotate{from{transform:rotate(0)}to{transform:rotate(360deg)}}.layui-anim-rotate{-webkit-animation-name:layui-rotate;animation-name:layui-rotate;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-timing-function:linear;animation-timing-function:linear}@-webkit-keyframes layui-up{from{-webkit-transform:translate3d(0,100%,0);opacity:.3}to{-webkit-transform:translate3d(0,0,0);opacity:1}}@keyframes layui-up{from{transform:translate3d(0,100%,0);opacity:.3}to{transform:translate3d(0,0,0);opacity:1}}.layui-anim-up{-webkit-animation-name:layui-up;animation-name:layui-up}@-webkit-keyframes layui-upbit{from{-webkit-transform:translate3d(0,30px,0);opacity:.3}to{-webkit-transform:translate3d(0,0,0);opacity:1}}@keyframes layui-upbit{from{transform:translate3d(0,30px,0);opacity:.3}to{transform:translate3d(0,0,0);opacity:1}}.layui-anim-upbit{-webkit-animation-name:layui-upbit;animation-name:layui-upbit}@-webkit-keyframes layui-scale{0%{opacity:.3;-webkit-transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes layui-scale{0%{opacity:.3;-ms-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-ms-transform:scale(1);transform:scale(1)}}.layui-anim-scale{-webkit-animation-name:layui-scale;animation-name:layui-scale}@-webkit-keyframes layui-scale-spring{0%{opacity:.5;-webkit-transform:scale(.5)}80%{opacity:.8;-webkit-transform:scale(1.1)}100%{opacity:1;-webkit-transform:scale(1)}}@keyframes layui-scale-spring{0%{opacity:.5;-ms-transform:scale(.5);transform:scale(.5)}80%{opacity:.8;-ms-transform:scale(1.1);transform:scale(1.1)}100%{opacity:1;-ms-transform:scale(1);transform:scale(1)}}.layui-anim-scaleSpring{-webkit-animation-name:layui-scale-spring;animation-name:layui-scale-spring}@media screen and (max-width:450px){.layui-form-item .layui-form-label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.layui-form-item .layui-inline{display:block;margin-right:0;margin-bottom:20px;clear:both}.layui-form-item .layui-inline:after{content:'\20';clear:both;display:block;height:0}.layui-form-item .layui-input-inline{display:block;float:none;left:-1px;width:auto;margin:0 0 10px 112px}.layui-form-item .layui-input-inline+.layui-form-mid{margin-left:110px;top:-5px;padding:0}.layui-form-item .layui-form-checkbox{margin-right:5px;margin-bottom:5px}} |
| 1 | +/** layui-v1.0.7 LGPL License By http://www.layui.com */ | ||
| 2 | + html #layuicss-skincodecss{display:none;position:absolute;width:1989px}.layui-code-h3,.layui-code-view{position:relative;font-size:12px}.layui-code-view{display:block;margin:10px 0;padding:0;border:1px solid #ddd;border-left-width:6px;background-color:#F2F2F2;color:#333;font-family:Courier New}.layui-code-h3{padding:0 10px;height:30px;line-height:30px;border-bottom:1px solid #ddd}.layui-code-h3 a{position:absolute;right:10px;top:0;color:#999}.layui-code-view .layui-code-ol{position:relative;overflow:auto}.layui-code-view .layui-code-ol li{position:relative;margin-left:45px;line-height:20px;padding:0 5px;border-left:1px solid #ddd;list-style-type:decimal-leading-zero;*list-style-type:decimal;background-color:#fff}.layui-code-view pre{margin:0}.layui-code-notepad{border:1px solid #0C0C0C;border-left-color:#3F3F3F;background-color:#0C0C0C;color:#C2BE9E}.layui-code-notepad .layui-code-h3{border-bottom:none}.layui-code-notepad .layui-code-ol li{background-color:#3F3F3F;border-left:none} |
| 1 | +/** layui-v1.0.7 LGPL License By http://www.layui.com */ | ||
| 2 | + #layuicss-laydatecss{display:none;position:absolute;width:1989px}.laydate_body .laydate_box,.laydate_body .laydate_box *{margin:0;padding:0;box-sizing:content-box}.laydate-icon,.laydate-icon-dahong,.laydate-icon-danlan,.laydate-icon-default,.laydate-icon-molv{height:22px;line-height:22px;padding-right:20px;border:1px solid #C6C6C6;background-repeat:no-repeat;background-position:right center;background-color:#fff;outline:0}.laydate-icon-default{background-image:url(../skins/default/icon.png)}.laydate-icon-danlan{border:1px solid #B1D2EC;background-image:url(../skins/danlan/icon.png)}.laydate-icon-dahong{background-image:url(../skins/dahong/icon.png)}.laydate-icon-molv{background-image:url(../skins/molv/icon.png)}.laydate_body .laydate_box{width:240px;font:12px '\5B8B\4F53';z-index:99999999;*overflow:hidden;_margin:0;_position:absolute!important}.laydate_body .laydate_box li{list-style:none}.laydate_body .laydate_box .laydate_void{cursor:text!important}.laydate_body .laydate_box cite,.laydate_body .laydate_box label{position:absolute;width:0;height:0;border-width:5px;border-style:dashed;border-color:transparent;overflow:hidden;cursor:pointer}.laydate_body .laydate_box .laydate_time,.laydate_body .laydate_box .laydate_yms{display:none}.laydate_body .laydate_box .laydate_show{display:block}.laydate_body .laydate_box input{outline:0;font-size:14px;background-color:#fff;color:#333}.laydate_body .laydate_top{position:relative;height:26px;padding:5px;*width:100%;z-index:99}.laydate_body .laydate_ym{position:relative;float:left;height:24px;cursor:pointer}.laydate_body .laydate_ym input{float:left;height:24px;line-height:24px;text-align:center;border:none;cursor:pointer}.laydate_body .laydate_ym .laydate_yms{position:absolute;left:-1px;top:24px;height:181px}.laydate_body .laydate_y{width:121px;margin-right:6px}.laydate_body .laydate_y input{width:64px;margin-right:15px}.laydate_body .laydate_y .laydate_yms{width:121px;text-align:center}.laydate_body .laydate_y .laydate_yms a{position:relative;display:block;height:20px}.laydate_body .laydate_y .laydate_yms ul{height:139px;padding:0;*overflow:hidden}.laydate_body .laydate_y .laydate_yms ul li{float:left;width:60px;height:20px;line-height:20px;text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.laydate_body .laydate_m{width:99px}.laydate_body .laydate_m .laydate_yms{width:99px;padding:0}.laydate_body .laydate_m input{width:42px;margin-right:15px}.laydate_body .laydate_m .laydate_yms span{display:block;float:left;width:42px;margin:5px 0 0 5px;line-height:24px;text-align:center;_display:inline}.laydate_body .laydate_choose{display:block;float:left;position:relative;width:20px;height:24px}.laydate_body .laydate_choose cite,.laydate_body .laydate_tab cite{left:50%;top:50%}.laydate_body .laydate_chtop cite{margin:-7px 0 0 -5px;border-bottom-style:solid}.laydate_body .laydate_chdown cite,.laydate_body .laydate_ym label{top:50%;margin:-2px 0 0 -5px;border-top-style:solid}.laydate_body .laydate_chprev cite{margin:-5px 0 0 -7px}.laydate_body .laydate_chnext cite{margin:-5px 0 0 -2px}.laydate_body .laydate_ym label{right:28px}.laydate_body .laydate_table{width:230px;margin:0 5px;border-collapse:collapse;border-spacing:0}.laydate_body .laydate_table td{width:31px;text-align:center;cursor:pointer;font-size:12px}.laydate_body .laydate_table thead th{font-weight:400;font-size:12px;text-align:center}.laydate_body .laydate_bottom{position:relative;height:22px;line-height:20px;padding:5px;font-size:12px}.laydate_body .laydate_bottom #laydate_hms{position:relative;z-index:1;float:left}.laydate_body .laydate_time{position:absolute;left:5px;bottom:26px;width:129px;height:125px;*overflow:hidden}.laydate_body .laydate_time .laydate_hmsno{padding:5px 0 0 5px}.laydate_body .laydate_time .laydate_hmsno span{display:block;float:left;width:24px;height:19px;line-height:19px;text-align:center;cursor:pointer;*margin-bottom:-5px}.laydate_body .laydate_time1{width:228px;height:154px}.laydate_body .laydate_time1 .laydate_hmsno{padding:6px 0 0 8px}.laydate_body .laydate_time1 .laydate_hmsno span{width:21px;height:20px;line-height:20px}.laydate_body .laydate_msg{left:49px;bottom:67px;width:141px;height:auto;overflow:hidden}.laydate_body .laydate_msg p{padding:5px 10px}.laydate_body .laydate_bottom li{float:left;height:20px;line-height:20px;border-right:none;font-weight:900}.laydate_body .laydate_bottom .laydate_sj{width:33px;text-align:center;font-weight:400}.laydate_body .laydate_bottom input{float:left;width:21px;height:20px;line-height:20px;border:none;text-align:center;cursor:pointer;font-size:12px;font-weight:400}.laydate_body .laydate_bottom .laydte_hsmtex{height:20px;line-height:20px;text-align:center}.laydate_body .laydate_bottom .laydte_hsmtex span{position:absolute;width:20px;top:0;right:0;cursor:pointer}.laydate_body .laydate_bottom .laydte_hsmtex span:hover{font-size:14px}.laydate_body .laydate_bottom .laydate_btn{position:absolute;right:5px;top:5px}.laydate_body .laydate_bottom .laydate_btn a{float:left;height:20px;padding:0 6px;_padding:0 5px}.laydate_body .laydate_table td,.laydate_body .laydate_table thead{height:21px!important;line-height:21px!important}.laydate-icon{border:1px solid #C6C6C6;background-image:url(icon.png)}.laydate_body .laydate_bottom #laydate_hms,.laydate_body .laydate_bottom .laydate_btn a,.laydate_body .laydate_box,.laydate_body .laydate_table,.laydate_body .laydate_table td,.laydate_body .laydate_time,.laydate_body .laydate_ym,.laydate_body .laydate_ym .laydate_yms{border:1px solid #ccc}.laydate_body .laydate_bottom .laydte_hsmtex,.laydate_body .laydate_choose,.laydate_body .laydate_table thead,.laydate_body .laydate_y .laydate_yms a{background-color:#F6F6F6}.laydate_body .laydate_box,.laydate_body .laydate_time,.laydate_body .laydate_ym .laydate_yms{box-shadow:2px 2px 5px rgba(0,0,0,.1)}.laydate_body .laydate_box{border-top:none;border-bottom:none;background-color:#fff;color:#333}.laydate_body .laydate_box .laydate_void{color:#ccc!important}.laydate_body .laydate_box .laydate_void:hover{background-color:#fff!important}.laydate_body .laydate_box a,.laydate_body .laydate_box a:hover{text-decoration:none;blr:expression(this.onFocus=this.blur());cursor:pointer;color:#333}.laydate_body .laydate_box a:hover{text-decoration:none;color:#666}.laydate_body .laydate_click{background-color:#eee!important}.laydate_body .laydate_bottom #laydate_hms,.laydate_body .laydate_choose:hover,.laydate_body .laydate_table td,.laydate_body .laydate_time,.laydate_body .laydate_y .laydate_yms a:hover{background-color:#fff}.laydate_body .laydate_top{border-top:1px solid #C6C6C6}.laydate_body .laydate_ym .laydate_yms{border:1px solid #C6C6C6;background-color:#fff}.laydate_body .laydate_y .laydate_yms a{border-bottom:1px solid #C6C6C6}.laydate_body .laydate_y .laydate_yms .laydate_chdown{border-top:1px solid #C6C6C6;border-bottom:none}.laydate_body .laydate_choose{border-left:1px solid #C6C6C6}.laydate_body .laydate_chprev{border-left:none;border-right:1px solid #C6C6C6}.laydate_body .laydate_chtop cite{border-bottom-color:#666}.laydate_body .laydate_chdown cite,.laydate_body .laydate_ym label{border-top-color:#666}.laydate_body .laydate_chprev cite{border-right-style:solid;border-right-color:#666}.laydate_body .laydate_chnext cite{border-left-style:solid;border-left-color:#666}.laydate_body .laydate_table td{border:none}.laydate_body .laydate_table .laydate_nothis{color:#999}.laydate_body .laydate_table thead th{border-bottom:1px solid #ccc}.laydate_body .laydate_bottom,.laydate_body .laydate_bottom .laydte_hsmtex{border-bottom:1px solid #C6C6C6}.laydate_body .laydate_bottom .laydate_sj{border-right:1px solid #C6C6C6;background-color:#F6F6F6}.laydate_body .laydate_bottom input{background-color:#fff}.laydate_body .laydate_bottom .laydate_btn{border-right:1px solid #C6C6C6}.laydate_body .laydate_bottom .laydate_v{position:absolute;left:10px;top:6px;font-family:Courier;z-index:0;color:#999}.laydate_body .laydate_bottom .laydate_btn a{border-right:none;background-color:#F6F6F6}.laydate_body .laydate_bottom .laydate_btn a:hover{color:#000;background-color:#fff}.laydate_body .laydate_m .laydate_yms span:hover,.laydate_body .laydate_table td:hover,.laydate_body .laydate_time .laydate_hmsno span:hover,.laydate_body .laydate_y .laydate_yms ul li:hover{background-color:#F3F3F3} |
statistics/src/main/webapp/static/layui/1.0.7/layui/css/modules/layer/default/icon-ext.png
0 → 100644
5.8 KB
11.2 KB
| 1 | +/** layui-v1.0.7 LGPL License By http://www.layui.com */ | ||
| 2 | + .layui-layer-imgbar,.layui-layer-imgtit a,.layui-layer-tab .layui-layer-title span,.layui-layer-title{text-overflow:ellipsis;white-space:nowrap}*html{background-image:url(about:blank);background-attachment:fixed}html #layuicss-skinlayercss{display:none;position:absolute;width:1989px}.layui-layer,.layui-layer-shade{position:fixed;_position:absolute;pointer-events:auto}.layui-layer-shade{top:0;left:0;width:100%;height:100%;_height:expression(document.body.offsetHeight+"px")}.layui-layer{-webkit-overflow-scrolling:touch;top:150px;left:0;margin:0;padding:0;background-color:#fff;-webkit-background-clip:content;box-shadow:1px 1px 50px rgba(0,0,0,.3)}.layui-layer-close{position:absolute}.layui-layer-content{position:relative}.layui-layer-border{border:1px solid #B2B2B2;border:1px solid rgba(0,0,0,.1);box-shadow:1px 1px 5px rgba(0,0,0,.2)}.layui-layer-load{background:url(loading-1.gif) center center no-repeat #eee}.layui-layer-ico{background:url(icon.png) no-repeat}.layui-layer-btn a,.layui-layer-dialog .layui-layer-ico,.layui-layer-setwin a{display:inline-block;*display:inline;*zoom:1;vertical-align:top}.layui-layer-move{display:none;position:fixed;*position:absolute;left:0;top:0;width:100%;height:100%;cursor:move;opacity:0;filter:alpha(opacity=0);background-color:#fff;z-index:2147483647}.layui-layer-resize{position:absolute;width:15px;height:15px;right:0;bottom:0;cursor:se-resize}.layui-layer{border-radius:2px;-webkit-animation-fill-mode:both;animation-fill-mode:both;-webkit-animation-duration:.3s;animation-duration:.3s}@-webkit-keyframes bounceIn{0%{opacity:0;-webkit-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);transform:scale(1)}}@keyframes bounceIn{0%{opacity:0;-webkit-transform:scale(.5);-ms-transform:scale(.5);transform:scale(.5)}100%{opacity:1;-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.layer-anim{-webkit-animation-name:bounceIn;animation-name:bounceIn}@-webkit-keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale(.1) translateY(-2000px);transform:scale(.1) translateY(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateY(60px);transform:scale(.475) translateY(60px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes zoomInDown{0%{opacity:0;-webkit-transform:scale(.1) translateY(-2000px);-ms-transform:scale(.1) translateY(-2000px);transform:scale(.1) translateY(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateY(60px);-ms-transform:scale(.475) translateY(60px);transform:scale(.475) translateY(60px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}.layer-anim-01{-webkit-animation-name:zoomInDown;animation-name:zoomInDown}@-webkit-keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translateY(2000px);transform:translateY(2000px)}100%{opacity:1;-webkit-transform:translateY(0);transform:translateY(0)}}@keyframes fadeInUpBig{0%{opacity:0;-webkit-transform:translateY(2000px);-ms-transform:translateY(2000px);transform:translateY(2000px)}100%{opacity:1;-webkit-transform:translateY(0);-ms-transform:translateY(0);transform:translateY(0)}}.layer-anim-02{-webkit-animation-name:fadeInUpBig;animation-name:fadeInUpBig}@-webkit-keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale(.1) translateX(-2000px);transform:scale(.1) translateX(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateX(48px);transform:scale(.475) translateX(48px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}@keyframes zoomInLeft{0%{opacity:0;-webkit-transform:scale(.1) translateX(-2000px);-ms-transform:scale(.1) translateX(-2000px);transform:scale(.1) translateX(-2000px);-webkit-animation-timing-function:ease-in-out;animation-timing-function:ease-in-out}60%{opacity:1;-webkit-transform:scale(.475) translateX(48px);-ms-transform:scale(.475) translateX(48px);transform:scale(.475) translateX(48px);-webkit-animation-timing-function:ease-out;animation-timing-function:ease-out}}.layer-anim-03{-webkit-animation-name:zoomInLeft;animation-name:zoomInLeft}@-webkit-keyframes rollIn{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}100%{opacity:1;-webkit-transform:translateX(0) rotate(0);transform:translateX(0) rotate(0)}}@keyframes rollIn{0%{opacity:0;-webkit-transform:translateX(-100%) rotate(-120deg);-ms-transform:translateX(-100%) rotate(-120deg);transform:translateX(-100%) rotate(-120deg)}100%{opacity:1;-webkit-transform:translateX(0) rotate(0);-ms-transform:translateX(0) rotate(0);transform:translateX(0) rotate(0)}}.layer-anim-04{-webkit-animation-name:rollIn;animation-name:rollIn}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}}.layer-anim-05{-webkit-animation-name:fadeIn;animation-name:fadeIn}@-webkit-keyframes shake{0%,100%{-webkit-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);transform:translateX(10px)}}@keyframes shake{0%,100%{-webkit-transform:translateX(0);-ms-transform:translateX(0);transform:translateX(0)}10%,30%,50%,70%,90%{-webkit-transform:translateX(-10px);-ms-transform:translateX(-10px);transform:translateX(-10px)}20%,40%,60%,80%{-webkit-transform:translateX(10px);-ms-transform:translateX(10px);transform:translateX(10px)}}.layer-anim-06{-webkit-animation-name:shake;animation-name:shake}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-webkit-keyframes bounceOut{100%{opacity:0;-webkit-transform:scale(.7);transform:scale(.7)}30%{-webkit-transform:scale(1.05);transform:scale(1.05)}0%{-webkit-transform:scale(1);transform:scale(1)}}@keyframes bounceOut{100%{opacity:0;-webkit-transform:scale(.7);-ms-transform:scale(.7);transform:scale(.7)}30%{-webkit-transform:scale(1.05);-ms-transform:scale(1.05);transform:scale(1.05)}0%{-webkit-transform:scale(1);-ms-transform:scale(1);transform:scale(1)}}.layer-anim-close{-webkit-animation-name:bounceOut;animation-name:bounceOut;-webkit-animation-duration:.2s;animation-duration:.2s}.layui-layer-title{padding:0 80px 0 20px;height:42px;line-height:42px;border-bottom:1px solid #eee;font-size:14px;color:#333;overflow:hidden;background-color:#F8F8F8;border-radius:2px 2px 0 0}.layui-layer-setwin{position:absolute;right:15px;*right:0;top:15px;font-size:0;line-height:initial}.layui-layer-setwin a{position:relative;width:16px;height:16px;margin-left:10px;font-size:12px;_overflow:hidden}.layui-layer-setwin .layui-layer-min cite{position:absolute;width:14px;height:2px;left:0;top:50%;margin-top:-1px;background-color:#2E2D3C;cursor:pointer;_overflow:hidden}.layui-layer-setwin .layui-layer-min:hover cite{background-color:#2D93CA}.layui-layer-setwin .layui-layer-max{background-position:-32px -40px}.layui-layer-setwin .layui-layer-max:hover{background-position:-16px -40px}.layui-layer-setwin .layui-layer-maxmin{background-position:-65px -40px}.layui-layer-setwin .layui-layer-maxmin:hover{background-position:-49px -40px}.layui-layer-setwin .layui-layer-close1{background-position:0 -40px;cursor:pointer}.layui-layer-setwin .layui-layer-close1:hover{opacity:.7}.layui-layer-setwin .layui-layer-close2{position:absolute;right:-28px;top:-28px;width:30px;height:30px;margin-left:0;background-position:-149px -31px;*right:-18px;_display:none}.layui-layer-setwin .layui-layer-close2:hover{background-position:-180px -31px}.layui-layer-btn{text-align:right;padding:0 10px 12px;pointer-events:auto;user-select:none;-webkit-user-select:none}.layui-layer-btn a{height:28px;line-height:28px;margin:0 6px;padding:0 15px;border:1px solid #dedede;background-color:#f1f1f1;color:#333;border-radius:2px;font-weight:400;cursor:pointer;text-decoration:none}.layui-layer-btn a:hover{opacity:.9;text-decoration:none}.layui-layer-btn a:active{opacity:.8}.layui-layer-btn .layui-layer-btn0{border-color:#4898d5;background-color:#2e8ded;color:#fff}.layui-layer-btn-l{text-align:left}.layui-layer-btn-c{text-align:center}.layui-layer-dialog{min-width:260px}.layui-layer-dialog .layui-layer-content{position:relative;padding:20px;line-height:24px;word-break:break-all;overflow:hidden;font-size:14px;overflow-x:hidden;overflow-y:auto}.layui-layer-dialog .layui-layer-content .layui-layer-ico{position:absolute;top:16px;left:15px;_left:-40px;width:30px;height:30px}.layui-layer-ico1{background-position:-30px 0}.layui-layer-ico2{background-position:-60px 0}.layui-layer-ico3{background-position:-90px 0}.layui-layer-ico4{background-position:-120px 0}.layui-layer-ico5{background-position:-150px 0}.layui-layer-ico6{background-position:-180px 0}.layui-layer-rim{border:6px solid #8D8D8D;border:6px solid rgba(0,0,0,.3);border-radius:5px;box-shadow:none}.layui-layer-msg{min-width:180px;border:1px solid #D3D4D3;box-shadow:none}.layui-layer-hui{min-width:100px;background-color:#000;filter:alpha(opacity=60);background-color:rgba(0,0,0,.6);color:#fff;border:none}.layui-layer-hui .layui-layer-content{padding:12px 25px;text-align:center}.layui-layer-dialog .layui-layer-padding{padding:20px 20px 20px 55px;text-align:left}.layui-layer-page .layui-layer-content{position:relative;overflow:auto}.layui-layer-iframe .layui-layer-btn,.layui-layer-page .layui-layer-btn{padding-top:10px}.layui-layer-nobg{background:0 0}.layui-layer-iframe iframe{display:block;width:100%}.layui-layer-loading{border-radius:100%;background:0 0;box-shadow:none;border:none}.layui-layer-loading .layui-layer-content{width:60px;height:24px;background:url(loading-0.gif) no-repeat}.layui-layer-loading .layui-layer-loading1{width:37px;height:37px;background:url(loading-1.gif) no-repeat}.layui-layer-ico16,.layui-layer-loading .layui-layer-loading2{width:32px;height:32px;background:url(loading-2.gif) no-repeat}.layui-layer-tips{background:0 0;box-shadow:none;border:none}.layui-layer-tips .layui-layer-content{position:relative;line-height:22px;min-width:12px;padding:5px 10px;font-size:12px;_float:left;border-radius:2px;box-shadow:1px 1px 3px rgba(0,0,0,.2);background-color:#000;color:#fff}.layui-layer-tips .layui-layer-close{right:-2px;top:-1px}.layui-layer-tips i.layui-layer-TipsG{position:absolute;width:0;height:0;border-width:8px;border-color:transparent;border-style:dashed;*overflow:hidden}.layui-layer-tips i.layui-layer-TipsB,.layui-layer-tips i.layui-layer-TipsT{left:5px;border-right-style:solid;border-right-color:#000}.layui-layer-tips i.layui-layer-TipsT{bottom:-8px}.layui-layer-tips i.layui-layer-TipsB{top:-8px}.layui-layer-tips i.layui-layer-TipsL,.layui-layer-tips i.layui-layer-TipsR{top:1px;border-bottom-style:solid;border-bottom-color:#000}.layui-layer-tips i.layui-layer-TipsR{left:-8px}.layui-layer-tips i.layui-layer-TipsL{right:-8px}.layui-layer-lan[type=dialog]{min-width:280px}.layui-layer-lan .layui-layer-title{background:#4476A7;color:#fff;border:none}.layui-layer-lan .layui-layer-btn{padding:10px;text-align:right;border-top:1px solid #E9E7E7}.layui-layer-lan .layui-layer-btn a{background:#BBB5B5;border:none}.layui-layer-lan .layui-layer-btn .layui-layer-btn1{background:#C9C5C5}.layui-layer-molv .layui-layer-title{background:#009f95;color:#fff;border:none}.layui-layer-molv .layui-layer-btn a{background:#009f95}.layui-layer-molv .layui-layer-btn .layui-layer-btn1{background:#92B8B1}.layui-layer-iconext{background:url(icon-ext.png) no-repeat}.layui-layer-prompt .layui-layer-input{display:block;width:220px;height:30px;margin:0 auto;line-height:30px;padding:0 5px;border:1px solid #ccc;box-shadow:1px 1px 5px rgba(0,0,0,.1) inset;color:#333}.layui-layer-prompt textarea.layui-layer-input{width:300px;height:100px;line-height:20px}.layui-layer-prompt .layui-layer-content{padding:20px}.layui-layer-prompt .layui-layer-btn{padding-top:0}.layui-layer-tab{box-shadow:1px 1px 50px rgba(0,0,0,.4)}.layui-layer-tab .layui-layer-title{padding-left:0;border-bottom:1px solid #ccc;background-color:#eee;overflow:visible}.layui-layer-tab .layui-layer-title span{position:relative;float:left;min-width:80px;max-width:260px;padding:0 20px;text-align:center;cursor:default;overflow:hidden}.layui-layer-tab .layui-layer-title span.layui-layer-tabnow{height:43px;border-left:1px solid #ccc;border-right:1px solid #ccc;background-color:#fff;z-index:10}.layui-layer-tab .layui-layer-title span:first-child{border-left:none}.layui-layer-tabmain{line-height:24px;clear:both}.layui-layer-tabmain .layui-layer-tabli{display:none}.layui-layer-tabmain .layui-layer-tabli.xubox_tab_layer{display:block}.xubox_tabclose{position:absolute;right:10px;top:5px;cursor:pointer}.layui-layer-photos{-webkit-animation-duration:1s;animation-duration:1s}.layui-layer-photos .layui-layer-content{overflow:hidden;text-align:center}.layui-layer-photos .layui-layer-phimg img{position:relative;width:100%;display:inline-block;*display:inline;*zoom:1;vertical-align:top}.layui-layer-imgbar,.layui-layer-imguide{display:none}.layui-layer-imgnext,.layui-layer-imgprev{position:absolute;top:50%;width:27px;_width:44px;height:44px;margin-top:-22px;outline:0;blr:expression(this.onFocus=this.blur())}.layui-layer-imgprev{left:10px;background-position:-5px -5px;_background-position:-70px -5px}.layui-layer-imgprev:hover{background-position:-33px -5px;_background-position:-120px -5px}.layui-layer-imgnext{right:10px;_right:8px;background-position:-5px -50px;_background-position:-70px -50px}.layui-layer-imgnext:hover{background-position:-33px -50px;_background-position:-120px -50px}.layui-layer-imgbar{position:absolute;left:0;bottom:0;width:100%;height:32px;line-height:32px;background-color:rgba(0,0,0,.8);background-color:#000\9;filter:Alpha(opacity=80);color:#fff;overflow:hidden;font-size:0}.layui-layer-imgtit *{display:inline-block;*display:inline;*zoom:1;vertical-align:top;font-size:12px}.layui-layer-imgtit a{max-width:65%;overflow:hidden;color:#fff}.layui-layer-imgtit a:hover{color:#fff;text-decoration:underline}.layui-layer-imgtit em{padding-left:10px;font-style:normal}@media screen and (max-width:1100px){.layui-layer-iframe{overflow-y:auto;-webkit-overflow-scrolling:touch}} |
statistics/src/main/webapp/static/layui/1.0.7/layui/css/modules/layer/default/loading-0.gif
0 → 100644
5.7 KB
statistics/src/main/webapp/static/layui/1.0.7/layui/css/modules/layer/default/loading-1.gif
0 → 100644
701 字节
statistics/src/main/webapp/static/layui/1.0.7/layui/css/modules/layer/default/loading-2.gif
0 → 100644
1.7 KB
不能预览此文件类型
| 1 | +<?xml version="1.0" standalone="no"?> | ||
| 2 | +<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" > | ||
| 3 | +<svg xmlns="http://www.w3.org/2000/svg"> | ||
| 4 | +<metadata> | ||
| 5 | +Created by FontForge 20120731 at Sun Nov 20 18:07:09 2016 | ||
| 6 | + By admin | ||
| 7 | +</metadata> | ||
| 8 | +<defs> | ||
| 9 | +<font id="layui-icon" horiz-adv-x="1024" > | ||
| 10 | + <font-face | ||
| 11 | + font-family="layui-icon" | ||
| 12 | + font-weight="500" | ||
| 13 | + font-stretch="normal" | ||
| 14 | + units-per-em="1024" | ||
| 15 | + panose-1="2 0 6 3 0 0 0 0 0 0" | ||
| 16 | + ascent="896" | ||
| 17 | + descent="-128" | ||
| 18 | + x-height="792" | ||
| 19 | + bbox="0 -212 1487.11 896" | ||
| 20 | + underline-thickness="0" | ||
| 21 | + underline-position="0" | ||
| 22 | + unicode-range="U+0078-E650" | ||
| 23 | + /> | ||
| 24 | +<missing-glyph | ||
| 25 | + /> | ||
| 26 | + <glyph glyph-name=".notdef" | ||
| 27 | + /> | ||
| 28 | + <glyph glyph-name=".notdef" | ||
| 29 | + /> | ||
| 30 | + <glyph glyph-name=".null" horiz-adv-x="0" | ||
| 31 | + /> | ||
| 32 | + <glyph glyph-name="nonmarkingreturn" horiz-adv-x="341" | ||
| 33 | + /> | ||
| 34 | + <glyph glyph-name="x" unicode="x" horiz-adv-x="1001" | ||
| 35 | +d="M281 543q-27 -1 -53 -1h-83q-18 0 -36.5 -6t-32.5 -18.5t-23 -32t-9 -45.5v-76h912v41q0 16 -0.5 30t-0.5 18q0 13 -5 29t-17 29.5t-31.5 22.5t-49.5 9h-133v-97h-438v97zM955 310v-52q0 -23 0.5 -52t0.5 -58t-10.5 -47.5t-26 -30t-33 -16t-31.5 -4.5q-14 -1 -29.5 -0.5 | ||
| 36 | +t-29.5 0.5h-32l-45 128h-439l-44 -128h-29h-34q-20 0 -45 1q-25 0 -41 9.5t-25.5 23t-13.5 29.5t-4 30v167h911zM163 247q-12 0 -21 -8.5t-9 -21.5t9 -21.5t21 -8.5q13 0 22 8.5t9 21.5t-9 21.5t-22 8.5zM316 123q-8 -26 -14 -48q-5 -19 -10.5 -37t-7.5 -25t-3 -15t1 -14.5 | ||
| 37 | +t9.5 -10.5t21.5 -4h37h67h81h80h64h36q23 0 34 12t2 38q-5 13 -9.5 30.5t-9.5 34.5q-5 19 -11 39h-368zM336 498v228q0 11 2.5 23t10 21.5t20.5 15.5t34 6h188q31 0 51.5 -14.5t20.5 -52.5v-227h-327z" /> | ||
| 38 | + <glyph glyph-name="duihua" unicode="" | ||
| 39 | +d="M508 836q93 1 175 -34t144 -95t98 -141.5t37 -174.5q1 -88 -30.5 -166t-87.5 -137.5t-131 -98.5t-162 -48q-23 -3 -48.5 -5.5t-56.5 -3.5t-69.5 0t-86.5 7q-107 10 -158.5 26.5t-41.5 18.5q54 9 93 29q21 12 17.5 33t-20.5 39q-52 57 -84.5 133.5t-34.5 164.5 | ||
| 40 | +q-1 93 34 175t95.5 143.5t142.5 97.5t175 37zM708 385q0 -27 18 -45.5t45 -18.5t46 18.5t19 45.5t-19 45.5t-46 18.5t-45 -18.5t-18 -45.5zM451 385q0 -27 19 -46.5t46 -19.5q28 0 47 19.5t19 46.5q0 28 -19 47t-47 19q-27 0 -46 -19t-19 -47zM197 386q0 -27 18.5 -46 | ||
| 41 | +t45.5 -19q28 0 47 19t19 46t-19 46t-47 19q-27 0 -45.5 -19t-18.5 -46z" /> | ||
| 42 | + <glyph glyph-name="shezhi" unicode="" | ||
| 43 | +d="M917 445l-70 11q-14 2 -26.5 12t-16.5 21q-6 17 -8.5 40.5t4.5 40.5l42 57q8 11 7 26.5t-11 25.5l-31 31q-10 10 -25.5 11t-26.5 -7l-57 -42q-11 -9 -27 -11t-27 4q-16 7 -37 24.5t-23 29.5l-11 70q-2 14 -13.5 24t-25.5 10h-44q-14 0 -25.5 -10t-13.5 -24l-11 -70 | ||
| 44 | +q-2 -14 -12 -26.5t-21 -16.5q-17 -6 -40.5 -8.5t-40.5 4.5l-57 42q-11 8 -26.5 7t-25.5 -11l-31 -31q-10 -10 -11 -25.5t7 -26.5l42 -57q9 -12 11 -27.5t-4 -26.5q-7 -16 -24.5 -37t-29.5 -23l-70 -11q-14 -2 -24 -13.5t-10 -25.5v-44q0 -14 10 -25.5t24 -13.5l70 -11 | ||
| 45 | +q14 -2 26.5 -12t16.5 -21q6 -17 8.5 -40.5t-4.5 -40.5l-42 -57q-8 -11 -7 -26.5t11 -25.5l31 -31q10 -10 25.5 -11t26.5 7l57 42q12 9 27.5 11t26.5 -4q16 -7 37 -24.5t23 -29.5l11 -70q2 -14 13.5 -24t25.5 -10h44q14 0 25.5 10t13.5 24l11 70q2 14 12 26.5t21 16.5 | ||
| 46 | +q17 6 41 8.5t40 -4.5l57 -42q11 -8 26.5 -7t25.5 11l31 31q10 10 11 25.5t-7 26.5l-42 57q-9 11 -11 27t4 27q7 16 24.5 37t29.5 23l70 11q14 2 24 13.5t10 25.5v44q0 14 -10 25.5t-24 13.5zM512 210q-72 0 -123 51t-51 123t51 123t123 51t123 -51t51 -123t-51 -123 | ||
| 47 | +t-123 -51zM512 384zM407 384q0 43 31 74t74 31t74 -31t31 -74t-31 -74t-74 -31t-74 31t-31 74z" /> | ||
| 48 | + <glyph glyph-name="shuaxin" unicode="ဂ" | ||
| 49 | +d="M511 -63q-95 0 -182 40q-106 47 -175 139q-5 7 -3.5 15.5t8.5 14t15.5 4t13.5 -8.5q63 -83 158 -125q75 -34 157 -35.5t153.5 26t131.5 83t94 130.5t35 156.5t-26 153.5t-82.5 132t-130.5 93.5t-157 35t-153.5 -26t-131.5 -83t-94 -130.5q-41 -92 -34 -191q0 -9 -6 -15.5 | ||
| 50 | +t-14 -7.5q-9 0 -15.5 5.5t-7.5 14.5q-7 110 38 212q38 83 104 144t145.5 91t169.5 28.5t173 -38.5t144.5 -103.5t91.5 -145.5t28.5 -169.5t-38.5 -173.5q-55 -123 -167 -193.5t-243 -71.5zM160 -9v0q-8 0 -13.5 5.5t-5.5 13.5l1 114q0 12 9 21q9 8 22 9l114 -1q8 0 13 -5.5 | ||
| 51 | +t5 -13.5t-5.5 -13.5t-12.5 -5.5v0l-107 1l-1 -107q0 -7 -5.5 -12.5t-13.5 -5.5z" /> | ||
| 52 | + <glyph glyph-name="yinshenim" unicode="" | ||
| 53 | +d="M512 834q-92 0 -175 -35.5t-143.5 -96t-96 -143.5t-35.5 -175t35.5 -175t96 -143.5t143.5 -96t175 -35.5t175 35.5t143.5 96t96 143.5t35.5 175t-35.5 175t-96 143.5t-143.5 96t-175 35.5zM266 590h492v-34h-492v34zM758 178h-492v34h492v-34zM140 367v34h744v-34h-744z | ||
| 54 | +" /> | ||
| 55 | + <glyph glyph-name="search" unicode="" | ||
| 56 | +d="M439.5 121q-74.5 0 -142.5 28q-65 28 -115.5 78.5t-78.5 115.5q-29 68 -29 142.5t29 142.5q28 65 78.5 115.5t115.5 78.5q68 29 142.5 29t141.5 -29q66 -28 116.5 -78.5t78.5 -115.5q28 -68 28 -142.5t-28 -142.5q-28 -65 -78.5 -115.5t-116.5 -78.5q-67 -28 -141.5 -28z | ||
| 57 | +M439 797q-129 0 -220.5 -91t-91.5 -220t91.5 -220.5t220.5 -91.5t220.5 91.5t91.5 220.5t-91.5 220t-220.5 91zM890.5 -49q-34.5 0 -58.5 24l-157 153l37 38l158 -153q8 -9 20.5 -9t21 9t8.5 21.5t-8 20.5l-1 1l-152 157l38 37l153 -157q24 -24 24 -58.5t-24.5 -59 | ||
| 58 | +t-59 -24.5zM281 327q-66 66 -66 158.5t66 158.5l38 -38q-50 -50 -50 -120.5t50 -120.5z" /> | ||
| 59 | + <glyph glyph-name="fenxiang1" unicode="" | ||
| 60 | +d="M770 222q-38 0 -71.5 -16.5t-55.5 -46.5l-249 125q7 21 7 43q0 25 -8 48l248 124q22 -31 56 -48.5t73 -17.5q65 0 111.5 46.5t46.5 112t-46.5 111.5t-112 46t-112 -46t-46.5 -112q0 -9 1 -18l-261 -131q-46 44 -109 44q-65 0 -111.5 -46.5t-46.5 -112t46.5 -112 | ||
| 61 | +t112 -46.5t111.5 47l259 -130q-2 -11 -2 -22q0 -65 46.5 -111.5t112 -46.5t112 46.5t46.5 112t-46.5 111.5t-111.5 46v0z" /> | ||
| 62 | + <glyph glyph-name="shezhi1" unicode="" | ||
| 63 | +d="M946 322q0 16 -8.5 27.5t-22.5 13.5q-8 2 -28.5 5t-37.5 6t-20 4q-5 0 -10 4t-6 7q0 2 -12 30q-5 12 5 25q5 8 48 68q7 8 6 23t-11 25l-56 56q-7 7 -20.5 7t-22.5 -7l-72 -51q-1 0 -3 -1t-7.5 -2.5t-9.5 1.5l-34 14q-7 5 -10 20q0 4 -14 82q-2 13 -13 21.5t-24 8.5h-75 | ||
| 64 | +q-12 0 -22.5 -9.5t-12.5 -20.5l-14 -84q-1 -7 -3.5 -11.5t-5.5 -5.5l-2 -2l-30 -12q-8 -3 -13.5 -1.5t-17 9t-62.5 43.5q-15 9 -28 7.5t-22 -11t-51 -50.5q-10 -11 -9.5 -26t10.5 -29q11 -15 41 -58q12 -17 9 -27q-2 -6 -12 -28q-3 -8 -8.5 -11t-19.5 -6q-9 -2 -39 -7 | ||
| 65 | +t-38 -6q-14 -3 -22.5 -14.5t-8.5 -27.5v-65q0 -35 39 -42q23 -4 74 -12q16 -3 22 -16l9 -22q4 -9 3.5 -15t-8.5 -17q-9 -13 -46 -65q-8 -13 -6 -26.5t11 -22.5q10 -11 49 -49q11 -11 25.5 -12t28.5 8q15 11 65 47q13 9 28 3q5 -2 22 -9q13 -6 17 -24q2 -11 13 -79 | ||
| 66 | +q6 -33 41 -33h62q39 0 45 31l14 84q2 13 14 18q5 3 27 12q12 6 27 -6q7 -4 64 -45q28 -19 52 5q11 10 49 48q12 15 12 27.5t-7 23.5t-50 71q-8 11 -2 24q2 5 12 25q5 11 18 13q9 2 84 15q31 5 31 40v66zM909 255q0 -10 -9 -12q-1 0 -12 -2t-23.5 -4t-26 -4.5t-20.5 -3.5 | ||
| 67 | +q-29 -5 -38 -28q-4 -8 -11 -27q-10 -25 3 -42q1 -3 14 -21t23.5 -32.5t12.5 -17.5q6 -10 -1 -17l-13 -13l-22 -22l-13 -13q-8 -7 -19 0q-1 1 -13 9t-26 18t-25 18q-23 16 -49 6q-21 -9 -22 -9q-27 -11 -34 -49q-1 -7 -4 -24.5t-5 -30t-3 -15.5q-1 -11 -13 -11h-65 | ||
| 68 | +q-11 0 -15 12q-4 13 -12 74q-2 14 -9.5 25.5t-15.5 15.5q-25 10 -28 11q-29 12 -51 -4q-3 -2 -19.5 -14t-29.5 -21.5t-16 -11.5q-11 -7 -18 0l-47 47q-8 8 0 20l41 58q21 29 10 54q-3 6 -4.5 9.5t-2 5t-2 4.5t-4.5 10q-9 21 -38 26q-76 14 -77 14q-12 2 -12 14v66 | ||
| 69 | +q0 11 13 13q1 0 15.5 2.5t31.5 5.5t26 5q34 5 43 29l11 27q11 25 -7 50q-44 60 -45 62q-7 11 1 19l13 13l22 22l12 12q9 8 18 1q53 -38 64 -46q24 -17 49 -6q19 8 27 11q24 9 29 40q12 74 12.5 77.5t4 7t7.5 3.5h70q10 0 11 -9l4 -21t7 -40.5t4 -24.5q2 -9 10 -19.5 | ||
| 70 | +t16 -13.5q30 -13 31 -13q8 -3 19.5 -2t16.5 4q73 51 76 53q8 6 17 -3l13.5 -13.5l22.5 -22.5l12 -12q6 -6 1 -14q-1 0 -7.5 -9.5t-13.5 -19.5t-15 -21.5t-12 -16.5q-16 -23 -5 -49l9 -22q12 -28 34 -32q83 -13 84 -14q12 -1 12 -13l-0.5 -18t-0.5 -33t1 -17zM527 489 | ||
| 71 | +q-83 0 -141.5 -58.5t-58.5 -141.5t58.5 -141.5t141.5 -58.5t141.5 58.5t58.5 141.5t-58.5 141.5t-141.5 58.5zM526.5 124q-68.5 0 -116.5 48.5t-48 117t48 116.5t116.5 48t117 -48t48.5 -116.5t-48.5 -117t-117 -48.5z" /> | ||
| 72 | + <glyph glyph-name="yinqing" unicode="" | ||
| 73 | +d="M422 277h-236v46h236q8 31 33 50.5t57 19.5q39 0 66 -27t27 -66t-27 -66t-66 -27q-32 0 -57 19.5t-33 50.5v0zM512 696q-107 0 -198.5 -53t-144.5 -144.5t-53 -198.5t53 -198.5t144.5 -144.5t198.5 -53q114 0 209 60t144 159l102 -59l-23 -40l-62 36q-52 -80 -129 -130 | ||
| 74 | +l35 -62l-40 -23l-36 62q-84 -43 -177 -48v-71h-46v71q-93 5 -177 48l-36 -62l-40 23l36 62q-77 50 -130 130l-62 -36l-23 40l62 36q-43 85 -48 177h-71v46h71q5 92 48 177l-62 36l23 40l62 -36q52 80 130 130l-36 62l40 23l36 -62q84 43 177 48v71h46v-71q93 -5 177 -48 | ||
| 75 | +l36 62l40 -23l-36 -62q78 -50 130 -130l62 36l23 -40l-102 -59q-49 99 -144 159t-209 60v0z" /> | ||
| 76 | + <glyph glyph-name="yuejuancuohao" unicode="ဆ" | ||
| 77 | +d="M783 701l-271 -271l-271 271q-8 8 -18.5 8t-18.5 -7.5t-8 -18.5t8 -18l271 -272l-271 -271q-8 -8 -8 -18.5t8 -18t18.5 -7.5t18.5 7l271 272l271 -272q8 -7 18.5 -7t18.5 7.5t8 18t-8 18.5l-271 271l271 272q8 7 8 18t-8 18.5t-18.5 7.5t-18.5 -8z" /> | ||
| 78 | + <glyph glyph-name="cuo" unicode="ဇ" | ||
| 79 | +d="M512 822q-107 0 -198 -53t-143.5 -143.5t-52.5 -197.5t52.5 -198t143.5 -144t198 -53t198 53t143.5 144t52.5 198t-52.5 197.5t-143.5 143.5t-198 53zM702 271q6 -6 6 -14.5t-6 -14.5t-14.5 -6t-14.5 6l-161 161l-161 -161q-6 -6 -14.5 -6t-14.5 6t-6 14.5t6 14.5 | ||
| 80 | +l161 161l-161 161q-6 6 -6 14.5t6 14.5t14.5 6t14.5 -6l161 -161l161 161q6 6 14.5 6t14.5 -6t6 -14.5t-6 -14.5l-161 -161z" /> | ||
| 81 | + <glyph glyph-name="baobiao" unicode="" | ||
| 82 | +d="M964 95v35l-37 -3v484h-236v70h-361v-70h-234v-481h-36v-35h433v-141h-91v-35h217v35h-90v141h435zM366 646h289v-35h-289v35zM365 249l-143 73l15 28l123 -64l174 160l127 -92l93 122l13 -9l12 -10l-111 -147l-132 96z" /> | ||
| 83 | + <glyph glyph-name="star" unicode="" | ||
| 84 | +d="M750 -84q-24 0 -45 11l-193 104l-192 -104q-24 -12 -51 -10.5t-48 15.5q-23 16 -33.5 40.5t-5.5 50.5l37 225l-162 163q-19 19 -25 44t3 50q8 25 28 41.5t47 20.5l221 33l96 199q12 24 35 38.5t50 14.5t50 -14.5t35 -38.5l96 -199l221 -33q27 -4 47 -20.5t28 -41.5 | ||
| 85 | +q9 -25 3 -50t-25 -44l-162 -163l37 -225q5 -26 -5.5 -50.5t-32.5 -39.5q-25 -17 -54 -17zM512 92q7 0 13 -4l206 -111q21 -11 40 2t15 35l-40 239q-2 15 8 25l173 173q16 15 9 36q-8 20 -30 24l-236 35q-15 2 -22 15l-102 214q-10 20 -34 20t-34 -20l-102 -214 | ||
| 86 | +q-7 -13 -22 -15l-236 -35q-22 -4 -30 -24q-7 -21 9 -36l173 -173q10 -10 8 -25l-40 -239q-4 -22 15 -35t40 -2l206 111q6 4 13 4zM200 439q-12 0 -14 12q-1 6 2.5 11t9.5 5l10 2q5 1 10 -2.5t6 -9.5t-2.5 -10.5t-9.5 -5.5l-9 -2h-3zM253 448q-12 0 -14 11q-2 6 1.5 11t9.5 6 | ||
| 87 | +l154 30l58 133q6 13 19 7t7 -19l-61 -140q-3 -7 -10 -8l-162 -31h-2z" /> | ||
| 88 | + <glyph glyph-name="yuandian" unicode="" | ||
| 89 | +d="M513 831q-91 0 -174 -35.5t-143 -95.5t-95.5 -143t-35.5 -174.5t35.5 -174.5t95.5 -143t143 -95.5t174 -35.5t174 35.5t143 95.5t95.5 143t35.5 174.5t-35.5 174.5t-95.5 143t-143 95.5t-174 35.5zM513 -7q-106 0 -195.5 52t-141.5 142t-52 195.5t52 195t141.5 142 | ||
| 90 | +t195.5 52.5t195.5 -52.5t141.5 -142t52 -195t-52 -195.5t-141.5 -142t-195.5 -52zM513 382zM169 382.5q0 93.5 46 173t125.5 125.5t173 46t172.5 -46t125.5 -125.5t46.5 -173t-46.5 -173t-125.5 -125.5t-172.5 -46t-173 46t-125.5 125.5t-46 173z" /> | ||
| 91 | + <glyph glyph-name="kefu" unicode="" | ||
| 92 | +d="M133 415q0 102 50 189t137 137.5t192 50.5t193.5 -50.5t140 -137.5t51.5 -189q0 -132 -81.5 -234t-208.5 -133l-116 -51v41q-99 7 -181 58.5t-129.5 136t-47.5 182.5zM84 415q0 -158 106 -276t263 -140q-4 -23 -6.5 -44t-0.5 -21q3 0 190 79q133 40 218.5 150.5 | ||
| 93 | +t85.5 251.5q0 113 -57 209.5t-156 153t-215 56.5t-215 -56.5t-156 -153t-57 -209.5zM341 277q17 -32 64 -53.5t106 -21.5q58 0 106 21t66 52q-7 4 -15.5 7.5t-12.5 4.5q-16 -24 -55 -41.5t-87.5 -17.5t-88 17.5t-55.5 43.5z" /> | ||
| 94 | + <glyph glyph-name="logo" unicode="" | ||
| 95 | +d="M991 829q-5 2 -11 2q-17 0 -28 -11q-843 -424 -911 -459q-28 -15 -26 -41q2 -21 23 -28l290 -91l5 -2l17 50l-254 80l780 406q-232 -263 -436 -494q-29 -33 -29 -71v-153v0v-54v-2v0q1 -10 8.5 -17t18 -7t18 7t8.5 17v0q1 191 0 205q0 20 11 33q113 129 466 528 | ||
| 96 | +q-113 -562 -128 -637q-1 -4 -4 -4h-2q-13 4 -280 85l-5 1l-17 -50l5 -2q1 0 28.5 -8.5t66.5 -20t79 -24t72 -22t39 -11.5q8 -2 15 -2q20 0 35.5 13t19.5 34q2 9 56 278q85 418 86 427l1 3q5 31 -17 42z" /> | ||
| 97 | + <glyph glyph-name="list" unicode="" | ||
| 98 | +d="M618 734h-397q-13 0 -22 -9t-9 -22v-638q0 -13 9 -22t22 -9h582q13 0 22 9t9 22l-1 476zM804 541h-184v165zM813 65q0 -5 -3 -8t-7 -3h-582q-4 0 -7 3t-3 8v638q0 5 3 8t7 3h378v-193h214v-456zM298 482h55v-55h-55v55zM400 468h323v-26h-323v26zM298 342h55v-55h-55v55z | ||
| 99 | +M400 328h323v-27h-323v27zM298 200h55v-55h-55v55zM400 185h323v-26h-323v26zM881 53z" /> | ||
| 100 | + <glyph glyph-name="tubiao" unicode="" | ||
| 101 | +d="M953 232h-169l-103 121q0 1 -1 1v1h-1v1h-1v0q0 1 -1 1v0q0 1 -0.5 1h-1t-0.5 0.5v0.5h-1v1h-1h-1v0l-1 1v0q-2 1 -5 1h-1v0q-3 1 -5 1v0l-1 -1v0h-1h-1v0h-1h-0.5h-0.5h-1v-1h-1h-1v0l-4 -2v0l-1 -1q-2 -1 -4 -3v0q0 -1 -1 -1v0q0 -1 -1 -1v0v-1l-1 -1v0l-0.5 -0.5 | ||
| 102 | +l-0.5 -0.5v-1v0q0 -1 -1 -1v0v-1v-1q-1 0 -1 -1v0v-1l-98 -343l-104 727v2v0v1h-1v1v0v1v1h-1v1v0v1v0l-1 1v0q0 1 -1 1v0v1v0l-1 1v1h-0.5t-0.5 0.5t-0.5 0.5t-0.5 1v0h-1v1h-1v0q0 1 -1 1v0l-1 1v0h-1v1h-1v0q-1 0 -1 1v0h-1h-1v1h-1v0q-3 1 -5 1v0h-1h-1v0h-1v0h-5v0h-1 | ||
| 103 | +l-1 -1h-0.5h-0.5h-1v0l-1 -1h-1v0l-1 -1v0h-1v0l-1 -1v0h-1v0l-1 -1v0q0 -1 -1 -1v0l-0.5 -0.5l-0.5 -0.5v0l-1 -1v0l-1 -1v0q0 -1 -1 -1v0v-1h-1v-1v0q0 -1 -1 -1v0v-1v-1h-1v-1v0q0 -1 -1 -1v0v-2l-141 -509h-177q-10 0 -17.5 -7.5t-7.5 -18.5t7.5 -18.5t17.5 -7.5h192 | ||
| 104 | +q1 0 2 1q2 -1 3 -1q19 0 24 19l114 411l103 -724v0v-1v0q0 -1 1 -2v0v-2v-1l1 -1v-1l1 -1v-1l1 -1v-1q1 0 2 -1v0q0 -1 1 -2v0l2 -2v0q2 -2 5 -3h1q0 -1 1 -1h1q1 -1 2 -1v0v0v0h1.5t1 -0.5t1 -0.5h0.5h3v0h1v0h0.5h1.5v0v1v0h1h1h1q1 0 1 1h1q3 1 5 2v0q2 1 3 2v1q1 0 2 1 | ||
| 105 | +v0l1 1v1q1 0 1.5 0.5l0.5 0.5v2h1q0 1 1 2v0v2v0q1 1 1 2v0v0v0l118 412l80 -94v-1l0.5 -0.5l0.5 -0.5l0.5 -0.5l0.5 -0.5h0.5t0.5 -1v0q1 -1 3 -2v0h1v0q0 -1 0.5 -1h1h0.5l0.5 -0.5l0.5 -0.5h1v0q1 0 1 -1h1h1v0h1v0h1v0h2v0h1v0v0v0h181q11 0 18.5 7t7.5 18t-7.5 18.5 | ||
| 106 | +t-18.5 7.5z" /> | ||
| 107 | + <glyph glyph-name="right" unicode="စ" | ||
| 108 | +d="M516.5 -63q-91.5 0 -175.5 35q-81 34 -143 96.5t-96 143.5q-36 83 -36 174.5t36 175.5q34 80 96 142.5t143 96.5q84 35 175.5 35t174.5 -35q81 -34 143 -96.5t97 -142.5q35 -84 35 -175.5t-35 -174.5q-35 -81 -97 -143.5t-143 -96.5q-83 -35 -174.5 -35zM516 775 | ||
| 109 | +q-105 0 -194.5 -52t-141.5 -141.5t-52 -195t52 -195t141.5 -141.5t194.5 -52t194.5 52t141.5 141.5t52 195t-52 195t-141.5 141.5t-194.5 52zM435 133l-226 225l80 80l146 -146l308 308l80 -79z" /> | ||
| 110 | + <glyph glyph-name="huanfu2" unicode="" | ||
| 111 | +d="M959 539l-218 154h-101l-4 -10q-1 -3 -4.5 -9.5t-14.5 -21t-24.5 -26t-35 -21.5t-46.5 -10q-53 1 -93 44q-21 22 -31 44l-4 10h-100l-218 -154l104 -159l90 65l-19 -368h269h4h270l-19 368l90 -65zM730 507l21 -400h-238h-4h-236l20 400l-116 -84l-36 55l159 112l-19 31 | ||
| 112 | +l-160 -112l-14 22l185 131h72q12 -24 30 -44q49 -53 117 -54v0v0h0.5h0.5v0v0q67 1 117 54q18 20 31 44h71l186 -131l-15 -22l-160 112l-19 -31l159 -112l-36 -55z" /> | ||
| 113 | + <glyph glyph-name="On-line" unicode="" | ||
| 114 | +d="M680 541l-249 -251l-95 94l-35 -35l112 -112q9 -9 17 -9q9 0 18 9l267 268zM512 800q-172 0 -294 -122t-122 -294t122 -294t294 -122t294 122t122 294t-122 294t-294 122zM512 3q-103 0 -191 51t-139 139t-51 191t51 191t139 139t191 51t191 -51t139 -139t51 -191 | ||
| 115 | +t-51 -191t-139 -139t-191 -51z" /> | ||
| 116 | + <glyph glyph-name="biaoge" unicode="" | ||
| 117 | +d="M305 260zM730 427zM596 554zM144 603v-602h737v602h-737zM420 216v129h185v-129h-185zM605 173v-129h-185v129h185zM605 517v-129h-185v129h185zM374 517v-129h-184v129h184zM190 345h184v-129h-184v129zM651 345h184v-129h-184v129zM651 388v129h184v-129h-184zM190 173 | ||
| 118 | +h184v-129h-184v129zM651 44v129h184v-129h-184z" /> | ||
| 119 | + <glyph glyph-name="loading" unicode="" | ||
| 120 | +d="M960 300q-2 89 -37 169q-35 81 -99 141q-62 61 -143 92q-80 32 -167 30q-86 -2 -164 -36t-136 -96q-59 -61 -89 -139q-31 -77 -29 -161q2 -83 35 -159q33 -75 92 -132q59 -56 135 -86q75 -29 156 -27t153 34q73 32 128 89t83 130q17 44 23 91h3q23 0 39.5 16t16.5 39v5v0 | ||
| 121 | +v0zM871 152q-30 -70 -86 -123q-55 -53 -126 -80q-69 -27 -145 -25q-75 1 -143 32q-67 29 -118 83q-51 53 -77 121q-26 67 -24 140q2 72 31 137q28 65 80 114q51 49 116 74t135 23q70 -1 132 -29t110 -78q46 -49 70 -112q24 -62 23 -129v0v-5q0 -21 14 -37t35 -18 | ||
| 122 | +q-8 -46 -27 -88z" /> | ||
| 123 | + <glyph glyph-name="youyou" unicode="" | ||
| 124 | +d="M284 722l57 59l399 -397l-399 -397l-57 59l336 338z" /> | ||
| 125 | + <glyph glyph-name="zuozuo" unicode="" | ||
| 126 | +d="M740 722l-57 59l-399 -397l399 -397l57 59l-336 338z" /> | ||
| 127 | + <glyph glyph-name="icon5" unicode="" | ||
| 128 | +d="M963 175q-13 77 -73 133q-55 52 -157 85q-5 1 -81 25q56 10 122 13h120q-43 63 -127 84q-89 23 -152 -32q30 106 -39 161q-24 19 -55 23t-56 -8q73 -39 94 -145q-66 102 -188 86q-25 -3 -52 -9.5t-62 -16.5t-52 -14q25 -23 48 -28t49 -10t57.5 -11t48.5 -9q3 -1 14 -3 | ||
| 129 | +t14.5 -2.5t13 -3t14 -4t13 -4.5t13.5 -6.5t11.5 -8t11.5 -9.5q-126 38 -236 9q-69 -18 -123.5 -52.5t-71.5 -72.5q31 16 72 18.5t73 -0.5q81 -3 113 1q23 3 48.5 8t60 13t50.5 11q-24 -16 -31 -21t-28.5 -20.5t-29 -23t-24 -23.5t-22.5 -27.5t-15 -29.5t-11 -34t-2.5 -37 | ||
| 130 | +t4.5 -44q20 34 51.5 67.5t60 56.5t62.5 54.5t56 59.5q-24 -134 66 -238q5 -5 30.5 -33.5t34.5 -40t24 -35.5t22 -47q18 196 -98 397l1 -1l1 -1h1l1 -1l1 -1h1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h2l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1 | ||
| 131 | +l1 -1l1 -1h1l1 -1l1 -1h1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1 | ||
| 132 | +l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l2 -1l1 -1h1l1 -1l1 -1h1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1h1l1 -1l1 -1h1 | ||
| 133 | +l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1 | ||
| 134 | +h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1v-1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l2 -1l1 -1 | ||
| 135 | +h1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1l1 -1h1l1 -1h1l1 -1l1 -1h1zM513 236q-37 -19 -42 -65q-3 -29 -11 -84t-11 -79q0 -6 -8 -96h80q23 183 29 230q1 11 -4 23q-4 9 -33 71z" /> | ||
| 136 | + <glyph glyph-name="iconfont17" unicode="" | ||
| 137 | +d="M512 -212q139 0 257 68.5t186.5 186.5t68.5 257t-68.5 257t-186.5 186.5t-257 68.5t-257 -68.5t-186.5 -186.5t-68.5 -257t68.5 -257t186.5 -186.5t257 -68.5zM512 764q192 0 328 -136t136 -328t-136 -328t-328 -136t-328 136t-136 328t136 328t328 136zM378 451h102 | ||
| 138 | +v-478q0 -14 9.5 -23t22.5 -9t22.5 9t9.5 23v478h102q13 0 17 7.5t-4 17.5l-128 173q-8 10 -19 10t-19 -10l-128 -173q-8 -10 -4 -17.5t17 -7.5z" /> | ||
| 139 | + <glyph glyph-name="tianjia" unicode="" | ||
| 140 | +d="M675 413h-127v127q0 15 -10.5 25.5t-25.5 10.5t-26 -10.5t-11 -25.5v-127h-127q-15 0 -25.5 -11t-10.5 -26t10.5 -25.5t25.5 -10.5h127v-127q0 -15 11 -26t26 -11t25.5 11t10.5 26v127h127q15 0 25.5 10.5t10.5 25.5t-10.5 26t-25.5 11v0zM511 831q-92 0 -176 -36 | ||
| 141 | +t-145 -97t-97 -145t-36 -176.5t36 -176.5t97 -144.5t145 -96.5t176.5 -36t176.5 36t144.5 96.5t96.5 144.5t36 176.5t-36 176.5t-96.5 145t-144.5 97t-177 36v0zM511 -21q-107 0 -198.5 53.5t-145 145t-53.5 199t53.5 199t145 145t199 53.5t199 -53.5t145 -145t53.5 -199 | ||
| 142 | +t-53.5 -199t-145 -145t-199.5 -53.5v0zM511 -21z" /> | ||
| 143 | + <glyph glyph-name="xiazai" unicode="" | ||
| 144 | +d="M511 828q-90 0 -172.5 -35t-142 -94.5t-94.5 -141.5t-35 -172.5t35 -172.5t94.5 -141.5t142 -94.5t172.5 -35t172 35t141.5 94.5t94.5 141.5t35 172.5t-35 172.5t-94.5 141.5t-141.5 94.5t-172 35zM510.5 -30q-112.5 0 -208 55.5t-151 151t-55.5 208t55.5 208t151 151 | ||
| 145 | +t208 55.5t208 -55.5t151 -151t55.5 -208t-55.5 -208t-151 -151t-208 -55.5zM663 352l-125 -106v324q0 11 -8 19t-19 8t-19 -8t-8 -19v-325l-126 107q-8 8 -19 8t-19 -8t-8 -19t8 -19l170 -161q8 -9 20 -8q13 -1 21 8l170 161q8 8 8 19t-8 19t-19 8t-19 -8z" /> | ||
| 146 | + <glyph glyph-name="xuanzemoban48" unicode="" | ||
| 147 | +d="M320 300h-213q-27 0 -45.5 -18.5t-18.5 -45.5v-213q0 -27 18.5 -45.5t45.5 -18.5h213q27 0 45.5 18.5t18.5 45.5v213q0 27 -18.5 45.5t-45.5 18.5zM256 257v-256h-85v256h85zM85 23v213q0 9 6.5 15t15.5 6h42v-256h-42q-9 0 -15.5 6.5t-6.5 15.5zM341 23q0 -9 -6 -15.5 | ||
| 148 | +t-15 -6.5h-43v256h43q9 0 15 -6t6 -15v-213zM576 471h-341q-36 0 -61 -25t-25 -61v-42h43v42q0 18 12.5 30.5t30.5 12.5h42v-96h22v96h213v-427h-85l-22 -42h171q35 0 60 25t25 60v341q0 36 -25 61t-60 25zM619 44q0 -18 -12.5 -30.5t-30.5 -12.5h-43v427h43 | ||
| 149 | +q18 0 30.5 -12.5t12.5 -30.5v-341zM853 -41q36 0 61 25t25 60v512q0 35 -25 60t-61 25h-512q-35 0 -60 -25t-25 -60v-43h43v43q0 18 12.5 30.5t29.5 12.5h86v-86h21v86h299v-598h-43l-21 -42h170zM896 44q0 -18 -12.5 -30.5t-30.5 -12.5h-85v598h85q18 0 30.5 -12.5 | ||
| 150 | +t12.5 -30.5v-512z" /> | ||
| 151 | + <glyph glyph-name="gongju" unicode="" | ||
| 152 | +d="M282 555q-20 -20 -49 -20t-49 20l-33 33l98 99l33 -33q21 -20 21 -49.5t-21 -49.5v0zM249 621v0l-33 -33q7 -7 16.5 -7t16.5 7t7 16.5t-7 16.5v0zM397 412l-147 143l32 33l147 -142l-32 -34v0zM751 50l-133 140l33 33l133 -140l-33 -33v0zM850 -16q-34 -34 -82 -34 | ||
| 153 | +t-82 34l-148 154l33 33l148 -154q20 -21 49 -20.5t49.5 20.5t20.5 49.5t-21 49.5l-147 154l33 33l147 -154q34 -34 34 -82.5t-34 -82.5v0zM802 384q-48 -47 -115.5 -47t-115 47.5t-47.5 115.5t48 115l42 43l33 -33l-43 -43q-34 -34 -34 -82t34 -82.5t82.5 -34.5t82.5 34 | ||
| 154 | +l42 43l33 -33l-42 -43v0zM844 427l-49 50l-17 -17q-27 -27 -65 -27v0q-39 0 -66 27t-27 66t27 66l16 17l-49 49l33 33l82 -82l-49 -50q-14 -14 -14 -33t13.5 -33t33 -14t33.5 14l49 50l82 -83l-33 -33v0zM234 45v47h46v-47h-46v0zM538 273l-92 91l33 33l92 -91l-33 -33v0z | ||
| 155 | +M304 17l174 240l37 -28l-177 -244q-34 -34 -82 -34t-82 34t-34 82.5t34 82.5l3 3l240 175l28 -38l-239 -174q-20 -20 -20 -48q0 -29 21 -50q19 -19 48 -19.5t49 18.5v0z" /> | ||
| 156 | + <glyph glyph-name="bianji" unicode="" | ||
| 157 | +d="M769 432l-126 126l63 63q16 16 38 16t38 -16l50 -50q16 -16 16 -38t-16 -38zM403 67l-126 125l343 340l126 -126zM176 -37l77 205l125 -125z" /> | ||
| 158 | + <glyph glyph-name="xiaoxi" unicode="" | ||
| 159 | +d="M587 671q-10 4 -18 -3l-259 -229h-148q-7 0 -12 -5t-5 -12v-268q0 -7 5 -12t12 -5h144q7 0 12 5t5 12v252q2 1 4 3l237 209v-653l-161 138q-91 78 -94 76q-10 -7 -19 -23q-1 -2 16 -16q7 -6 17.5 -14.5t20 -16.5t18 -15.5t14 -12l5.5 -4.5l10 -8l178 -153q5 -4 11 -4 | ||
| 160 | +q4 0 7 1q10 5 10 16v726q0 11 -10 16v0zM290 171h-115v234h115v-234v0zM748 292q0 -39 -24 -69.5t-61 -40.5h-4q-13 0 -16 12q-2 7 1.5 13t10.5 8q26 7 42.5 28.5t16.5 48.5t-16.5 48.5t-42.5 28.5q-7 2 -10.5 8t-2 12.5t7.5 10t13 2.5q37 -10 61 -40.5t24 -69.5v0zM865 292 | ||
| 161 | +q0 -67 -34 -124t-93 -89q-4 -2 -8 -2q-10 0 -14 9q-4 6 -2 12.5t8 9.5q51 28 80 77t29 107q0 57 -29.5 106.5t-79.5 77.5q-6 3 -8 9.5t1 12.5t9.5 8t13.5 -1q59 -32 93 -89t34 -124v0z" /> | ||
| 162 | + <glyph glyph-name="xiangxia" unicode="" | ||
| 163 | +d="M888 705q12 12 28.5 12t28.5 -12v0q12 -11 12 -28t-12 -28l-406 -406q-12 -12 -28.5 -12t-27.5 12v0q-12 12 -12 28.5t12 28.5l405 405v0zM539 300q11 -12 11 -28.5t-11 -28.5v0q-12 -12 -28.5 -12t-28.5 12l-406 406q-11 11 -11 28t11 28v0q12 12 28.5 12t28.5 -12 | ||
| 164 | +l406 -405v0zM539 300z" /> | ||
| 165 | + <glyph glyph-name="wenjian" unicode="" | ||
| 166 | +d="M887 515v-45v-45v-478q0 -29 -20 -49t-48 -20h-614q-29 0 -48.5 20t-19.5 49v705q0 28 20 48t48 20h387h45h38q14 5 23 -5l183 -183q7 -7 6 -17zM660 447q-10 0 -16.5 7t-6.5 16v205h-45h-364q-19 0 -32.5 -13.5t-13.5 -32.5v-660q0 -18 13.5 -31.5t32.5 -13.5h568 | ||
| 167 | +q19 0 32.5 13.5t13.5 31.5v456v22h-182zM683 666v-173h159v14z" /> | ||
| 168 | + <glyph glyph-name="layouts" unicode="" | ||
| 169 | +d="M917 -103h-810q-18 0 -30 12t-12 30v698q0 18 12 30t30 12h810q18 0 30 -12t12 -30v-698q0 -18 -12 -30t-30 -12zM316 -61h601v363h-601v-363zM107 -61h167v363h-167v-363zM148.5 637q-17.5 0 -29.5 -12t-12 -29.5t12 -30t29.5 -12.5t30 12.5t12.5 30t-12.5 29.5t-30 12z | ||
| 170 | +M274.5 637q-17.5 0 -29.5 -12t-12 -29.5t12 -30t29.5 -12.5t29.5 12.5t12 30t-12 29.5t-29.5 12zM400.5 637q-17.5 0 -30 -12t-12.5 -29.5t12.5 -30t30 -12.5t29.5 12.5t12 30t-12 29.5t-29.5 12zM875 512h-768v-168h810v168h-42z" /> | ||
| 171 | + <glyph glyph-name="duigou" unicode="" horiz-adv-x="1600" | ||
| 172 | +d="M1064 480zM811 263zM0 -31l1 -1q-1 0 -1 1zM423 -32v1h1q0 -1 -1 -1zM1487 465q1 -7 -7 -11q-95 -39 -170.5 -108t-144.5 -165q-70 -99 -123 -216q-5 -11 -8.5 -12t-11.5 7q-59 58 -263 258q-29 29 -38 37q-7 6 -7 10.5t9 8.5q63 29 99 49q17 9 32 -6q32 -31 164 -162 | ||
| 173 | +q12 -11 15 -10.5t8 16.5q27 77 96 194q107 179 275 405q0 1 2 4.5t4 5t4.5 0.5t3.5 -3t1 -5.5v-4.5q15 -70 59 -288z" /> | ||
| 174 | + <glyph glyph-name="tianjia1" unicode="" | ||
| 175 | +d="M510 -61q-91 0 -173.5 35.5t-142.5 95t-95.5 142.5t-35.5 174t35.5 173.5t95.5 142.5t142.5 95.5t173.5 35.5t173.5 -35.5t142.5 -95.5t95.5 -142.5t35.5 -173.5t-35.5 -174t-95.5 -142.5t-142.5 -95t-173.5 -35.5v0zM510 812q-116 0 -214 -57t-155.5 -155t-57.5 -214 | ||
| 176 | +t57.5 -214.5t155.5 -155.5t214 -57t214 57t155.5 155.5t57.5 214.5t-57.5 214t-155.5 155t-214 57v0zM528 153h-36v215h-214v36h214v214h36v-214h214v-36h-214v-215v0zM528 153z" /> | ||
| 177 | + <glyph glyph-name="yaoyaozhibofanye" unicode="" | ||
| 178 | +d="M508.5 744q-90.5 0 -173.5 -35.5t-142.5 -95.5t-95 -142.5t-35.5 -173.5t35.5 -173.5t95 -142.5t142.5 -95.5t173.5 -35.5t173.5 35.5t143 95.5t95 142.5t35 173.5t-35 173.5t-95 142.5t-143 95.5t-173.5 35.5zM508.5 -107q-109.5 0 -202.5 54t-147.5 147t-54.5 203 | ||
| 179 | +t54.5 203t147.5 147t202.5 54t203 -54t147.5 -147t54 -203t-54 -203t-147.5 -147t-203 -54zM253 401q4 13 -4.5 20.5t-20.5 5.5t-16 -14q-42 -126 14 -249q7 -11 17 -11t17.5 10.5t2.5 21.5q-47 104 -10 216zM599 164l-127 133l127 133q7 7 7 16.5t-7 16.5t-16.5 7t-16.5 -7 | ||
| 180 | +l-148 -148q-7 -7 -7 -18q0 -10 7 -18l148 -148q7 -7 16.5 -7t16.5 7t7 16.5t-7 16.5z" /> | ||
| 181 | + <glyph glyph-name="404" unicode="" | ||
| 182 | +d="M300 300l5 2q1 -5 27 -15l5 -13q16 -37 37 -112q22 8 61 -14l2 -4l-47 -36l18 -43q3 -8 -45 -30q-17 11 -26 7l-1 3q-17 37 -17 50l-4 -2l6 -15l-11 -4q-62 -24 -91 -8l-4 -1l-2 4q-11 25 32 182q18 7 23 31q19 13 32 18v0zM216 80q43 30 38 40q-1 3 1 10l-1 2 | ||
| 183 | +q-38 -32 -37 -34q-2 -14 -1 -18v0zM217 73l1 -2q17 1 28 6q1 0 20 15l-1 2q-11 -4 -15 6q-35 -23 -33 -27v0zM226 144l11 4q-1 -3 -16 -19q-3 -16 -1 -20q41 31 38 40l1 10l-4 -4l-9 -3l-1 2q17 6 21 37l-1 3q-38 -32 -37 -37l-2 -13v0zM232 173l1 -2l2 1q42 35 35 51 | ||
| 184 | +q2 1 2 3h-3q-43 -33 -36 -49q-2 -2 -1 -4v0zM241 212l1 -2q20 15 66 58l3 1l-7 15l1 5l-3 -1q-55 -49 -56 -57l-5 -19v0zM312 107l-36 -14q-2 0 -16 -11l1 -2l12 2l20 8q18 7 61 46l-6 15l-3 -1q-36 -25 -31 -37q2 -4 -2 -6v0zM268 265l1 -2q26 25 28 26l-1 2l-9 -4 | ||
| 185 | +q-18 -7 -19 -22v0zM276 223q24 -57 12 -90l-4 -29l27 11q-11 44 -32 106l-1 3l-2 -1v0zM279 232l7 -15q20 22 32 27l-3 9l-3 12l-2 -1q-32 -25 -31 -32v0zM293 195q36 25 29 41l-3 6h-2q-32 -29 -28 -39l4 -8v0zM294 190l3 -6l3 -12l2 1l-1 -5l7 -15l32 27l-6 16 | ||
| 186 | +q-14 -16 -21 -19l-2 -1q-1 3 20 26l-3 13l-1 3l-33 -28v0zM307 148l3 -6l2 -12q36 26 34 31l-5 13q-17 -12 -34 -26v0zM356 132q-36 -27 -31 -37l1 -10q38 27 35 34q37 32 43 34l-1 2q-2 4 -14 4l-31 -31l-2 4v0zM328 81l5 -10l-1 -5h2q18 11 26 18t7 10l-5 13l-34 -26v0z | ||
| 187 | +M334 61l5 -13q39 20 36 27l-4 11q-33 -23 -37 -25v0zM358 140l1 -4q8 3 11 24l-2 -1q-5 -17 -10 -19v0zM732 256h4q-1 -4 14 -20v-11q-2 -34 -13 -96q19 -1 39 -30v-4l-48 -11l-2 -37q0 -8 -44 -8q-8 14 -16 14v2q1 34 6 43h-4l-1 -13l-9 1q-56 2 -70 24h-4v4q1 22 89 124 | ||
| 188 | +q15 -1 29 16q19 3 30 2v0zM588 116v-2q13 -5 23 -5q2 0 20 5l1 2q-10 0 -10 9q-34 -5 -34 -9v0zM590 121q42 8 43 17q0 3 4 7v2q-40 -11 -40 -13q-7 -9 -7 -13v0zM620 165h10q-3 -3 -18 -9q-9 -11 -9 -14q42 9 42 16l5 8l-4 -2h-8v2q14 -1 29 21v2q-39 -11 -40 -15l-7 -9v0z | ||
| 189 | +M671 110l-32 1q-2 0 -16 -3v-1l10 -3l17 -1q16 0 62 14l1 13l-2 1q-36 -7 -36 -17q-1 -4 -4 -4v0zM635 185v-2h2q44 12 45 27q2 0 2 1h-2q-44 -9 -45 -24q-2 0 -2 -2v0zM686 207q-3 -50 -24 -70l-13 -20l24 -2q8 39 15 90v2h-2v0zM656 211v-2q21 5 70 21h2l1 13l2 4h-2 | ||
| 190 | +q-59 -19 -62 -24l-11 -12v0zM670 68v-11q36 2 36 8v9q-33 -6 -36 -6v0zM673 85v-9l-2 -4h1q34 4 35 10v11l-34 -8v0zM712 114q-36 -8 -36 -18l-3 -7q38 8 39 13q38 12 44 11v2q-1 4 -10 8l-34 -13v4v0zM682 142v-6l-3 -9q9 1 16 3t11.5 3t6.5 2.5t2 2.5l1 11q-16 -2 -34 -7 | ||
| 191 | +v0zM688 177v-6l-3 -9h2l-2 -4l-1 -13l34 10l1 13q-16 -7 -22 -7h-2q0 2 24 13l3 11v2l-34 -10v0zM688 181q36 7 37 21v6h-2q-34 -11 -34 -19l-1 -8v0zM692 213l-1 -13q24 10 34 9l1 8l2 9h-2q-33 -8 -34 -13v0zM695 241v-2q29 10 30 10v2h-7q-17 1 -23 -10v0zM716 119v-4 | ||
| 192 | +q7 0 17 14l-2 1q-10 -11 -15 -11v0zM479 382q80 15 109 -24q15 -28 18 -45q18 -85 -53 -138q-18 -8 -30 -10q-48 -10 -96 33q-14 24 -18 44q-20 96 46 133l24 7v0zM410 265q9 8 16 9q-15 -14 -14 -17q-1 -8 1 -14h2q36 24 35 30l-2 10q-6 -5 -12 -7l-1 4q16 4 14 30h-2 | ||
| 193 | +q-34 -25 -37 -34q-1 -4 0 -11v0zM410 286q50 33 45 57q-23 -18 -34 -27.5t-10 -10.5q-2 -14 -1 -19v0zM413 316v-2q41 31 53 49q15 3 20 16h-2q-55 -10 -71 -63v0zM414 235q4 -8 5 -14q29 23 35 24l-4 18q-9 -2 -36 -28v0zM422 220q3 -15 10 -15l27 22q0 2 -5 16 | ||
| 194 | +q-25 -22 -32 -23v0zM433 199q7 -9 10 -8l4 1q17 15 25 17q-2 6 -10 15q-30 -22 -29 -25v0zM448 186l1 -3q4 1 12 -3q28 15 28 20q-9 2 -10 8q-18 -8 -31 -22v0zM469 179l1 -2l15 1l12 2q4 1 18 10v2q-11 -2 -21 5l-25 -18v0zM476 249l5 -22q5 -21 29 -32l4 1q37 51 23 119 | ||
| 195 | +l-3 12l-6 19l-6 -1q-6 -1 -31 2q-25 -45 -15 -98v0zM476 363l1 -2q17 -3 20 -2q21 15 23 23l-21 -2q-4 -1 -23 -17v0zM509 363l4 3q2 0 15 -10q15 20 24 21q-1 5 -23 5q-21 -17 -20 -19v0zM512 185v-2l4 1q30 6 48 40q-15 -15 -52 -39v0zM522 198q57 36 54 53q3 7 2 11 | ||
| 196 | +q-53 -40 -49 -55q-4 -1 -7 -9v0zM529 352l7 -15l2 1q7 8 27 26v2q-8 8 -9 10h-4l-23 -24v0zM537 333l4 -9v-9l4 1q29 27 29 28l-1 3q-3 13 -7 13q-26 -26 -29 -27v0zM540 236q21 15 30.5 25t8.5 14q3 11 2 15h-2l-35 -30q-5 -22 -4 -24v0zM542 307l3 -12l10 4 | ||
| 197 | +q-11 -11 -10 -14q-1 -16 -1 -19q29 21 37 34l-3 12q-10 -10 -17 -11q13 17 18 18l-4 19q-30 -26 -33 -31v0zM307 569q-16 0 -20 -16q-3 -11 4 -21t26 -15v50q-5 2 -10 2v0zM710 537v-3q3 5 3 12q0 8 -6 14.5t-15 6.5q-5 0 -9 -3q11 0 19 -8t8 -19v0zM532 520q0 7 -8 19.5 | ||
| 198 | +t-17 21.5l-8 8q0 -25 12 -48q-3 -5 -6.5 -13.5t-4.5 -13.5l-2 -6q33 16 34 32v0zM489 507q4 0 4 4.5t-4.5 4.5t-4.5 -4.5t5 -4.5v0zM445 630l-2 16q-2 -1 -14 0.5t-28.5 -6.5t-21.5 -25q17 19 66 15v0zM621 615q-5 17 -20.5 24.5t-29.5 7.5h-14q-1 -8 -2 -17q49 4 66 -15v0z | ||
| 199 | +M420 518q22 0 38 14.5t16 35t-16 34.5t-38.5 14t-38 -14t-15.5 -34.5t15.5 -35t38.5 -14.5v0zM420 614q21 0 36 -13.5t15 -33t-15 -33t-36.5 -13.5t-36.5 13.5t-15 33t15 33t37 13.5v0zM420 534q15 0 25.5 10t10.5 23.5t-10.5 23t-25.5 9.5t-26 -9.5t-11 -23t11 -23.5 | ||
| 200 | +t26 -10v0zM435 552q4 4 7 1.5t-0.5 -6.5t-6.5 -1t0 6v0zM396 586q10 10 18 3t-2 -18q-9 -10 -18 -3q-8 8 2 18v0zM584 518q23 0 38.5 14.5t15.5 35t-15.5 34.5t-38 14t-38.5 -14t-16 -34.5t16 -35t38 -14.5v0zM584 614q22 0 37 -13.5t15 -33t-15 -33t-36.5 -13.5t-36.5 13.5 | ||
| 201 | +t-15 33t15 33t36 13.5v0zM584 534q15 0 25.5 10t10.5 23.5t-10.5 23t-25.5 9.5t-25.5 -9.5t-10.5 -23t10.5 -23.5t25.5 -10v0zM600 552q3 4 6 1.5t-0.5 -6.5t-6.5 -1t1 6v0zM561 586q9 10 17.5 3t-1.5 -18q-10 -10 -18 -3q-8 8 2 18v0zM957 382v0q-2 2 -2 2.5v0.5l-0.5 0.5 | ||
| 202 | +t-1.5 0.5h-1q-9 13 -14 19t-19.5 15.5t-29.5 12.5v35q0 8 -5 8h-198q0 16 -1 28q19 2 31.5 13.5t12.5 28.5t-13.5 29t-32.5 13q-3 134 -7 150l-1 1q-3 4 -21 8q0 22 -12 47q4 -23 -26 -39h-1q0 4 -0.5 8.5t-5 16.5t-13 23t-26.5 25t-43 25q-2 -59 -32 -86v0l-6 -1v0v0v0v0h1 | ||
| 203 | +q-1 0 -1 -1q-24 -18 -65 -18q-20 0 -44 4q-6 1 -11.5 1t-16.5 -3v0v0q-27 -6 -30 -10l-1 -1q-2 -11 -6 -151q-19 -1 -32 -13t-13 -29q0 -16 12.5 -28t31.5 -13q-1 -16 -1 -28h-181q-3 0 -6.5 -3t-3.5 -6v-97q-16 -1 -27 -5q-36 -13 -36 -60q0 -2 1 -4q-7 -13 -5 -35 | ||
| 204 | +q2 -11 5 -14q-5 -10 2 -27q5 -13 22 -10q-7 -13 11 -29h3.5t4.5 2t5.5 4t6.5 5t6 5v-267q0 -6 11 -6h752q5 0 5 6v313q24 2 38 20q8 11 9 17q60 40 21 97v0zM316 509q-17 0 -28.5 10.5t-11.5 25.5q0 16 12 26.5t30 10.5v3v-1v-2h0.5h0.5h2v1q11 2 19 4q5 15 13.5 31t14.5 24 | ||
| 205 | +l6 9q-9 29 -13 67q24 -41 82 -56.5t115.5 -2t82.5 47.5q-2 -15 -5.5 -29t-5.5 -21l-2 -6q24 -29 34 -64q2 -1 6.5 -1.5t7.5 -0.5t5 -1v3h1q17 0 29.5 -12t12.5 -27t-11 -26q-15 -10 -41 -10l2 -35h-356q0 5 0.5 15t0.5 15v2h-3v0zM127 463q0 3 3.5 6t6.5 3h742q5 0 5 -9v-29 | ||
| 206 | +q0 2 -10 1q-48 -5 -61 -10h-637l-1 -2v-60q-16 8 -48 7v93v0zM821 -14h-640v297q16 6 15 22q-1 12 -15 16v8q2 1 3 2t1.5 2.5l0.5 1.5q9 17 -5 24v56h615q-5 -10 -5 -12q-2 -11 -2 -29l-91 -59q-1 0 -3 -1t-6.5 -5t-6.5 -7.5t-3.5 -9t2.5 -9.5q15 -23 51 -1q49 30 64 41v-1 | ||
| 207 | +v0l-3 -2q-9 -6 -4.5 -22t20.5 -19q2 -1 5.5 -0.5t3.5 1.5v-294h3v0zM178 271q0 5 -5 8l5 2v-10v0zM178 323h-2h-1l3 2v-2v0zM879 -66h-742q-10 0 -10 7v266q1 0 6 3q16 7 25.5 17.5t0.5 15.5h-1h-1q18 7 18 21v-289l655 2v292q17 -16 35 -10q4 -9 19 -10v-308q0 -7 -5 -7v0z | ||
| 208 | +M879 -66z" /> | ||
| 209 | + <glyph glyph-name="lunbozutu" unicode="" | ||
| 210 | +d="M1002 60v468q0 19 -12 34t-30 15h-64l1 7q0 23 -17 40t-41 17h-653q-23 0 -40.5 -19.5t-17.5 -44.5v1h-61q-19 0 -32 -13t-13 -31v-468h-1q0 -18 13.5 -31t32.5 -13h61v-5q0 -24 17 -41t41 -17h653q56 0 57 42h64q17 0 30 19.5t13 39.5h-1zM128 65h-64v470h64v-470z | ||
| 211 | +M853 23q0 -5 -8 -13.5t-13 -8.5h-640q-5 0 -13 8.5t-8 13.5v554q0 5 5.5 12t9.5 7l6 3h640q5 0 13 -8.5t8 -13.5v-554zM960 44h-64v491l61 2h3v0v-2v-470q0 -1 1 -7t1 -10t-2 -4zM412.5 316q32.5 0 56 22.5t23.5 54.5t-23.5 55t-56 23t-56 -23t-23.5 -55t23.5 -54.5 | ||
| 212 | +t56 -22.5zM412.5 432q16.5 0 28 -11.5t11.5 -27.5t-11.5 -27t-28 -11t-28 11t-11.5 27t11.5 27.5t28 11.5zM786 373q-34 -8 -61.5 -22.5t-48.5 -36.5t-31.5 -36.5t-26.5 -38.5q-21 -33 -34.5 -46t-30.5 -13v0q-17 0 -33 5t-23.5 9t-24.5 14q-16 10 -25.5 15t-27 10t-35.5 5 | ||
| 213 | +q-26 0 -55.5 -13.5t-54 -35t-36.5 -33.5t-20 -22l-5 -51q0 -8 6 -13t14 -5h558q8 0 14 5t6 13v272q0 9 -8 15t-17 3zM771 105h-518q85 95 131 95q28 0 67 -25q18 -10 28 -15.5t30.5 -11.5t41.5 -6l3 -1q17 0 31 6t26.5 19t20 22.5t19.5 29.5q24 37 50.5 61.5t69.5 40.5v-215 | ||
| 214 | +z" /> | ||
| 215 | + <glyph glyph-name="help" unicode="" | ||
| 216 | +d="M690 742q-74 56 -195 56q-93 0 -151 -39q-88 -60 -88 -217h154q0 2 -0.5 14t0 16t1 13.5t2 15.5t4.5 13.5t7 13.5q29 47 80 47q30 0 48 -8.5t34 -27.5q23 -29 23 -72q0 -28 -26 -63q-11 -16 -30 -30q-9 -6 -23.5 -15.5t-45 -35t-43.5 -46.5q-28 -45 -31 -130 | ||
| 217 | +q-1 -12 14 -12h124q13 0 14 13q2 43 6 59q10 32 40 54l41 29q67 52 81 72q38 52 38 114q0 107 -78 166zM484 156q-40 1 -67.5 -24.5t-29 -66.5t25 -67.5t66.5 -27.5q41 -1 68.5 23.5t28.5 66t-25 68t-67 28.5z" /> | ||
| 218 | + <glyph glyph-name="daima1" unicode="" horiz-adv-x="1025" | ||
| 219 | +d="M513.5 810q-103.5 0 -198.5 -40.5t-163 -109t-108.5 -163t-40.5 -198.5t40.5 -198.5t108.5 -163t163 -109t198.5 -40.5t198.5 40.5t163 109t108.5 163t40.5 198.5t-40.5 198.5t-108.5 163t-163 109t-198.5 40.5zM513.5 -167q-94.5 0 -181 36.5t-149 99t-99.5 149 | ||
| 220 | +t-37 181.5t37 181t99.5 148.5t149 99.5t181 37t181 -37t149 -99.5t99.5 -148.5t37 -181t-37 -181.5t-99.5 -149t-149 -99t-181 -36.5zM172 276l242 -104v45l-192 80l192 78v45l-242 -102v-42zM443 109h36l106 379h-36zM613 420v-45l192 -78l-192 -80v-45l242 104v42z" /> | ||
| 221 | + <glyph glyph-name="jinshui" unicode="" | ||
| 222 | +d="M862 -50q-44 0 -75.5 32t-31.5 78q0 28 14 53v1l80 137v0l13 22l14 -22v0l79 -136q1 -1 1 -2q14 -25 14 -53q0 -46 -31.5 -78t-76.5 -32v0zM924 105v0l-62 114l-61 -114h-1q-9 -19 -9 -40q0 -33 21 -56t50.5 -23t50.5 23t21 56q0 21 -10 40v0zM683 309q-67 0 -114.5 50 | ||
| 223 | +t-47.5 121q0 45 21 84q0 1 1 1l120 212v0l20 35l20 -35v0l119 -210l2 -4q20 -39 20 -83q0 -71 -47 -121t-114 -50v0zM791 546v1l-108 193l-109 -193v-1q-17 -31 -17 -57q0 -57 37 -100.5t89 -43.5t88.5 39.5t36.5 94.5q0 36 -17 67v0zM539 193q2 -3 3 -6q33 -61 33 -131 | ||
| 224 | +q0 -111 -76.5 -189.5t-184 -78.5t-184 78.5t-76.5 189.5q0 71 34 132q0 2 1 3l193 332v0l32 55l32 -55v0l193 -330v0zM314 507l-194 -333q-1 -1 -1 -2q-31 -54 -31 -116q0 -96 66.5 -164t160 -68t159.5 68t66 164q0 62 -30 116q-1 1 -1 2l-195 333v0z" /> | ||
| 225 | + <glyph glyph-name="guanyu" unicode="" | ||
| 226 | +d="M514 835q-92 0 -175.5 -36t-144 -96.5t-96.5 -144t-36 -175.5t36 -175.5t96.5 -144t144 -96.5t175.5 -36t176 36t144.5 96.5t96 144t35.5 175.5t-35.5 175.5t-96 144t-144.5 96.5t-176 36zM514.5 -20q-109.5 0 -202.5 54t-147 146.5t-54 202t54 202.5t147 147t202.5 54 | ||
| 227 | +t202 -54t146.5 -147t54 -202.5t-54 -202t-146.5 -146.5t-202 -54zM514 594q-14 -16 -14 -38q0 -18 12 -30q11 -12 29 -12q20 0 36 16q14 17 14 38q0 18 -11 30q-13 13 -32.5 12t-33.5 -16zM549 293q-14 -14 -26 -23q6 29 28 103q18 63 18 73q0 13 -10 22q-22 18 -69 -8 | ||
| 228 | +q-24 -14 -54 -47l-11 -11l35 -27l9 9q8 9 20 19q-39 -128 -39 -164q0 -16 10 -27q9 -10 25 -10q15 0 36 11q19 11 59 49l11 10l-31 31z" /> | ||
| 229 | + <glyph glyph-name="xiangshang" unicode="" | ||
| 230 | +d="M514 539l384 -384q9 -9 22 -9t22.5 9.5t9.5 22t-10 22.5l-403 403q-13 13 -25 13q-20 0 -26 -6l-410 -410q-9 -10 -9 -22.5t9.5 -22t22.5 -9.5t22 9z" /> | ||
| 231 | + <glyph glyph-name="riqi" unicode="" | ||
| 232 | +d="M933 674h-167v57h-34v-57h-192v57h-34v-57h-217v57h-33v-57h-168q-9 0 -15.5 -6.5t-6.5 -15.5v-706q0 -10 6.5 -16.5t15.5 -6.5h845q9 0 15.5 6.5t6.5 16.5v706q0 9 -6.5 15.5t-15.5 6.5zM939 -54q0 -6 -6 -6h-845q-6 0 -6 6v706q0 6 6 6h168v-56h33v56h217v-56h34v56 | ||
| 233 | +h192v-56h34v56h167q6 0 6 -6v-706zM207 524h129v-94h-129v94zM459 524h129v-94h-129v94zM685 524h129v-94h-129v94zM207 349h129v-94h-129v94zM459 349h129v-94h-129v94zM685 349h129v-94h-129v94zM207 174h129v-94h-129v94zM459 174h129v-94h-129v94zM685 174h129v-94h-129 | ||
| 234 | +v94z" /> | ||
| 235 | + <glyph glyph-name="wenjian1" unicode="" | ||
| 236 | +d="M893.5 644.5q-32.5 32.5 -77.5 32.5h-353l-120 95l-11 9h-14h-142q-39 0 -66.5 -28t-27.5 -68v-255v-7v-341q0 -46 32.5 -78t77.5 -32h624q45 0 77.5 32t32.5 78v485q0 45 -32.5 77.5zM176 740h142l131 -104h367q28 0 48.5 -20.5t20.5 -48.5v-120h-762v238q0 23 15.5 39 | ||
| 237 | +t37.5 16zM816 13h-624q-28 0 -48.5 20t-20.5 49v324h762v-324q0 -29 -20.5 -49t-48.5 -20z" /> | ||
| 238 | + <glyph glyph-name="delete" unicode="" | ||
| 239 | +d="M739 24h-452q-20 0 -34.5 14.5t-14.5 33.5v418q0 20 14.5 34.5t34.5 14.5h452q20 0 34.5 -14.5t14.5 -34.5v-418q0 -19 -14.5 -33.5t-34.5 -14.5zM287 495q-7 0 -7 -5v-418q0 -4 7 -4h452q7 0 7 4v418q0 5 -7 5h-452zM832 496h-640q-21 0 -35.5 13.5t-14.5 31.5v61 | ||
| 240 | +q0 19 14.5 32t35.5 13h640q21 0 35.5 -13t14.5 -32v-61q0 -18 -14.5 -31.5t-35.5 -13.5zM185 541q1 -3 7 -3h640q6 0 7 3v61q-1 3 -7 3h-640q-6 0 -7 -3v-61zM601 605h-175q-20 0 -34.5 13.5t-14.5 31.5v11q0 19 14.5 32t34.5 13h175q20 0 34.5 -13t14.5 -32v-11 | ||
| 241 | +q0 -18 -14.5 -31.5t-34.5 -13.5zM419 650q2 -2 7 -2h175q5 0 7 2v11q-2 3 -7 3h-175q-5 0 -7 -3v-11zM404 431h-30q-5 0 -9 -4t-4 -9v-273q0 -5 4 -9t9 -4h30q6 0 9.5 4t3.5 9v273q0 5 -3.5 9t-9.5 4zM660 431h-31q-5 0 -9 -4t-4 -9v-273q0 -5 4 -9t9 -4h31q5 0 9 4t4 9v273 | ||
| 242 | +q0 5 -4 9t-9 4zM532 431h-30q-6 0 -9.5 -4t-3.5 -9v-273q0 -5 3.5 -9t9.5 -4h30q5 0 9 4t4 9v273q0 5 -4 9t-9 4z" /> | ||
| 243 | + <glyph glyph-name="top" unicode="" | ||
| 244 | +d="M812 153l-300 173l-300 -173l300 604zM264 209l248 143l248 -143l-248 499zM372 138v-126h-16v126h-46v15h107v-15h-45v0zM507 154q40 0 50 -11.5t10 -58.5q0 -50 -10 -61.5t-50.5 -11.5t-50 11.5t-9.5 60.5v10v13q0 28 12 38q13 10 48 10zM506 141q-33 0 -38.5 -7.5 | ||
| 245 | +t-5.5 -51t5.5 -51t39 -7.5t39 7.5t5.5 51.5v9v13q0 23 -7.5 29.5t-37.5 6.5zM608 12v141h60h5q24 0 32.5 -9t8.5 -35q0 -24 -9 -32.5t-34 -8.5h-6h-41v-56h-16zM624 81h38q24 0 30.5 5t6.5 22q0 21 -4.5 26.5t-21.5 5.5h-6h-43v-59v0z" /> | ||
| 246 | + <glyph glyph-name="haoyouqingqiu" unicode="" | ||
| 247 | +d="M672 766q9 -38 8 -95q0 -1 -3.5 -40.5t-2.5 -49.5q1 -7 2 -11t4 -9t5 -9q11 -24 3 -72q-5 -26 -13 -39q-3 -5 -14 -10.5t-14 -12.5q-6 -10 -7 -32t-3 -30q-3 -8 -14 -22t-11 -30q19 -3 25 -4q25 -57 39 -67q21 -6 39 -11q26 -11 76.5 -34t65.5 -29q9 -4 31 -12t33 -13.5 | ||
| 248 | +t24 -17.5t18 -28q0 -10 1.5 -65.5t1.5 -79.5h-908q0 24 1 79.5t1 65.5q5 16 18 28t24.5 17.5t33.5 13.5t31 12q14 6 65 29t77 34q18 5 39 11q13 10 39 67l19 5q-3 14 -13 25.5t-12 18.5q-1 6 -7 78q0 -1 -4.5 0t-9 2.5t-6.5 1.5q-6 5 -11 14t-8 24t-4 24t-2 26.5t-1 18.5 | ||
| 249 | +q-1 4 6 18t4 27q-19 94 2.5 159t69.5 81q22 10 38 15t44 10.5t56 0t53 -21.5l18 -18l29 -5q7 -4 13 -13.5t8 -17.5z" /> | ||
| 250 | + <glyph glyph-name="weibiaoti1" unicode="" | ||
| 251 | +d="M960 640l-45 45l-544 -512l-262 281l-45 -44l294 -327l7 7l6 -7z" /> | ||
| 252 | + <glyph glyph-name="chuangkou" unicode="" | ||
| 253 | +d="M96 724v-684h832v684h-832zM884 84h-744v406h744v-406z" /> | ||
| 254 | + <glyph glyph-name="comiisbiaoqing" unicode="" | ||
| 255 | +d="M511.5 832q-90.5 0 -173.5 -35.5t-143 -95.5t-95.5 -143t-35.5 -174t35.5 -174t95.5 -143t143 -95.5t173.5 -35.5t173.5 35.5t143 95.5t95.5 143t35.5 174t-35.5 174t-95.5 143t-143 95.5t-173.5 35.5zM511.5 -26q-111.5 0 -206 55t-149.5 149.5t-55 205.5t55 205.5 | ||
| 256 | +t149.5 149.5t206 55t206 -55t149.5 -149.5t55 -205.5t-55 -205.5t-149.5 -149.5t-206 -55zM724.5 282.5q-7.5 2.5 -14.5 -1t-9 -10.5q-22 -60 -74 -96.5t-115 -36.5q-64 0 -116 37t-73 97q-3 7 -10 10.5t-14 1t-10.5 -9.5t-1.5 -15q26 -71 87.5 -114.5t137.5 -43.5 | ||
| 257 | +q75 0 136.5 43.5t87.5 113.5q2 8 -1 15t-10.5 9.5zM302 494q0 -18 13.5 -31.5t32 -13.5t31.5 13.5t13 32t-13 31.5t-31.5 13t-32 -13t-13.5 -32v0zM631 494q0 -18 13.5 -31.5t32 -13.5t31.5 13.5t13 32t-13 31.5t-31.5 13t-32 -13t-13.5 -32v0z" /> | ||
| 258 | + <glyph glyph-name="zhengque" unicode="" | ||
| 259 | +d="M512 832q-91 0 -174 -35.5t-143 -95.5t-95.5 -143t-35.5 -174t35.5 -174t95.5 -143t143 -95.5t174 -35.5t174 35.5t143 95.5t95.5 143t35.5 174t-35.5 174t-95.5 143t-143 95.5t-174 35.5zM433 160l-186 252l68 61l118 -129l291 264l53 -56z" /> | ||
| 260 | + <glyph glyph-name="iconfontwodehaoyou" unicode="" horiz-adv-x="1449" | ||
| 261 | +d="M1383 -40l-3 26l-7 31l-10 30l-14 31l-14 23l-20 23l-22 18l-30 17l-22 10l-29 7l-29 7l-25 10l-31 14l-25 12l-31 14l-23 14v83l10 11l9 16l7 16l6 19l6 24l2 18l4 -1l6 1l6 4l5 9l4 11l2 14l3 24l1 21l-1 18l-4 11l-7 4l-4 -1l3 24l3 28l1 25v21l-3 18l-6 19l-8 16 | ||
| 262 | +l-11 19l-12 16l-15 12l-19 12l-23 11l-20 5l-24 4l-23 1l-24 -4l-23 -8l-21 -9l-17 -11l-17 -15l-16 -17l-14 -20l-10 -22l-6 -25l-1 -32l3 -30l4 -38h-8l-6 -7l-1 -13l1 -30l4 -34l3 -17l6 -10l10 -5l6 1l4 -28l4 -16l6 -18l9 -18l10 -14l8 -10l-1 -85l8 -3l12 -3l12 -5 | ||
| 263 | +l12 -4l11 -4l9 -5l12 -5l13 -7l13 -8l11 -8l13 -10l12 -11l11 -14l12 -15l13 -17l10 -21l9 -22l9 -21l5 -19l4 -20l4 -23l2 -27l1 -18l-1 -16l-4 -13l-7 -13l-8 -9l-15 -8h309l14 7l11 11l7 12l2 15zM439 816l-18 -19l-15 -22l-11 -24l-7 -28l-1 -35l3 -32l5 -43h-10l-6 -7 | ||
| 264 | +l-1 -14l1 -33l5 -38l3 -19l6 -10l11 -6l7 1l4 -30l5 -18l7 -20l9 -20l11 -15l9 -11l-1 -93l-15 -10l-34 -16l-35 -16l-29 -13l-22 -10l-25 -8l-26 -5l-25 -6l-26 -11l-24 -12l-21 -15l-24 -25l-17 -24l-13 -25l-11 -25l-10 -30l-5 -23l-4 -20l-3 -23v-20l3 -21l11 -14 | ||
| 265 | +l15 -10l20 -2h861l15 8l13 12l7 13l2 16l-2 22l-3 28l-8 34l-11 33l-16 34l-15 25l-22 25l-24 20l-33 19l-24 11l-32 8l-32 8l-27 10l-35 16l-27 13l-34 16l-26 14v92l11 12l11 18l8 17l6 21l6 26l3 20l4 -1l7 1l6 5l6 10l4 12l3 15l2 27l2 23l-2 19l-4 13l-8 4l-4 -1l4 26 | ||
| 266 | +l3 31l1 28v22l-4 21l-6 20l-9 18l-12 21l-13 17l-16 13l-21 13l-26 13l-22 5l-26 5h-26l-26 -4l-25 -9l-23 -9l-19 -13z" /> | ||
| 267 | + <glyph glyph-name="wenjianxiazai" unicode="" | ||
| 268 | +d="M187 77v582q24 -24 57 -24h560v-151h25v176h-585q-23 0 -40 17t-17 40.5t17 40.5t40 17h573v25h-573q-34 0 -58 -24t-24 -58v-641q0 -31 22 -53.5t54 -22.5h226v25h-226q-21 0 -36 15t-15 36zM237 730h560v-25h-560v25zM686 428q-64 0 -118 -37.5t-76 -98.5 | ||
| 269 | +q-23 -61 -5.5 -125t67.5 -105.5t116.5 -46.5t122.5 29q56 33 82.5 93.5t13.5 124.5q-14 72 -72 119t-131 47zM686 39q-57 0 -104 33t-67 86q-20 54 -4.5 110.5t60 93t102.5 41t107 -25.5t72.5 -83.5t12.5 -109.5q-13 -62 -64 -103.5t-115 -41.5zM699 152v159h-25v-159 | ||
| 270 | +l-69 69l-18 -18l99 -99l99 99l-18 18z" /> | ||
| 271 | + <glyph glyph-name="tupian" unicode="" | ||
| 272 | +d="M959 63h-893v638h893v-638zM98 95h829v574h-829v-574zM649 398h-2q-36 0 -61.5 25.5t-25.5 60.5v2q0 36 25.5 61.5t61.5 25.5h2q36 0 61 -25.5t25 -61.5v-2q0 -35 -25 -60.5t-61 -25.5zM647 541q-23 0 -39 -16t-16 -39v-2q0 -22 16 -38t39 -16h2q22 0 38.5 16t16.5 38v2 | ||
| 273 | +q0 23 -16.5 39t-38.5 16h-2zM91 160l-23 23l275 279l22 -22zM605 195l-265 264l23 23l264 -265zM619 181l-23 23l168 171l23 -23zM926 201l-167 168l22 22l167 -167z" /> | ||
| 274 | + <glyph glyph-name="lianjie" unicode="" | ||
| 275 | +d="M262 -122q-102 0 -179 77t-77 182.5t77 182.5l135 134l89 -89l-134 -135q-39 -38 -39 -89t38.5 -89.5t90 -38.5t89.5 38l179 179q39 39 39 90q0 47 -32 90l-71 64l90 89l70 -70q71 -71 71 -179q0 -112 -77 -180l-179 -179q-33 -37 -81.5 -57t-98.5 -20zM467 205l-70 64 | ||
| 276 | +q-77 77 -77 182.5t77 182.5l179 179q77 77 182.5 77t182.5 -77t77 -182.5t-77 -182.5l-135 -134l-89 89l134 135q39 38 39 89t-38.5 89.5t-92 38.5t-87.5 -38l-186 -173q-38 -38 -38 -89.5t38 -89.5l71 -71z" /> | ||
| 277 | + <glyph glyph-name="jilu" unicode="" | ||
| 278 | +d="M828 700.5q-63 63.5 -145 97t-171.5 33.5t-171.5 -33.5t-145 -97t-97 -145t-34 -171.5q0 -133 72 -244q7 -11 20 -13.5t23.5 4.5t13.5 19.5t-4 23.5q-63 95 -63 210q0 104 51.5 193t140.5 140.5t193.5 51.5t193.5 -51.5t140.5 -140.5t51.5 -193.5t-51.5 -193t-140.5 -140 | ||
| 279 | +t-193 -51.5q-108 0 -200 55q-11 7 -23.5 3.5t-19 -14.5t-3.5 -23.5t14 -18.5q107 -65 232 -65q89 0 171 34t145 97.5t97 145t34 171.5t-34 171.5t-97 145zM494.5 690q-16.5 0 -28 -11.5t-11.5 -27.5v-284v-2v-2q2 -15 13 -24.5t27 -9.5v0v0h224q16 0 27.5 12t11.5 28 | ||
| 280 | +t-11.5 27.5t-27.5 11.5h-185v243q0 16 -11.5 27.5t-28 11.5z" /> | ||
| 281 | + <glyph glyph-name="liucheng" unicode="" | ||
| 282 | +d="M512 640h9h117h138h117q24 0 41 -12.5t23 -33.5q2 -9 2 -20v-509q0 -28 -18.5 -46.5t-46.5 -18.5h-763q-29 0 -47.5 18.5t-18.5 47.5v636q0 29 18.5 47.5t47.5 18.5h314q30 0 48.5 -18.5t18.5 -47.5v-55v-7zM129 640h319v64h-319v-64z" /> | ||
| 283 | + <glyph glyph-name="fontstrikethrough" unicode="" | ||
| 284 | +d="M928 448h-144q-5 84 -29 145q-12 29 -37 58.5t-61.5 56.5t-87 43.5t-105.5 16.5h-208v-320h-160q-13 0 -22.5 -9.5t-9.5 -22.5t9.5 -22.5t22.5 -9.5h160v-320h230q55 0 103 16t80 42t52.5 53.5t32.5 55.5q27 70 31 153h143q13 0 22.5 9.5t9.5 22.5t-9.5 22.5t-22.5 9.5z | ||
| 285 | +M349 711h64q3 0 9 1q10 2 26 0t35 -2.5t40.5 -8.5t42.5 -18t40.5 -31t35 -47.5t26 -67t12.5 -89.5h-331v263zM439 121h-90v262v1h331q-3 -55 -17 -99.5t-31.5 -71t-44 -46t-45.5 -28.5t-45.5 -13.5t-35 -4.5h-22.5z" /> | ||
| 286 | + <glyph glyph-name="unlink" unicode="" | ||
| 287 | +d="M150 768q-12 -4 -18.5 -16t-2.5 -25q3 -8 9 -13l123 -123q7 -11 20 -14t24 4t14 20t-4 24q-4 6 -10 10l-123 123q-11 12 -28 10h-4v0zM406 831q-10 -3 -16 -12t-6 -20v-127q0 -13 9.5 -22.5t22.5 -9.5t22.5 9.5t9.5 22.5v127q0 14 -9 23.5t-22 9.5q-3 0 -7 -1q-2 1 -4 0 | ||
| 288 | +v0zM91 512q-13 -2 -21 -13t-6 -24t13 -21t24 -6h123q13 0 22.5 9.5t9.5 22.5t-9.5 22.5t-22.5 9.5h-123h-6h-4v0zM795 320q-13 -2 -21 -10.5t-6 -21.5q3 -14 14 -24t23 -8h123q13 0 22.5 11.5t9.5 25.5q0 13 -9 20t-23 7h-123h-6h-4v0zM598 127q-10 -3 -16 -12t-6 -20v-127 | ||
| 289 | +q0 -13 9.5 -22.5t22.5 -9.5t22.5 9.5t9.5 22.5v127q0 14 -9 23.5t-22 9.5q-3 0 -7 -1q-2 1 -4 0v0zM726 192q-12 -4 -18.5 -16t-2.5 -25q3 -8 9 -13l123 -123q7 -11 19.5 -14t24 4t14.5 19.5t-4 24.5q-4 6 -10 10l-123 123q-11 12 -28 10h-4v0v0zM340 28q-80 0 -136 56 | ||
| 290 | +t-56 135.5t56 136.5l88 87q9 10 22.5 10t23 -9.5t9.5 -22.5t-10 -23l-88 -88q-37 -37 -37 -90t37.5 -90.5t90.5 -37.5t90 37l88 88q10 10 23 10t22.5 -9.5t9.5 -23t-10 -22.5l-87 -88q-56 -56 -136 -56zM702 324q-13 0 -22.5 9t-9.5 22.5t9 22.5l88 88q38 37 38 90.5 | ||
| 291 | +t-37.5 90.5t-90.5 37t-91 -37l-88 -88q-9 -9 -22 -9t-22.5 9.5t-9.5 22.5t9 23l88 87q56 56 135.5 56t136 -56t56.5 -135.5t-57 -135.5l-87 -88q-10 -9 -23 -9z" /> | ||
| 292 | + <glyph glyph-name="bianjiwenzi" unicode="" horiz-adv-x="1063" | ||
| 293 | +d="M945 197h-88l-116 -325h74l17 62h135l18 -62h77l-117 325v0zM848 1l51 152l51 -152h-102v0zM210 490l-27 23l-171 -199q-13 -16 -11.5 -37t17 -34.5t36.5 -12t35 17.5l11 13q12 12 24 1q13 -11 2 -23q-15 -17 -18.5 -43t11.5 -41q17 -13 42.5 -6t40.5 24q5 5 12 5.5 | ||
| 294 | +t12 -4t5.5 -11.5t-3.5 -12q-15 -17 -18.5 -43t11.5 -41q17 -13 42.5 -6t40.5 24q5 5 12 5.5t12 -4.5q13 -11 2 -23q-15 -17 -18.5 -43t11.5 -41q17 -12 42.5 -5.5t40.5 23.5q11 12 24 1q5 -4 5.5 -11t-4.5 -12q-14 -17 -17.5 -43t11.5 -41q16 -14 37 -12.5t34 17.5l171 200 | ||
| 295 | +l-8 37l-449 357v0zM844 330l-164 141l250 244l10 10q28 32 25.5 74.5t-35 70.5t-75.5 25.5t-71 -34.5h-1l-219 -290l-164 143q-11 9 -25.5 8t-23.5 -12l-103 -116l-23 -26l26 -23l445 -384l30 -24l121 144q10 11 9 25t-12 24v0zM818 831q16 18 40 19.5t42 -14t20 -39.5 | ||
| 296 | +t-14 -42t-40 -19.5t-42.5 14t-20 39.5t14.5 42v0zM765 758q6 -27 27 -45t49 -19l-197 -199l-51 43l172 220v0zM776 300l-66 -81l-402 347l69 79q11 12 23 2l374 -324q6 -4 6.5 -11t-4.5 -12v0z" /> | ||
| 297 | + <glyph glyph-name="loading1" unicode="" | ||
| 298 | +d="M843 181q0 -5 5.5 -5t5.5 5v0q0 6 -5.5 6t-5.5 -6v0v0zM722 56v0q0 -4 3 -7.5t7.5 -3.5t8 3.5t3.5 7.5v0v0q0 5 -3.5 8t-8 3t-7.5 -3t-3 -8v0v0zM559 -8q0 -7 4.5 -12t11.5 -5t11.5 5t4.5 11.5t-4.5 11.5t-11.5 5t-11.5 -5t-4.5 -11v0zM383 0v0q0 -9 6 -15.5t15.5 -6.5 | ||
| 299 | +t15.5 6.5t6 15.5v0v0q0 9 -6 15.5t-15.5 6.5t-15.5 -6.5t-6 -15.5v0v0zM227 80q0 -11 8 -19t19 -8t19 8t8 19v0q0 12 -8 20t-19 8t-19 -8t-8 -20v0v0zM119 217q0 -14 9.5 -23.5t23 -9.5t23 9.5t9.5 23t-9.5 23t-23 9.5t-23 -9.5t-9.5 -22.5v0zM78 384q0 -16 11 -27.5 | ||
| 300 | +t27 -11.5t27 11.5t11 27.5t-11 27t-27 11t-27 -11t-11 -27v0zM111 550q0 -18 13 -31t31 -13t31 13t13 31t-13 31t-31 13t-31 -13t-13 -31v0zM211 684q0 -21 14.5 -35.5t35 -14.5t35 14.5t14.5 35.5v0q0 20 -14.5 34.5t-35 14.5t-35 -14.5t-14.5 -34.5v0v0zM358 760 | ||
| 301 | +q0 -22 16.5 -38t39 -16t38.5 16t16 38.5t-16 38.5t-38.5 16t-39 -16t-16.5 -39v0zM524 765q0 -25 17.5 -42.5t42.5 -17.5t42.5 17.5t17.5 42.5v0q0 25 -17.5 42.5t-42.5 17.5t-42.5 -17.5t-17.5 -42.5v0v0zM675 697q0 -27 19 -46t46.5 -19t46.5 19t19 46t-19 46.5 | ||
| 302 | +t-46.5 19.5t-46.5 -19.5t-19 -46.5v0zM782 569q0 -29 21 -50t50.5 -21t50 21t20.5 50.5t-20.5 50.5t-50 21t-50.5 -21t-21 -51v0zM825 404q0 -32 22.5 -54.5t54 -22.5t54 22.5t22.5 54.5t-22.5 54.5t-54 22.5t-54 -22.5t-22.5 -54.5v0z" /> | ||
| 303 | + <glyph glyph-name="sanjiao" unicode="" | ||
| 304 | +d="M293 728l427 -355l-427 -356v711z" /> | ||
| 305 | + <glyph glyph-name="danxuankuanghouxuan" unicode="" | ||
| 306 | +d="M512 848q-94 0 -180 -36.5t-148.5 -99t-99 -148.5t-36.5 -180t36.5 -180t99 -148.5t148.5 -99t180 -36.5t180 36.5t148.5 99t99 148.5t36.5 180t-36.5 180t-99 148.5t-148.5 99t-180 36.5zM512 -16q-109 0 -201 53.5t-145.5 145.5t-53.5 201t53.5 201t145.5 145.5 | ||
| 307 | +t201 53.5t201 -53.5t145.5 -145.5t53.5 -201t-53.5 -201t-145.5 -145.5t-201 -53.5z" /> | ||
| 308 | + <glyph glyph-name="danxuankuangxuanzhong" unicode="" | ||
| 309 | +d="M512 384zM320 383.5q0 79.5 56.5 136t136 56.5t135.5 -56.5t56 -136t-56 -135.5t-135.5 -56t-136 56t-56.5 135.5zM512 848q-94 0 -180 -36.5t-148.5 -99t-99 -148.5t-36.5 -180t36.5 -180t99 -148.5t148.5 -99t180 -36.5t180 36.5t148.5 99t99 148.5t36.5 180t-36.5 180 | ||
| 310 | +t-99 148.5t-148.5 99t-180 36.5zM512 -16q-109 0 -201 53.5t-145.5 145.5t-53.5 201t53.5 201t145.5 145.5t201 53.5t201 -53.5t145.5 -145.5t53.5 -201t-53.5 -201t-145.5 -145.5t-201 -53.5z" /> | ||
| 311 | + <glyph glyph-name="juzhongduiqi" unicode="" | ||
| 312 | +d="M992 448h-960q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5t-9.5 -22.5t-22.5 -9.5zM800 704q13 0 22.5 -9.5t9.5 -22.5t-9.5 -22.5t-22.5 -9.5h-576q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5h576zM992 832h-960q-13 0 -22.5 9.5 | ||
| 313 | +t-9.5 22.5t9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5t-9.5 -22.5t-22.5 -9.5zM224 256q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5h576q13 0 22.5 -9.5t9.5 -22.5t-9.5 -22.5t-22.5 -9.5h-576zM32 128h960q13 0 22.5 -9.5t9.5 -22.5t-9.5 -22.5t-22.5 -9.5h-960 | ||
| 314 | +q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5zM224 -64h576q13 0 22.5 -9.5t9.5 -22.5t-9.5 -22.5t-22.5 -9.5h-576q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5z" /> | ||
| 315 | + <glyph glyph-name="youduiqi" unicode="" | ||
| 316 | +d="M992 64h-960q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5t-9.5 -22.5t-22.5 -9.5zM992 256h-704q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5h704q13 0 22.5 -9.5t9.5 -22.5t-9.5 -22.5t-22.5 -9.5zM992 448h-960q-13 0 -22.5 9.5 | ||
| 317 | +t-9.5 22.5t9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5t-9.5 -22.5t-22.5 -9.5zM992 640h-704q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5h704q13 0 22.5 -9.5t9.5 -22.5t-9.5 -22.5t-22.5 -9.5zM992 832h-960q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5h960 | ||
| 318 | +q13 0 22.5 -9.5t9.5 -22.5t-9.5 -22.5t-22.5 -9.5zM288 -64h704q13 0 22.5 -9.5t9.5 -22.5t-9.5 -22.5t-22.5 -9.5h-704q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5z" /> | ||
| 319 | + <glyph glyph-name="zuoduiqi" unicode="" | ||
| 320 | +d="M992 448h-960q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5t-9.5 -22.5t-22.5 -9.5zM32 704h704q13 0 22.5 -9.5t9.5 -22.5t-9.5 -22.5t-22.5 -9.5h-704q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5zM992 832h-960q-13 0 -22.5 9.5 | ||
| 321 | +t-9.5 22.5t9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5t-9.5 -22.5t-22.5 -9.5zM32 320h704q13 0 22.5 -9.5t9.5 -22.5t-9.5 -22.5t-22.5 -9.5h-704q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5zM32 128h960q13 0 22.5 -9.5t9.5 -22.5t-9.5 -22.5t-22.5 -9.5h-960 | ||
| 322 | +q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5zM32 -64h704q13 0 22.5 -9.5t9.5 -22.5t-9.5 -22.5t-22.5 -9.5h-704q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5z" /> | ||
| 323 | + <glyph glyph-name="gongsisvgtubiaozongji22" unicode="" | ||
| 324 | +d="M79 832h864q6 0 11 -4.5t5 -11.5v-863q0 -7 -5 -11.5t-11 -4.5h-864q-7 0 -11.5 4.5t-4.5 11.5v863q0 7 4.5 11.5t11.5 4.5v0zM927 800h-832v-831h832v831z" /> | ||
| 325 | + <glyph glyph-name="gongsisvgtubiaozongji23" unicode="" | ||
| 326 | +d="M80 832h864q6 0 10.5 -4.5t4.5 -11.5v-863q0 -7 -4.5 -11.5t-10.5 -4.5h-864q-7 0 -11.5 4.5t-4.5 11.5v863q0 7 4.5 11.5t11.5 4.5v0zM928 800h-832v-831h832v831zM144 361q-11 12 0 23t22 0l11 -11l0.5 -0.5l0.5 -0.5l207 -206l472 471q11 12 22.5 0.5t0.5 -22.5 | ||
| 327 | +l-484 -483v0q-11 -11 -22 0l-218 217l-1 1z" /> | ||
| 328 | + <glyph glyph-name="jiacu" unicode="" | ||
| 329 | +d="M199 848h355q106 0 158 -8.5t92.5 -36.5t68 -74.5t27.5 -104.5q0 -62 -33.5 -114.5t-90.5 -78.5q81 -23 124.5 -80t43.5 -134q0 -61 -28 -118t-77 -91.5t-121 -42.5q-45 -5 -216 -6h-303v889zM378 700v-206h118q105 0 130 3q46 6 72.5 32.5t26.5 69.5q0 41 -22.5 67 | ||
| 330 | +t-67.5 31q-27 3 -154 3h-103zM378 346v-236h167q97 0 123 5q40 7 65.5 35t25.5 75q0 40 -19.5 68t-56.5 40.5t-159 12.5h-146z" /> | ||
| 331 | + <glyph glyph-name="liaotianduihuaimgoutong" unicode="" | ||
| 332 | +d="M998 501q0 89 -55.5 165t-151.5 120t-209 44q-91 0 -173.5 -30t-142.5 -84q57 12 116 14q90 47 200 47q97 0 180 -37t131 -100.5t48 -138.5q0 -48 -21 -93q11 -43 11 -87q67 82 67 180v0zM442 399q-23 0 -39 -15t-16 -36.5t16 -36.5t39 -15t39.5 15t16.5 36.5t-16.5 36.5 | ||
| 333 | +t-39.5 15zM243 399q-23 0 -39 -15t-16 -36.5t16 -36.5t39 -15t39.5 15t16.5 36.5t-16.5 36.5t-39.5 15zM641 399q-23 0 -39.5 -15t-16.5 -36.5t16.5 -36.5t39.5 -15t39.5 15t16.5 36.5t-16.5 36.5t-39.5 15zM442 678q-113 0 -209 -44t-151.5 -120t-55.5 -165q0 -65 29 -122 | ||
| 334 | +t77.5 -97t106.5 -66.5t119 -35.5l61 -79q8 -11 23 -11t24 11l60 79q62 10 120 36t106 66t77.5 97.5t29.5 121.5q0 89 -56 165t-152 120t-209 44zM715 174q-82 -71 -197 -90q-23 -3 -37 -21l-39 -50l-38 50q-14 18 -37 21q-115 19 -197 90q-87 75 -87 175q0 108 100 188 | ||
| 335 | +q107 84 259 84q153 0 259 -84q101 -80 101 -188q0 -100 -87 -175z" /> | ||
| 336 | + <glyph glyph-name="wenjianjiafan" unicode="" | ||
| 337 | +d="M958 240l-124 464q-4 14 -15.5 23t-25.5 9h-679q-3 0 -5 -1v1q-19 0 -32 -13.5t-13 -31.5v-613q0 -19 13 -32t32 -13h172q19 0 32 13l55 56q3 2 6 2h411q19 0 32 13t13 32v38h87q21 0 34 16.5t7 36.5zM101 78v498l96 -358q4 -14 15.5 -22.5t25.5 -8.5h555v-38q0 -8 -8 -8 | ||
| 338 | +h-411q-19 0 -32 -13l-55 -56q-2 -2 -6 -2h-172q-8 0 -8 8zM921.5 226q-1.5 -2 -4.5 -2h-679q-4 0 -5 4l-124 463q-1 3 0.5 5.5t4.5 2.5h679q4 0 5 -5l124 -463q1 -3 -0.5 -5z" /> | ||
| 339 | + <glyph glyph-name="shouji" unicode="" | ||
| 340 | +d="M732 896h-440q-72 0 -124 -51.5t-52 -124.5v-672q0 -73 52 -124.5t124 -51.5h439q73 0 124.5 51.5t51.5 124.5v672q1 73 -51 124.5t-124 51.5zM292 853h439q53 0 91.5 -36t41.5 -89h-704q3 53 41.5 89t90.5 36zM865 49q0 -55 -39 -94.5t-94 -39.5h-440q-55 0 -94 39.5 | ||
| 341 | +t-39 94.5v45h706v-45v0zM865 137h-706v549h706v-549v0zM512 -55q21 0 36.5 15.5t15.5 36.5t-15.5 36t-36.5 15t-36.5 -15t-15.5 -36t15.5 -36.5t36.5 -15.5z" /> | ||
| 342 | + <glyph glyph-name="biaoqing" unicode="" horiz-adv-x="1025" | ||
| 343 | +d="M512 -128q-103 0 -196.5 38.5t-166 111t-111 166t-38.5 196.5t38.5 196.5t111.5 166t166.5 111t196 38.5t196 -38.5t165.5 -111.5q99 -98 133.5 -230t-0.5 -264t-133 -230q-72 -73 -165.5 -111.5t-196.5 -38.5v0v0v0v0v0zM512 829q-89 0 -170.5 -33.5t-144.5 -96.5 | ||
| 344 | +t-96.5 -144.5t-33.5 -170.5t33.5 -170.5t96.5 -144.5t144.5 -96.5t170.5 -33.5t170.5 33.5t144.5 96.5q85 85 115.5 200t0 229.5t-115.5 200.5q-63 63 -144.5 96.5t-170.5 33.5v0v0v0v0v0zM330 244q3 -4 7.5 -10.5t21.5 -23t36.5 -29t51 -23t65.5 -10.5t67.5 10t56.5 24 | ||
| 345 | +t41.5 28t27.5 24l9 10h5t10.5 -2.5t13.5 -7t11 -14.5t5 -24q-3 -4 -9.5 -11.5t-29 -27t-48.5 -34t-69.5 -27t-90.5 -12.5t-87.5 12t-64.5 28t-41 32.5t-24 28.5l-6 11q-1 2 -0.5 5.5t2.5 11.5t6 14.5t12.5 11.5t20.5 5v0v0v0v0zM363 549q-26 0 -44 -18.5t-18 -44.5t18 -44.5 | ||
| 346 | +t44 -18.5t44.5 18.5t18.5 44.5t-18.5 44.5t-44.5 18.5v0v0v0v0v0zM685 549q-26 0 -44.5 -18.5t-18.5 -44.5t18.5 -44.5t44 -18.5t44 18.5t18.5 44.5t-18.5 44.5t-43.5 18.5v0v0v0v0v0zM685 549z" /> | ||
| 347 | + <glyph glyph-name="html" unicode="" | ||
| 348 | +d="M194 416h-101v102h-46v-268h46v120h101v-120h46v268h-46v-102v0zM277 481h74v-231h46v231h74v37h-194v-37zM628 336l-47 182h-74v-268h46v212l46 -212h56l47 214l-1 -214h46v268h-74zM848 287v231h-46v-268h175v37h-129z" /> | ||
| 349 | + <glyph glyph-name="biaodan" unicode="" | ||
| 350 | +d="M314 437h396v-30h-396v30zM314 316h396v-30h-396v30zM314 195h264v-31h-264v31zM609 740q-6 32 -33.5 54t-63.5 22t-63.5 -22t-33.5 -54h-298v-788h790v788h-298zM446 670v18v37q0 25 19.5 42.5t46.5 17.5t46.5 -17.5t19.5 -42.5v-37v-18l17 -8q49 -26 71 -73h-308 | ||
| 351 | +q22 47 71 73zM874 -17h-724v727h263v-22q-39 -20 -65 -54t-34 -76h396q-8 42 -34 76t-65 54v22h263v-727z" /> | ||
| 352 | + <glyph glyph-name="25" unicode="" | ||
| 353 | +d="M310 524h-186q-13 0 -22 -9.5t-9 -21.5v-187q0 -12 9 -21.5t22 -9.5h186q13 0 22 9.5t9 21.5v187q0 12 -9 21.5t-22 9.5zM295 306h-155q-13 0 -14.5 1.5t-1.5 14.5v155q0 13 1.5 14.5t14.5 1.5h155q13 0 14 -1.5t1 -14.5v-155q0 -13 -1 -14.5t-14 -1.5zM419 353h481v31 | ||
| 354 | +h-481v-31zM419 229h481v31h-481v-31zM419 89h481v31h-481v-31zM419 493h481v31h-481v-31zM993 725h-16v124q0 13 -9 22t-22 9h-170q-13 0 -22 -9t-9 -22v-124h-140v124q0 13 -9 22t-22 9h-171q-12 0 -21.5 -9t-9.5 -22v-124h-124v124q0 13 -9 22t-22 9h-186q-13 0 -22 -9 | ||
| 355 | +t-9 -22v-946q0 -13 9 -22t22 -9h962q13 0 22 9t9 22v791q0 13 -9 22t-22 9zM993 -66q0 -13 -9 -22t-22 -9h-900q-13 0 -22 9t-9 22v884q0 13 9 22t22 9h124q13 0 22 -9t9 -22v-124h745q13 0 22 -9t9 -22v-729z" /> | ||
| 356 | + <glyph glyph-name="emwdaima" unicode="" horiz-adv-x="1025" | ||
| 357 | +d="M270 626q-9 9 -22 9t-22 -9l-217 -217q-9 -9 -9 -22t9 -22l217 -217q9 -9 22 -9t22 9t9 22t-9 22l-195 195l195 195q9 10 9 22.5t-9 21.5zM1015 409l-217 217q-9 9 -22 9t-22 -9t-9 -22t9 -22l195 -195l-195 -195q-9 -9 -9 -22t9 -22t22 -9t22 9l217 217q9 9 9 22t-9 22z | ||
| 358 | +M624 696v0q-12 4 -23.5 -1.5t-16.5 -17.5l-202 -558q-5 -12 0.5 -24t18.5 -16v0q12 -4 23.5 1.5t16.5 17.5l202 558q4 12 -1.5 24t-17.5 16z" /> | ||
| 359 | + <glyph glyph-name="zitixiahuaxian" unicode="" | ||
| 360 | +d="M0 -49h945v-79h-945v79zM0 896h407v-62l-88 -6l-20 -18v-444q0 -127 54 -181.5t177 -54.5q114 0 165 58t51 190v427l-22 22l-91 7v62h322v-62l-86 -7l-20 -22v-440q0 -177 -88.5 -256t-285.5 -79q-103 0 -181 26.5t-122 77.5q-34 39 -48.5 90t-14.5 147v439l-20 18l-89 6 | ||
| 361 | +v62z" /> | ||
| 362 | + <glyph glyph-name="sanjiao1" unicode="" | ||
| 363 | +d="M773 89zM890 575h-731l365 -365z" /> | ||
| 364 | + <glyph glyph-name="tupian-copy-copy" unicode="" | ||
| 365 | +d="M765 615q5 0 11.5 -0.5t24.5 -5.5t31.5 -14.5t24.5 -30.5t11 -50q1 -2 1 -5.5t-1.5 -13.5t-4.5 -19.5t-10 -21t-17.5 -20t-29 -14.5t-41.5 -6q-4 -1 -10.5 -0.5t-24 6t-30.5 15t-24 30.5t-10 49q0 4 0.5 10t5.5 22.5t14.5 29.5t30 25t48.5 14zM968 771q3 -1 6.5 -1.5 | ||
| 366 | +t13 -3.5t16.5 -8t13 -15.5t6 -23.5v-713q-1 -2 -1.5 -5.5t-3.5 -12.5t-8.5 -16t-16 -12.5t-25.5 -5.5v817zM1 6q1 -2 1 -6t3.5 -12.5t8.5 -15.5t15.5 -12.5t24.5 -5.5h914v150h-99l-203 207l-153 -154l-209 257l-205 -308l-45 -1l-2 613h-51v-712v0zM968 771h-914 | ||
| 367 | +q-3 0 -6.5 -0.5t-12.5 -3t-15.5 -7.5t-12.5 -16t-6 -25h967v52z" /> | ||
| 368 | + <glyph glyph-name="xieti" unicode="" | ||
| 369 | +d="M898 834v-64h-129l-321 -772h128v-64h-450v64h129l321 772h-128v64h450z" /> | ||
| 370 | + </font> | ||
| 371 | +</defs></svg> |
不能预览此文件类型
不能预览此文件类型
2.6 KB
5.4 KB
2.7 KB
4.0 KB
3.3 KB
7.3 KB
2.3 KB
1.8 KB
6.6 KB
4.3 KB
2.9 KB
3.0 KB
3.1 KB
5.0 KB
5.1 KB
9.6 KB
3.7 KB
7.9 KB
3.1 KB
3.2 KB
4.3 KB
2.7 KB
4.7 KB
3.9 KB
2.5 KB
2.0 KB
3.4 KB
2.4 KB
3.6 KB
1.8 KB
2.3 KB
1.5 KB
3.5 KB
6.3 KB
5.6 KB
3.1 KB
3.6 KB
5.2 KB
2.6 KB
4.0 KB
3.3 KB
2.9 KB
2.3 KB
2.6 KB
2.3 KB
4.5 KB
5.7 KB
2.7 KB
777 字节
2.1 KB
2.1 KB
1.9 KB
2.0 KB
2.6 KB
2.2 KB
10.1 KB
2.2 KB
3.2 KB
2.4 KB
2.0 KB
5.7 KB
6.3 KB
3.5 KB
3.0 KB
2.6 KB
1.4 KB
2.4 KB
3.3 KB
4.5 KB
5.2 KB
4.0 KB
4.1 KB
此 diff 太大无法显示。
| 1 | +/** layui-v1.0.7 LGPL License By http://www.layui.com */ | ||
| 2 | + ;!function(e,t){"object"==typeof module&&"object"==typeof module.exports?module.exports=e.document?t(e,!0):function(e){if(!e.document)throw new Error("jQuery requires a window with a document");return t(e)}:t(e)}("undefined"!=typeof window?window:this,function(e,t){function n(e){var t=!!e&&"length"in e&&e.length,n=pe.type(e);return"function"!==n&&!pe.isWindow(e)&&("array"===n||0===t||"number"==typeof t&&t>0&&t-1 in e)}function r(e,t,n){if(pe.isFunction(t))return pe.grep(e,function(e,r){return!!t.call(e,r,e)!==n});if(t.nodeType)return pe.grep(e,function(e){return e===t!==n});if("string"==typeof t){if(Ce.test(t))return pe.filter(t,e,n);t=pe.filter(t,e)}return pe.grep(e,function(e){return pe.inArray(e,t)>-1!==n})}function i(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}function o(e){var t={};return pe.each(e.match(De)||[],function(e,n){t[n]=!0}),t}function a(){re.addEventListener?(re.removeEventListener("DOMContentLoaded",s),e.removeEventListener("load",s)):(re.detachEvent("onreadystatechange",s),e.detachEvent("onload",s))}function s(){(re.addEventListener||"load"===e.event.type||"complete"===re.readyState)&&(a(),pe.ready())}function u(e,t,n){if(void 0===n&&1===e.nodeType){var r="data-"+t.replace(_e,"-$1").toLowerCase();if(n=e.getAttribute(r),"string"==typeof n){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:qe.test(n)?pe.parseJSON(n):n)}catch(i){}pe.data(e,t,n)}else n=void 0}return n}function l(e){var t;for(t in e)if(("data"!==t||!pe.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function c(e,t,n,r){if(He(e)){var i,o,a=pe.expando,s=e.nodeType,u=s?pe.cache:e,l=s?e[a]:e[a]&&a;if(l&&u[l]&&(r||u[l].data)||void 0!==n||"string"!=typeof t)return l||(l=s?e[a]=ne.pop()||pe.guid++:a),u[l]||(u[l]=s?{}:{toJSON:pe.noop}),"object"!=typeof t&&"function"!=typeof t||(r?u[l]=pe.extend(u[l],t):u[l].data=pe.extend(u[l].data,t)),o=u[l],r||(o.data||(o.data={}),o=o.data),void 0!==n&&(o[pe.camelCase(t)]=n),"string"==typeof t?(i=o[t],null==i&&(i=o[pe.camelCase(t)])):i=o,i}}function f(e,t,n){if(He(e)){var r,i,o=e.nodeType,a=o?pe.cache:e,s=o?e[pe.expando]:pe.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){pe.isArray(t)?t=t.concat(pe.map(t,pe.camelCase)):t in r?t=[t]:(t=pe.camelCase(t),t=t in r?[t]:t.split(" ")),i=t.length;for(;i--;)delete r[t[i]];if(n?!l(r):!pe.isEmptyObject(r))return}(n||(delete a[s].data,l(a[s])))&&(o?pe.cleanData([e],!0):fe.deleteExpando||a!=a.window?delete a[s]:a[s]=void 0)}}}function d(e,t,n,r){var i,o=1,a=20,s=r?function(){return r.cur()}:function(){return pe.css(e,t,"")},u=s(),l=n&&n[3]||(pe.cssNumber[t]?"":"px"),c=(pe.cssNumber[t]||"px"!==l&&+u)&&Me.exec(pe.css(e,t));if(c&&c[3]!==l){l=l||c[3],n=n||[],c=+u||1;do o=o||".5",c/=o,pe.style(e,t,c+l);while(o!==(o=s()/u)&&1!==o&&--a)}return n&&(c=+c||+u||0,i=n[1]?c+(n[1]+1)*n[2]:+n[2],r&&(r.unit=l,r.start=c,r.end=i)),i}function p(e){var t=ze.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function h(e,t){var n,r,i=0,o="undefined"!=typeof e.getElementsByTagName?e.getElementsByTagName(t||"*"):"undefined"!=typeof e.querySelectorAll?e.querySelectorAll(t||"*"):void 0;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||pe.nodeName(r,t)?o.push(r):pe.merge(o,h(r,t));return void 0===t||t&&pe.nodeName(e,t)?pe.merge([e],o):o}function g(e,t){for(var n,r=0;null!=(n=e[r]);r++)pe._data(n,"globalEval",!t||pe._data(t[r],"globalEval"))}function m(e){Be.test(e.type)&&(e.defaultChecked=e.checked)}function y(e,t,n,r,i){for(var o,a,s,u,l,c,f,d=e.length,y=p(t),v=[],x=0;x<d;x++)if(a=e[x],a||0===a)if("object"===pe.type(a))pe.merge(v,a.nodeType?[a]:a);else if(Ue.test(a)){for(u=u||y.appendChild(t.createElement("div")),l=(We.exec(a)||["",""])[1].toLowerCase(),f=Xe[l]||Xe._default,u.innerHTML=f[1]+pe.htmlPrefilter(a)+f[2],o=f[0];o--;)u=u.lastChild;if(!fe.leadingWhitespace&&$e.test(a)&&v.push(t.createTextNode($e.exec(a)[0])),!fe.tbody)for(a="table"!==l||Ve.test(a)?"<table>"!==f[1]||Ve.test(a)?0:u:u.firstChild,o=a&&a.childNodes.length;o--;)pe.nodeName(c=a.childNodes[o],"tbody")&&!c.childNodes.length&&a.removeChild(c);for(pe.merge(v,u.childNodes),u.textContent="";u.firstChild;)u.removeChild(u.firstChild);u=y.lastChild}else v.push(t.createTextNode(a));for(u&&y.removeChild(u),fe.appendChecked||pe.grep(h(v,"input"),m),x=0;a=v[x++];)if(r&&pe.inArray(a,r)>-1)i&&i.push(a);else if(s=pe.contains(a.ownerDocument,a),u=h(y.appendChild(a),"script"),s&&g(u),n)for(o=0;a=u[o++];)Ie.test(a.type||"")&&n.push(a);return u=null,y}function v(){return!0}function x(){return!1}function b(){try{return re.activeElement}catch(e){}}function w(e,t,n,r,i,o){var a,s;if("object"==typeof t){"string"!=typeof n&&(r=r||n,n=void 0);for(s in t)w(e,s,n,r,t[s],o);return e}if(null==r&&null==i?(i=n,r=n=void 0):null==i&&("string"==typeof n?(i=r,r=void 0):(i=r,r=n,n=void 0)),i===!1)i=x;else if(!i)return e;return 1===o&&(a=i,i=function(e){return pe().off(e),a.apply(this,arguments)},i.guid=a.guid||(a.guid=pe.guid++)),e.each(function(){pe.event.add(this,t,i,r,n)})}function T(e,t){return pe.nodeName(e,"table")&&pe.nodeName(11!==t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function C(e){return e.type=(null!==pe.find.attr(e,"type"))+"/"+e.type,e}function E(e){var t=it.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function N(e,t){if(1===t.nodeType&&pe.hasData(e)){var n,r,i,o=pe._data(e),a=pe._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;r<i;r++)pe.event.add(t,n,s[n][r])}a.data&&(a.data=pe.extend({},a.data))}}function k(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!fe.noCloneEvent&&t[pe.expando]){i=pe._data(t);for(r in i.events)pe.removeEvent(t,r,i.handle);t.removeAttribute(pe.expando)}"script"===n&&t.text!==e.text?(C(t).text=e.text,E(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),fe.html5Clone&&e.innerHTML&&!pe.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Be.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:"input"!==n&&"textarea"!==n||(t.defaultValue=e.defaultValue)}}function S(e,t,n,r){t=oe.apply([],t);var i,o,a,s,u,l,c=0,f=e.length,d=f-1,p=t[0],g=pe.isFunction(p);if(g||f>1&&"string"==typeof p&&!fe.checkClone&&rt.test(p))return e.each(function(i){var o=e.eq(i);g&&(t[0]=p.call(this,i,o.html())),S(o,t,n,r)});if(f&&(l=y(t,e[0].ownerDocument,!1,e,r),i=l.firstChild,1===l.childNodes.length&&(l=i),i||r)){for(s=pe.map(h(l,"script"),C),a=s.length;c<f;c++)o=l,c!==d&&(o=pe.clone(o,!0,!0),a&&pe.merge(s,h(o,"script"))),n.call(e[c],o,c);if(a)for(u=s[s.length-1].ownerDocument,pe.map(s,E),c=0;c<a;c++)o=s[c],Ie.test(o.type||"")&&!pe._data(o,"globalEval")&&pe.contains(u,o)&&(o.src?pe._evalUrl&&pe._evalUrl(o.src):pe.globalEval((o.text||o.textContent||o.innerHTML||"").replace(ot,"")));l=i=null}return e}function A(e,t,n){for(var r,i=t?pe.filter(t,e):e,o=0;null!=(r=i[o]);o++)n||1!==r.nodeType||pe.cleanData(h(r)),r.parentNode&&(n&&pe.contains(r.ownerDocument,r)&&g(h(r,"script")),r.parentNode.removeChild(r));return e}function D(e,t){var n=pe(t.createElement(e)).appendTo(t.body),r=pe.css(n[0],"display");return n.detach(),r}function j(e){var t=re,n=lt[e];return n||(n=D(e,t),"none"!==n&&n||(ut=(ut||pe("<iframe frameborder='0' width='0' height='0'/>")).appendTo(t.documentElement),t=(ut[0].contentWindow||ut[0].contentDocument).document,t.write(),t.close(),n=D(e,t),ut.detach()),lt[e]=n),n}function L(e,t){return{get:function(){return e()?void delete this.get:(this.get=t).apply(this,arguments)}}}function H(e){if(e in Et)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=Ct.length;n--;)if(e=Ct[n]+t,e in Et)return e}function q(e,t){for(var n,r,i,o=[],a=0,s=e.length;a<s;a++)r=e[a],r.style&&(o[a]=pe._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&Re(r)&&(o[a]=pe._data(r,"olddisplay",j(r.nodeName)))):(i=Re(r),(n&&"none"!==n||!i)&&pe._data(r,"olddisplay",i?n:pe.css(r,"display"))));for(a=0;a<s;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function _(e,t,n){var r=bt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function F(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=pe.css(e,n+Oe[o],!0,i)),r?("content"===n&&(a-=pe.css(e,"padding"+Oe[o],!0,i)),"margin"!==n&&(a-=pe.css(e,"border"+Oe[o]+"Width",!0,i))):(a+=pe.css(e,"padding"+Oe[o],!0,i),"padding"!==n&&(a+=pe.css(e,"border"+Oe[o]+"Width",!0,i)));return a}function M(t,n,r){var i=!0,o="width"===n?t.offsetWidth:t.offsetHeight,a=ht(t),s=fe.boxSizing&&"border-box"===pe.css(t,"boxSizing",!1,a);if(re.msFullscreenElement&&e.top!==e&&t.getClientRects().length&&(o=Math.round(100*t.getBoundingClientRect()[n])),o<=0||null==o){if(o=gt(t,n,a),(o<0||null==o)&&(o=t.style[n]),ft.test(o))return o;i=s&&(fe.boxSizingReliable()||o===t.style[n]),o=parseFloat(o)||0}return o+F(t,n,r||(s?"border":"content"),i,a)+"px"}function O(e,t,n,r,i){return new O.prototype.init(e,t,n,r,i)}function R(){return e.setTimeout(function(){Nt=void 0}),Nt=pe.now()}function P(e,t){var n,r={height:e},i=0;for(t=t?1:0;i<4;i+=2-t)n=Oe[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function B(e,t,n){for(var r,i=($.tweeners[t]||[]).concat($.tweeners["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function W(e,t,n){var r,i,o,a,s,u,l,c,f=this,d={},p=e.style,h=e.nodeType&&Re(e),g=pe._data(e,"fxshow");n.queue||(s=pe._queueHooks(e,"fx"),null==s.unqueued&&(s.unqueued=0,u=s.empty.fire,s.empty.fire=function(){s.unqueued||u()}),s.unqueued++,f.always(function(){f.always(function(){s.unqueued--,pe.queue(e,"fx").length||s.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[p.overflow,p.overflowX,p.overflowY],l=pe.css(e,"display"),c="none"===l?pe._data(e,"olddisplay")||j(e.nodeName):l,"inline"===c&&"none"===pe.css(e,"float")&&(fe.inlineBlockNeedsLayout&&"inline"!==j(e.nodeName)?p.zoom=1:p.display="inline-block")),n.overflow&&(p.overflow="hidden",fe.shrinkWrapBlocks()||f.always(function(){p.overflow=n.overflow[0],p.overflowX=n.overflow[1],p.overflowY=n.overflow[2]}));for(r in t)if(i=t[r],St.exec(i)){if(delete t[r],o=o||"toggle"===i,i===(h?"hide":"show")){if("show"!==i||!g||void 0===g[r])continue;h=!0}d[r]=g&&g[r]||pe.style(e,r)}else l=void 0;if(pe.isEmptyObject(d))"inline"===("none"===l?j(e.nodeName):l)&&(p.display=l);else{g?"hidden"in g&&(h=g.hidden):g=pe._data(e,"fxshow",{}),o&&(g.hidden=!h),h?pe(e).show():f.done(function(){pe(e).hide()}),f.done(function(){var t;pe._removeData(e,"fxshow");for(t in d)pe.style(e,t,d[t])});for(r in d)a=B(h?g[r]:0,r,f),r in g||(g[r]=a.start,h&&(a.end=a.start,a.start="width"===r||"height"===r?1:0))}}function I(e,t){var n,r,i,o,a;for(n in e)if(r=pe.camelCase(n),i=t[r],o=e[n],pe.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),a=pe.cssHooks[r],a&&"expand"in a){o=a.expand(o),delete e[r];for(n in o)n in e||(e[n]=o[n],t[n]=i)}else t[r]=i}function $(e,t,n){var r,i,o=0,a=$.prefilters.length,s=pe.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;for(var t=Nt||R(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;a<u;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),o<1&&u?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:pe.extend({},t),opts:pe.extend(!0,{specialEasing:{},easing:pe.easing._default},n),originalProperties:t,originalOptions:n,startTime:Nt||R(),duration:n.duration,tweens:[],createTween:function(t,n){var r=pe.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;n<r;n++)l.tweens[n].run(1);return t?(s.notifyWith(e,[l,1,0]),s.resolveWith(e,[l,t])):s.rejectWith(e,[l,t]),this}}),c=l.props;for(I(c,l.opts.specialEasing);o<a;o++)if(r=$.prefilters[o].call(l,e,c,l.opts))return pe.isFunction(r.stop)&&(pe._queueHooks(l.elem,l.opts.queue).stop=pe.proxy(r.stop,r)),r;return pe.map(c,B,l),pe.isFunction(l.opts.start)&&l.opts.start.call(e,l),pe.fx.timer(pe.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function z(e){return pe.attr(e,"class")||""}function X(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(De)||[];if(pe.isFunction(n))for(;r=o[i++];)"+"===r.charAt(0)?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function U(e,t,n,r){function i(s){var u;return o[s]=!0,pe.each(e[s]||[],function(e,s){var l=s(t,n,r);return"string"!=typeof l||a||o[l]?a?!(u=l):void 0:(t.dataTypes.unshift(l),i(l),!1)}),u}var o={},a=e===Qt;return i(t.dataTypes[0])||!o["*"]&&i("*")}function V(e,t){var n,r,i=pe.ajaxSettings.flatOptions||{};for(r in t)void 0!==t[r]&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&pe.extend(!0,e,n),e}function Y(e,t,n){for(var r,i,o,a,s=e.contents,u=e.dataTypes;"*"===u[0];)u.shift(),void 0===i&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){u.unshift(a);break}if(u[0]in n)o=u[0];else{for(a in n){if(!u[0]||e.converters[a+" "+u[0]]){o=a;break}r||(r=a)}o=o||r}if(o)return o!==u[0]&&u.unshift(o),n[o]}function J(e,t,n,r){var i,o,a,s,u,l={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)l[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!u&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u=o,o=c.shift())if("*"===o)o=u;else if("*"!==u&&u!==o){if(a=l[u+" "+o]||l["* "+o],!a)for(i in l)if(s=i.split(" "),s[1]===o&&(a=l[u+" "+s[0]]||l["* "+s[0]])){a===!0?a=l[i]:l[i]!==!0&&(o=s[0],c.unshift(s[1]));break}if(a!==!0)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+u+" to "+o}}}return{state:"success",data:t}}function G(e){return e.style&&e.style.display||pe.css(e,"display")}function K(e){for(;e&&1===e.nodeType;){if("none"===G(e)||"hidden"===e.type)return!0;e=e.parentNode}return!1}function Q(e,t,n,r){var i;if(pe.isArray(t))pe.each(t,function(t,i){n||rn.test(e)?r(e,i):Q(e+"["+("object"==typeof i&&null!=i?t:"")+"]",i,n,r)});else if(n||"object"!==pe.type(t))r(e,t);else for(i in t)Q(e+"["+i+"]",t[i],n,r)}function Z(){try{return new e.XMLHttpRequest}catch(t){}}function ee(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}function te(e){return pe.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var ne=[],re=e.document,ie=ne.slice,oe=ne.concat,ae=ne.push,se=ne.indexOf,ue={},le=ue.toString,ce=ue.hasOwnProperty,fe={},de="1.12.3",pe=function(e,t){return new pe.fn.init(e,t)},he=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,ge=/^-ms-/,me=/-([\da-z])/gi,ye=function(e,t){return t.toUpperCase()};pe.fn=pe.prototype={jquery:de,constructor:pe,selector:"",length:0,toArray:function(){return ie.call(this)},get:function(e){return null!=e?e<0?this[e+this.length]:this[e]:ie.call(this)},pushStack:function(e){var t=pe.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e){return pe.each(this,e)},map:function(e){return this.pushStack(pe.map(this,function(t,n){return e.call(t,n,t)}))},slice:function(){return this.pushStack(ie.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(n>=0&&n<t?[this[n]]:[])},end:function(){return this.prevObject||this.constructor()},push:ae,sort:ne.sort,splice:ne.splice},pe.extend=pe.fn.extend=function(){var e,t,n,r,i,o,a=arguments[0]||{},s=1,u=arguments.length,l=!1;for("boolean"==typeof a&&(l=a,a=arguments[s]||{},s++),"object"==typeof a||pe.isFunction(a)||(a={}),s===u&&(a=this,s--);s<u;s++)if(null!=(i=arguments[s]))for(r in i)e=a[r],n=i[r],a!==n&&(l&&n&&(pe.isPlainObject(n)||(t=pe.isArray(n)))?(t?(t=!1,o=e&&pe.isArray(e)?e:[]):o=e&&pe.isPlainObject(e)?e:{},a[r]=pe.extend(l,o,n)):void 0!==n&&(a[r]=n));return a},pe.extend({expando:"jQuery"+(de+Math.random()).replace(/\D/g,""),isReady:!0,error:function(e){throw new Error(e)},noop:function(){},isFunction:function(e){return"function"===pe.type(e)},isArray:Array.isArray||function(e){return"array"===pe.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){var t=e&&e.toString();return!pe.isArray(e)&&t-parseFloat(t)+1>=0},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},isPlainObject:function(e){var t;if(!e||"object"!==pe.type(e)||e.nodeType||pe.isWindow(e))return!1;try{if(e.constructor&&!ce.call(e,"constructor")&&!ce.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(!fe.ownFirst)for(t in e)return ce.call(e,t);for(t in e);return void 0===t||ce.call(e,t)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?ue[le.call(e)]||"object":typeof e},globalEval:function(t){t&&pe.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(ge,"ms-").replace(me,ye)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t){var r,i=0;if(n(e))for(r=e.length;i<r&&t.call(e[i],i,e[i])!==!1;i++);else for(i in e)if(t.call(e[i],i,e[i])===!1)break;return e},trim:function(e){return null==e?"":(e+"").replace(he,"")},makeArray:function(e,t){var r=t||[];return null!=e&&(n(Object(e))?pe.merge(r,"string"==typeof e?[e]:e):ae.call(r,e)),r},inArray:function(e,t,n){var r;if(t){if(se)return se.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){for(var n=+t.length,r=0,i=e.length;r<n;)e[i++]=t[r++];if(n!==n)for(;void 0!==t[r];)e[i++]=t[r++];return e.length=i,e},grep:function(e,t,n){for(var r,i=[],o=0,a=e.length,s=!n;o<a;o++)r=!t(e[o],o),r!==s&&i.push(e[o]);return i},map:function(e,t,r){var i,o,a=0,s=[];if(n(e))for(i=e.length;a<i;a++)o=t(e[a],a,r),null!=o&&s.push(o);else for(a in e)o=t(e[a],a,r),null!=o&&s.push(o);return oe.apply([],s)},guid:1,proxy:function(e,t){var n,r,i;if("string"==typeof t&&(i=e[t],t=e,e=i),pe.isFunction(e))return n=ie.call(arguments,2),r=function(){return e.apply(t||this,n.concat(ie.call(arguments)))},r.guid=e.guid=e.guid||pe.guid++,r},now:function(){return+new Date},support:fe}),"function"==typeof Symbol&&(pe.fn[Symbol.iterator]=ne[Symbol.iterator]),pe.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){ue["[object "+t+"]"]=t.toLowerCase()});var ve=function(e){function t(e,t,n,r){var i,o,a,s,u,l,f,p,h=t&&t.ownerDocument,g=t?t.nodeType:9;if(n=n||[],"string"!=typeof e||!e||1!==g&&9!==g&&11!==g)return n;if(!r&&((t?t.ownerDocument||t:B)!==H&&L(t),t=t||H,_)){if(11!==g&&(l=ye.exec(e)))if(i=l[1]){if(9===g){if(!(a=t.getElementById(i)))return n;if(a.id===i)return n.push(a),n}else if(h&&(a=h.getElementById(i))&&R(t,a)&&a.id===i)return n.push(a),n}else{if(l[2])return Q.apply(n,t.getElementsByTagName(e)),n;if((i=l[3])&&w.getElementsByClassName&&t.getElementsByClassName)return Q.apply(n,t.getElementsByClassName(i)),n}if(w.qsa&&!X[e+" "]&&(!F||!F.test(e))){if(1!==g)h=t,p=e;else if("object"!==t.nodeName.toLowerCase()){for((s=t.getAttribute("id"))?s=s.replace(xe,"\\$&"):t.setAttribute("id",s=P),f=N(e),o=f.length,u=de.test(s)?"#"+s:"[id='"+s+"']";o--;)f[o]=u+" "+d(f[o]);p=f.join(","),h=ve.test(e)&&c(t.parentNode)||t}if(p)try{return Q.apply(n,h.querySelectorAll(p)),n}catch(m){}finally{s===P&&t.removeAttribute("id")}}}return S(e.replace(se,"$1"),t,n,r)}function n(){function e(n,r){return t.push(n+" ")>T.cacheLength&&delete e[t.shift()],e[n+" "]=r}var t=[];return e}function r(e){return e[P]=!0,e}function i(e){var t=H.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t){for(var n=e.split("|"),r=n.length;r--;)T.attrHandle[n[r]]=t}function a(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||V)-(~e.sourceIndex||V);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function s(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function u(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function l(e){return r(function(t){return t=+t,r(function(n,r){for(var i,o=e([],n.length,t),a=o.length;a--;)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}function c(e){return e&&"undefined"!=typeof e.getElementsByTagName&&e}function f(){}function d(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function p(e,t,n){var r=t.dir,i=n&&"parentNode"===r,o=I++;return t.first?function(t,n,o){for(;t=t[r];)if(1===t.nodeType||i)return e(t,n,o)}:function(t,n,a){var s,u,l,c=[W,o];if(a){for(;t=t[r];)if((1===t.nodeType||i)&&e(t,n,a))return!0}else for(;t=t[r];)if(1===t.nodeType||i){if(l=t[P]||(t[P]={}),u=l[t.uniqueID]||(l[t.uniqueID]={}),(s=u[r])&&s[0]===W&&s[1]===o)return c[2]=s[2];if(u[r]=c,c[2]=e(t,n,a))return!0}}}function h(e){return e.length>1?function(t,n,r){for(var i=e.length;i--;)if(!e[i](t,n,r))return!1;return!0}:e[0]}function g(e,n,r){for(var i=0,o=n.length;i<o;i++)t(e,n[i],r);return r}function m(e,t,n,r,i){for(var o,a=[],s=0,u=e.length,l=null!=t;s<u;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),l&&t.push(s)));return a}function y(e,t,n,i,o,a){return i&&!i[P]&&(i=y(i)),o&&!o[P]&&(o=y(o,a)),r(function(r,a,s,u){var l,c,f,d=[],p=[],h=a.length,y=r||g(t||"*",s.nodeType?[s]:s,[]),v=!e||!r&&t?y:m(y,d,e,s,u),x=n?o||(r?e:h||i)?[]:a:v;if(n&&n(v,x,s,u),i)for(l=m(x,p),i(l,[],s,u),c=l.length;c--;)(f=l[c])&&(x[p[c]]=!(v[p[c]]=f));if(r){if(o||e){if(o){for(l=[],c=x.length;c--;)(f=x[c])&&l.push(v[c]=f);o(null,x=[],l,u)}for(c=x.length;c--;)(f=x[c])&&(l=o?ee(r,f):d[c])>-1&&(r[l]=!(a[l]=f))}}else x=m(x===a?x.splice(h,x.length):x),o?o(null,a,x,u):Q.apply(a,x)})}function v(e){for(var t,n,r,i=e.length,o=T.relative[e[0].type],a=o||T.relative[" "],s=o?1:0,u=p(function(e){return e===t},a,!0),l=p(function(e){return ee(t,e)>-1},a,!0),c=[function(e,n,r){var i=!o&&(r||n!==A)||((t=n).nodeType?u(e,n,r):l(e,n,r));return t=null,i}];s<i;s++)if(n=T.relative[e[s].type])c=[p(h(c),n)];else{if(n=T.filter[e[s].type].apply(null,e[s].matches),n[P]){for(r=++s;r<i&&!T.relative[e[r].type];r++);return y(s>1&&h(c),s>1&&d(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(se,"$1"),n,s<r&&v(e.slice(s,r)),r<i&&v(e=e.slice(r)),r<i&&d(e))}c.push(n)}return h(c)}function x(e,n){var i=n.length>0,o=e.length>0,a=function(r,a,s,u,l){var c,f,d,p=0,h="0",g=r&&[],y=[],v=A,x=r||o&&T.find.TAG("*",l),b=W+=null==v?1:Math.random()||.1,w=x.length;for(l&&(A=a===H||a||l);h!==w&&null!=(c=x[h]);h++){if(o&&c){for(f=0,a||c.ownerDocument===H||(L(c),s=!_);d=e[f++];)if(d(c,a||H,s)){u.push(c);break}l&&(W=b)}i&&((c=!d&&c)&&p--,r&&g.push(c))}if(p+=h,i&&h!==p){for(f=0;d=n[f++];)d(g,y,a,s);if(r){if(p>0)for(;h--;)g[h]||y[h]||(y[h]=G.call(u));y=m(y)}Q.apply(u,y),l&&!r&&y.length>0&&p+n.length>1&&t.uniqueSort(u)}return l&&(W=b,A=v),g};return i?r(a):a}var b,w,T,C,E,N,k,S,A,D,j,L,H,q,_,F,M,O,R,P="sizzle"+1*new Date,B=e.document,W=0,I=0,$=n(),z=n(),X=n(),U=function(e,t){return e===t&&(j=!0),0},V=1<<31,Y={}.hasOwnProperty,J=[],G=J.pop,K=J.push,Q=J.push,Z=J.slice,ee=function(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1},te="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",ne="[\\x20\\t\\r\\n\\f]",re="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ie="\\["+ne+"*("+re+")(?:"+ne+"*([*^$|!~]?=)"+ne+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+re+"))|)"+ne+"*\\]",oe=":("+re+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+ie+")*)|.*)\\)|)",ae=new RegExp(ne+"+","g"),se=new RegExp("^"+ne+"+|((?:^|[^\\\\])(?:\\\\.)*)"+ne+"+$","g"),ue=new RegExp("^"+ne+"*,"+ne+"*"),le=new RegExp("^"+ne+"*([>+~]|"+ne+")"+ne+"*"),ce=new RegExp("="+ne+"*([^\\]'\"]*?)"+ne+"*\\]","g"),fe=new RegExp(oe),de=new RegExp("^"+re+"$"),pe={ID:new RegExp("^#("+re+")"),CLASS:new RegExp("^\\.("+re+")"),TAG:new RegExp("^("+re+"|[*])"),ATTR:new RegExp("^"+ie),PSEUDO:new RegExp("^"+oe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+ne+"*(even|odd|(([+-]|)(\\d*)n|)"+ne+"*(?:([+-]|)"+ne+"*(\\d+)|))"+ne+"*\\)|)","i"),bool:new RegExp("^(?:"+te+")$","i"),needsContext:new RegExp("^"+ne+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+ne+"*((?:-\\d)?\\d*)"+ne+"*\\)|)(?=[^-]|$)","i")},he=/^(?:input|select|textarea|button)$/i,ge=/^h\d$/i,me=/^[^{]+\{\s*\[native \w/,ye=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ve=/[+~]/,xe=/'|\\/g,be=new RegExp("\\\\([\\da-f]{1,6}"+ne+"?|("+ne+")|.)","ig"),we=function(e,t,n){var r="0x"+t-65536;return r!==r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)},Te=function(){L()};try{Q.apply(J=Z.call(B.childNodes),B.childNodes),J[B.childNodes.length].nodeType}catch(Ce){Q={apply:J.length?function(e,t){K.apply(e,Z.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}w=t.support={},E=t.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},L=t.setDocument=function(e){var t,n,r=e?e.ownerDocument||e:B;return r!==H&&9===r.nodeType&&r.documentElement?(H=r,q=H.documentElement,_=!E(H),(n=H.defaultView)&&n.top!==n&&(n.addEventListener?n.addEventListener("unload",Te,!1):n.attachEvent&&n.attachEvent("onunload",Te)),w.attributes=i(function(e){return e.className="i",!e.getAttribute("className")}),w.getElementsByTagName=i(function(e){return e.appendChild(H.createComment("")),!e.getElementsByTagName("*").length}),w.getElementsByClassName=me.test(H.getElementsByClassName),w.getById=i(function(e){return q.appendChild(e).id=P,!H.getElementsByName||!H.getElementsByName(P).length}),w.getById?(T.find.ID=function(e,t){if("undefined"!=typeof t.getElementById&&_){var n=t.getElementById(e);return n?[n]:[]}},T.filter.ID=function(e){var t=e.replace(be,we);return function(e){return e.getAttribute("id")===t}}):(delete T.find.ID,T.filter.ID=function(e){var t=e.replace(be,we);return function(e){var n="undefined"!=typeof e.getAttributeNode&&e.getAttributeNode("id");return n&&n.value===t}}),T.find.TAG=w.getElementsByTagName?function(e,t){return"undefined"!=typeof t.getElementsByTagName?t.getElementsByTagName(e):w.qsa?t.querySelectorAll(e):void 0}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){for(;n=o[i++];)1===n.nodeType&&r.push(n);return r}return o},T.find.CLASS=w.getElementsByClassName&&function(e,t){if("undefined"!=typeof t.getElementsByClassName&&_)return t.getElementsByClassName(e)},M=[],F=[],(w.qsa=me.test(H.querySelectorAll))&&(i(function(e){q.appendChild(e).innerHTML="<a id='"+P+"'></a><select id='"+P+"-\r\\' msallowcapture=''><option selected=''></option></select>",e.querySelectorAll("[msallowcapture^='']").length&&F.push("[*^$]="+ne+"*(?:''|\"\")"),e.querySelectorAll("[selected]").length||F.push("\\["+ne+"*(?:value|"+te+")"),e.querySelectorAll("[id~="+P+"-]").length||F.push("~="),e.querySelectorAll(":checked").length||F.push(":checked"),e.querySelectorAll("a#"+P+"+*").length||F.push(".#.+[+~]")}),i(function(e){var t=H.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("name","D"),e.querySelectorAll("[name=d]").length&&F.push("name"+ne+"*[*^$|!~]?="),e.querySelectorAll(":enabled").length||F.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),F.push(",.*:")})),(w.matchesSelector=me.test(O=q.matches||q.webkitMatchesSelector||q.mozMatchesSelector||q.oMatchesSelector||q.msMatchesSelector))&&i(function(e){w.disconnectedMatch=O.call(e,"div"),O.call(e,"[s!='']:x"),M.push("!=",oe)}),F=F.length&&new RegExp(F.join("|")),M=M.length&&new RegExp(M.join("|")),t=me.test(q.compareDocumentPosition),R=t||me.test(q.contains)?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},U=t?function(e,t){if(e===t)return j=!0,0;var n=!e.compareDocumentPosition-!t.compareDocumentPosition;return n?n:(n=(e.ownerDocument||e)===(t.ownerDocument||t)?e.compareDocumentPosition(t):1,1&n||!w.sortDetached&&t.compareDocumentPosition(e)===n?e===H||e.ownerDocument===B&&R(B,e)?-1:t===H||t.ownerDocument===B&&R(B,t)?1:D?ee(D,e)-ee(D,t):0:4&n?-1:1)}:function(e,t){if(e===t)return j=!0,0;var n,r=0,i=e.parentNode,o=t.parentNode,s=[e],u=[t];if(!i||!o)return e===H?-1:t===H?1:i?-1:o?1:D?ee(D,e)-ee(D,t):0;if(i===o)return a(e,t);for(n=e;n=n.parentNode;)s.unshift(n);for(n=t;n=n.parentNode;)u.unshift(n);for(;s[r]===u[r];)r++;return r?a(s[r],u[r]):s[r]===B?-1:u[r]===B?1:0},H):H},t.matches=function(e,n){return t(e,null,null,n)},t.matchesSelector=function(e,n){if((e.ownerDocument||e)!==H&&L(e),n=n.replace(ce,"='$1']"),w.matchesSelector&&_&&!X[n+" "]&&(!M||!M.test(n))&&(!F||!F.test(n)))try{var r=O.call(e,n);if(r||w.disconnectedMatch||e.document&&11!==e.document.nodeType)return r}catch(i){}return t(n,H,null,[e]).length>0},t.contains=function(e,t){return(e.ownerDocument||e)!==H&&L(e),R(e,t)},t.attr=function(e,t){(e.ownerDocument||e)!==H&&L(e);var n=T.attrHandle[t.toLowerCase()],r=n&&Y.call(T.attrHandle,t.toLowerCase())?n(e,t,!_):void 0;return void 0!==r?r:w.attributes||!_?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null},t.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},t.uniqueSort=function(e){var t,n=[],r=0,i=0;if(j=!w.detectDuplicates,D=!w.sortStable&&e.slice(0),e.sort(U),j){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return D=null,e},C=t.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=C(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r++];)n+=C(t);return n},T=t.selectors={cacheLength:50,createPseudo:r,match:pe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(be,we),e[3]=(e[3]||e[4]||e[5]||"").replace(be,we),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||t.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&t.error(e[0]),e},PSEUDO:function(e){var t,n=!e[6]&&e[2];return pe.CHILD.test(e[0])?null:(e[3]?e[2]=e[4]||e[5]||"":n&&fe.test(n)&&(t=N(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(be,we).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=$[e+" "];return t||(t=new RegExp("(^|"+ne+")"+e+"("+ne+"|$)"))&&$(e,function(e){return t.test("string"==typeof e.className&&e.className||"undefined"!=typeof e.getAttribute&&e.getAttribute("class")||"")})},ATTR:function(e,n,r){return function(i){var o=t.attr(i,e);return null==o?"!="===n:!n||(o+="","="===n?o===r:"!="===n?o!==r:"^="===n?r&&0===o.indexOf(r):"*="===n?r&&o.indexOf(r)>-1:"$="===n?r&&o.slice(-r.length)===r:"~="===n?(" "+o.replace(ae," ")+" ").indexOf(r)>-1:"|="===n&&(o===r||o.slice(0,r.length+1)===r+"-"))}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,f,d,p,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!u&&!s,x=!1;if(m){if(o){for(;g;){for(d=t;d=d[g];)if(s?d.nodeName.toLowerCase()===y:1===d.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){for(d=m,f=d[P]||(d[P]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}), | ||
| 3 | +l=c[e]||[],p=l[0]===W&&l[1],x=p&&l[2],d=p&&m.childNodes[p];d=++p&&d&&d[g]||(x=p=0)||h.pop();)if(1===d.nodeType&&++x&&d===t){c[e]=[W,p,x];break}}else if(v&&(d=t,f=d[P]||(d[P]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),l=c[e]||[],p=l[0]===W&&l[1],x=p),x===!1)for(;(d=++p&&d&&d[g]||(x=p=0)||h.pop())&&((s?d.nodeName.toLowerCase()!==y:1!==d.nodeType)||!++x||(v&&(f=d[P]||(d[P]={}),c=f[d.uniqueID]||(f[d.uniqueID]={}),c[e]=[W,x]),d!==t)););return x-=i,x===r||x%r===0&&x/r>=0}}},PSEUDO:function(e,n){var i,o=T.pseudos[e]||T.setFilters[e.toLowerCase()]||t.error("unsupported pseudo: "+e);return o[P]?o(n):o.length>1?(i=[e,e,"",n],T.setFilters.hasOwnProperty(e.toLowerCase())?r(function(e,t){for(var r,i=o(e,n),a=i.length;a--;)r=ee(e,i[a]),e[r]=!(t[r]=i[a])}):function(e){return o(e,0,i)}):o}},pseudos:{not:r(function(e){var t=[],n=[],i=k(e.replace(se,"$1"));return i[P]?r(function(e,t,n,r){for(var o,a=i(e,null,r,[]),s=e.length;s--;)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,r,o){return t[0]=e,i(t,null,o,n),t[0]=null,!n.pop()}}),has:r(function(e){return function(n){return t(e,n).length>0}}),contains:r(function(e){return e=e.replace(be,we),function(t){return(t.textContent||t.innerText||C(t)).indexOf(e)>-1}}),lang:r(function(e){return de.test(e||"")||t.error("unsupported lang: "+e),e=e.replace(be,we).toLowerCase(),function(t){var n;do if(n=_?t.lang:t.getAttribute("xml:lang")||t.getAttribute("lang"))return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===q},focus:function(e){return e===H.activeElement&&(!H.hasFocus||H.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeType<6)return!1;return!0},parent:function(e){return!T.pseudos.empty(e)},header:function(e){return ge.test(e.nodeName)},input:function(e){return he.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||"text"===t.toLowerCase())},first:l(function(){return[0]}),last:l(function(e,t){return[t-1]}),eq:l(function(e,t,n){return[n<0?n+t:n]}),even:l(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:l(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:l(function(e,t,n){for(var r=n<0?n+t:n;--r>=0;)e.push(r);return e}),gt:l(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},T.pseudos.nth=T.pseudos.eq;for(b in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})T.pseudos[b]=s(b);for(b in{submit:!0,reset:!0})T.pseudos[b]=u(b);return f.prototype=T.filters=T.pseudos,T.setFilters=new f,N=t.tokenize=function(e,n){var r,i,o,a,s,u,l,c=z[e+" "];if(c)return n?0:c.slice(0);for(s=e,u=[],l=T.preFilter;s;){r&&!(i=ue.exec(s))||(i&&(s=s.slice(i[0].length)||s),u.push(o=[])),r=!1,(i=le.exec(s))&&(r=i.shift(),o.push({value:r,type:i[0].replace(se," ")}),s=s.slice(r.length));for(a in T.filter)!(i=pe[a].exec(s))||l[a]&&!(i=l[a](i))||(r=i.shift(),o.push({value:r,type:a,matches:i}),s=s.slice(r.length));if(!r)break}return n?s.length:s?t.error(e):z(e,u).slice(0)},k=t.compile=function(e,t){var n,r=[],i=[],o=X[e+" "];if(!o){for(t||(t=N(e)),n=t.length;n--;)o=v(t[n]),o[P]?r.push(o):i.push(o);o=X(e,x(i,r)),o.selector=e}return o},S=t.select=function(e,t,n,r){var i,o,a,s,u,l="function"==typeof e&&e,f=!r&&N(e=l.selector||e);if(n=n||[],1===f.length){if(o=f[0]=f[0].slice(0),o.length>2&&"ID"===(a=o[0]).type&&w.getById&&9===t.nodeType&&_&&T.relative[o[1].type]){if(t=(T.find.ID(a.matches[0].replace(be,we),t)||[])[0],!t)return n;l&&(t=t.parentNode),e=e.slice(o.shift().value.length)}for(i=pe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!T.relative[s=a.type]);)if((u=T.find[s])&&(r=u(a.matches[0].replace(be,we),ve.test(o[0].type)&&c(t.parentNode)||t))){if(o.splice(i,1),e=r.length&&d(o),!e)return Q.apply(n,r),n;break}}return(l||k(e,f))(r,t,!_,n,!t||ve.test(e)&&c(t.parentNode)||t),n},w.sortStable=P.split("").sort(U).join("")===P,w.detectDuplicates=!!j,L(),w.sortDetached=i(function(e){return 1&e.compareDocumentPosition(H.createElement("div"))}),i(function(e){return e.innerHTML="<a href='#'></a>","#"===e.firstChild.getAttribute("href")})||o("type|href|height|width",function(e,t,n){if(!n)return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}),w.attributes&&i(function(e){return e.innerHTML="<input/>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")})||o("value",function(e,t,n){if(!n&&"input"===e.nodeName.toLowerCase())return e.defaultValue}),i(function(e){return null==e.getAttribute("disabled")})||o(te,function(e,t,n){var r;if(!n)return e[t]===!0?t.toLowerCase():(r=e.getAttributeNode(t))&&r.specified?r.value:null}),t}(e);pe.find=ve,pe.expr=ve.selectors,pe.expr[":"]=pe.expr.pseudos,pe.uniqueSort=pe.unique=ve.uniqueSort,pe.text=ve.getText,pe.isXMLDoc=ve.isXML,pe.contains=ve.contains;var xe=function(e,t,n){for(var r=[],i=void 0!==n;(e=e[t])&&9!==e.nodeType;)if(1===e.nodeType){if(i&&pe(e).is(n))break;r.push(e)}return r},be=function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n},we=pe.expr.match.needsContext,Te=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,Ce=/^.[^:#\[\.,]*$/;pe.filter=function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?pe.find.matchesSelector(r,e)?[r]:[]:pe.find.matches(e,pe.grep(t,function(e){return 1===e.nodeType}))},pe.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(pe(e).filter(function(){for(t=0;t<i;t++)if(pe.contains(r[t],this))return!0}));for(t=0;t<i;t++)pe.find(e,r[t],n);return n=this.pushStack(i>1?pe.unique(n):n),n.selector=this.selector?this.selector+" "+e:e,n},filter:function(e){return this.pushStack(r(this,e||[],!1))},not:function(e){return this.pushStack(r(this,e||[],!0))},is:function(e){return!!r(this,"string"==typeof e&&we.test(e)?pe(e):e||[],!1).length}});var Ee,Ne=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,ke=pe.fn.init=function(e,t,n){var r,i;if(!e)return this;if(n=n||Ee,"string"==typeof e){if(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:Ne.exec(e),!r||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof pe?t[0]:t,pe.merge(this,pe.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:re,!0)),Te.test(r[1])&&pe.isPlainObject(t))for(r in t)pe.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}if(i=re.getElementById(r[2]),i&&i.parentNode){if(i.id!==r[2])return Ee.find(e);this.length=1,this[0]=i}return this.context=re,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):pe.isFunction(e)?"undefined"!=typeof n.ready?n.ready(e):e(pe):(void 0!==e.selector&&(this.selector=e.selector,this.context=e.context),pe.makeArray(e,this))};ke.prototype=pe.fn,Ee=pe(re);var Se=/^(?:parents|prev(?:Until|All))/,Ae={children:!0,contents:!0,next:!0,prev:!0};pe.fn.extend({has:function(e){var t,n=pe(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(pe.contains(this,n[t]))return!0})},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=we.test(e)||"string"!=typeof e?pe(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?a.index(n)>-1:1===n.nodeType&&pe.find.matchesSelector(n,e))){o.push(n);break}return this.pushStack(o.length>1?pe.uniqueSort(o):o)},index:function(e){return e?"string"==typeof e?pe.inArray(this[0],pe(e)):pe.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){return this.pushStack(pe.uniqueSort(pe.merge(this.get(),pe(e,t))))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),pe.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return xe(e,"parentNode")},parentsUntil:function(e,t,n){return xe(e,"parentNode",n)},next:function(e){return i(e,"nextSibling")},prev:function(e){return i(e,"previousSibling")},nextAll:function(e){return xe(e,"nextSibling")},prevAll:function(e){return xe(e,"previousSibling")},nextUntil:function(e,t,n){return xe(e,"nextSibling",n)},prevUntil:function(e,t,n){return xe(e,"previousSibling",n)},siblings:function(e){return be((e.parentNode||{}).firstChild,e)},children:function(e){return be(e.firstChild)},contents:function(e){return pe.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:pe.merge([],e.childNodes)}},function(e,t){pe.fn[e]=function(n,r){var i=pe.map(this,t,n);return"Until"!==e.slice(-5)&&(r=n),r&&"string"==typeof r&&(i=pe.filter(r,i)),this.length>1&&(Ae[e]||(i=pe.uniqueSort(i)),Se.test(e)&&(i=i.reverse())),this.pushStack(i)}});var De=/\S+/g;pe.Callbacks=function(e){e="string"==typeof e?o(e):pe.extend({},e);var t,n,r,i,a=[],s=[],u=-1,l=function(){for(i=e.once,r=t=!0;s.length;u=-1)for(n=s.shift();++u<a.length;)a[u].apply(n[0],n[1])===!1&&e.stopOnFalse&&(u=a.length,n=!1);e.memory||(n=!1),t=!1,i&&(a=n?[]:"")},c={add:function(){return a&&(n&&!t&&(u=a.length-1,s.push(n)),function r(t){pe.each(t,function(t,n){pe.isFunction(n)?e.unique&&c.has(n)||a.push(n):n&&n.length&&"string"!==pe.type(n)&&r(n)})}(arguments),n&&!t&&l()),this},remove:function(){return pe.each(arguments,function(e,t){for(var n;(n=pe.inArray(t,a,n))>-1;)a.splice(n,1),n<=u&&u--}),this},has:function(e){return e?pe.inArray(e,a)>-1:a.length>0},empty:function(){return a&&(a=[]),this},disable:function(){return i=s=[],a=n="",this},disabled:function(){return!a},lock:function(){return i=!0,n||c.disable(),this},locked:function(){return!!i},fireWith:function(e,n){return i||(n=n||[],n=[e,n.slice?n.slice():n],s.push(n),t||l()),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},pe.extend({Deferred:function(e){var t=[["resolve","done",pe.Callbacks("once memory"),"resolved"],["reject","fail",pe.Callbacks("once memory"),"rejected"],["notify","progress",pe.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return pe.Deferred(function(n){pe.each(t,function(t,o){var a=pe.isFunction(e[t])&&e[t];i[o[1]](function(){var e=a&&a.apply(this,arguments);e&&pe.isFunction(e.promise)?e.promise().progress(n.notify).done(n.resolve).fail(n.reject):n[o[0]+"With"](this===r?n.promise():this,a?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?pe.extend(e,r):r}},i={};return r.pipe=r.then,pe.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t,n,r,i=0,o=ie.call(arguments),a=o.length,s=1!==a||e&&pe.isFunction(e.promise)?a:0,u=1===s?e:pe.Deferred(),l=function(e,n,r){return function(i){n[e]=this,r[e]=arguments.length>1?ie.call(arguments):i,r===t?u.notifyWith(n,r):--s||u.resolveWith(n,r)}};if(a>1)for(t=new Array(a),n=new Array(a),r=new Array(a);i<a;i++)o[i]&&pe.isFunction(o[i].promise)?o[i].promise().progress(l(i,n,t)).done(l(i,r,o)).fail(u.reject):--s;return s||u.resolveWith(r,o),u.promise()}});var je;pe.fn.ready=function(e){return pe.ready.promise().done(e),this},pe.extend({isReady:!1,readyWait:1,holdReady:function(e){e?pe.readyWait++:pe.ready(!0)},ready:function(e){(e===!0?--pe.readyWait:pe.isReady)||(pe.isReady=!0,e!==!0&&--pe.readyWait>0||(je.resolveWith(re,[pe]),pe.fn.triggerHandler&&(pe(re).triggerHandler("ready"),pe(re).off("ready"))))}}),pe.ready.promise=function(t){if(!je)if(je=pe.Deferred(),"complete"===re.readyState||"loading"!==re.readyState&&!re.documentElement.doScroll)e.setTimeout(pe.ready);else if(re.addEventListener)re.addEventListener("DOMContentLoaded",s),e.addEventListener("load",s);else{re.attachEvent("onreadystatechange",s),e.attachEvent("onload",s);var n=!1;try{n=null==e.frameElement&&re.documentElement}catch(r){}n&&n.doScroll&&!function i(){if(!pe.isReady){try{n.doScroll("left")}catch(t){return e.setTimeout(i,50)}a(),pe.ready()}}()}return je.promise(t)},pe.ready.promise();var Le;for(Le in pe(fe))break;fe.ownFirst="0"===Le,fe.inlineBlockNeedsLayout=!1,pe(function(){var e,t,n,r;n=re.getElementsByTagName("body")[0],n&&n.style&&(t=re.createElement("div"),r=re.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1",fe.inlineBlockNeedsLayout=e=3===t.offsetWidth,e&&(n.style.zoom=1)),n.removeChild(r))}),function(){var e=re.createElement("div");fe.deleteExpando=!0;try{delete e.test}catch(t){fe.deleteExpando=!1}e=null}();var He=function(e){var t=pe.noData[(e.nodeName+" ").toLowerCase()],n=+e.nodeType||1;return(1===n||9===n)&&(!t||t!==!0&&e.getAttribute("classid")===t)},qe=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,_e=/([A-Z])/g;pe.extend({cache:{},noData:{"applet ":!0,"embed ":!0,"object ":"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return e=e.nodeType?pe.cache[e[pe.expando]]:e[pe.expando],!!e&&!l(e)},data:function(e,t,n){return c(e,t,n)},removeData:function(e,t){return f(e,t)},_data:function(e,t,n){return c(e,t,n,!0)},_removeData:function(e,t){return f(e,t,!0)}}),pe.fn.extend({data:function(e,t){var n,r,i,o=this[0],a=o&&o.attributes;if(void 0===e){if(this.length&&(i=pe.data(o),1===o.nodeType&&!pe._data(o,"parsedAttrs"))){for(n=a.length;n--;)a[n]&&(r=a[n].name,0===r.indexOf("data-")&&(r=pe.camelCase(r.slice(5)),u(o,r,i[r])));pe._data(o,"parsedAttrs",!0)}return i}return"object"==typeof e?this.each(function(){pe.data(this,e)}):arguments.length>1?this.each(function(){pe.data(this,e,t)}):o?u(o,e,pe.data(o,e)):void 0},removeData:function(e){return this.each(function(){pe.removeData(this,e)})}}),pe.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=pe._data(e,t),n&&(!r||pe.isArray(n)?r=pe._data(e,t,pe.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=pe.queue(e,t),r=n.length,i=n.shift(),o=pe._queueHooks(e,t),a=function(){pe.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return pe._data(e,n)||pe._data(e,n,{empty:pe.Callbacks("once memory").add(function(){pe._removeData(e,t+"queue"),pe._removeData(e,n)})})}}),pe.fn.extend({queue:function(e,t){var n=2;return"string"!=typeof e&&(t=e,e="fx",n--),arguments.length<n?pe.queue(this[0],e):void 0===t?this:this.each(function(){var n=pe.queue(this,e,t);pe._queueHooks(this,e),"fx"===e&&"inprogress"!==n[0]&&pe.dequeue(this,e)})},dequeue:function(e){return this.each(function(){pe.dequeue(this,e)})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=pe.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=void 0),e=e||"fx";a--;)n=pe._data(o[a],e+"queueHooks"),n&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}}),function(){var e;fe.shrinkWrapBlocks=function(){if(null!=e)return e;e=!1;var t,n,r;return n=re.getElementsByTagName("body")[0],n&&n.style?(t=re.createElement("div"),r=re.createElement("div"),r.style.cssText="position:absolute;border:0;width:0;height:0;top:0;left:-9999px",n.appendChild(r).appendChild(t),"undefined"!=typeof t.style.zoom&&(t.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1",t.appendChild(re.createElement("div")).style.width="5px",e=3!==t.offsetWidth),n.removeChild(r),e):void 0}}();var Fe=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,Me=new RegExp("^(?:([+-])=|)("+Fe+")([a-z%]*)$","i"),Oe=["Top","Right","Bottom","Left"],Re=function(e,t){return e=t||e,"none"===pe.css(e,"display")||!pe.contains(e.ownerDocument,e)},Pe=function(e,t,n,r,i,o,a){var s=0,u=e.length,l=null==n;if("object"===pe.type(n)){i=!0;for(s in n)Pe(e,t,s,n[s],!0,o,a)}else if(void 0!==r&&(i=!0,pe.isFunction(r)||(a=!0),l&&(a?(t.call(e,r),t=null):(l=t,t=function(e,t,n){return l.call(pe(e),n)})),t))for(;s<u;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:l?t.call(e):u?t(e[0],n):o},Be=/^(?:checkbox|radio)$/i,We=/<([\w:-]+)/,Ie=/^$|\/(?:java|ecma)script/i,$e=/^\s+/,ze="abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";!function(){var e=re.createElement("div"),t=re.createDocumentFragment(),n=re.createElement("input");e.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",fe.leadingWhitespace=3===e.firstChild.nodeType,fe.tbody=!e.getElementsByTagName("tbody").length,fe.htmlSerialize=!!e.getElementsByTagName("link").length,fe.html5Clone="<:nav></:nav>"!==re.createElement("nav").cloneNode(!0).outerHTML,n.type="checkbox",n.checked=!0,t.appendChild(n),fe.appendChecked=n.checked,e.innerHTML="<textarea>x</textarea>",fe.noCloneChecked=!!e.cloneNode(!0).lastChild.defaultValue,t.appendChild(e),n=re.createElement("input"),n.setAttribute("type","radio"),n.setAttribute("checked","checked"),n.setAttribute("name","t"),e.appendChild(n),fe.checkClone=e.cloneNode(!0).cloneNode(!0).lastChild.checked,fe.noCloneEvent=!!e.addEventListener,e[pe.expando]=1,fe.attributes=!e.getAttribute(pe.expando)}();var Xe={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:fe.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]};Xe.optgroup=Xe.option,Xe.tbody=Xe.tfoot=Xe.colgroup=Xe.caption=Xe.thead,Xe.th=Xe.td;var Ue=/<|&#?\w+;/,Ve=/<tbody/i;!function(){var t,n,r=re.createElement("div");for(t in{submit:!0,change:!0,focusin:!0})n="on"+t,(fe[t]=n in e)||(r.setAttribute(n,"t"),fe[t]=r.attributes[n].expando===!1);r=null}();var Ye=/^(?:input|select|textarea)$/i,Je=/^key/,Ge=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,Ke=/^(?:focusinfocus|focusoutblur)$/,Qe=/^([^.]*)(?:\.(.+)|)/;pe.event={global:{},add:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,p,h,g,m=pe._data(e);if(m){for(n.handler&&(u=n,n=u.handler,i=u.selector),n.guid||(n.guid=pe.guid++),(a=m.events)||(a=m.events={}),(c=m.handle)||(c=m.handle=function(e){return"undefined"==typeof pe||e&&pe.event.triggered===e.type?void 0:pe.event.dispatch.apply(c.elem,arguments)},c.elem=e),t=(t||"").match(De)||[""],s=t.length;s--;)o=Qe.exec(t[s])||[],p=g=o[1],h=(o[2]||"").split(".").sort(),p&&(l=pe.event.special[p]||{},p=(i?l.delegateType:l.bindType)||p,l=pe.event.special[p]||{},f=pe.extend({type:p,origType:g,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&pe.expr.match.needsContext.test(i),namespace:h.join(".")},u),(d=a[p])||(d=a[p]=[],d.delegateCount=0,l.setup&&l.setup.call(e,r,h,c)!==!1||(e.addEventListener?e.addEventListener(p,c,!1):e.attachEvent&&e.attachEvent("on"+p,c))),l.add&&(l.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),i?d.splice(d.delegateCount++,0,f):d.push(f),pe.event.global[p]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,f,d,p,h,g,m=pe.hasData(e)&&pe._data(e);if(m&&(c=m.events)){for(t=(t||"").match(De)||[""],l=t.length;l--;)if(s=Qe.exec(t[l])||[],p=g=s[1],h=(s[2]||"").split(".").sort(),p){for(f=pe.event.special[p]||{},p=(r?f.delegateType:f.bindType)||p,d=c[p]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=d.length;o--;)a=d[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(d.splice(o,1),a.selector&&d.delegateCount--,f.remove&&f.remove.call(e,a));u&&!d.length&&(f.teardown&&f.teardown.call(e,h,m.handle)!==!1||pe.removeEvent(e,p,m.handle),delete c[p])}else for(p in c)pe.event.remove(e,p+t[l],n,r,!0);pe.isEmptyObject(c)&&(delete m.handle,pe._removeData(e,"events"))}},trigger:function(t,n,r,i){var o,a,s,u,l,c,f,d=[r||re],p=ce.call(t,"type")?t.type:t,h=ce.call(t,"namespace")?t.namespace.split("."):[];if(s=c=r=r||re,3!==r.nodeType&&8!==r.nodeType&&!Ke.test(p+pe.event.triggered)&&(p.indexOf(".")>-1&&(h=p.split("."),p=h.shift(),h.sort()),a=p.indexOf(":")<0&&"on"+p,t=t[pe.expando]?t:new pe.Event(p,"object"==typeof t&&t),t.isTrigger=i?2:3,t.namespace=h.join("."),t.rnamespace=t.namespace?new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,t.result=void 0,t.target||(t.target=r),n=null==n?[t]:pe.makeArray(n,[t]),l=pe.event.special[p]||{},i||!l.trigger||l.trigger.apply(r,n)!==!1)){if(!i&&!l.noBubble&&!pe.isWindow(r)){for(u=l.delegateType||p,Ke.test(u+p)||(s=s.parentNode);s;s=s.parentNode)d.push(s),c=s;c===(r.ownerDocument||re)&&d.push(c.defaultView||c.parentWindow||e)}for(f=0;(s=d[f++])&&!t.isPropagationStopped();)t.type=f>1?u:l.bindType||p,o=(pe._data(s,"events")||{})[t.type]&&pe._data(s,"handle"),o&&o.apply(s,n),o=a&&s[a],o&&o.apply&&He(s)&&(t.result=o.apply(s,n),t.result===!1&&t.preventDefault());if(t.type=p,!i&&!t.isDefaultPrevented()&&(!l._default||l._default.apply(d.pop(),n)===!1)&&He(r)&&a&&r[p]&&!pe.isWindow(r)){c=r[a],c&&(r[a]=null),pe.event.triggered=p;try{r[p]()}catch(g){}pe.event.triggered=void 0,c&&(r[a]=c)}return t.result}},dispatch:function(e){e=pe.event.fix(e);var t,n,r,i,o,a=[],s=ie.call(arguments),u=(pe._data(this,"events")||{})[e.type]||[],l=pe.event.special[e.type]||{};if(s[0]=e,e.delegateTarget=this,!l.preDispatch||l.preDispatch.call(this,e)!==!1){for(a=pe.event.handlers.call(this,e,u),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,n=0;(o=i.handlers[n++])&&!e.isImmediatePropagationStopped();)e.rnamespace&&!e.rnamespace.test(o.namespace)||(e.handleObj=o,e.data=o.data,r=((pe.event.special[o.origType]||{}).handle||o.handler).apply(i.elem,s),void 0!==r&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()));return l.postDispatch&&l.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,u=e.target;if(s&&u.nodeType&&("click"!==e.type||isNaN(e.button)||e.button<1))for(;u!=this;u=u.parentNode||this)if(1===u.nodeType&&(u.disabled!==!0||"click"!==e.type)){for(r=[],n=0;n<s;n++)o=t[n],i=o.selector+" ",void 0===r[i]&&(r[i]=o.needsContext?pe(i,this).index(u)>-1:pe.find(i,this,null,[u]).length),r[i]&&r.push(o);r.length&&a.push({elem:u,handlers:r})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[pe.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=Ge.test(i)?this.mouseHooks:Je.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new pe.Event(o),t=r.length;t--;)n=r[t],e[n]=o[n];return e.target||(e.target=o.srcElement||re),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,a.filter?a.filter(e,o):e},props:"altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(r=e.target.ownerDocument||re,i=r.documentElement,n=r.body,e.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||void 0===o||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==b()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===b()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(pe.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return pe.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){void 0!==e.result&&e.originalEvent&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n){var r=pe.extend(new pe.Event,n,{type:e,isSimulated:!0});pe.event.trigger(r,null,t),r.isDefaultPrevented()&&n.preventDefault()}},pe.removeEvent=re.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n)}:function(e,t,n){var r="on"+t;e.detachEvent&&("undefined"==typeof e[r]&&(e[r]=null),e.detachEvent(r,n))},pe.Event=function(e,t){return this instanceof pe.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||void 0===e.defaultPrevented&&e.returnValue===!1?v:x):this.type=e,t&&pe.extend(this,t),this.timeStamp=e&&e.timeStamp||pe.now(),void(this[pe.expando]=!0)):new pe.Event(e,t)},pe.Event.prototype={constructor:pe.Event,isDefaultPrevented:x,isPropagationStopped:x,isImmediatePropagationStopped:x,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=v,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=v,e&&!this.isSimulated&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){var e=this.originalEvent;this.isImmediatePropagationStopped=v,e&&e.stopImmediatePropagation&&e.stopImmediatePropagation(),this.stopPropagation()}},pe.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(e,t){pe.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj;return i&&(i===r||pe.contains(r,i))||(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),fe.submit||(pe.event.special.submit={setup:function(){return!pe.nodeName(this,"form")&&void pe.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=pe.nodeName(t,"input")||pe.nodeName(t,"button")?pe.prop(t,"form"):void 0;n&&!pe._data(n,"submit")&&(pe.event.add(n,"submit._submit",function(e){e._submitBubble=!0}),pe._data(n,"submit",!0))})},postDispatch:function(e){e._submitBubble&&(delete e._submitBubble,this.parentNode&&!e.isTrigger&&pe.event.simulate("submit",this.parentNode,e))},teardown:function(){return!pe.nodeName(this,"form")&&void pe.event.remove(this,"._submit")}}),fe.change||(pe.event.special.change={setup:function(){return Ye.test(this.nodeName)?("checkbox"!==this.type&&"radio"!==this.type||(pe.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._justChanged=!0)}),pe.event.add(this,"click._change",function(e){this._justChanged&&!e.isTrigger&&(this._justChanged=!1),pe.event.simulate("change",this,e)})),!1):void pe.event.add(this,"beforeactivate._change",function(e){var t=e.target;Ye.test(t.nodeName)&&!pe._data(t,"change")&&(pe.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||pe.event.simulate("change",this.parentNode,e)}),pe._data(t,"change",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return pe.event.remove(this,"._change"),!Ye.test(this.nodeName)}}),fe.focusin||pe.each({focus:"focusin",blur:"focusout"},function(e,t){var n=function(e){pe.event.simulate(t,e.target,pe.event.fix(e))};pe.event.special[t]={setup:function(){var r=this.ownerDocument||this,i=pe._data(r,t);i||r.addEventListener(e,n,!0),pe._data(r,t,(i||0)+1)},teardown:function(){var r=this.ownerDocument||this,i=pe._data(r,t)-1;i?pe._data(r,t,i):(r.removeEventListener(e,n,!0),pe._removeData(r,t))}}}),pe.fn.extend({on:function(e,t,n,r){return w(this,e,t,n,r)},one:function(e,t,n,r){return w(this,e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,pe(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"==typeof e){for(i in e)this.off(i,t,e[i]);return this}return t!==!1&&"function"!=typeof t||(n=t,t=void 0),n===!1&&(n=x),this.each(function(){pe.event.remove(this,e,n,t)})},trigger:function(e,t){return this.each(function(){pe.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return pe.event.trigger(e,t,n,!0)}});var Ze=/ jQuery\d+="(?:null|\d+)"/g,et=new RegExp("<(?:"+ze+")[\\s/>]","i"),tt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,nt=/<script|<style|<link/i,rt=/checked\s*(?:[^=]|=\s*.checked.)/i,it=/^true\/(.*)/,ot=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,at=p(re),st=at.appendChild(re.createElement("div"));pe.extend({htmlPrefilter:function(e){return e.replace(tt,"<$1></$2>")},clone:function(e,t,n){var r,i,o,a,s,u=pe.contains(e.ownerDocument,e);if(fe.html5Clone||pe.isXMLDoc(e)||!et.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(st.innerHTML=e.outerHTML,st.removeChild(o=st.firstChild)),!(fe.noCloneEvent&&fe.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||pe.isXMLDoc(e)))for(r=h(o),s=h(e),a=0;null!=(i=s[a]);++a)r[a]&&k(i,r[a]);if(t)if(n)for(s=s||h(e),r=r||h(o),a=0;null!=(i=s[a]);a++)N(i,r[a]);else N(e,o);return r=h(o,"script"),r.length>0&&g(r,!u&&h(e,"script")),r=s=i=null,o},cleanData:function(e,t){for(var n,r,i,o,a=0,s=pe.expando,u=pe.cache,l=fe.attributes,c=pe.event.special;null!=(n=e[a]);a++)if((t||He(n))&&(i=n[s],o=i&&u[i])){if(o.events)for(r in o.events)c[r]?pe.event.remove(n,r):pe.removeEvent(n,r,o.handle);u[i]&&(delete u[i],l||"undefined"==typeof n.removeAttribute?n[s]=void 0:n.removeAttribute(s),ne.push(i))}}}),pe.fn.extend({domManip:S,detach:function(e){return A(this,e,!0)},remove:function(e){return A(this,e)},text:function(e){return Pe(this,function(e){return void 0===e?pe.text(this):this.empty().append((this[0]&&this[0].ownerDocument||re).createTextNode(e))},null,e,arguments.length)},append:function(){return S(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=T(this,e);t.appendChild(e)}})},prepend:function(){return S(this,arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=T(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return S(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return S(this,arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&pe.cleanData(h(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&pe.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return pe.clone(this,e,t)})},html:function(e){return Pe(this,function(e){var t=this[0]||{},n=0,r=this.length;if(void 0===e)return 1===t.nodeType?t.innerHTML.replace(Ze,""):void 0;if("string"==typeof e&&!nt.test(e)&&(fe.htmlSerialize||!et.test(e))&&(fe.leadingWhitespace||!$e.test(e))&&!Xe[(We.exec(e)||["",""])[1].toLowerCase()]){e=pe.htmlPrefilter(e);try{for(;n<r;n++)t=this[n]||{},1===t.nodeType&&(pe.cleanData(h(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var e=[];return S(this,arguments,function(t){var n=this.parentNode;pe.inArray(this,e)<0&&(pe.cleanData(h(this)), | ||
| 4 | +n&&n.replaceChild(t,this))},e)}}),pe.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){pe.fn[e]=function(e){for(var n,r=0,i=[],o=pe(e),a=o.length-1;r<=a;r++)n=r===a?this:this.clone(!0),pe(o[r])[t](n),ae.apply(i,n.get());return this.pushStack(i)}});var ut,lt={HTML:"block",BODY:"block"},ct=/^margin/,ft=new RegExp("^("+Fe+")(?!px)[a-z%]+$","i"),dt=function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i},pt=re.documentElement;!function(){function t(){var t,c,f=re.documentElement;f.appendChild(u),l.style.cssText="-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%",n=i=s=!1,r=a=!0,e.getComputedStyle&&(c=e.getComputedStyle(l),n="1%"!==(c||{}).top,s="2px"===(c||{}).marginLeft,i="4px"===(c||{width:"4px"}).width,l.style.marginRight="50%",r="4px"===(c||{marginRight:"4px"}).marginRight,t=l.appendChild(re.createElement("div")),t.style.cssText=l.style.cssText="-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0",t.style.marginRight=t.style.width="0",l.style.width="1px",a=!parseFloat((e.getComputedStyle(t)||{}).marginRight),l.removeChild(t)),l.style.display="none",o=0===l.getClientRects().length,o&&(l.style.display="",l.innerHTML="<table><tr><td></td><td>t</td></tr></table>",t=l.getElementsByTagName("td"),t[0].style.cssText="margin:0;border:0;padding:0;display:none",o=0===t[0].offsetHeight,o&&(t[0].style.display="",t[1].style.display="none",o=0===t[0].offsetHeight)),f.removeChild(u)}var n,r,i,o,a,s,u=re.createElement("div"),l=re.createElement("div");l.style&&(l.style.cssText="float:left;opacity:.5",fe.opacity="0.5"===l.style.opacity,fe.cssFloat=!!l.style.cssFloat,l.style.backgroundClip="content-box",l.cloneNode(!0).style.backgroundClip="",fe.clearCloneStyle="content-box"===l.style.backgroundClip,u=re.createElement("div"),u.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",l.innerHTML="",u.appendChild(l),fe.boxSizing=""===l.style.boxSizing||""===l.style.MozBoxSizing||""===l.style.WebkitBoxSizing,pe.extend(fe,{reliableHiddenOffsets:function(){return null==n&&t(),o},boxSizingReliable:function(){return null==n&&t(),i},pixelMarginRight:function(){return null==n&&t(),r},pixelPosition:function(){return null==n&&t(),n},reliableMarginRight:function(){return null==n&&t(),a},reliableMarginLeft:function(){return null==n&&t(),s}}))}();var ht,gt,mt=/^(top|right|bottom|left)$/;e.getComputedStyle?(ht=function(t){var n=t.ownerDocument.defaultView;return n&&n.opener||(n=e),n.getComputedStyle(t)},gt=function(e,t,n){var r,i,o,a,s=e.style;return n=n||ht(e),a=n?n.getPropertyValue(t)||n[t]:void 0,""!==a&&void 0!==a||pe.contains(e.ownerDocument,e)||(a=pe.style(e,t)),n&&!fe.pixelMarginRight()&&ft.test(a)&&ct.test(t)&&(r=s.width,i=s.minWidth,o=s.maxWidth,s.minWidth=s.maxWidth=s.width=a,a=n.width,s.width=r,s.minWidth=i,s.maxWidth=o),void 0===a?a:a+""}):pt.currentStyle&&(ht=function(e){return e.currentStyle},gt=function(e,t,n){var r,i,o,a,s=e.style;return n=n||ht(e),a=n?n[t]:void 0,null==a&&s&&s[t]&&(a=s[t]),ft.test(a)&&!mt.test(t)&&(r=s.left,i=e.runtimeStyle,o=i&&i.left,o&&(i.left=e.currentStyle.left),s.left="fontSize"===t?"1em":a,a=s.pixelLeft+"px",s.left=r,o&&(i.left=o)),void 0===a?a:a+""||"auto"});var yt=/alpha\([^)]*\)/i,vt=/opacity\s*=\s*([^)]*)/i,xt=/^(none|table(?!-c[ea]).+)/,bt=new RegExp("^("+Fe+")(.*)$","i"),wt={position:"absolute",visibility:"hidden",display:"block"},Tt={letterSpacing:"0",fontWeight:"400"},Ct=["Webkit","O","Moz","ms"],Et=re.createElement("div").style;pe.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=gt(e,"opacity");return""===n?"1":n}}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":fe.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=pe.camelCase(t),u=e.style;if(t=pe.cssProps[s]||(pe.cssProps[s]=H(s)||s),a=pe.cssHooks[t]||pe.cssHooks[s],void 0===n)return a&&"get"in a&&void 0!==(i=a.get(e,!1,r))?i:u[t];if(o=typeof n,"string"===o&&(i=Me.exec(n))&&i[1]&&(n=d(e,t,i),o="number"),null!=n&&n===n&&("number"===o&&(n+=i&&i[3]||(pe.cssNumber[s]?"":"px")),fe.clearCloneStyle||""!==n||0!==t.indexOf("background")||(u[t]="inherit"),!(a&&"set"in a&&void 0===(n=a.set(e,n,r)))))try{u[t]=n}catch(l){}}},css:function(e,t,n,r){var i,o,a,s=pe.camelCase(t);return t=pe.cssProps[s]||(pe.cssProps[s]=H(s)||s),a=pe.cssHooks[t]||pe.cssHooks[s],a&&"get"in a&&(o=a.get(e,!0,n)),void 0===o&&(o=gt(e,t,r)),"normal"===o&&t in Tt&&(o=Tt[t]),""===n||n?(i=parseFloat(o),n===!0||isFinite(i)?i||0:o):o}}),pe.each(["height","width"],function(e,t){pe.cssHooks[t]={get:function(e,n,r){if(n)return xt.test(pe.css(e,"display"))&&0===e.offsetWidth?dt(e,wt,function(){return M(e,t,r)}):M(e,t,r)},set:function(e,n,r){var i=r&&ht(e);return _(e,n,r?F(e,t,r,fe.boxSizing&&"border-box"===pe.css(e,"boxSizing",!1,i),i):0)}}}),fe.opacity||(pe.cssHooks.opacity={get:function(e,t){return vt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=pe.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===pe.trim(o.replace(yt,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=yt.test(o)?o.replace(yt,i):o+" "+i)}}),pe.cssHooks.marginRight=L(fe.reliableMarginRight,function(e,t){if(t)return dt(e,{display:"inline-block"},gt,[e,"marginRight"])}),pe.cssHooks.marginLeft=L(fe.reliableMarginLeft,function(e,t){if(t)return(parseFloat(gt(e,"marginLeft"))||(pe.contains(e.ownerDocument,e)?e.getBoundingClientRect().left-dt(e,{marginLeft:0},function(){return e.getBoundingClientRect().left}):0))+"px"}),pe.each({margin:"",padding:"",border:"Width"},function(e,t){pe.cssHooks[e+t]={expand:function(n){for(var r=0,i={},o="string"==typeof n?n.split(" "):[n];r<4;r++)i[e+Oe[r]+t]=o[r]||o[r-2]||o[0];return i}},ct.test(e)||(pe.cssHooks[e+t].set=_)}),pe.fn.extend({css:function(e,t){return Pe(this,function(e,t,n){var r,i,o={},a=0;if(pe.isArray(t)){for(r=ht(e),i=t.length;a<i;a++)o[t[a]]=pe.css(e,t[a],!1,r);return o}return void 0!==n?pe.style(e,t,n):pe.css(e,t)},e,t,arguments.length>1)},show:function(){return q(this,!0)},hide:function(){return q(this)},toggle:function(e){return"boolean"==typeof e?e?this.show():this.hide():this.each(function(){Re(this)?pe(this).show():pe(this).hide()})}}),pe.Tween=O,O.prototype={constructor:O,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||pe.easing._default,this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(pe.cssNumber[n]?"":"px")},cur:function(){var e=O.propHooks[this.prop];return e&&e.get?e.get(this):O.propHooks._default.get(this)},run:function(e){var t,n=O.propHooks[this.prop];return this.options.duration?this.pos=t=pe.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):O.propHooks._default.set(this),this}},O.prototype.init.prototype=O.prototype,O.propHooks={_default:{get:function(e){var t;return 1!==e.elem.nodeType||null!=e.elem[e.prop]&&null==e.elem.style[e.prop]?e.elem[e.prop]:(t=pe.css(e.elem,e.prop,""),t&&"auto"!==t?t:0)},set:function(e){pe.fx.step[e.prop]?pe.fx.step[e.prop](e):1!==e.elem.nodeType||null==e.elem.style[pe.cssProps[e.prop]]&&!pe.cssHooks[e.prop]?e.elem[e.prop]=e.now:pe.style(e.elem,e.prop,e.now+e.unit)}}},O.propHooks.scrollTop=O.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},pe.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2},_default:"swing"},pe.fx=O.prototype.init,pe.fx.step={};var Nt,kt,St=/^(?:toggle|show|hide)$/,At=/queueHooks$/;pe.Animation=pe.extend($,{tweeners:{"*":[function(e,t){var n=this.createTween(e,t);return d(n.elem,e,Me.exec(t),n),n}]},tweener:function(e,t){pe.isFunction(e)?(t=e,e=["*"]):e=e.match(De);for(var n,r=0,i=e.length;r<i;r++)n=e[r],$.tweeners[n]=$.tweeners[n]||[],$.tweeners[n].unshift(t)},prefilters:[W],prefilter:function(e,t){t?$.prefilters.unshift(e):$.prefilters.push(e)}}),pe.speed=function(e,t,n){var r=e&&"object"==typeof e?pe.extend({},e):{complete:n||!n&&t||pe.isFunction(e)&&e,duration:e,easing:n&&t||t&&!pe.isFunction(t)&&t};return r.duration=pe.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in pe.fx.speeds?pe.fx.speeds[r.duration]:pe.fx.speeds._default,null!=r.queue&&r.queue!==!0||(r.queue="fx"),r.old=r.complete,r.complete=function(){pe.isFunction(r.old)&&r.old.call(this),r.queue&&pe.dequeue(this,r.queue)},r},pe.fn.extend({fadeTo:function(e,t,n,r){return this.filter(Re).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=pe.isEmptyObject(e),o=pe.speed(t,n,r),a=function(){var t=$(this,pe.extend({},e),o);(i||pe._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,t,n){var r=function(e){var t=e.stop;delete e.stop,t(n)};return"string"!=typeof e&&(n=t,t=e,e=void 0),t&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,i=null!=e&&e+"queueHooks",o=pe.timers,a=pe._data(this);if(i)a[i]&&a[i].stop&&r(a[i]);else for(i in a)a[i]&&a[i].stop&&At.test(i)&&r(a[i]);for(i=o.length;i--;)o[i].elem!==this||null!=e&&o[i].queue!==e||(o[i].anim.stop(n),t=!1,o.splice(i,1));!t&&n||pe.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=pe._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=pe.timers,a=r?r.length:0;for(n.finish=!0,pe.queue(this,e,[]),i&&i.stop&&i.stop.call(this,!0),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;t<a;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),pe.each(["toggle","show","hide"],function(e,t){var n=pe.fn[t];pe.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(P(t,!0),e,r,i)}}),pe.each({slideDown:P("show"),slideUp:P("hide"),slideToggle:P("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){pe.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),pe.timers=[],pe.fx.tick=function(){var e,t=pe.timers,n=0;for(Nt=pe.now();n<t.length;n++)e=t[n],e()||t[n]!==e||t.splice(n--,1);t.length||pe.fx.stop(),Nt=void 0},pe.fx.timer=function(e){pe.timers.push(e),e()?pe.fx.start():pe.timers.pop()},pe.fx.interval=13,pe.fx.start=function(){kt||(kt=e.setInterval(pe.fx.tick,pe.fx.interval))},pe.fx.stop=function(){e.clearInterval(kt),kt=null},pe.fx.speeds={slow:600,fast:200,_default:400},pe.fn.delay=function(t,n){return t=pe.fx?pe.fx.speeds[t]||t:t,n=n||"fx",this.queue(n,function(n,r){var i=e.setTimeout(n,t);r.stop=function(){e.clearTimeout(i)}})},function(){var e,t=re.createElement("input"),n=re.createElement("div"),r=re.createElement("select"),i=r.appendChild(re.createElement("option"));n=re.createElement("div"),n.setAttribute("className","t"),n.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=n.getElementsByTagName("a")[0],t.setAttribute("type","checkbox"),n.appendChild(t),e=n.getElementsByTagName("a")[0],e.style.cssText="top:1px",fe.getSetAttribute="t"!==n.className,fe.style=/top/.test(e.getAttribute("style")),fe.hrefNormalized="/a"===e.getAttribute("href"),fe.checkOn=!!t.value,fe.optSelected=i.selected,fe.enctype=!!re.createElement("form").enctype,r.disabled=!0,fe.optDisabled=!i.disabled,t=re.createElement("input"),t.setAttribute("value",""),fe.input=""===t.getAttribute("value"),t.value="t",t.setAttribute("type","radio"),fe.radioValue="t"===t.value}();var Dt=/\r/g,jt=/[\x20\t\r\n\f]+/g;pe.fn.extend({val:function(e){var t,n,r,i=this[0];{if(arguments.length)return r=pe.isFunction(e),this.each(function(n){var i;1===this.nodeType&&(i=r?e.call(this,n,pe(this).val()):e,null==i?i="":"number"==typeof i?i+="":pe.isArray(i)&&(i=pe.map(i,function(e){return null==e?"":e+""})),t=pe.valHooks[this.type]||pe.valHooks[this.nodeName.toLowerCase()],t&&"set"in t&&void 0!==t.set(this,i,"value")||(this.value=i))});if(i)return t=pe.valHooks[i.type]||pe.valHooks[i.nodeName.toLowerCase()],t&&"get"in t&&void 0!==(n=t.get(i,"value"))?n:(n=i.value,"string"==typeof n?n.replace(Dt,""):null==n?"":n)}}}),pe.extend({valHooks:{option:{get:function(e){var t=pe.find.attr(e,"value");return null!=t?t:pe.trim(pe.text(e)).replace(jt," ")}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,a=o?null:[],s=o?i+1:r.length,u=i<0?s:o?i:0;u<s;u++)if(n=r[u],(n.selected||u===i)&&(fe.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!pe.nodeName(n.parentNode,"optgroup"))){if(t=pe(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=pe.makeArray(t),a=i.length;a--;)if(r=i[a],pe.inArray(pe.valHooks.option.get(r),o)>-1)try{r.selected=n=!0}catch(s){r.scrollHeight}else r.selected=!1;return n||(e.selectedIndex=-1),i}}}}),pe.each(["radio","checkbox"],function(){pe.valHooks[this]={set:function(e,t){if(pe.isArray(t))return e.checked=pe.inArray(pe(e).val(),t)>-1}},fe.checkOn||(pe.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Lt,Ht,qt=pe.expr.attrHandle,_t=/^(?:checked|selected)$/i,Ft=fe.getSetAttribute,Mt=fe.input;pe.fn.extend({attr:function(e,t){return Pe(this,pe.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){pe.removeAttr(this,e)})}}),pe.extend({attr:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return"undefined"==typeof e.getAttribute?pe.prop(e,t,n):(1===o&&pe.isXMLDoc(e)||(t=t.toLowerCase(),i=pe.attrHooks[t]||(pe.expr.match.bool.test(t)?Ht:Lt)),void 0!==n?null===n?void pe.removeAttr(e,t):i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:(e.setAttribute(t,n+""),n):i&&"get"in i&&null!==(r=i.get(e,t))?r:(r=pe.find.attr(e,t),null==r?void 0:r))},attrHooks:{type:{set:function(e,t){if(!fe.radioValue&&"radio"===t&&pe.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(De);if(o&&1===e.nodeType)for(;n=o[i++];)r=pe.propFix[n]||n,pe.expr.match.bool.test(n)?Mt&&Ft||!_t.test(n)?e[r]=!1:e[pe.camelCase("default-"+n)]=e[r]=!1:pe.attr(e,n,""),e.removeAttribute(Ft?n:r)}}),Ht={set:function(e,t,n){return t===!1?pe.removeAttr(e,n):Mt&&Ft||!_t.test(n)?e.setAttribute(!Ft&&pe.propFix[n]||n,n):e[pe.camelCase("default-"+n)]=e[n]=!0,n}},pe.each(pe.expr.match.bool.source.match(/\w+/g),function(e,t){var n=qt[t]||pe.find.attr;Mt&&Ft||!_t.test(t)?qt[t]=function(e,t,r){var i,o;return r||(o=qt[t],qt[t]=i,i=null!=n(e,t,r)?t.toLowerCase():null,qt[t]=o),i}:qt[t]=function(e,t,n){if(!n)return e[pe.camelCase("default-"+t)]?t.toLowerCase():null}}),Mt&&Ft||(pe.attrHooks.value={set:function(e,t,n){return pe.nodeName(e,"input")?void(e.defaultValue=t):Lt&&Lt.set(e,t,n)}}),Ft||(Lt={set:function(e,t,n){var r=e.getAttributeNode(n);if(r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n))return t}},qt.id=qt.name=qt.coords=function(e,t,n){var r;if(!n)return(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},pe.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);if(n&&n.specified)return n.value},set:Lt.set},pe.attrHooks.contenteditable={set:function(e,t,n){Lt.set(e,""!==t&&t,n)}},pe.each(["width","height"],function(e,t){pe.attrHooks[t]={set:function(e,n){if(""===n)return e.setAttribute(t,"auto"),n}}})),fe.style||(pe.attrHooks.style={get:function(e){return e.style.cssText||void 0},set:function(e,t){return e.style.cssText=t+""}});var Ot=/^(?:input|select|textarea|button|object)$/i,Rt=/^(?:a|area)$/i;pe.fn.extend({prop:function(e,t){return Pe(this,pe.prop,e,t,arguments.length>1)},removeProp:function(e){return e=pe.propFix[e]||e,this.each(function(){try{this[e]=void 0,delete this[e]}catch(t){}})}}),pe.extend({prop:function(e,t,n){var r,i,o=e.nodeType;if(3!==o&&8!==o&&2!==o)return 1===o&&pe.isXMLDoc(e)||(t=pe.propFix[t]||t,i=pe.propHooks[t]),void 0!==n?i&&"set"in i&&void 0!==(r=i.set(e,n,t))?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=pe.find.attr(e,"tabindex");return t?parseInt(t,10):Ot.test(e.nodeName)||Rt.test(e.nodeName)&&e.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}}),fe.hrefNormalized||pe.each(["href","src"],function(e,t){pe.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),fe.optSelected||(pe.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null},set:function(e){var t=e.parentNode;t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex)}}),pe.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){pe.propFix[this.toLowerCase()]=this}),fe.enctype||(pe.propFix.enctype="encoding");var Pt=/[\t\r\n\f]/g;pe.fn.extend({addClass:function(e){var t,n,r,i,o,a,s,u=0;if(pe.isFunction(e))return this.each(function(t){pe(this).addClass(e.call(this,t,z(this)))});if("string"==typeof e&&e)for(t=e.match(De)||[];n=this[u++];)if(i=z(n),r=1===n.nodeType&&(" "+i+" ").replace(Pt," ")){for(a=0;o=t[a++];)r.indexOf(" "+o+" ")<0&&(r+=o+" ");s=pe.trim(r),i!==s&&pe.attr(n,"class",s)}return this},removeClass:function(e){var t,n,r,i,o,a,s,u=0;if(pe.isFunction(e))return this.each(function(t){pe(this).removeClass(e.call(this,t,z(this)))});if(!arguments.length)return this.attr("class","");if("string"==typeof e&&e)for(t=e.match(De)||[];n=this[u++];)if(i=z(n),r=1===n.nodeType&&(" "+i+" ").replace(Pt," ")){for(a=0;o=t[a++];)for(;r.indexOf(" "+o+" ")>-1;)r=r.replace(" "+o+" "," ");s=pe.trim(r),i!==s&&pe.attr(n,"class",s)}return this},toggleClass:function(e,t){var n=typeof e;return"boolean"==typeof t&&"string"===n?t?this.addClass(e):this.removeClass(e):pe.isFunction(e)?this.each(function(n){pe(this).toggleClass(e.call(this,n,z(this),t),t)}):this.each(function(){var t,r,i,o;if("string"===n)for(r=0,i=pe(this),o=e.match(De)||[];t=o[r++];)i.hasClass(t)?i.removeClass(t):i.addClass(t);else void 0!==e&&"boolean"!==n||(t=z(this),t&&pe._data(this,"__className__",t),pe.attr(this,"class",t||e===!1?"":pe._data(this,"__className__")||""))})},hasClass:function(e){var t,n,r=0;for(t=" "+e+" ";n=this[r++];)if(1===n.nodeType&&(" "+z(n)+" ").replace(Pt," ").indexOf(t)>-1)return!0;return!1}}),pe.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){pe.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),pe.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)}});var Bt=e.location,Wt=pe.now(),It=/\?/,$t=/(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;pe.parseJSON=function(t){if(e.JSON&&e.JSON.parse)return e.JSON.parse(t+"");var n,r=null,i=pe.trim(t+"");return i&&!pe.trim(i.replace($t,function(e,t,i,o){return n&&t&&(r=0),0===r?e:(n=i||t,r+=!o-!i,"")}))?Function("return "+i)():pe.error("Invalid JSON: "+t)},pe.parseXML=function(t){var n,r;if(!t||"string"!=typeof t)return null;try{e.DOMParser?(r=new e.DOMParser,n=r.parseFromString(t,"text/xml")):(n=new e.ActiveXObject("Microsoft.XMLDOM"),n.async="false",n.loadXML(t))}catch(i){n=void 0}return n&&n.documentElement&&!n.getElementsByTagName("parsererror").length||pe.error("Invalid XML: "+t),n};var zt=/#.*$/,Xt=/([?&])_=[^&]*/,Ut=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Vt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Yt=/^(?:GET|HEAD)$/,Jt=/^\/\//,Gt=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,Kt={},Qt={},Zt="*/".concat("*"),en=Bt.href,tn=Gt.exec(en.toLowerCase())||[];pe.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:en,type:"GET",isLocal:Vt.test(tn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Zt,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":pe.parseJSON,"text xml":pe.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?V(V(e,pe.ajaxSettings),t):V(pe.ajaxSettings,e)},ajaxPrefilter:X(Kt),ajaxTransport:X(Qt),ajax:function(t,n){function r(t,n,r,i){var o,f,v,x,w,C=n;2!==b&&(b=2,u&&e.clearTimeout(u),c=void 0,s=i||"",T.readyState=t>0?4:0,o=t>=200&&t<300||304===t,r&&(x=Y(d,T,r)),x=J(d,x,T,o),o?(d.ifModified&&(w=T.getResponseHeader("Last-Modified"),w&&(pe.lastModified[a]=w),w=T.getResponseHeader("etag"),w&&(pe.etag[a]=w)),204===t||"HEAD"===d.type?C="nocontent":304===t?C="notmodified":(C=x.state,f=x.data,v=x.error,o=!v)):(v=C,!t&&C||(C="error",t<0&&(t=0))),T.status=t,T.statusText=(n||C)+"",o?g.resolveWith(p,[f,C,T]):g.rejectWith(p,[T,C,v]),T.statusCode(y),y=void 0,l&&h.trigger(o?"ajaxSuccess":"ajaxError",[T,d,o?f:v]),m.fireWith(p,[T,C]),l&&(h.trigger("ajaxComplete",[T,d]),--pe.active||pe.event.trigger("ajaxStop")))}"object"==typeof t&&(n=t,t=void 0),n=n||{};var i,o,a,s,u,l,c,f,d=pe.ajaxSetup({},n),p=d.context||d,h=d.context&&(p.nodeType||p.jquery)?pe(p):pe.event,g=pe.Deferred(),m=pe.Callbacks("once memory"),y=d.statusCode||{},v={},x={},b=0,w="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===b){if(!f)for(f={};t=Ut.exec(s);)f[t[1].toLowerCase()]=t[2];t=f[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===b?s:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return b||(e=x[n]=x[n]||e,v[e]=t),this},overrideMimeType:function(e){return b||(d.mimeType=e),this},statusCode:function(e){var t;if(e)if(b<2)for(t in e)y[t]=[y[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||w;return c&&c.abort(t),r(0,t),this}};if(g.promise(T).complete=m.add,T.success=T.done,T.error=T.fail,d.url=((t||d.url||en)+"").replace(zt,"").replace(Jt,tn[1]+"//"),d.type=n.method||n.type||d.method||d.type,d.dataTypes=pe.trim(d.dataType||"*").toLowerCase().match(De)||[""],null==d.crossDomain&&(i=Gt.exec(d.url.toLowerCase()),d.crossDomain=!(!i||i[1]===tn[1]&&i[2]===tn[2]&&(i[3]||("http:"===i[1]?"80":"443"))===(tn[3]||("http:"===tn[1]?"80":"443")))),d.data&&d.processData&&"string"!=typeof d.data&&(d.data=pe.param(d.data,d.traditional)),U(Kt,d,n,T),2===b)return T;l=pe.event&&d.global,l&&0===pe.active++&&pe.event.trigger("ajaxStart"),d.type=d.type.toUpperCase(),d.hasContent=!Yt.test(d.type),a=d.url,d.hasContent||(d.data&&(a=d.url+=(It.test(a)?"&":"?")+d.data,delete d.data),d.cache===!1&&(d.url=Xt.test(a)?a.replace(Xt,"$1_="+Wt++):a+(It.test(a)?"&":"?")+"_="+Wt++)),d.ifModified&&(pe.lastModified[a]&&T.setRequestHeader("If-Modified-Since",pe.lastModified[a]),pe.etag[a]&&T.setRequestHeader("If-None-Match",pe.etag[a])),(d.data&&d.hasContent&&d.contentType!==!1||n.contentType)&&T.setRequestHeader("Content-Type",d.contentType),T.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+("*"!==d.dataTypes[0]?", "+Zt+"; q=0.01":""):d.accepts["*"]);for(o in d.headers)T.setRequestHeader(o,d.headers[o]);if(d.beforeSend&&(d.beforeSend.call(p,T,d)===!1||2===b))return T.abort();w="abort";for(o in{success:1,error:1,complete:1})T[o](d[o]);if(c=U(Qt,d,n,T)){if(T.readyState=1,l&&h.trigger("ajaxSend",[T,d]),2===b)return T;d.async&&d.timeout>0&&(u=e.setTimeout(function(){T.abort("timeout")},d.timeout));try{b=1,c.send(v,r)}catch(C){if(!(b<2))throw C;r(-1,C)}}else r(-1,"No Transport");return T},getJSON:function(e,t,n){return pe.get(e,t,n,"json")},getScript:function(e,t){return pe.get(e,void 0,t,"script")}}),pe.each(["get","post"],function(e,t){pe[t]=function(e,n,r,i){return pe.isFunction(n)&&(i=i||r,r=n,n=void 0),pe.ajax(pe.extend({url:e,type:t,dataType:i,data:n,success:r},pe.isPlainObject(e)&&e))}}),pe._evalUrl=function(e){return pe.ajax({url:e,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})},pe.fn.extend({wrapAll:function(e){if(pe.isFunction(e))return this.each(function(t){pe(this).wrapAll(e.call(this,t))});if(this[0]){var t=pe(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return pe.isFunction(e)?this.each(function(t){pe(this).wrapInner(e.call(this,t))}):this.each(function(){var t=pe(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=pe.isFunction(e);return this.each(function(n){pe(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){pe.nodeName(this,"body")||pe(this).replaceWith(this.childNodes)}).end()}}),pe.expr.filters.hidden=function(e){return fe.reliableHiddenOffsets()?e.offsetWidth<=0&&e.offsetHeight<=0&&!e.getClientRects().length:K(e)},pe.expr.filters.visible=function(e){return!pe.expr.filters.hidden(e)};var nn=/%20/g,rn=/\[\]$/,on=/\r?\n/g,an=/^(?:submit|button|image|reset|file)$/i,sn=/^(?:input|select|textarea|keygen)/i;pe.param=function(e,t){var n,r=[],i=function(e,t){t=pe.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(void 0===t&&(t=pe.ajaxSettings&&pe.ajaxSettings.traditional),pe.isArray(e)||e.jquery&&!pe.isPlainObject(e))pe.each(e,function(){i(this.name,this.value)});else for(n in e)Q(n,e[n],t,i);return r.join("&").replace(nn,"+")},pe.fn.extend({serialize:function(){return pe.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=pe.prop(this,"elements");return e?pe.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!pe(this).is(":disabled")&&sn.test(this.nodeName)&&!an.test(e)&&(this.checked||!Be.test(e))}).map(function(e,t){var n=pe(this).val();return null==n?null:pe.isArray(n)?pe.map(n,function(e){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),pe.ajaxSettings.xhr=void 0!==e.ActiveXObject?function(){return this.isLocal?ee():re.documentMode>8?Z():/^(get|post|head|put|delete|options)$/i.test(this.type)&&Z()||ee()}:Z;var un=0,ln={},cn=pe.ajaxSettings.xhr();e.attachEvent&&e.attachEvent("onunload",function(){for(var e in ln)ln[e](void 0,!0)}),fe.cors=!!cn&&"withCredentials"in cn,cn=fe.ajax=!!cn,cn&&pe.ajaxTransport(function(t){if(!t.crossDomain||fe.cors){var n;return{send:function(r,i){var o,a=t.xhr(),s=++un;if(a.open(t.type,t.url,t.async,t.username,t.password),t.xhrFields)for(o in t.xhrFields)a[o]=t.xhrFields[o];t.mimeType&&a.overrideMimeType&&a.overrideMimeType(t.mimeType),t.crossDomain||r["X-Requested-With"]||(r["X-Requested-With"]="XMLHttpRequest");for(o in r)void 0!==r[o]&&a.setRequestHeader(o,r[o]+"");a.send(t.hasContent&&t.data||null),n=function(e,r){var o,u,l;if(n&&(r||4===a.readyState))if(delete ln[s],n=void 0,a.onreadystatechange=pe.noop,r)4!==a.readyState&&a.abort();else{l={},o=a.status,"string"==typeof a.responseText&&(l.text=a.responseText);try{u=a.statusText}catch(c){u=""}o||!t.isLocal||t.crossDomain?1223===o&&(o=204):o=l.text?200:404}l&&i(o,u,l,a.getAllResponseHeaders())},t.async?4===a.readyState?e.setTimeout(n):a.onreadystatechange=ln[s]=n:n()},abort:function(){n&&n(void 0,!0)}}}}),pe.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(e){return pe.globalEval(e),e}}}),pe.ajaxPrefilter("script",function(e){void 0===e.cache&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),pe.ajaxTransport("script",function(e){if(e.crossDomain){var t,n=re.head||pe("head")[0]||re.documentElement;return{send:function(r,i){t=re.createElement("script"),t.async=!0,e.scriptCharset&&(t.charset=e.scriptCharset),t.src=e.url,t.onload=t.onreadystatechange=function(e,n){(n||!t.readyState||/loaded|complete/.test(t.readyState))&&(t.onload=t.onreadystatechange=null,t.parentNode&&t.parentNode.removeChild(t),t=null,n||i(200,"success"))},n.insertBefore(t,n.firstChild)},abort:function(){t&&t.onload(void 0,!0)}}}});var fn=[],dn=/(=)\?(?=&|$)|\?\?/;pe.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=fn.pop()||pe.expando+"_"+Wt++;return this[e]=!0,e}}),pe.ajaxPrefilter("json jsonp",function(t,n,r){var i,o,a,s=t.jsonp!==!1&&(dn.test(t.url)?"url":"string"==typeof t.data&&0===(t.contentType||"").indexOf("application/x-www-form-urlencoded")&&dn.test(t.data)&&"data");if(s||"jsonp"===t.dataTypes[0])return i=t.jsonpCallback=pe.isFunction(t.jsonpCallback)?t.jsonpCallback():t.jsonpCallback,s?t[s]=t[s].replace(dn,"$1"+i):t.jsonp!==!1&&(t.url+=(It.test(t.url)?"&":"?")+t.jsonp+"="+i),t.converters["script json"]=function(){return a||pe.error(i+" was not called"),a[0]},t.dataTypes[0]="json",o=e[i],e[i]=function(){a=arguments},r.always(function(){void 0===o?pe(e).removeProp(i):e[i]=o,t[i]&&(t.jsonpCallback=n.jsonpCallback,fn.push(i)),a&&pe.isFunction(o)&&o(a[0]),a=o=void 0}),"script"}),pe.parseHTML=function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||re;var r=Te.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=y([e],t,i),i&&i.length&&pe(i).remove(),pe.merge([],r.childNodes))};var pn=pe.fn.load;return pe.fn.load=function(e,t,n){if("string"!=typeof e&&pn)return pn.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return s>-1&&(r=pe.trim(e.slice(s,e.length)),e=e.slice(0,s)),pe.isFunction(t)?(n=t,t=void 0):t&&"object"==typeof t&&(i="POST"),a.length>0&&pe.ajax({url:e,type:i||"GET",dataType:"html",data:t}).done(function(e){o=arguments,a.html(r?pe("<div>").append(pe.parseHTML(e)).find(r):e)}).always(n&&function(e,t){a.each(function(){n.apply(this,o||[e.responseText,t,e])})}),this},pe.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){pe.fn[t]=function(e){return this.on(t,e)}}),pe.expr.filters.animated=function(e){return pe.grep(pe.timers,function(t){return e===t.elem}).length},pe.offset={setOffset:function(e,t,n){var r,i,o,a,s,u,l,c=pe.css(e,"position"),f=pe(e),d={};"static"===c&&(e.style.position="relative"),s=f.offset(),o=pe.css(e,"top"),u=pe.css(e,"left"),l=("absolute"===c||"fixed"===c)&&pe.inArray("auto",[o,u])>-1,l?(r=f.position(),a=r.top,i=r.left):(a=parseFloat(o)||0,i=parseFloat(u)||0),pe.isFunction(t)&&(t=t.call(e,n,pe.extend({},s))),null!=t.top&&(d.top=t.top-s.top+a),null!=t.left&&(d.left=t.left-s.left+i),"using"in t?t.using.call(e,d):f.css(d)}},pe.fn.extend({offset:function(e){if(arguments.length)return void 0===e?this:this.each(function(t){pe.offset.setOffset(this,e,t)});var t,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;if(o)return t=o.documentElement,pe.contains(t,i)?("undefined"!=typeof i.getBoundingClientRect&&(r=i.getBoundingClientRect()),n=te(o),{top:r.top+(n.pageYOffset||t.scrollTop)-(t.clientTop||0),left:r.left+(n.pageXOffset||t.scrollLeft)-(t.clientLeft||0)}):r},position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===pe.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),pe.nodeName(e[0],"html")||(n=e.offset()),n.top+=pe.css(e[0],"borderTopWidth",!0),n.left+=pe.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-pe.css(r,"marginTop",!0),left:t.left-n.left-pe.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){ | ||
| 5 | +for(var e=this.offsetParent;e&&!pe.nodeName(e,"html")&&"static"===pe.css(e,"position");)e=e.offsetParent;return e||pt})}}),pe.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,t){var n=/Y/.test(t);pe.fn[e]=function(r){return Pe(this,function(e,r,i){var o=te(e);return void 0===i?o?t in o?o[t]:o.document.documentElement[r]:e[r]:void(o?o.scrollTo(n?pe(o).scrollLeft():i,n?i:pe(o).scrollTop()):e[r]=i)},e,r,arguments.length,null)}}),pe.each(["top","left"],function(e,t){pe.cssHooks[t]=L(fe.pixelPosition,function(e,n){if(n)return n=gt(e,t),ft.test(n)?pe(e).position()[t]+"px":n})}),pe.each({Height:"height",Width:"width"},function(e,t){pe.each({padding:"inner"+e,content:t,"":"outer"+e},function(n,r){pe.fn[r]=function(r,i){var o=arguments.length&&(n||"boolean"!=typeof r),a=n||(r===!0||i===!0?"margin":"border");return Pe(this,function(t,n,r){var i;return pe.isWindow(t)?t.document.documentElement["client"+e]:9===t.nodeType?(i=t.documentElement,Math.max(t.body["scroll"+e],i["scroll"+e],t.body["offset"+e],i["offset"+e],i["client"+e])):void 0===r?pe.css(t,n,a):pe.style(t,n,r,a)},t,o?r:void 0,o,null)}})}),pe.fn.extend({bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}}),pe.fn.size=function(){return this.length},pe.fn.andSelf=pe.fn.addBack,layui.define(function(e){e("jquery",pe)}),pe}); |
| 1 | +/** layui-v1.0.7 LGPL License By http://www.layui.com */ | ||
| 2 | + ;layui.define("jquery",function(e){"use strict";var a=layui.jquery,l="http://www.layui.com/doc/modules/code.html";e("code",function(e){var t=[];e=e||{},e.elem=a(e.elem||".layui-code"),e.about=!("about"in e)||e.about,e.elem.each(function(){t.push(this)}),layui.each(t.reverse(),function(t,i){var c=a(i),o=c.html();(c.attr("lay-encode")||e.encode)&&(o=o.replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""")),c.html('<ol class="layui-code-ol"><li>'+o.replace(/[\r\t\n]+/g,"</li><li>")+"</li></ol>"),c.find(">.layui-code-h3")[0]||c.prepend('<h3 class="layui-code-h3">'+(c.attr("lay-title")||e.title||"code")+(e.about?'<a href="'+l+'" target="_blank">layui.code</a>':"")+"</h3>");var d=c.find(">.layui-code-ol");c.addClass("layui-box layui-code-view"),(c.attr("lay-skin")||e.skin)&&c.addClass("layui-code-"+(c.attr("lay-skin")||e.skin)),(d.find("li").length/100|0)>0&&d.css("margin-left",(d.find("li").length/100|0)+"px"),(c.attr("lay-height")||e.height)&&d.css("max-height",c.attr("lay-height")||e.height)})})}).addcss("modules/code.css","skincodecss"); |
| 1 | +/** layui-v1.0.7 LGPL License By http://www.layui.com */ | ||
| 2 | + ;layui.define("jquery",function(i){"use strict";var t=layui.jquery,a=(layui.hint(),layui.device()),e="element",l="layui-this",n="layui-show",s=function(){this.config={}};s.prototype.set=function(i){var a=this;return t.extend(!0,a.config,i),a},s.prototype.on=function(i,t){return layui.onevent(e,i,t)},s.prototype.tabAdd=function(i,a){var e=t(".layui-tab[lay-filter="+i+"]"),l=e.children(".layui-tab-title"),n=e.children(".layui-tab-content");return l.append("<li>"+(a.title||"unnaming")+"</li>"),n.append('<div class="layui-tab-item">'+(a.content||"")+"</div>"),y.tabAuto(),this},s.prototype.tabDelete=function(i,a){var e=t(".layui-tab[lay-filter="+i+"]"),l=e.children(".layui-tab-title").find(">li").eq(a);return y.tabDelete(null,l),this},s.prototype.tabChange=function(i,a){var e=t(".layui-tab[lay-filter="+i+"]"),l=e.children(".layui-tab-title").find(">li").eq(a);return y.tabClick(null,a,l),this};var o=".layui-nav",c="layui-nav-item",r="layui-nav-bar",u="layui-nav-tree",d="layui-nav-child",h="layui-nav-more",f="layui-anim layui-anim-upbit",y={tabClick:function(i,a,s){var o=s||t(this),a=a||o.index(),c=o.parents(".layui-tab"),r=c.children(".layui-tab-content").children(".layui-tab-item"),u=c.attr("lay-filter");o.addClass(l).siblings().removeClass(l),r.eq(a).addClass(n).siblings().removeClass(n),layui.event.call(this,e,"tab("+u+")",{elem:c,index:a})},tabDelete:function(i,a){var e=a||t(this).parent(),n=e.index(),s=e.parents(".layui-tab"),o=s.children(".layui-tab-content").children(".layui-tab-item");e.hasClass(l)&&(e.next()[0]?y.tabClick.call(e.next()[0],null,n+1):e.prev()[0]&&y.tabClick.call(e.prev()[0],null,n-1)),e.remove(),o.eq(n).remove()},tabAuto:function(){var i="layui-tab-more",e="layui-tab-bar",l="layui-tab-close",n=this;t(".layui-tab").each(function(){var s=t(this),o=s.children(".layui-tab-title"),c=(s.children(".layui-tab-content").children(".layui-tab-item"),'lay-stope="tabmore"'),r=t('<span class="layui-unselect layui-tab-bar" '+c+"><i "+c+' class="layui-icon"></i></span>');if(n===window&&8!=a.ie&&y.hideTabMore(!0),s.attr("lay-allowClose")&&o.find("li").each(function(){var i=t(this);if(!i.find("."+l)[0]){var a=t('<i class="layui-icon layui-unselect '+l+'">ဆ</i>');a.on("click",y.tabDelete),i.append(a)}}),o.prop("scrollWidth")>o.outerWidth()+1){if(o.find("."+e)[0])return;o.append(r),r.on("click",function(t){o[this.title?"removeClass":"addClass"](i),this.title=this.title?"":"收缩"})}else o.find("."+e).remove()})},hideTabMore:function(i){var a=t(".layui-tab-title");i!==!0&&"tabmore"===t(i.target).attr("lay-stope")||(a.removeClass("layui-tab-more"),a.find(".layui-tab-bar").attr("title",""))},clickThis:function(){var i=t(this),a=i.parents(o),n=a.attr("lay-filter");i.find("."+d)[0]||(a.find("."+l).removeClass(l),i.addClass(l),layui.event.call(this,e,"nav("+n+")",i))},clickChild:function(){var i=t(this),a=i.parents(o),n=a.attr("lay-filter");a.find("."+l).removeClass(l),i.addClass(l),layui.event.call(this,e,"nav("+n+")",i)},showChild:function(){var i=t(this),a=i.parents(o),e=i.parent(),l=i.siblings("."+d);a.hasClass(u)&&(l.removeClass(f),e["none"===l.css("display")?"addClass":"removeClass"](c+"ed"))}};s.prototype.init=function(i){var e={tab:function(){y.tabAuto.call({})},nav:function(){var i,e,l,s=200,p=function(o,c){var r=t(this),y=r.find("."+d);c.hasClass(u)?o.css({top:r.position().top,height:r.children("a").height(),opacity:1}):(y.addClass(f),o.css({left:r.position().left+parseFloat(r.css("marginLeft")),top:r.position().top+r.height()-5}),i=setTimeout(function(){o.css({width:r.width(),opacity:1})},a.ie&&a.ie<10?0:s),clearTimeout(l),"block"===y.css("display")&&clearTimeout(e),e=setTimeout(function(){y.addClass(n),r.find("."+h).addClass(h+"d")},300))};t(o).each(function(){var a=t(this),o=t('<span class="'+r+'"></span>'),f=a.find("."+c);a.find("."+r)[0]||(a.append(o),f.on("mouseenter",function(){p.call(this,o,a)}).on("mouseleave",function(){a.hasClass(u)||(clearTimeout(e),e=setTimeout(function(){a.find("."+d).removeClass(n),a.find("."+h).removeClass(h+"d")},300))}),a.on("mouseleave",function(){clearTimeout(i),l=setTimeout(function(){a.hasClass(u)?o.css({height:0,top:o.position().top+o.height()/2,opacity:0}):o.css({width:0,left:o.position().left+o.width()/2,opacity:0})},s)})),f.each(function(){var i=t(this),a=i.find("."+d);if(a[0]&&!i.find("."+h)[0]){var e=i.children("a");e.append('<span class="'+h+'"></span>')}i.off("click",y.clickThis).on("click",y.clickThis),i.children("a").off("click",y.showChild).on("click",y.showChild),a.children("dd").off("click",y.clickChild).on("click",y.clickChild)})})},breadcrumb:function(){var i=".layui-breadcrumb";t(i).each(function(){var i=t(this),a=i.attr("lay-separator")||">",e=i.find("a");e.find(".layui-box")[0]||(e.each(function(i){i!==e.length-1&&t(this).append('<span class="layui-box">'+a+"</span>")}),i.css("visibility","visible"))})}};return layui.each(e,function(i,t){t()})};var p=new s,b=t(document);p.init();var v=".layui-tab-title li";b.on("click",v,y.tabClick),b.on("click",y.hideTabMore),t(window).on("resize",y.tabAuto),i(e,function(i){return p.set(i)})}); |
| 1 | +/** layui-v1.0.7 LGPL License By http://www.layui.com */ | ||
| 2 | + ;layui.define("jquery",function(e){"use strict";var l=layui.jquery,o=function(e){},t='<i class="layui-anim layui-anim-rotate layui-anim-loop layui-icon "></i>';o.prototype.load=function(e){var o,i,n,r,a=this,c=0;e=e||{};var u=l(e.elem);if(u[0]){var f=l(e.scrollElem||document),m=e.mb||50,s=!("isAuto"in e)||e.isAuto,y=e.end||"没有更多了",v=e.scrollElem&&e.scrollElem!==document,d="<cite>加载更多</cite>",h=l('<div class="layui-flow-more"><a href="javascript:;">'+d+"</a></div>");u.find(".layui-flow-more")[0]||u.append(h);var p=function(e,t){e=l(e),h.before(e),t=0==t||null,t?h.html(y):h.find("a").html(d),i=t,o=null,n&&n()},g=function(){o=!0,h.find("a").html(t),"function"==typeof e.done&&e.done(++c,p)};if(g(),h.find("a").on("click",function(){l(this);i||o||g()}),e.isLazyimg)var n=a.lazyimg({elem:e.elem+" img",scrollElem:e.scrollElem});return s?(f.on("scroll",function(){var e=l(this),t=e.scrollTop();r&&clearTimeout(r),i||(r=setTimeout(function(){var i=v?e.height():l(window).height(),n=v?e.prop("scrollHeight"):document.documentElement.scrollHeight;n-t-i<=m&&(o||g())},100))}),a):a}},o.prototype.lazyimg=function(e){var o,t=this,i=0;e=e||{};var n=l(e.scrollElem||document),r=e.elem||"img",a=e.scrollElem&&e.scrollElem!==document,c=function(e,l){var o=n.scrollTop(),r=o+l,c=a?function(){return e.offset().top-n.offset().top+o}():e.offset().top;if(c>=o&&c<=r&&!e.attr("src")){var f=e.attr("lay-src");layui.img(f,function(){var l=t.lazyimg.elem.eq(i);e.attr("src",f).removeAttr("lay-src"),l[0]&&u(l),i++})}},u=function(e,o){var u=a?(o||n).height():l(window).height(),f=n.scrollTop(),m=f+u;if(t.lazyimg.elem=l(r),e)c(e,u);else for(var s=0;s<t.lazyimg.elem.length;s++){var y=t.lazyimg.elem.eq(s),v=a?function(){return y.offset().top-n.offset().top+f}():y.offset().top;if(c(y,u),i=s,v>m)break}};if(u(),!o){var f;n.on("scroll",function(){var e=l(this);f&&clearTimeout(f),f=setTimeout(function(){u(null,e)},50)}),o=!0}return u},e("flow",new o)}); |
| 1 | +/** layui-v1.0.7 LGPL License By http://www.layui.com */ | ||
| 2 | + ;layui.define("layer",function(e){"use strict";var i=layui.jquery,a=layui.layer,t=layui.hint(),n=layui.device(),l="form",s=".layui-form",c="layui-this",r="layui-disabled",u=function(){this.config={verify:{required:[/[\S]+/,"必填项不能为空"],phone:[/^1\d{10}$/,"请输入正确的手机号"],email:[/^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$/,"邮箱格式不正确"],url:[/(^#)|(^http(s*):\/\/[^\s]+\.[^\s]+)/,"链接格式不正确"],number:[/^\d+$/,"只能填写数字"],date:[/^(\d{4})[-\/](\d{1}|0\d{1}|1[0-2])([-\/](\d{1}|0\d{1}|[1-2][0-9]|3[0-1]))*$/,"日期格式不正确"],identity:[/(^\d{15}$)|(^\d{17}(x|X|\d)$)/,"请输入正确的身份证号"]}}};u.prototype.set=function(e){var a=this;return i.extend(!0,a.config,e),a},u.prototype.verify=function(e){var a=this;return i.extend(!0,a.config.verify,e),a},u.prototype.on=function(e,i){return layui.onevent(l,e,i)},u.prototype.render=function(e){var a=this,n={select:function(){var e="请选择",a="layui-form-select",t="layui-select-title",n=i(s).find("select"),u=function(e,n){i(e.target).parent().hasClass(t)&&!n||i("."+a).removeClass(a+"ed")},o=function(e,n){var s=i(this),o=e.find("."+t);n||(o.on("click",function(i){e.hasClass(a+"ed")?e.removeClass(a+"ed"):(u(i,!0),e.addClass(a+"ed"))}),e.find("dl>dd").on("click",function(){var e=i(this),a=e.attr("lay-value"),t=s.attr("lay-filter");return!e.hasClass(r)&&(s.val(a).removeClass("layui-form-danger"),o.find("input").val(e.text()),e.addClass(c).siblings().removeClass(c),void layui.event(l,"select("+t+")",{elem:s[0],value:a}))}),e.find("dl>dt").on("click",function(e){return!1}),i(document).off("click",u).on("click",u))};n.each(function(n,l){var s=i(this),u=s.next("."+a),d=this.disabled,f=l.value,y=i(l.options[l.selectedIndex]),v=i(['<div class="layui-unselect '+a+(d?" layui-select-disabled":"")+'">','<div class="'+t+'"><input type="text" placeholder="'+(l.options[0].innerHTML?l.options[0].innerHTML:e)+'" value="'+(f?y.html():"")+'" readonly class="layui-input layui-unselect'+(d?" "+r:"")+'">','<i class="layui-edge"></i></div>','<dl class="layui-anim layui-anim-upbit'+(s.find("optgroup")[0]?" layui-select-group":"")+'">'+function(e){var i=[];return layui.each(e,function(e,a){(0!==e||a.value)&&("optgroup"===a.tagName.toLowerCase()?i.push("<dt>"+a.label+"</dt>"):i.push('<dd lay-value="'+a.value+'" class="'+(f===a.value?c:"")+(a.disabled?" "+r:"")+'">'+a.innerHTML+"</dd>"))}),i.join("")}(s.find("*"))+"</dl>","</div>"].join(""));u[0]&&u.remove(),s.after(v),o.call(this,v,d)})},checkbox:function(){var e={checkbox:["layui-form-checkbox","layui-form-checked","checkbox"],_switch:["layui-form-switch","layui-form-onswitch","switch"]},a=i(s).find("input[type=checkbox]"),t=function(e,a){var t=i(this);e.on("click",function(){var i=t.attr("lay-filter");t[0].disabled||(t[0].checked?(t[0].checked=!1,e.removeClass(a[1])):(t[0].checked=!0,e.addClass(a[1])),layui.event(l,a[2]+"("+i+")",{elem:t[0],value:t[0].value}))})};a.each(function(a,n){var l=i(this),s=l.attr("lay-skin"),c=this.disabled;"switch"===s&&(s="_"+s);var u=e[s]||e.checkbox,o=l.next("."+u[0]),d=i(['<div class="layui-unselect '+u[0]+(n.checked?" "+u[1]:"")+(c?" layui-checkbox-disbaled "+r:"")+'">',{_switch:"<i></i>"}[s]||"<span>"+(n.title||"勾选")+'</span><i class="layui-icon"></i>',"</div>"].join(""));o[0]&&o.remove(),l.after(d),t.call(this,d,u)})},radio:function(){var e="layui-form-radio",a=["",""],t=i(s).find("input[type=radio]"),n=function(t){var n=i(this),c="layui-anim-scaleSpring";t.on("click",function(){var r=n[0].name,u=n.parents(s),o=n.attr("lay-filter"),d=u.find("input[name="+r.replace(/(\.|#|\[|\])/g,"\\$1")+"]");n[0].disabled||(layui.each(d,function(){var t=i(this).next("."+e);this.checked=!1,t.removeClass(e+"ed"),t.find(".layui-icon").removeClass(c).html(a[1])}),n[0].checked=!0,t.addClass(e+"ed"),t.find(".layui-icon").addClass(c).html(a[0]),layui.event(l,"radio("+o+")",{elem:n[0],value:n[0].value}))})};t.each(function(t,l){var s=i(this),c=s.next("."+e),u=this.disabled,o=i(['<div class="layui-unselect '+e+(l.checked?" "+e+"ed":"")+(u?" layui-radio-disbaled "+r:"")+'">','<i class="layui-anim layui-icon">'+a[l.checked?0:1]+"</i>","<span>"+(l.title||"未命名")+"</span>","</div>"].join(""));c[0]&&c.remove(),s.after(o),n.call(this,o)})}};return e?n[e]?n[e]():t.error("不支持的"+e+"表单渲染"):layui.each(n,function(e,i){i()}),a};var o=function(){var e=i(this),t=d.config.verify,c=null,r="layui-form-danger",u={},o=e.parents(s),f=o.find("*[lay-verify]"),y=e.parents("form")[0],v=o.find("input,select,textarea"),h=e.attr("lay-filter");return layui.each(f,function(e,l){var s=i(this),u=s.attr("lay-verify"),o="",d=s.val(),f="function"==typeof t[u];if(s.removeClass(r),t[u]&&(f?o=t[u](d,l):!t[u][0].test(d)))return a.msg(o||t[u][1],{icon:5,shift:6}),n.android||n.ios||l.focus(),s.addClass(r),c=!0}),!c&&(layui.each(v,function(e,i){i.name&&(/^checkbox|radio$/.test(i.type)&&!i.checked||(u[i.name]=i.value))}),layui.event.call(this,l,"submit("+h+")",{elem:this,form:y,field:u}))},d=new u,f=i(document);d.render(),f.on("reset",s,function(){setTimeout(function(){d.render()},50)}),f.on("submit",s,o).on("click","*[lay-submit]",o),e(l,function(e){return d.set(e)})}); |
| 1 | +/** layui-v1.0.7 LGPL License By http://www.layui.com */ | ||
| 2 | + ;layui.define(function(e){"use strict";var t=window,a={path:"",skin:"default",format:"YYYY-MM-DD",min:"1900-01-01 00:00:00",max:"2099-12-31 23:59:59",isv:!1,init:!0},n={},s=document,i="createElement",o="getElementById",l="getElementsByTagName",d=["laydate_box","laydate_void","laydate_click","LayDateSkin","skins/","/laydate.css"];t.laydate=function(e){return e=e||{},n.run(e),laydate},laydate.v="1.1",n.trim=function(e){return e=e||"",e.replace(/^\s|\s$/g,"").replace(/\s+/g," ")},n.digit=function(e){return e<10?"0"+(0|e):e},n.stopmp=function(e){return e=e||t.event,e.stopPropagation?e.stopPropagation():e.cancelBubble=!0,this},n.each=function(e,t){for(var a=0,n=e.length;a<n&&t(a,e[a])!==!1;a++);},n.hasClass=function(e,t){return e=e||{},new RegExp("\\b"+t+"\\b").test(e.className)},n.addClass=function(e,t){return e=e||{},n.hasClass(e,t)||(e.className+=" "+t),e.className=n.trim(e.className),this},n.removeClass=function(e,t){if(e=e||{},n.hasClass(e,t)){var a=new RegExp("\\b"+t+"\\b");e.className=e.className.replace(a,"")}return this},n.removeCssAttr=function(e,t){var a=e.style;a.removeProperty?a.removeProperty(t):a.removeAttribute(t)},n.shde=function(e,t){e.style.display=t?"none":"block"},n.query=function(e){if(e&&1===e.nodeType){if("input"!==e.tagName.toLowerCase())throw new Error("选择器elem错误");return e}var t,e=n.trim(e).split(" "),a=s[o](e[0].substr(1));if(a){if(e[1]){if(/^\./.test(e[1])){var i,d=e[1].substr(1),r=new RegExp("\\b"+d+"\\b");return t=[],i=s.getElementsByClassName?a.getElementsByClassName(d):a[l]("*"),n.each(i,function(e,a){r.test(a.className)&&t.push(a)}),t[0]?t:""}return t=a[l](e[1]),t[0]?a[l](e[1]):""}return a}},n.on=function(e,a,s){return e.attachEvent?e.attachEvent("on"+a,function(){s.call(e,t.even)}):e.addEventListener(a,s,!1),n},n.stopMosup=function(e,t){"mouseup"!==e&&n.on(t,"mouseup",function(e){n.stopmp(e)})},n.run=function(e){var t=(n.query,e.elem);t&&(d.elemv=/textarea|input/.test(t.tagName.toLocaleLowerCase())?"value":"innerHTML",("init"in e?e.init:a.init)&&!t[d.elemv]&&(t[d.elemv]=laydate.now(null,e.format||a.format)),n.view(t,e),n.reshow())},n.scroll=function(e){return e=e?"scrollLeft":"scrollTop",s.body[e]|s.documentElement[e]},n.winarea=function(e){return document.documentElement[e?"clientWidth":"clientHeight"]},n.isleap=function(e){return e%4===0&&e%100!==0||e%400===0},n.checkVoid=function(e,t,a){var s=[];return e=0|e,t=0|t,a=0|a,e<n.mins[0]?s=["y"]:e>n.maxs[0]?s=["y",1]:e>=n.mins[0]&&e<=n.maxs[0]&&(e==n.mins[0]&&(t<n.mins[1]?s=["m"]:t==n.mins[1]&&a<n.mins[2]&&(s=["d"])),e==n.maxs[0]&&(t>n.maxs[1]?s=["m",1]:t==n.maxs[1]&&a>n.maxs[2]&&(s=["d",1]))),s},n.timeVoid=function(e,t){if(n.ymd[1]+1==n.mins[1]&&n.ymd[2]==n.mins[2]){if(0===t&&e<n.mins[3])return 1;if(1===t&&e<n.mins[4])return 1;if(2===t&&e<n.mins[5])return 1}else if(n.ymd[1]+1==n.maxs[1]&&n.ymd[2]==n.maxs[2]){if(0===t&&e>n.maxs[3])return 1;if(1===t&&e>n.maxs[4])return 1;if(2===t&&e>n.maxs[5])return 1}if(e>(t?59:23))return 1},n.check=function(){var e=n.options.format.replace(/YYYY|MM|DD|hh|mm|ss/g,"\\d+\\").replace(/\\$/g,""),t=new RegExp(e),a=n.elem[d.elemv],s=a.match(/\d+/g)||[],i=n.checkVoid(s[0],s[1],s[2]);if(""!==a.replace(/\s/g,"")){if(!t.test(a))return n.elem[d.elemv]="",n.msg("日期不符合格式,请重新选择。"),1;if(i[0])return n.elem[d.elemv]="",n.msg("日期不在有效期内,请重新选择。"),1;i.value=n.elem[d.elemv].match(t).join(),s=i.value.match(/\d+/g),s[1]<1?(s[1]=1,i.auto=1):s[1]>12?(s[1]=12,i.auto=1):s[1].length<2&&(i.auto=1),s[2]<1?(s[2]=1,i.auto=1):s[2]>n.months[(0|s[1])-1]?(s[2]=31,i.auto=1):s[2].length<2&&(i.auto=1),s.length>3&&(n.timeVoid(s[3],0)&&(i.auto=1),n.timeVoid(s[4],1)&&(i.auto=1),n.timeVoid(s[5],2)&&(i.auto=1)),i.auto?n.creation([s[0],0|s[1],0|s[2]],1):i.value!==n.elem[d.elemv]&&(n.elem[d.elemv]=i.value)}},n.months=[31,null,31,30,31,30,31,31,30,31,30,31],n.viewDate=function(e,t,a){var s=(n.query,{}),i=new Date;e<(0|n.mins[0])&&(e=0|n.mins[0]),e>(0|n.maxs[0])&&(e=0|n.maxs[0]),i.setFullYear(e,t,a),s.ymd=[i.getFullYear(),i.getMonth(),i.getDate()],n.months[1]=n.isleap(s.ymd[0])?29:28,i.setFullYear(s.ymd[0],s.ymd[1],1),s.FDay=i.getDay(),s.PDay=n.months[0===t?11:t-1]-s.FDay+1,s.NDay=1,n.each(d.tds,function(e,t){var a,i=s.ymd[0],o=s.ymd[1]+1;t.className="",e<s.FDay?(t.innerHTML=a=e+s.PDay,n.addClass(t,"laydate_nothis"),1===o&&(i-=1),o=1===o?12:o-1):e>=s.FDay&&e<s.FDay+n.months[s.ymd[1]]?(t.innerHTML=a=e-s.FDay+1,e-s.FDay+1===s.ymd[2]&&(n.addClass(t,d[2]),s.thisDay=t)):(t.innerHTML=a=s.NDay++,n.addClass(t,"laydate_nothis"),12===o&&(i+=1),o=12===o?1:o+1),n.checkVoid(i,o,a)[0]&&n.addClass(t,d[1]),n.options.festival&&n.festival(t,o+"."+a),t.setAttribute("y",i),t.setAttribute("m",o),t.setAttribute("d",a),i=o=a=null}),n.valid=!n.hasClass(s.thisDay,d[1]),n.ymd=s.ymd,d.year.value=n.ymd[0]+"年",d.month.value=n.digit(n.ymd[1]+1)+"月",n.each(d.mms,function(e,t){var a=n.checkVoid(n.ymd[0],(0|t.getAttribute("m"))+1);"y"===a[0]||"m"===a[0]?n.addClass(t,d[1]):n.removeClass(t,d[1]),n.removeClass(t,d[2]),a=null}),n.addClass(d.mms[n.ymd[1]],d[2]),s.times=[0|n.inymd[3]||0,0|n.inymd[4]||0,0|n.inymd[5]||0],n.each(new Array(3),function(e){n.hmsin[e].value=n.digit(n.timeVoid(s.times[e],e)?0|n.mins[e+3]:0|s.times[e])}),n[n.valid?"removeClass":"addClass"](d.ok,d[1])},n.festival=function(e,t){var a;switch(t){case"1.1":a="元旦";break;case"3.8":a="妇女";break;case"4.5":a="清明";break;case"5.1":a="劳动";break;case"6.1":a="儿童";break;case"9.10":a="教师";break;case"10.1":a="国庆"}a&&(e.innerHTML=a),a=null},n.viewYears=function(e){var t=n.query,a="";n.each(new Array(14),function(t){a+=7===t?"<li "+(parseInt(d.year.value)===e?'class="'+d[2]+'"':"")+' y="'+e+'">'+e+"年</li>":'<li y="'+(e-7+t)+'">'+(e-7+t)+"年</li>"}),t("#laydate_ys").innerHTML=a,n.each(t("#laydate_ys li"),function(e,t){"y"===n.checkVoid(t.getAttribute("y"))[0]?n.addClass(t,d[1]):n.on(t,"click",function(e){n.stopmp(e).reshow(),n.viewDate(0|this.getAttribute("y"),n.ymd[1],n.ymd[2])})})},n.initDate=function(){var e=(n.query,new Date),t=n.elem[d.elemv].match(/\d+/g)||[];t.length<3&&(t=n.options.start.match(/\d+/g)||[],t.length<3&&(t=[e.getFullYear(),e.getMonth()+1,e.getDate()])),n.inymd=t,n.viewDate(t[0],t[1]-1,t[2])},n.iswrite=function(){var e=n.query,t={time:e("#laydate_hms")};n.shde(t.time,!n.options.istime),n.shde(d.oclear,!("isclear"in n.options?n.options.isclear:1)),n.shde(d.otoday,!("istoday"in n.options?n.options.istoday:1)),n.shde(d.ok,!("issure"in n.options?n.options.issure:1))},n.orien=function(e,t){var a,s=n.elem.getBoundingClientRect();e.style.left=s.left+(t?0:n.scroll(1))+"px",a=s.bottom+e.offsetHeight/1.5<=n.winarea()?s.bottom-1:s.top>e.offsetHeight/1.5?s.top-e.offsetHeight+1:n.winarea()-e.offsetHeight,e.style.top=Math.max(a+(t?0:n.scroll()),1)+"px"},n.follow=function(e){n.options.fixed?(e.style.position="fixed",n.orien(e,1)):(e.style.position="absolute",n.orien(e))},n.viewtb=function(){var e,t=[],a=["日","一","二","三","四","五","六"],o={},d=s[i]("table"),r=s[i]("thead");return r.appendChild(s[i]("tr")),o.creath=function(e){var t=s[i]("th");t.innerHTML=a[e],r[l]("tr")[0].appendChild(t),t=null},n.each(new Array(6),function(a){t.push([]),e=d.insertRow(0),n.each(new Array(7),function(n){t[a][n]=0,0===a&&o.creath(n),e.insertCell(n)})}),d.insertBefore(r,d.children[0]),d.id=d.className="laydate_table",e=t=null,d.outerHTML.toLowerCase()}(),n.view=function(e,t){var o,l=n.query,r={};t=t||e,n.elem=e,n.options=t,n.options.format||(n.options.format=a.format),n.options.start=n.options.start||"",n.mm=r.mm=[n.options.min||a.min,n.options.max||a.max],n.mins=r.mm[0].match(/\d+/g),n.maxs=r.mm[1].match(/\d+/g),n.box?n.shde(n.box):(o=s[i]("div"),o.id=d[0],o.className=d[0],o.style.cssText="position: absolute;",o.setAttribute("name","laydate-v"+laydate.v),o.innerHTML=r.html='<div class="laydate_top"><div class="laydate_ym laydate_y" id="laydate_YY"><a class="laydate_choose laydate_chprev laydate_tab"><cite></cite></a><input id="laydate_y" readonly><label></label><a class="laydate_choose laydate_chnext laydate_tab"><cite></cite></a><div class="laydate_yms"><a class="laydate_tab laydate_chtop"><cite></cite></a><ul id="laydate_ys"></ul><a class="laydate_tab laydate_chdown"><cite></cite></a></div></div><div class="laydate_ym laydate_m" id="laydate_MM"><a class="laydate_choose laydate_chprev laydate_tab"><cite></cite></a><input id="laydate_m" readonly><label></label><a class="laydate_choose laydate_chnext laydate_tab"><cite></cite></a><div class="laydate_yms" id="laydate_ms">'+function(){var e="";return n.each(new Array(12),function(t){e+='<span m="'+t+'">'+n.digit(t+1)+"月</span>"}),e}()+"</div></div></div>"+n.viewtb+'<div class="laydate_bottom"><ul id="laydate_hms"><li class="laydate_sj">时间</li><li><input readonly>:</li><li><input readonly>:</li><li><input readonly></li></ul><div class="laydate_time" id="laydate_time"></div><div class="laydate_btn"><a id="laydate_clear">清空</a><a id="laydate_today">今天</a><a id="laydate_ok">确认</a></div>'+(a.isv?'<a href="http://sentsin.com/layui/laydate/" class="laydate_v" target="_blank">laydate-v'+laydate.v+"</a>":"")+"</div>",s.body.appendChild(o),n.box=l("#"+d[0]),n.events(),o=null),n.follow(n.box),t.zIndex?n.box.style.zIndex=t.zIndex:n.removeCssAttr(n.box,"z-index"),n.stopMosup("click",n.box),n.initDate(),n.iswrite(),n.check()},n.reshow=function(){return n.each(n.query("#"+d[0]+" .laydate_show"),function(e,t){n.removeClass(t,"laydate_show")}),this},n.close=function(){n.reshow(),n.shde(n.query("#"+d[0]),1),n.elem=null},n.parse=function(e,t,s){return e=e.concat(t),s=s||(n.options?n.options.format:a.format),s.replace(/YYYY|MM|DD|hh|mm|ss/g,function(t,a){return e.index=0|++e.index,n.digit(e[e.index])})},n.creation=function(e,t){var a=(n.query,n.hmsin),s=n.parse(e,[a[0].value,a[1].value,a[2].value]);n.elem[d.elemv]=s,t||(n.close(),"function"==typeof n.options.choose&&n.options.choose(s))},n.events=function(){var e=n.query,a={box:"#"+d[0]};n.addClass(s.body,"laydate_body"),d.tds=e("#laydate_table td"),d.mms=e("#laydate_ms span"),d.year=e("#laydate_y"),d.month=e("#laydate_m"),n.each(e(a.box+" .laydate_ym"),function(e,t){n.on(t,"click",function(t){n.stopmp(t).reshow(),n.addClass(this[l]("div")[0],"laydate_show"),e||(a.YY=parseInt(d.year.value),n.viewYears(a.YY))})}),n.on(e(a.box),"click",function(){n.reshow()}),a.tabYear=function(e){0===e?n.ymd[0]--:1===e?n.ymd[0]++:2===e?a.YY-=14:a.YY+=14,e<2?(n.viewDate(n.ymd[0],n.ymd[1],n.ymd[2]),n.reshow()):n.viewYears(a.YY)},n.each(e("#laydate_YY .laydate_tab"),function(e,t){n.on(t,"click",function(t){n.stopmp(t),a.tabYear(e)})}),a.tabMonth=function(e){e?(n.ymd[1]++,12===n.ymd[1]&&(n.ymd[0]++,n.ymd[1]=0)):(n.ymd[1]--,n.ymd[1]===-1&&(n.ymd[0]--,n.ymd[1]=11)),n.viewDate(n.ymd[0],n.ymd[1],n.ymd[2])},n.each(e("#laydate_MM .laydate_tab"),function(e,t){n.on(t,"click",function(t){n.stopmp(t).reshow(),a.tabMonth(e)})}),n.each(e("#laydate_ms span"),function(e,t){n.on(t,"click",function(e){n.stopmp(e).reshow(),n.hasClass(this,d[1])||n.viewDate(n.ymd[0],0|this.getAttribute("m"),n.ymd[2])})}),n.each(e("#laydate_table td"),function(e,t){n.on(t,"click",function(e){n.hasClass(this,d[1])||(n.stopmp(e),n.creation([0|this.getAttribute("y"),0|this.getAttribute("m"),0|this.getAttribute("d")]))})}),d.oclear=e("#laydate_clear"),n.on(d.oclear,"click",function(){n.elem[d.elemv]="",n.close()}),d.otoday=e("#laydate_today"),n.on(d.otoday,"click",function(){var e=new Date;n.creation([e.getFullYear(),e.getMonth()+1,e.getDate()])}),d.ok=e("#laydate_ok"),n.on(d.ok,"click",function(){n.valid&&n.creation([n.ymd[0],n.ymd[1]+1,n.ymd[2]])}),a.times=e("#laydate_time"),n.hmsin=a.hmsin=e("#laydate_hms input"),a.hmss=["小时","分钟","秒数"],a.hmsarr=[],n.msg=function(t,s){var i='<div class="laydte_hsmtex">'+(s||"提示")+"<span>×</span></div>";"string"==typeof t?(i+="<p>"+t+"</p>",n.shde(e("#"+d[0])),n.removeClass(a.times,"laydate_time1").addClass(a.times,"laydate_msg")):(a.hmsarr[t]?i=a.hmsarr[t]:(i+='<div id="laydate_hmsno" class="laydate_hmsno">',n.each(new Array(0===t?24:60),function(e){i+="<span>"+e+"</span>"}),i+="</div>",a.hmsarr[t]=i),n.removeClass(a.times,"laydate_msg"),n[0===t?"removeClass":"addClass"](a.times,"laydate_time1")),n.addClass(a.times,"laydate_show"),a.times.innerHTML=i},a.hmson=function(t,a){var s=e("#laydate_hmsno span"),i=n.valid?null:1;n.each(s,function(e,s){i?n.addClass(s,d[1]):n.timeVoid(e,a)?n.addClass(s,d[1]):n.on(s,"click",function(e){n.hasClass(this,d[1])||(t.value=n.digit(0|this.innerHTML))})}),n.addClass(s[0|t.value],"laydate_click")},n.each(a.hmsin,function(e,t){n.on(t,"click",function(t){n.stopmp(t).reshow(),n.msg(e,a.hmss[e]),a.hmson(this,e)})}),n.on(s,"mouseup",function(){var t=e("#"+d[0]);t&&"none"!==t.style.display&&(n.check()||n.close())}).on(s,"keydown",function(e){e=e||t.event;var a=e.keyCode;13===a&&n.elem&&n.creation([n.ymd[0],n.ymd[1]+1,n.ymd[2]])})},laydate.reset=function(){n.box&&n.elem&&n.follow(n.box)},laydate.now=function(e,t){var a=new Date(0|e?function(e){return e<864e5?+new Date+864e5*e:e}(parseInt(e)):+new Date);return n.parse([a.getFullYear(),a.getMonth()+1,a.getDate()],[a.getHours(),a.getMinutes(),a.getSeconds()],t)},layui.addcss("modules/laydate/laydate.css",function(){},"laydatecss"),e("laydate",laydate)}); |
| 1 | +/** layui-v1.0.7 LGPL License By http://www.layui.com */ | ||
| 2 | + ;layui.define(["layer","form"],function(t){"use strict";var e=layui.jquery,i=layui.layer,a=layui.form(),l=(layui.hint(),layui.device()),n="layedit",o="layui-show",r="layui-disabled",s=function(){var t=this;t.index=0,t.config={tool:["strong","italic","underline","del","|","left","center","right","|","link","unlink","face","image"],hideTool:[],height:280}};s.prototype.set=function(t){var i=this;return e.extend(!0,i.config,t),i},s.prototype.on=function(t,e){return layui.onevent(n,t,e)},s.prototype.build=function(t,i){i=i||{};var a=this,n=a.config,r="layui-layedit",s=e("#"+t),u="LAY_layedit_"+ ++a.index,d=s.next("."+r),y=e.extend({},n,i),f=function(){var t=[],e={};return layui.each(y.hideTool,function(t,i){e[i]=!0}),layui.each(y.tool,function(i,a){C[a]&&!e[a]&&t.push(C[a])}),t.join("")}(),m=e(['<div class="'+r+'">','<div class="layui-unselect layui-layedit-tool">'+f+"</div>",'<div class="layui-layedit-iframe">','<iframe id="'+u+'" name="'+u+'" textarea="'+t+'" frameborder="0"></iframe>',"</div>","</div>"].join(""));return l.ie&&l.ie<8?s.removeClass("layui-hide").addClass(o):(d[0]&&d.remove(),c.call(a,m,s[0],y),s.addClass("layui-hide").after(m),a.index)},s.prototype.getContent=function(t){var e=u(t);if(e[0])return d(e[0].document.body.innerHTML)},s.prototype.getText=function(t){var i=u(t);if(i[0])return e(i[0].document.body).text()},s.prototype.sync=function(t){var i=u(t);if(i[0]){var a=e("#"+i[1].attr("textarea"));a.val(d(i[0].document.body.innerHTML))}},s.prototype.getSelection=function(t){var e=u(t);if(e[0]){var i=m(e[0].document);return document.selection?i.text:i.toString()}};var c=function(t,i,a){var l=this,n=t.find("iframe");n.css({height:a.height}).on("load",function(){var o=n.contents(),r=n.prop("contentWindow"),s=o.find("head"),c=e(["<style>","*{margin: 0; padding: 0;}","body{padding: 10px; line-height: 20px; overflow-x: hidden; word-wrap: break-word; font: 14px Helvetica Neue,Helvetica,PingFang SC,Microsoft YaHei,Tahoma,Arial,sans-serif; -webkit-box-sizing: border-box !important; -moz-box-sizing: border-box !important; box-sizing: border-box !important;}","a{color:#01AAED; text-decoration:none;}a:hover{color:#c00}","p{margin-bottom: 10px;}","img{display: inline-block; border: none; vertical-align: middle;}","pre{margin: 10px 0; padding: 10px; line-height: 20px; border: 1px solid #ddd; border-left-width: 6px; background-color: #F2F2F2; color: #333; font-family: Courier New; font-size: 12px;}","</style>"].join("")),u=o.find("body");s.append(c),u.attr("contenteditable","true").css({"min-height":a.height}).html(i.value||""),y.apply(l,[r,n,i,a]),g.call(l,r,t,a)})},u=function(t){var i=e("#LAY_layedit_"+t),a=i.prop("contentWindow");return[a,i]},d=function(t){return 8==l.ie&&(t=t.replace(/<.+>/g,function(t){return t.toLowerCase()})),t},y=function(t,a,n,o){var r=t.document,s=e(r.body);s.on("keydown",function(t){var e=t.keyCode;if(13===e){var a=m(r),l=p(a),n=l.parentNode;if("pre"===n.tagName.toLowerCase()){if(t.shiftKey)return;return i.msg("请暂时用shift+enter"),!1}r.execCommand("formatBlock",!1,"<p>")}}),e(n).parents("form").on("submit",function(){var t=s.html();8==l.ie&&(t=t.replace(/<.+>/g,function(t){return t.toLowerCase()})),n.value=t}),s.on("paste",function(e){r.execCommand("formatBlock",!1,"<p>"),setTimeout(function(){f.call(t,s),n.value=s.html()},100)})},f=function(t){var i=this;i.document;t.find("*[style]").each(function(){var t=this.style.textAlign;this.removeAttribute("style"),e(this).css({"text-align":t||""})}),t.find("table").addClass("layui-table"),t.find("script,link").remove()},m=function(t){return t.selection?t.selection.createRange():t.getSelection().getRangeAt(0)},p=function(t){return t.endContainer||t.parentElement().childNodes[0]},v=function(t,i,a){var l=this.document,n=document.createElement(t);for(var o in i)n.setAttribute(o,i[o]);if(n.removeAttribute("text"),l.selection){var r=a.text||i.text;if("a"===t&&!r)return;r&&(n.innerHTML=r),a.pasteHTML(e(n).prop("outerHTML")),a.select()}else{var r=a.toString()||i.text;if("a"===t&&!r)return;r&&(n.innerHTML=r),a.deleteContents(),a.insertNode(n)}},h=function(t,i){var a=this.document,l="layedit-tool-active",n=p(m(a)),o=function(e){return t.find(".layedit-tool-"+e)};i&&i[i.hasClass(l)?"removeClass":"addClass"](l),t.find(">i").removeClass(l),o("unlink").addClass(r),e(n).parents().each(function(){var t=this.tagName.toLowerCase(),e=this.style.textAlign;"b"!==t&&"strong"!==t||o("b").addClass(l),"i"!==t&&"em"!==t||o("i").addClass(l),"u"===t&&o("u").addClass(l),"strike"===t&&o("d").addClass(l),"p"===t&&("center"===e?o("center").addClass(l):"right"===e?o("right").addClass(l):o("left").addClass(l)),"a"===t&&(o("link").addClass(l),o("unlink").removeClass(r))})},g=function(t,a,l){var n=t.document,o=e(n.body),s={link:function(i){var a=p(i),l=e(a).parent();b.call(o,{href:l.attr("href"),target:l.attr("target")},function(e){var a=l[0];"A"===a.tagName?a.href=e.url:v.call(t,"a",{target:e.target,href:e.url,text:e.url},i)})},unlink:function(t){n.execCommand("unlink")},face:function(e){x.call(this,function(i){v.call(t,"img",{src:i.src,alt:i.alt},e)})},image:function(a){var n=this;layui.use("upload",function(o){var r=l.uploadImage||{};o({url:r.url,method:r.type,elem:e(n).find("input")[0],unwrap:!0,success:function(e){0==e.code?(e.data=e.data||{},v.call(t,"img",{src:e.data.src,alt:e.data.title},a)):i.msg(e.msg||"上传失败")}})})},code:function(e){k.call(o,function(i){v.call(t,"pre",{text:i.code,"lay-lang":i.lang},e)})},help:function(){i.open({type:2,title:"帮助",area:["600px","380px"],shadeClose:!0,shade:.1,skin:"layui-layer-msg",content:["http://www.layui.com/about/layedit/help.html","no"]})}},c=a.find(".layui-layedit-tool"),u=function(){var i=e(this),a=i.attr("layedit-event"),l=i.attr("lay-command");if(!i.hasClass(r)){o.focus();var u=m(n);u.commonAncestorContainer;l?(n.execCommand(l),/justifyLeft|justifyCenter|justifyRight/.test(l)&&n.execCommand("formatBlock",!1,"<p>"),setTimeout(function(){o.focus()},10)):s[a]&&s[a].call(this,u),h.call(t,c,i)}},d=/image/;c.find(">i").on("mousedown",function(){var t=e(this),i=t.attr("layedit-event");d.test(i)||u.call(this)}).on("click",function(){var t=e(this),i=t.attr("layedit-event");d.test(i)&&u.call(this)}),o.on("click",function(){h.call(t,c),i.close(x.index)})},b=function(t,e){var l=this,n=i.open({type:1,id:"LAY_layedit_link",area:"350px",shade:.05,shadeClose:!0,moveType:1,title:"超链接",skin:"layui-layer-msg",content:['<ul class="layui-form" style="margin: 15px;">','<li class="layui-form-item">','<label class="layui-form-label" style="width: 60px;">URL</label>','<div class="layui-input-block" style="margin-left: 90px">','<input name="url" lay-verify="url" value="'+(t.href||"")+'" autofocus="true" autocomplete="off" class="layui-input">',"</div>","</li>",'<li class="layui-form-item">','<label class="layui-form-label" style="width: 60px;">打开方式</label>','<div class="layui-input-block" style="margin-left: 90px">','<input type="radio" name="target" value="_self" class="layui-input" title="当前窗口"'+("_self"!==t.target&&t.target?"":"checked")+">",'<input type="radio" name="target" value="_blank" class="layui-input" title="新窗口" '+("_blank"===t.target?"checked":"")+">","</div>","</li>",'<li class="layui-form-item" style="text-align: center;">','<button type="button" lay-submit lay-filter="layedit-link-yes" class="layui-btn"> 确定 </button>','<button style="margin-left: 20px;" type="button" class="layui-btn layui-btn-primary"> 取消 </button>',"</li>","</ul>"].join(""),success:function(t,n){var o="submit(layedit-link-yes)";a.render("radio"),t.find(".layui-btn-primary").on("click",function(){i.close(n),l.focus()}),a.on(o,function(t){i.close(b.index),e&&e(t.field)})}});b.index=n},x=function(t){var a=function(){var t=["[微笑]","[嘻嘻]","[哈哈]","[可爱]","[可怜]","[挖鼻]","[吃惊]","[害羞]","[挤眼]","[闭嘴]","[鄙视]","[爱你]","[泪]","[偷笑]","[亲亲]","[生病]","[太开心]","[白眼]","[右哼哼]","[左哼哼]","[嘘]","[衰]","[委屈]","[吐]","[哈欠]","[抱抱]","[怒]","[疑问]","[馋嘴]","[拜拜]","[思考]","[汗]","[困]","[睡]","[钱]","[失望]","[酷]","[色]","[哼]","[鼓掌]","[晕]","[悲伤]","[抓狂]","[黑线]","[阴险]","[怒骂]","[互粉]","[心]","[伤心]","[猪头]","[熊猫]","[兔子]","[ok]","[耶]","[good]","[NO]","[赞]","[来]","[弱]","[草泥马]","[神马]","[囧]","[浮云]","[给力]","[围观]","[威武]","[奥特曼]","[礼物]","[钟]","[话筒]","[蜡烛]","[蛋糕]"],e={};return layui.each(t,function(t,i){e[i]=layui.cache.dir+"images/face/"+t+".gif"}),e}();return x.hide=x.hide||function(t){"face"!==e(t.target).attr("layedit-event")&&i.close(x.index)},x.index=i.tips(function(){var t=[];return layui.each(a,function(e,i){t.push('<li title="'+e+'"><img src="'+i+'" alt="'+e+'"></li>')}),'<ul class="layui-clear">'+t.join("")+"</ul>"}(),this,{tips:1,time:0,skin:"layui-box layui-util-face",maxWidth:500,success:function(l,n){l.css({marginTop:-4,marginLeft:-10}).find(".layui-clear>li").on("click",function(){t&&t({src:a[this.title],alt:this.title}),i.close(n)}),e(document).off("click",x.hide).on("click",x.hide)}})},k=function(t){var e=this,l=i.open({type:1,id:"LAY_layedit_code",area:"550px",shade:.05,shadeClose:!0,moveType:1,title:"插入代码",skin:"layui-layer-msg",content:['<ul class="layui-form layui-form-pane" style="margin: 15px;">','<li class="layui-form-item">','<label class="layui-form-label">请选择语言</label>','<div class="layui-input-block">','<select name="lang">','<option value="JavaScript">JavaScript</option>','<option value="HTML">HTML</option>','<option value="CSS">CSS</option>','<option value="Java">Java</option>','<option value="PHP">PHP</option>','<option value="C#">C#</option>','<option value="Python">Python</option>','<option value="Ruby">Ruby</option>','<option value="Go">Go</option>',"</select>","</div>","</li>",'<li class="layui-form-item layui-form-text">','<label class="layui-form-label">代码</label>','<div class="layui-input-block">','<textarea name="code" lay-verify="required" autofocus="true" class="layui-textarea" style="height: 200px;"></textarea>',"</div>","</li>",'<li class="layui-form-item" style="text-align: center;">','<button type="button" lay-submit lay-filter="layedit-code-yes" class="layui-btn"> 确定 </button>','<button style="margin-left: 20px;" type="button" class="layui-btn layui-btn-primary"> 取消 </button>',"</li>","</ul>"].join(""),success:function(l,n){var o="submit(layedit-code-yes)";a.render("select"),l.find(".layui-btn-primary").on("click",function(){i.close(n),e.focus()}),a.on(o,function(e){i.close(k.index),t&&t(e.field)})}});k.index=l},C={html:'<i class="layui-icon layedit-tool-html" title="HTML源代码" lay-command="html" layedit-event="html""></i><span class="layedit-tool-mid"></span>',strong:'<i class="layui-icon layedit-tool-b" title="加粗" lay-command="Bold" layedit-event="b""></i>',italic:'<i class="layui-icon layedit-tool-i" title="斜体" lay-command="italic" layedit-event="i""></i>',underline:'<i class="layui-icon layedit-tool-u" title="下划线" lay-command="underline" layedit-event="u""></i>',del:'<i class="layui-icon layedit-tool-d" title="删除线" lay-command="strikeThrough" layedit-event="d""></i>',"|":'<span class="layedit-tool-mid"></span>',left:'<i class="layui-icon layedit-tool-left" title="左对齐" lay-command="justifyLeft" layedit-event="left""></i>',center:'<i class="layui-icon layedit-tool-center" title="居中对齐" lay-command="justifyCenter" layedit-event="center""></i>',right:'<i class="layui-icon layedit-tool-right" title="右对齐" lay-command="justifyRight" layedit-event="right""></i>',link:'<i class="layui-icon layedit-tool-link" title="插入链接" layedit-event="link""></i>',unlink:'<i class="layui-icon layedit-tool-unlink layui-disabled" title="清除链接" lay-command="unlink" layedit-event="unlink""></i>',face:'<i class="layui-icon layedit-tool-face" title="表情" layedit-event="face""></i>',image:'<i class="layui-icon layedit-tool-image" title="图片" layedit-event="image"><input type="file" name="file"></i>',code:'<i class="layui-icon layedit-tool-code" title="插入代码" layedit-event="code"></i>',help:'<i class="layui-icon layedit-tool-help" title="帮助" layedit-event="help"></i>'},w=new s;t(n,w)}); |
| 1 | +/** layui-v1.0.7 LGPL License By http://www.layui.com */ | ||
| 2 | + ;!function(e,t){"use strict";var i,n,a=e.layui&&layui.define,o={getPath:function(){var e=document.scripts,t=e[e.length-1],i=t.src;if(!t.getAttribute("merge"))return i.substring(0,i.lastIndexOf("/")+1)}(),config:{},end:{},minIndex:0,minLeft:[],btn:["确定","取消"],type:["dialog","page","iframe","loading","tips"]},r={v:"3.0.1",ie:function(){var t=navigator.userAgent.toLowerCase();return!!(e.ActiveXObject||"ActiveXObject"in e)&&((t.match(/msie\s(\d+)/)||[])[1]||"11")}(),index:e.layer&&e.layer.v?1e5:0,path:o.getPath,config:function(e,t){return e=e||{},r.cache=o.config=i.extend({},o.config,e),r.path=o.config.path||r.path,"string"==typeof e.extend&&(e.extend=[e.extend]),o.config.path&&r.ready(),e.extend?(a?layui.addcss("modules/layer/"+e.extend):r.link("skin/"+e.extend),this):this},link:function(t,n,a){if(r.path){var o=i("head")[0],l=document.createElement("link");"string"==typeof n&&(a=n);var s=(a||t).replace(/\.|\//g,""),f="layuicss-"+s,c=0;l.rel="stylesheet",l.href=r.path+t,l.id=f,i("#"+f)[0]||o.appendChild(l),"function"==typeof n&&!function d(){return++c>80?e.console&&console.error("layer.css: Invalid"):void(1989===parseInt(i("#"+f).css("width"))?n():setTimeout(d,100))}()}},ready:function(e){var t="skinlayercss",i="1110";return a?layui.addcss("modules/layer/default/layer.css?v="+r.v+i,e,t):r.link("skin/default/layer.css?v="+r.v+i,e,t),this},alert:function(e,t,n){var a="function"==typeof t;return a&&(n=t),r.open(i.extend({content:e,yes:n},a?{}:t))},confirm:function(e,t,n,a){var l="function"==typeof t;return l&&(a=n,n=t),r.open(i.extend({content:e,btn:o.btn,yes:n,btn2:a},l?{}:t))},msg:function(e,n,a){var l="function"==typeof n,f=o.config.skin,c=(f?f+" "+f+"-msg":"")||"layui-layer-msg",d=s.anim.length-1;return l&&(a=n),r.open(i.extend({content:e,time:3e3,shade:!1,skin:c,title:!1,closeBtn:!1,btn:!1,resize:!1,end:a},l&&!o.config.skin?{skin:c+" layui-layer-hui",anim:d}:function(){return n=n||{},(n.icon===-1||n.icon===t&&!o.config.skin)&&(n.skin=c+" "+(n.skin||"layui-layer-hui")),n}()))},load:function(e,t){return r.open(i.extend({type:3,icon:e||0,resize:!1,shade:.01},t))},tips:function(e,t,n){return r.open(i.extend({type:4,content:[e,t],closeBtn:!1,time:3e3,shade:!1,resize:!1,fixed:!1,maxWidth:210},n))}},l=function(e){var t=this;t.index=++r.index,t.config=i.extend({},t.config,o.config,e),document.body?t.creat():setTimeout(function(){t.creat()},50)};l.pt=l.prototype;var s=["layui-layer",".layui-layer-title",".layui-layer-main",".layui-layer-dialog","layui-layer-iframe","layui-layer-content","layui-layer-btn","layui-layer-close"];s.anim=["layer-anim","layer-anim-01","layer-anim-02","layer-anim-03","layer-anim-04","layer-anim-05","layer-anim-06"],l.pt.config={type:0,shade:.3,fixed:!0,move:s[1],title:"信息",offset:"auto",area:"auto",closeBtn:1,time:0,zIndex:19891014,maxWidth:360,anim:0,icon:-1,moveType:1,resize:!0,scrollbar:!0,tips:2},l.pt.vessel=function(e,t){var n=this,a=n.index,r=n.config,l=r.zIndex+a,f="object"==typeof r.title,c=r.maxmin&&(1===r.type||2===r.type),d=r.title?'<div class="layui-layer-title" style="'+(f?r.title[1]:"")+'">'+(f?r.title[0]:r.title)+"</div>":"";return r.zIndex=l,t([r.shade?'<div class="layui-layer-shade" id="layui-layer-shade'+a+'" times="'+a+'" style="'+("z-index:"+(l-1)+"; background-color:"+(r.shade[1]||"#000")+"; opacity:"+(r.shade[0]||r.shade)+"; filter:alpha(opacity="+(100*r.shade[0]||100*r.shade)+");")+'"></div>':"",'<div class="'+s[0]+(" layui-layer-"+o.type[r.type])+(0!=r.type&&2!=r.type||r.shade?"":" layui-layer-border")+" "+(r.skin||"")+'" id="'+s[0]+a+'" type="'+o.type[r.type]+'" times="'+a+'" showtime="'+r.time+'" conType="'+(e?"object":"string")+'" style="z-index: '+l+"; width:"+r.area[0]+";height:"+r.area[1]+(r.fixed?"":";position:absolute;")+'">'+(e&&2!=r.type?"":d)+'<div id="'+(r.id||"")+'" class="layui-layer-content'+(0==r.type&&r.icon!==-1?" layui-layer-padding":"")+(3==r.type?" layui-layer-loading"+r.icon:"")+'">'+(0==r.type&&r.icon!==-1?'<i class="layui-layer-ico layui-layer-ico'+r.icon+'"></i>':"")+(1==r.type&&e?"":r.content||"")+'</div><span class="layui-layer-setwin">'+function(){var e=c?'<a class="layui-layer-min" href="javascript:;"><cite></cite></a><a class="layui-layer-ico layui-layer-max" href="javascript:;"></a>':"";return r.closeBtn&&(e+='<a class="layui-layer-ico '+s[7]+" "+s[7]+(r.title?r.closeBtn:4==r.type?"1":"2")+'" href="javascript:;"></a>'),e}()+"</span>"+(r.btn?function(){var e="";"string"==typeof r.btn&&(r.btn=[r.btn]);for(var t=0,i=r.btn.length;t<i;t++)e+='<a class="'+s[6]+t+'">'+r.btn[t]+"</a>";return'<div class="'+s[6]+" layui-layer-btn-"+(r.btnAlign||"")+'">'+e+"</div>"}():"")+(r.resize?'<span class="layui-layer-resize"></span>':"")+"</div>"],d,i('<div class="layui-layer-move"></div>')),n},l.pt.creat=function(){var e=this,t=e.config,a=e.index,l=t.content,f="object"==typeof l,c=i("body");if(!i("#"+t.id)[0]){switch("string"==typeof t.area&&(t.area="auto"===t.area?["",""]:[t.area,""]),t.shift&&(t.anim=t.shift),6==r.ie&&(t.fixed=!1),t.type){case 0:t.btn="btn"in t?t.btn:o.btn[0],r.closeAll("dialog");break;case 2:var l=t.content=f?t.content:[t.content||"http://layer.layui.com","auto"];t.content='<iframe scrolling="'+(t.content[1]||"auto")+'" allowtransparency="true" id="'+s[4]+a+'" name="'+s[4]+a+'" onload="this.className=\'\';" class="layui-layer-load" frameborder="0" src="'+t.content[0]+'"></iframe>';break;case 3:delete t.title,delete t.closeBtn,t.icon===-1&&0===t.icon,r.closeAll("loading");break;case 4:f||(t.content=[t.content,"body"]),t.follow=t.content[1],t.content=t.content[0]+'<i class="layui-layer-TipsG"></i>',delete t.title,t.tips="object"==typeof t.tips?t.tips:[t.tips,!0],t.tipsMore||r.closeAll("tips")}e.vessel(f,function(n,r,d){c.append(n[0]),f?function(){2==t.type||4==t.type?function(){i("body").append(n[1])}():function(){l.parents("."+s[0])[0]||(l.data("display",l.css("display")).show().addClass("layui-layer-wrap").wrap(n[1]),i("#"+s[0]+a).find("."+s[5]).before(r))}()}():c.append(n[1]),i(".layui-layer-move")[0]||c.append(o.moveElem=d),e.layero=i("#"+s[0]+a),t.scrollbar||s.html.css("overflow","hidden").attr("layer-full",a)}).auto(a),2==t.type&&6==r.ie&&e.layero.find("iframe").attr("src",l[0]),4==t.type?e.tips():e.offset(),t.fixed&&n.on("resize",function(){e.offset(),(/^\d+%$/.test(t.area[0])||/^\d+%$/.test(t.area[1]))&&e.auto(a),4==t.type&&e.tips()}),t.time<=0||setTimeout(function(){r.close(e.index)},t.time),e.move().callback(),s.anim[t.anim]&&e.layero.addClass(s.anim[t.anim]).data("anim",!0)}},l.pt.auto=function(e){function t(e){e=l.find(e),e.height(f[1]-c-d-2*(0|parseFloat(e.css("padding"))))}var a=this,o=a.config,l=i("#"+s[0]+e);""===o.area[0]&&o.maxWidth>0&&(r.ie&&r.ie<8&&o.btn&&l.width(l.innerWidth()),l.outerWidth()>o.maxWidth&&l.width(o.maxWidth));var f=[l.innerWidth(),l.innerHeight()],c=l.find(s[1]).outerHeight()||0,d=l.find("."+s[6]).outerHeight()||0;switch(o.type){case 2:t("iframe");break;default:""===o.area[1]?o.fixed&&f[1]>=n.height()&&(f[1]=n.height(),t("."+s[5])):t("."+s[5])}return a},l.pt.offset=function(){var e=this,t=e.config,i=e.layero,a=[i.outerWidth(),i.outerHeight()],o="object"==typeof t.offset;e.offsetTop=(n.height()-a[1])/2,e.offsetLeft=(n.width()-a[0])/2,o?(e.offsetTop=t.offset[0],e.offsetLeft=t.offset[1]||e.offsetLeft):"auto"!==t.offset&&("t"===t.offset?e.offsetTop=0:"r"===t.offset?e.offsetLeft=n.width()-a[0]:"b"===t.offset?e.offsetTop=n.height()-a[1]:"l"===t.offset?e.offsetLeft=0:"lt"===t.offset?(e.offsetTop=0,e.offsetLeft=0):"lb"===t.offset?(e.offsetTop=n.height()-a[1],e.offsetLeft=0):"rt"===t.offset?(e.offsetTop=0,e.offsetLeft=n.width()-a[0]):"rb"===t.offset?(e.offsetTop=n.height()-a[1],e.offsetLeft=n.width()-a[0]):e.offsetTop=t.offset),t.fixed||(e.offsetTop=/%$/.test(e.offsetTop)?n.height()*parseFloat(e.offsetTop)/100:parseFloat(e.offsetTop),e.offsetLeft=/%$/.test(e.offsetLeft)?n.width()*parseFloat(e.offsetLeft)/100:parseFloat(e.offsetLeft),e.offsetTop+=n.scrollTop(),e.offsetLeft+=n.scrollLeft()),i.attr("minLeft")&&(e.offsetTop=n.height()-(i.find(s[1]).outerHeight()||0),e.offsetLeft=i.css("left")),i.css({top:e.offsetTop,left:e.offsetLeft})},l.pt.tips=function(){var e=this,t=e.config,a=e.layero,o=[a.outerWidth(),a.outerHeight()],r=i(t.follow);r[0]||(r=i("body"));var l={width:r.outerWidth(),height:r.outerHeight(),top:r.offset().top,left:r.offset().left},f=a.find(".layui-layer-TipsG"),c=t.tips[0];t.tips[1]||f.remove(),l.autoLeft=function(){l.left+o[0]-n.width()>0?(l.tipLeft=l.left+l.width-o[0],f.css({right:12,left:"auto"})):l.tipLeft=l.left},l.where=[function(){l.autoLeft(),l.tipTop=l.top-o[1]-10,f.removeClass("layui-layer-TipsB").addClass("layui-layer-TipsT").css("border-right-color",t.tips[1])},function(){l.tipLeft=l.left+l.width+10,l.tipTop=l.top,f.removeClass("layui-layer-TipsL").addClass("layui-layer-TipsR").css("border-bottom-color",t.tips[1])},function(){l.autoLeft(),l.tipTop=l.top+l.height+10,f.removeClass("layui-layer-TipsT").addClass("layui-layer-TipsB").css("border-right-color",t.tips[1])},function(){l.tipLeft=l.left-o[0]-10,l.tipTop=l.top,f.removeClass("layui-layer-TipsR").addClass("layui-layer-TipsL").css("border-bottom-color",t.tips[1])}],l.where[c-1](),1===c?l.top-(n.scrollTop()+o[1]+16)<0&&l.where[2]():2===c?n.width()-(l.left+l.width+o[0]+16)>0||l.where[3]():3===c?l.top-n.scrollTop()+l.height+o[1]+16-n.height()>0&&l.where[0]():4===c&&o[0]+16-l.left>0&&l.where[1](),a.find("."+s[5]).css({"background-color":t.tips[1],"padding-right":t.closeBtn?"30px":""}),a.css({left:l.tipLeft-(t.fixed?n.scrollLeft():0),top:l.tipTop-(t.fixed?n.scrollTop():0)})},l.pt.move=function(){var e=this,t=e.config,a=i(document),l=e.layero,s=l.find(t.move),f=l.find(".layui-layer-resize"),c={};return t.move&&s.css("cursor","move"),s.on("mousedown",function(e){e.preventDefault(),t.move&&(c.moveStart=!0,c.offset=[e.clientX-parseFloat(l.css("left")),e.clientY-parseFloat(l.css("top"))],o.moveElem.css("cursor","move").show())}),f.on("mousedown",function(e){e.preventDefault(),c.resizeStart=!0,c.offset=[e.clientX,e.clientY],c.area=[l.outerWidth(),l.outerHeight()],o.moveElem.css("cursor","se-resize").show()}),a.on("mousemove",function(i){if(c.moveStart){var a=i.clientX-c.offset[0],o=i.clientY-c.offset[1],s="fixed"===l.css("position");if(i.preventDefault(),c.stX=s?0:n.scrollLeft(),c.stY=s?0:n.scrollTop(),!t.moveOut){var f=n.width()-l.outerWidth()+c.stX,d=n.height()-l.outerHeight()+c.stY;a<c.stX&&(a=c.stX),a>f&&(a=f),o<c.stY&&(o=c.stY),o>d&&(o=d)}l.css({left:a,top:o})}if(t.resize&&c.resizeStart){var a=i.clientX-c.offset[0],o=i.clientY-c.offset[1];i.preventDefault(),r.style(e.index,{width:c.area[0]+a,height:c.area[1]+o}),c.isResize=!0}}).on("mouseup",function(e){c.moveStart&&(delete c.moveStart,o.moveElem.hide(),t.moveEnd&&t.moveEnd()),c.resizeStart&&(delete c.resizeStart,o.moveElem.hide())}),e},l.pt.callback=function(){function e(){var e=a.cancel&&a.cancel(t.index,n);e===!1||r.close(t.index)}var t=this,n=t.layero,a=t.config;t.openLayer(),a.success&&(2==a.type?n.find("iframe").on("load",function(){a.success(n,t.index)}):a.success(n,t.index)),6==r.ie&&t.IE6(n),n.find("."+s[6]).children("a").on("click",function(){var e=i(this).index();if(0===e)a.yes?a.yes(t.index,n):a.btn1?a.btn1(t.index,n):r.close(t.index);else{var o=a["btn"+(e+1)]&&a["btn"+(e+1)](t.index,n);o===!1||r.close(t.index)}}),n.find("."+s[7]).on("click",e),a.shadeClose&&i("#layui-layer-shade"+t.index).on("click",function(){r.close(t.index)}),n.find(".layui-layer-min").on("click",function(){var e=a.min&&a.min(n);e===!1||r.min(t.index,a)}),n.find(".layui-layer-max").on("click",function(){i(this).hasClass("layui-layer-maxmin")?(r.restore(t.index),a.restore&&a.restore(n)):(r.full(t.index,a),setTimeout(function(){a.full&&a.full(n)},100))}),a.end&&(o.end[t.index]=a.end)},o.reselect=function(){i.each(i("select"),function(e,t){var n=i(this);n.parents("."+s[0])[0]||1==n.attr("layer")&&i("."+s[0]).length<1&&n.removeAttr("layer").show(),n=null})},l.pt.IE6=function(e){i("select").each(function(e,t){var n=i(this);n.parents("."+s[0])[0]||"none"===n.css("display")||n.attr({layer:"1"}).hide(),n=null})},l.pt.openLayer=function(){var e=this;r.zIndex=e.config.zIndex,r.setTop=function(e){var t=function(){r.zIndex++,e.css("z-index",r.zIndex+1)};return r.zIndex=parseInt(e[0].style.zIndex),e.on("mousedown",t),r.zIndex}},o.record=function(e){var t=[e.width(),e.height(),e.position().top,e.position().left+parseFloat(e.css("margin-left"))];e.find(".layui-layer-max").addClass("layui-layer-maxmin"),e.attr({area:t})},o.rescollbar=function(e){s.html.attr("layer-full")==e&&(s.html[0].style.removeProperty?s.html[0].style.removeProperty("overflow"):s.html[0].style.removeAttribute("overflow"),s.html.removeAttr("layer-full"))},e.layer=r,r.getChildFrame=function(e,t){return t=t||i("."+s[4]).attr("times"),i("#"+s[0]+t).find("iframe").contents().find(e)},r.getFrameIndex=function(e){return i("#"+e).parents("."+s[4]).attr("times")},r.iframeAuto=function(e){if(e){var t=r.getChildFrame("html",e).outerHeight(),n=i("#"+s[0]+e),a=n.find(s[1]).outerHeight()||0,o=n.find("."+s[6]).outerHeight()||0;n.css({height:t+a+o}),n.find("iframe").css({height:t})}},r.iframeSrc=function(e,t){i("#"+s[0]+e).find("iframe").attr("src",t)},r.style=function(e,t,n){var a=i("#"+s[0]+e),r=a.find(".layui-layer-content"),l=a.attr("type"),f=a.find(s[1]).outerHeight()||0,c=a.find("."+s[6]).outerHeight()||0;a.attr("minLeft");l!==o.type[3]&&l!==o.type[4]&&(n||(parseFloat(t.width)<=260&&(t.width=260),parseFloat(t.height)-f-c<=64&&(t.height=64+f+c)),a.css(t),c=a.find("."+s[6]).outerHeight(),l===o.type[2]?a.find("iframe").css({height:parseFloat(t.height)-f-c}):r.css({height:parseFloat(t.height)-f-c-parseFloat(r.css("padding-top"))-parseFloat(r.css("padding-bottom"))}))},r.min=function(e,t){var a=i("#"+s[0]+e),l=a.find(s[1]).outerHeight()||0,f=a.attr("minLeft")||181*o.minIndex+"px",c=a.css("position");o.record(a),o.minLeft[0]&&(f=o.minLeft[0],o.minLeft.shift()),a.attr("position",c),r.style(e,{width:180,height:l,left:f,top:n.height()-l,position:"fixed",overflow:"hidden"},!0),a.find(".layui-layer-min").hide(),"page"===a.attr("type")&&a.find(s[4]).hide(),o.rescollbar(e),a.attr("minLeft")||o.minIndex++,a.attr("minLeft",f)},r.restore=function(e){var t=i("#"+s[0]+e),n=t.attr("area").split(",");t.attr("type");r.style(e,{width:parseFloat(n[0]),height:parseFloat(n[1]),top:parseFloat(n[2]),left:parseFloat(n[3]),position:t.attr("position"),overflow:"visible"},!0),t.find(".layui-layer-max").removeClass("layui-layer-maxmin"),t.find(".layui-layer-min").show(),"page"===t.attr("type")&&t.find(s[4]).show(),o.rescollbar(e)},r.full=function(e){var t,a=i("#"+s[0]+e);o.record(a),s.html.attr("layer-full")||s.html.css("overflow","hidden").attr("layer-full",e),clearTimeout(t),t=setTimeout(function(){var t="fixed"===a.css("position");r.style(e,{top:t?0:n.scrollTop(),left:t?0:n.scrollLeft(),width:n.width(),height:n.height()},!0),a.find(".layui-layer-min").hide()},100)},r.title=function(e,t){var n=i("#"+s[0]+(t||r.index)).find(s[1]);n.html(e)},r.close=function(e){var t=i("#"+s[0]+e),n=t.attr("type"),a="layer-anim-close";if(t[0]){var l="layui-layer-wrap",f=function(){if(n===o.type[1]&&"object"===t.attr("conType")){t.children(":not(."+s[5]+")").remove();for(var a=t.find("."+l),r=0;r<2;r++)a.unwrap();a.css("display",a.data("display")).removeClass(l)}else{if(n===o.type[2])try{var f=i("#"+s[4]+e)[0];f.contentWindow.document.write(""),f.contentWindow.close(),t.find("."+s[5])[0].removeChild(f)}catch(c){}t[0].innerHTML="",t.remove()}"function"==typeof o.end[e]&&o.end[e](),delete o.end[e]};t.data("anim")&&t.addClass(a),i("#layui-layer-moves, #layui-layer-shade"+e).remove(),6==r.ie&&o.reselect(),o.rescollbar(e),t.attr("minLeft")&&(o.minIndex--,o.minLeft.push(t.attr("minLeft"))),setTimeout(function(){f()},r.ie&&r.ie<10||!t.data("anim")?0:200)}},r.closeAll=function(e){i.each(i("."+s[0]),function(){var t=i(this),n=e?t.attr("type")===e:1;n&&r.close(t.attr("times")),n=null})};var f=r.cache||{},c=function(e){return f.skin?" "+f.skin+" "+f.skin+"-"+e:""};r.prompt=function(e,t){var a="";if(e=e||{},"function"==typeof e&&(t=e),e.area){var o=e.area;a='style="width: '+o[0]+"; height: "+o[1]+';"',delete e.area}var l,s=2==e.formType?'<textarea class="layui-layer-input"'+a+">"+(e.value||"")+"</textarea>":function(){return'<input type="'+(1==e.formType?"password":"text")+'" class="layui-layer-input" value="'+(e.value||"")+'">'}();return r.open(i.extend({type:1,btn:["确定","取消"],content:s,skin:"layui-layer-prompt"+c("prompt"),maxWidth:n.width(),success:function(e){l=e.find(".layui-layer-input"),l.focus()},resize:!1,yes:function(i){var n=l.val();""===n?l.focus():n.length>(e.maxlength||500)?r.tips("最多输入"+(e.maxlength||500)+"个字数",l,{tips:1}):t&&t(n,i,l)}},e))},r.tab=function(e){e=e||{};var t=e.tab||{};return r.open(i.extend({type:1,skin:"layui-layer-tab"+c("tab"),resize:!1,title:function(){var e=t.length,i=1,n="";if(e>0)for(n='<span class="layui-layer-tabnow">'+t[0].title+"</span>";i<e;i++)n+="<span>"+t[i].title+"</span>";return n}(),content:'<ul class="layui-layer-tabmain">'+function(){var e=t.length,i=1,n="";if(e>0)for(n='<li class="layui-layer-tabli xubox_tab_layer">'+(t[0].content||"no content")+"</li>";i<e;i++)n+='<li class="layui-layer-tabli">'+(t[i].content||"no content")+"</li>";return n}()+"</ul>",success:function(t){var n=t.find(".layui-layer-title").children(),a=t.find(".layui-layer-tabmain").children();n.on("mousedown",function(t){t.stopPropagation?t.stopPropagation():t.cancelBubble=!0;var n=i(this),o=n.index();n.addClass("layui-layer-tabnow").siblings().removeClass("layui-layer-tabnow"),a.eq(o).show().siblings().hide(),"function"==typeof e.change&&e.change(o)})}},e))},r.photos=function(t,n,a){function o(e,t,i){var n=new Image;return n.src=e,n.complete?t(n):(n.onload=function(){n.onload=null,t(n)},void(n.onerror=function(e){n.onerror=null,i(e)}))}var l={};if(t=t||{},t.photos){var s=t.photos.constructor===Object,f=s?t.photos:{},d=f.data||[],u=f.start||0;if(l.imgIndex=(0|u)+1,t.img=t.img||"img",s){if(0===d.length)return r.msg("没有图片")}else{var y=i(t.photos),p=function(){d=[],y.find(t.img).each(function(e){var t=i(this);t.attr("layer-index",e),d.push({alt:t.attr("alt"),pid:t.attr("layer-pid"),src:t.attr("layer-src")||t.attr("src"),thumb:t.attr("src")})})};if(p(),0===d.length)return;if(n||y.on("click",t.img,function(){var e=i(this),n=e.attr("layer-index");r.photos(i.extend(t,{photos:{start:n,data:d,tab:t.tab},full:t.full}),!0),p()}),!n)return}l.imgprev=function(e){l.imgIndex--,l.imgIndex<1&&(l.imgIndex=d.length),l.tabimg(e)},l.imgnext=function(e,t){l.imgIndex++,l.imgIndex>d.length&&(l.imgIndex=1,t)||l.tabimg(e)},l.keyup=function(e){if(!l.end){var t=e.keyCode;e.preventDefault(),37===t?l.imgprev(!0):39===t?l.imgnext(!0):27===t&&r.close(l.index)}},l.tabimg=function(e){d.length<=1||(f.start=l.imgIndex-1,r.close(l.index),r.photos(t,!0,e))},l.event=function(){l.bigimg.hover(function(){l.imgsee.show()},function(){l.imgsee.hide()}),l.bigimg.find(".layui-layer-imgprev").on("click",function(e){e.preventDefault(),l.imgprev()}),l.bigimg.find(".layui-layer-imgnext").on("click",function(e){e.preventDefault(),l.imgnext()}),i(document).on("keyup",l.keyup)},l.loadi=r.load(1,{shade:!("shade"in t)&&.9,scrollbar:!1}),o(d[u].src,function(n){r.close(l.loadi),l.index=r.open(i.extend({type:1,area:function(){var a=[n.width,n.height],o=[i(e).width()-100,i(e).height()-100];if(!t.full&&(a[0]>o[0]||a[1]>o[1])){var r=[a[0]/o[0],a[1]/o[1]];r[0]>r[1]?(a[0]=a[0]/r[0],a[1]=a[1]/r[0]):r[0]<r[1]&&(a[0]=a[0]/r[1],a[1]=a[1]/r[1])}return[a[0]+"px",a[1]+"px"]}(),title:!1,shade:.9,shadeClose:!0,closeBtn:!1,move:".layui-layer-phimg img",moveType:1,scrollbar:!1,moveOut:!0,anim:5*Math.random()|0,skin:"layui-layer-photos"+c("photos"),content:'<div class="layui-layer-phimg"><img src="'+d[u].src+'" alt="'+(d[u].alt||"")+'" layer-pid="'+d[u].pid+'"><div class="layui-layer-imgsee">'+(d.length>1?'<span class="layui-layer-imguide"><a href="javascript:;" class="layui-layer-iconext layui-layer-imgprev"></a><a href="javascript:;" class="layui-layer-iconext layui-layer-imgnext"></a></span>':"")+'<div class="layui-layer-imgbar" style="display:'+(a?"block":"")+'"><span class="layui-layer-imgtit"><a href="javascript:;">'+(d[u].alt||"")+"</a><em>"+l.imgIndex+"/"+d.length+"</em></span></div></div></div>",success:function(e,i){l.bigimg=e.find(".layui-layer-phimg"),l.imgsee=e.find(".layui-layer-imguide,.layui-layer-imgbar"),l.event(e),t.tab&&t.tab(d[u],e)},end:function(){l.end=!0,i(document).off("keyup",l.keyup)}},t))},function(){r.close(l.loadi),r.msg("当前图片地址异常<br>是否继续查看下一张?",{time:3e4,btn:["下一张","不看了"],yes:function(){d.length>1&&l.imgnext(!0,!0)}})})}},o.run=function(t){i=t,n=i(e),s.html=i("html"),r.open=function(e){var t=new l(e);return t.index}},e.layui&&layui.define?(r.ready(),layui.define("jquery",function(t){r.path=layui.cache.dir,o.run(layui.jquery),e.layer=r,t("layer",r)})):"function"==typeof define?define(["jquery"],function(){return o.run(e.jQuery),r}):function(){o.run(e.jQuery),r.ready()}()}(window); |
| 1 | +/** layui-v1.0.7 LGPL License By http://www.layui.com */ | ||
| 2 | + ;layui.define(function(a){"use strict";function t(a){new p(a)}var e=document,r="getElementById",n="getElementsByTagName",s=0,p=function(a){var t=this,e=t.config=a||{};e.item=s++,t.render(!0)};p.on=function(a,t,e){return a.attachEvent?a.attachEvent("on"+t,function(){e.call(a,window.even)}):a.addEventListener(t,e,!1),p},p.prototype.type=function(){var a=this.config;if("object"==typeof a.cont)return void 0===a.cont.length?2:3},p.prototype.view=function(){var a=this,t=a.config,e=[],r={};if(t.pages=0|t.pages,t.curr=0|t.curr||1,t.groups="groups"in t?0|t.groups:5,t.first="first"in t?t.first:"首页",t.last="last"in t?t.last:"末页",t.prev="prev"in t?t.prev:"上一页",t.next="next"in t?t.next:"下一页",t.pages<=1)return"";for(t.groups>t.pages&&(t.groups=t.pages),r.index=Math.ceil((t.curr+(t.groups>1&&t.groups!==t.pages?1:0))/(0===t.groups?1:t.groups)),t.curr>1&&t.prev&&e.push('<a href="javascript:;" class="layui-laypage-prev" data-page="'+(t.curr-1)+'">'+t.prev+"</a>"),r.index>1&&t.first&&0!==t.groups&&e.push('<a href="javascript:;" class="laypage_first" data-page="1" title="首页">'+t.first+"</a><span>…</span>"),r.poor=Math.floor((t.groups-1)/2),r.start=r.index>1?t.curr-r.poor:1,r.end=r.index>1?function(){var a=t.curr+(t.groups-r.poor-1);return a>t.pages?t.pages:a}():t.groups,r.end-r.start<t.groups-1&&(r.start=r.end-t.groups+1);r.start<=r.end;r.start++)r.start===t.curr?e.push('<span class="layui-laypage-curr"><em class="layui-laypage-em" '+(/^#/.test(t.skin)?'style="background-color:'+t.skin+';"':"")+"></em><em>"+r.start+"</em></span>"):e.push('<a href="javascript:;" data-page="'+r.start+'">'+r.start+"</a>");return t.pages>t.groups&&r.end<t.pages&&t.last&&0!==t.groups&&e.push('<span>…</span><a href="javascript:;" class="layui-laypage-last" title="尾页" data-page="'+t.pages+'">'+t.last+"</a>"),r.flow=!t.prev&&0===t.groups,(t.curr!==t.pages&&t.next||r.flow)&&e.push(function(){return r.flow&&t.curr===t.pages?'<span class="layui-laypage-nomore" title="已没有更多">'+t.next+"</span>":'<a href="javascript:;" class="layui-laypage-next" data-page="'+(t.curr+1)+'">'+t.next+"</a>"}()),'<div class="layui-box layui-laypage layui-laypage-'+(t.skin?function(a){return/^#/.test(a)?"molv":a}(t.skin):"default")+'" id="layui-laypage-'+a.config.item+'">'+e.join("")+function(){return t.skip?'<span class="layui-laypage-total">到第 <input type="number" min="1" onkeyup="this.value=this.value.replace(/\\D/, \'\');" value="'+t.curr+'" class="layui-laypage-skip"> 页 <button type="button" class="layui-laypage-btn">确定</button></span>':""}()+"</div>"},p.prototype.jump=function(a){if(a){for(var t=this,e=t.config,r=a.children,s=a[n]("button")[0],i=a[n]("input")[0],u=0,o=r.length;u<o;u++)"a"===r[u].nodeName.toLowerCase()&&p.on(r[u],"click",function(){var a=0|this.getAttribute("data-page");e.curr=a,t.render()});s&&p.on(s,"click",function(){var a=0|i.value.replace(/\s|\D/g,"");a&&a<=e.pages&&(e.curr=a,t.render())})}},p.prototype.render=function(a){var t=this,n=t.config,s=t.type(),p=t.view();2===s?n.cont.innerHTML=p:3===s?n.cont.html(p):e[r](n.cont).innerHTML=p,n.jump&&n.jump(n,a),t.jump(e[r]("layui-laypage-"+n.item)),n.hash&&!a&&(location.hash="!"+n.hash+"="+n.curr)},a("laypage",t)}); |
| 1 | +/** layui-v1.0.7 LGPL License By http://www.layui.com */ | ||
| 2 | + ;layui.define(function(e){"use strict";var r={open:"{{",close:"}}"},n={exp:function(e){return new RegExp(e,"g")},query:function(e,n,t){var o=["#([\\s\\S])+?","([^{#}])*?"][e||0];return c((n||"")+r.open+o+r.close+(t||""))},escape:function(e){return String(e||"").replace(/&(?!#?[a-zA-Z0-9]+;)/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/'/g,"'").replace(/"/g,""")},error:function(e,r){var n="Laytpl Error:";return"object"==typeof console&&console.error(n+e+"\n"+(r||"")),n+e}},c=n.exp,t=function(e){this.tpl=e};t.pt=t.prototype,window.errors=0,t.pt.parse=function(e,t){var o=this,p=e,a=c("^"+r.open+"#",""),l=c(r.close+"$","");e=e.replace(/\s+|\r|\t|\n/g," ").replace(c(r.open+"#"),r.open+"# ").replace(c(r.close+"}"),"} "+r.close).replace(/\\/g,"\\\\").replace(/(?="|')/g,"\\").replace(n.query(),function(e){return e=e.replace(a,"").replace(l,""),'";'+e.replace(/\\/g,"")+';view+="'}).replace(n.query(1),function(e){var n='"+(';return e.replace(/\s/g,"")===r.open+r.close?"":(e=e.replace(c(r.open+"|"+r.close),""),/^=/.test(e)&&(e=e.replace(/^=/,""),n='"+_escape_('),n+e.replace(/\\/g,"")+')+"')}),e='"use strict";var view = "'+e+'";return view;';try{return o.cache=e=new Function("d, _escape_",e),e(t,n.escape)}catch(u){return delete o.cache,n.error(u,p)}},t.pt.render=function(e,r){var c,t=this;return e?(c=t.cache?t.cache(e,n.escape):t.parse(t.tpl,e),r?void r(c):c):n.error("no data")};var o=function(e){return"string"!=typeof e?n.error("Template not found"):new t(e)};o.config=function(e){e=e||{};for(var n in e)r[n]=e[n]},o.v="1.2.0",e("laytpl",o)}); |
| 1 | +/** layui-v1.0.7 LGPL License By http://www.layui.com */ | ||
| 2 | + ;layui.define("jquery",function(e){"use strict";var o=layui.jquery,a=layui.hint(),r="layui-tree-enter",i=function(e){this.options=e},t={arrow:["",""],checkbox:["",""],radio:["",""],branch:["",""],leaf:""};i.prototype.init=function(e){var o=this;e.addClass("layui-box layui-tree"),o.options.skin&&e.addClass("layui-tree-skin-"+o.options.skin),o.tree(e),o.on(e)},i.prototype.tree=function(e,a){var r=this,i=r.options,n=a||i.nodes;layui.each(n,function(a,n){var l=n.children&&n.children.length>0,c=o('<ul class="'+(n.spread?"layui-show":"")+'"></ul>'),s=o(["<li "+(n.spread?'data-spread="'+n.spread+'"':"")+">",function(){return l?'<i class="layui-icon layui-tree-spread">'+(n.spread?t.arrow[1]:t.arrow[0])+"</i>":""}(),function(){return i.check?'<i class="layui-icon layui-tree-check">'+("checkbox"===i.check?t.checkbox[0]:"radio"===i.check?t.radio[0]:"")+"</i>":""}(),function(){return'<a href="'+(n.href||"javascript:;")+'" '+(i.target&&n.href?'target="'+i.target+'"':"")+">"+('<i class="layui-icon layui-tree-'+(l?"branch":"leaf")+'">'+(l?n.spread?t.branch[1]:t.branch[0]:t.leaf)+"</i>")+("<cite>"+(n.name||"未命名")+"</cite></a>")}(),"</li>"].join(""));l&&(s.append(c),r.tree(c,n.children)),e.append(s),"function"==typeof i.click&&r.click(s,n),r.spread(s,n),i.drag&&r.drag(s,n)})},i.prototype.click=function(e,o){var a=this,r=a.options;e.children("a").on("click",function(e){layui.stope(e),r.click(o)})},i.prototype.spread=function(e,o){var a=this,r=(a.options,e.children(".layui-tree-spread")),i=e.children("ul"),n=e.children("a"),l=function(){e.data("spread")?(e.data("spread",null),i.removeClass("layui-show"),r.html(t.arrow[0]),n.find(".layui-icon").html(t.branch[0])):(e.data("spread",!0),i.addClass("layui-show"),r.html(t.arrow[1]),n.find(".layui-icon").html(t.branch[1]))};i[0]&&(r.on("click",l),n.on("dblclick",l))},i.prototype.on=function(e){var a=this,i=a.options,t="layui-tree-drag";e.find("i").on("selectstart",function(e){return!1}),i.drag&&o(document).on("mousemove",function(e){var r=a.move;if(r.from){var i=(r.to,o('<div class="layui-box '+t+'"></div>'));e.preventDefault(),o("."+t)[0]||o("body").append(i);var n=o("."+t)[0]?o("."+t):i;n.addClass("layui-show").html(r.from.elem.children("a").html()),n.css({left:e.pageX+10,top:e.pageY+10})}}).on("mouseup",function(){var e=a.move;e.from&&(e.from.elem.children("a").removeClass(r),e.to&&e.to.elem.children("a").removeClass(r),a.move={},o("."+t).remove())})},i.prototype.move={},i.prototype.drag=function(e,a){var i=this,t=(i.options,e.children("a")),n=function(){var t=o(this),n=i.move;n.from&&(n.to={item:a,elem:e},t.addClass(r))};t.on("mousedown",function(){var o=i.move;o.from={item:a,elem:e}}),t.on("mouseenter",n).on("mousemove",n).on("mouseleave",function(){var e=o(this),a=i.move;a.from&&(delete a.to,e.removeClass(r))})},e("tree",function(e){var r=new i(e=e||{}),t=o(e.elem);return t[0]?void r.init(t):a.error("layui.tree 没有找到"+e.elem+"元素")})}); |
| 1 | +/** layui-v1.0.7 LGPL License By http://www.layui.com */ | ||
| 2 | + ;layui.define("layer",function(e){"use strict";var a=layui.jquery,t=layui.layer,i=(layui.device(),"layui-upload-enter"),n="layui-upload-iframe",r={icon:2,shift:6},o={file:"文件",video:"视频",audio:"音频"},s=function(e){this.options=e};s.prototype.init=function(){var e=this,t=e.options,r=a("body"),s=a(t.elem||".layui-upload-file"),u=a('<iframe id="'+n+'" class="'+n+'" name="'+n+'"></iframe>');return a("#"+n)[0]||r.append(u),s.each(function(r,s){s=a(s);var u='<form target="'+n+'" method="'+(t.method||"post")+'" key="set-mine" enctype="multipart/form-data" action="'+(t.url||"")+'"></form>',l=s.attr("lay-type")||t.type;t.unwrap||(u='<div class="layui-box layui-upload-button">'+u+'<span class="layui-upload-icon"><i class="layui-icon"></i>'+(s.attr("lay-title")||t.title||"上传"+(o[l]||"图片"))+"</span></div>"),u=a(u),t.unwrap||u.on("dragover",function(e){e.preventDefault(),a(this).addClass(i)}).on("dragleave",function(){a(this).removeClass(i)}).on("drop",function(){a(this).removeClass(i)}),s.parent("form").attr("target")===n&&(t.unwrap?s.unwrap():(s.parent().next().remove(),s.unwrap().unwrap())),s.wrap(u),s.off("change").on("change",function(){e.action(this,l)})})},s.prototype.action=function(e,i){var o=this,s=o.options,u=e.value,l=a(e),p=l.attr("lay-ext")||s.ext||"";if(u){switch(i){case"file":if(p&&!RegExp("\\w\\.("+p+")$","i").test(escape(u)))return t.msg("不支持该文件格式",r),e.value="";break;case"video":if(!RegExp("\\w\\.("+(p||"avi|mp4|wma|rmvb|rm|flash|3gp|flv")+")$","i").test(escape(u)))return t.msg("不支持该视频格式",r),e.value="";break;case"audio":if(!RegExp("\\w\\.("+(p||"mp3|wav|mid")+")$","i").test(escape(u)))return t.msg("不支持该音频格式",r),e.value="";break;default:if(!RegExp("\\w\\.("+(p||"jpg|png|gif|bmp|jpeg")+")$","i").test(escape(u)))return t.msg("不支持该图片格式",r),e.value=""}s.before&&s.before(e),l.parent().submit();var c=a("#"+n),f=setInterval(function(){var a;try{a=c.contents().find("body").text()}catch(i){t.msg("上传接口存在跨域",r),clearInterval(f)}if(a){clearInterval(f),c.contents().find("body").html("");try{a=JSON.parse(a)}catch(i){return a={},t.msg("请对上传接口返回JSON字符",r)}"function"==typeof s.success&&s.success(a,e)}},30);e.value=""}},e("upload",function(e){var a=new s(e=e||{});a.init()})}); |
| 1 | +/** layui-v1.0.7 LGPL License By http://www.layui.com */ | ||
| 2 | + ;layui.define("jquery",function(l){"use strict";var o=layui.jquery,i={fixbar:function(l){l=l||{},l.bgcolor=l.bgcolor?"background-color:"+l.bgcolor:"";var i,a,c="layui-fixbar-top",t=[l.bar1===!0?"":l.bar1,l.bar2===!0?"":l.bar2,""],r=o(['<ul class="layui-fixbar">',l.bar1?'<li class="layui-icon" lay-type="bar1" style="'+l.bgcolor+'">'+t[0]+"</li>":"",l.bar2?'<li class="layui-icon" lay-type="bar2" style="'+l.bgcolor+'">'+t[1]+"</li>":"",'<li class="layui-icon '+c+'" lay-type="top" style="'+l.bgcolor+'">'+t[2]+"</li>","</ul>"].join("")),e=r.find("."+c),s=function(){var i=o(document).scrollTop();i>=(l.showHeight||200)?a||(e.show(),a=1):a&&(e.hide(),a=0)};o(".layui-fixbar")[0]||("object"==typeof l.css&&r.css(l.css),o("body").append(r),s(),r.find("li").on("click",function(){var i=o(this),a=i.attr("lay-type");"top"===a&&o("html,body").animate({scrollTop:0},200),l.click&&l.click.call(this,a)}),o(document).on("scroll",function(){i&&clearTimeout(i),i=setTimeout(function(){s()},100)}))}};l("util",i)}); |
| 1 | +/** layui-v1.0.7 LGPL License By http://www.layui.com */ | ||
| 2 | + ;!function(e){"use strict";var t=function(){this.v="1.0.7"};t.fn=t.prototype;var n=document,o=t.fn.cache={},i=function(){var e=n.scripts,t=e[e.length-1].src;return t.substring(0,t.lastIndexOf("/")+1)}(),r=function(t){e.console&&console.error&&console.error("Layui hint: "+t)},u="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),l={layer:"modules/layer",laydate:"modules/laydate",laypage:"modules/laypage",laytpl:"modules/laytpl",layim:"modules/layim",layedit:"modules/layedit",form:"modules/form",upload:"modules/upload",tree:"modules/tree",slide:"modules/slide",table:"modules/table",element:"modules/element",util:"modules/util",flow:"modules/flow",code:"modules/code",single:"modules/single",mobile:"modules/mobile",jquery:"lib/jquery","layui.mod":"dest/layui.mod"};o.modules={},o.status={},o.timeout=10,o.event={},t.fn.define=function(e,t){var n=this,i="function"==typeof e,r=function(){return"function"==typeof t&&t(function(e,t){layui[e]=t,o.status[e]=!0}),this};return i&&(t=e,e=[]),layui["layui.all"]?r.call(n):(n.use(e,r),n)},t.fn.use=function(e,t,a){function s(e,t){var n="PLaySTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/;("load"===e.type||n.test((e.currentTarget||e.srcElement).readyState))&&(o.modules[m]=t,y.removeChild(v),function i(){return++p>1e3*o.timeout/4?r(m+" is not a valid module"):void(o.status[m]?c():setTimeout(i,4))}())}function c(){a.push(layui[m]),e.length>1?f.use(e.slice(1),t,a):"function"==typeof t&&t.apply(layui,a)}var f=this,d=o.dir=o.dir?o.dir:i,y=n.getElementsByTagName("head")[0];e="string"==typeof e?[e]:e,window.jQuery&&jQuery.fn.on&&(f.each(e,function(t,n){"jquery"===n&&e.splice(t,1)}),layui.jquery=jQuery);var m=e[0],p=0;if(a=a||[],o.host=o.host||(d.match(/\/\/([\s\S]+?)\//)||["//"+location.host+"/"])[0],0===e.length||layui["layui.all"]&&l[m])return"function"==typeof t&&t.apply(layui,a),f;var v=n.createElement("script"),h=(l[m]?d+"lay/":o.base||"")+(f.modules[m]||m)+".js";return v.async=!0,v.charset="utf-8",v.src=h+function(){var e=o.version===!0?o.v||(new Date).getTime():o.version||"";return e?"?v="+e:""}(),o.modules[m]?!function g(){return++p>1e3*o.timeout/4?r(m+" is not a valid module"):void("string"==typeof o.modules[m]&&o.status[m]?c():setTimeout(g,4))}():(y.appendChild(v),!v.attachEvent||v.attachEvent.toString&&v.attachEvent.toString().indexOf("[native code")<0||u?v.addEventListener("load",function(e){s(e,h)},!1):v.attachEvent("onreadystatechange",function(e){s(e,h)})),o.modules[m]=h,f},t.fn.getStyle=function(t,n){var o=t.currentStyle?t.currentStyle:e.getComputedStyle(t,null);return o[o.getPropertyValue?"getPropertyValue":"getAttribute"](n)},t.fn.link=function(e,t,i){var u=this,l=n.createElement("link"),a=n.getElementsByTagName("head")[0];"string"==typeof t&&(i=t);var s=(i||e).replace(/\.|\//g,""),c=l.id="layuicss-"+s,f=0;l.rel="stylesheet",l.href=e+(o.debug?"?v="+(new Date).getTime():""),l.media="all",n.getElementById(c)||a.appendChild(l),"function"==typeof t&&!function d(){return++f>1e3*o.timeout/100?r(e+" timeout"):void(1989===parseInt(u.getStyle(n.getElementById(c),"width"))?function(){t()}():setTimeout(d,100))}()},t.fn.addcss=function(e,t,n){layui.link(o.dir+"css/"+e,t,n)},t.fn.img=function(e,t,n){var o=new Image;return o.src=e,o.complete?t(o):(o.onload=function(){o.onload=null,t(o)},void(o.onerror=function(e){o.onerror=null,n(e)}))},t.fn.config=function(e){e=e||{};for(var t in e)o[t]=e[t];return this},t.fn.modules=function(){var e={};for(var t in l)e[t]=l[t];return e}(),t.fn.extend=function(e){var t=this;e=e||{};for(var n in e)t[n]||t.modules[n]?r("模块名 "+n+" 已被占用"):t.modules[n]=e[n];return t},t.fn.router=function(e){for(var t,n=(e||location.hash).replace(/^#/,"").split("/")||[],o={dir:[]},i=0;i<n.length;i++)t=n[i].split("="),/^\w+=/.test(n[i])?function(){"dir"!==t[0]&&(o[t[0]]=t[1])}():o.dir.push(n[i]),t=null;return o},t.fn.data=function(t,n){if(t=t||"layui",e.JSON&&e.JSON.parse){if(null===n)return delete localStorage[t];n="object"==typeof n?n:{key:n};try{var o=JSON.parse(localStorage[t])}catch(i){var o={}}return n.value&&(o[n.key]=n.value),n.remove&&delete o[n.key],localStorage[t]=JSON.stringify(o),n.key?o[n.key]:o}},t.fn.device=function(t){var n=navigator.userAgent.toLowerCase(),o=function(e){var t=new RegExp(e+"/([^\\s\\_\\-]+)");return e=(n.match(t)||[])[1],e||!1},i={os:function(){return/windows/.test(n)?"windows":/linux/.test(n)?"linux":/iphone|ipod|ipad|ios/.test(n)?"ios":void 0}(),ie:function(){return!!(e.ActiveXObject||"ActiveXObject"in e)&&((n.match(/msie\s(\d+)/)||[])[1]||"11")}(),weixin:o("micromessenger")};return t&&!i[t]&&(i[t]=o(t)),i.android=/android/.test(n),i.ios="ios"===i.os,i},t.fn.hint=function(){return{error:r}},t.fn.each=function(e,t){var n,o=this;if("function"!=typeof t)return o;if(e=e||[],e.constructor===Object){for(n in e)if(t.call(e[n],n,e[n]))break}else for(n=0;n<e.length&&!t.call(e[n],n,e[n]);n++);return o},t.fn.stope=function(t){t=t||e.event,t.stopPropagation?t.stopPropagation():t.cancelBubble=!0},t.fn.onevent=function(e,t,n){return"string"!=typeof e||"function"!=typeof n?this:(o.event[e+"."+t]=[n],this)},t.fn.event=function(e,t,n){var i=this,r=null,u=t.match(/\(.*\)$/)||[],l=(t=e+"."+t).replace(u,""),a=function(e,t){var o=t&&t.call(i,n);o===!1&&null===r&&(r=!1)};return layui.each(o.event[l],a),u[0]&&layui.each(o.event[t],a),r},e.layui=new t}(window); |
| 1 | /** layui-v2.4.5 MIT License By https://www.layui.com */ | 1 | /** layui-v2.4.5 MIT License By https://www.layui.com */ |
| 2 | - ;!function(e){"use strict";var t=document,o={modules:{},status:{},timeout:10,event:{}},n=function(){this.v="2.4.5"},r=function(){var e=t.currentScript?t.currentScript.src:function(){for(var e,o=t.scripts,n=o.length-1,r=n;r>0;r--)if("interactive"===o[r].readyState){e=o[r].src;break}return e||o[n].src}();return e.substring(0,e.lastIndexOf("/")+1)}(),i=function(t){e.console&&console.error&&console.error("Layui hint: "+t)},a="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),u={layer:"modules/layer",laydate:"modules/laydate",laypage:"modules/laypage",laytpl:"modules/laytpl",layim:"modules/layim",layedit:"modules/layedit",form:"modules/form",upload:"modules/upload",tree:"modules/tree",table:"modules/table",element:"modules/element",rate:"modules/rate",colorpicker:"modules/colorpicker",slider:"modules/slider",carousel:"modules/carousel",flow:"modules/flow",util:"modules/util",code:"modules/code",jquery:"modules/jquery",mobile:"modules/mobile","layui.all":"../layui.all"};n.prototype.cache=o,n.prototype.define=function(e,t){var n=this,r="function"==typeof e,i=function(){var e=function(e,t){layui[e]=t,o.status[e]=!0};return"function"==typeof t&&t(function(n,r){e(n,r),o.callback[n]=function(){t(e)}}),this};return r&&(t=e,e=[]),layui["layui.all"]||!layui["layui.all"]&&layui["layui.mobile"]?i.call(n):(n.use(e,i),n)},n.prototype.use=function(e,n,l){function s(e,t){var n="PLaySTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/;("load"===e.type||n.test((e.currentTarget||e.srcElement).readyState))&&(o.modules[f]=t,d.removeChild(v),function r(){return++m>1e3*o.timeout/4?i(f+" is not a valid module"):void(o.status[f]?c():setTimeout(r,4))}())}function c(){l.push(layui[f]),e.length>1?y.use(e.slice(1),n,l):"function"==typeof n&&n.apply(layui,l)}var y=this,p=o.dir=o.dir?o.dir:r,d=t.getElementsByTagName("head")[0];e="string"==typeof e?[e]:e,window.jQuery&&jQuery.fn.on&&(y.each(e,function(t,o){"jquery"===o&&e.splice(t,1)}),layui.jquery=layui.$=jQuery);var f=e[0],m=0;if(l=l||[],o.host=o.host||(p.match(/\/\/([\s\S]+?)\//)||["//"+location.host+"/"])[0],0===e.length||layui["layui.all"]&&u[f]||!layui["layui.all"]&&layui["layui.mobile"]&&u[f])return c(),y;if(o.modules[f])!function g(){return++m>1e3*o.timeout/4?i(f+" is not a valid module"):void("string"==typeof o.modules[f]&&o.status[f]?c():setTimeout(g,4))}();else{var v=t.createElement("script"),h=(u[f]?p+"lay/":/^\{\/\}/.test(y.modules[f])?"":o.base||"")+(y.modules[f]||f)+".js";h=h.replace(/^\{\/\}/,""),v.async=!0,v.charset="utf-8",v.src=h+function(){var e=o.version===!0?o.v||(new Date).getTime():o.version||"";return e?"?v="+e:""}(),d.appendChild(v),!v.attachEvent||v.attachEvent.toString&&v.attachEvent.toString().indexOf("[native code")<0||a?v.addEventListener("load",function(e){s(e,h)},!1):v.attachEvent("onreadystatechange",function(e){s(e,h)}),o.modules[f]=h}return y},n.prototype.getStyle=function(t,o){var n=t.currentStyle?t.currentStyle:e.getComputedStyle(t,null);return n[n.getPropertyValue?"getPropertyValue":"getAttribute"](o)},n.prototype.link=function(e,n,r){var a=this,u=t.createElement("link"),l=t.getElementsByTagName("head")[0];"string"==typeof n&&(r=n);var s=(r||e).replace(/\.|\//g,""),c=u.id="layuicss-"+s,y=0;return u.rel="stylesheet",u.href=e+(o.debug?"?v="+(new Date).getTime():""),u.media="all",t.getElementById(c)||l.appendChild(u),"function"!=typeof n?a:(function p(){return++y>1e3*o.timeout/100?i(e+" timeout"):void(1989===parseInt(a.getStyle(t.getElementById(c),"width"))?function(){n()}():setTimeout(p,100))}(),a)},o.callback={},n.prototype.factory=function(e){if(layui[e])return"function"==typeof o.callback[e]?o.callback[e]:null},n.prototype.addcss=function(e,t,n){return layui.link(o.dir+"css/"+e,t,n)},n.prototype.img=function(e,t,o){var n=new Image;return n.src=e,n.complete?t(n):(n.onload=function(){n.onload=null,"function"==typeof t&&t(n)},void(n.onerror=function(e){n.onerror=null,"function"==typeof o&&o(e)}))},n.prototype.config=function(e){e=e||{};for(var t in e)o[t]=e[t];return this},n.prototype.modules=function(){var e={};for(var t in u)e[t]=u[t];return e}(),n.prototype.extend=function(e){var t=this;e=e||{};for(var o in e)t[o]||t.modules[o]?i("模块名 "+o+" 已被占用"):t.modules[o]=e[o];return t},n.prototype.router=function(e){var t=this,e=e||location.hash,o={path:[],search:{},hash:(e.match(/[^#](#.*$)/)||[])[1]||""};return/^#\//.test(e)?(e=e.replace(/^#\//,""),o.href="/"+e,e=e.replace(/([^#])(#.*$)/,"$1").split("/")||[],t.each(e,function(e,t){/^\w+=/.test(t)?function(){t=t.split("="),o.search[t[0]]=t[1]}():o.path.push(t)}),o):o},n.prototype.data=function(t,o,n){if(t=t||"layui",n=n||localStorage,e.JSON&&e.JSON.parse){if(null===o)return delete n[t];o="object"==typeof o?o:{key:o};try{var r=JSON.parse(n[t])}catch(i){var r={}}return"value"in o&&(r[o.key]=o.value),o.remove&&delete r[o.key],n[t]=JSON.stringify(r),o.key?r[o.key]:r}},n.prototype.sessionData=function(e,t){return this.data(e,t,sessionStorage)},n.prototype.device=function(t){var o=navigator.userAgent.toLowerCase(),n=function(e){var t=new RegExp(e+"/([^\\s\\_\\-]+)");return e=(o.match(t)||[])[1],e||!1},r={os:function(){return/windows/.test(o)?"windows":/linux/.test(o)?"linux":/iphone|ipod|ipad|ios/.test(o)?"ios":/mac/.test(o)?"mac":void 0}(),ie:function(){return!!(e.ActiveXObject||"ActiveXObject"in e)&&((o.match(/msie\s(\d+)/)||[])[1]||"11")}(),weixin:n("micromessenger")};return t&&!r[t]&&(r[t]=n(t)),r.android=/android/.test(o),r.ios="ios"===r.os,r},n.prototype.hint=function(){return{error:i}},n.prototype.each=function(e,t){var o,n=this;if("function"!=typeof t)return n;if(e=e||[],e.constructor===Object){for(o in e)if(t.call(e[o],o,e[o]))break}else for(o=0;o<e.length&&!t.call(e[o],o,e[o]);o++);return n},n.prototype.sort=function(e,t,o){var n=JSON.parse(JSON.stringify(e||[]));return t?(n.sort(function(e,o){var n=/^-?\d+$/,r=e[t],i=o[t];return n.test(r)&&(r=parseFloat(r)),n.test(i)&&(i=parseFloat(i)),r&&!i?1:!r&&i?-1:r>i?1:r<i?-1:0}),o&&n.reverse(),n):n},n.prototype.stope=function(t){t=t||e.event;try{t.stopPropagation()}catch(o){t.cancelBubble=!0}},n.prototype.onevent=function(e,t,o){return"string"!=typeof e||"function"!=typeof o?this:n.event(e,t,null,o)},n.prototype.event=n.event=function(e,t,n,r){var i=this,a=null,u=t.match(/\((.*)\)$/)||[],l=(e+"."+t).replace(u[0],""),s=u[1]||"",c=function(e,t){var o=t&&t.call(i,n);o===!1&&null===a&&(a=!1)};return r?(o.event[l]=o.event[l]||{},o.event[l][s]=[r],this):(layui.each(o.event[l],function(e,t){return"{*}"===s?void layui.each(t,c):(""===e&&layui.each(t,c),void(s&&e===s&&layui.each(t,c)))}),a)},e.layui=new n}(window); | ||
| 2 | + ;!function(e){"use strict";var t=document,o={modules:{},status:{},timeout:10,event:{}},n=function(){this.v="2.4.5"},r=function(){var e=t.currentScript?t.currentScript.src:function(){for(var e,o=t.scripts,n=o.length-1,r=n;r>0;r--)if("interactive"===o[r].readyState){e=o[r].src;break}return e||o[n].src}();return e.substring(0,e.lastIndexOf("/")+1)}(),i=function(t){e.console&&console.error&&console.error("Layui hint: "+t)},a="undefined"!=typeof opera&&"[object Opera]"===opera.toString(),u={layer:"modules/layer",laydate:"modules/laydate",laypage:"modules/laypage",laytpl:"modules/laytpl",layim:"modules/layim",layedit:"modules/layedit",form:"modules/form",upload:"modules/upload",tree:"modules/tree",table:"modules/table",element:"modules/element",rate:"modules/rate",colorpicker:"modules/colorpicker",slider:"modules/slider",carousel:"modules/carousel",flow:"modules/flow",util:"modules/util",code:"modules/code",jquery:"modules/jquery",mobile:"modules/mobile","layui.all":"../layui.all"};n.prototype.cache=o,n.prototype.define=function(e,t){var n=this,r="function"==typeof e,i=function(){var e=function(e,t){layui[e]=t,o.status[e]=!0};return"function"==typeof t&&t(function(n,r){e(n,r),o.callback[n]=function(){t(e)}}),this};return r&&(t=e,e=[]),layui["layui.all"]||!layui["layui.all"]&&layui["layui.mobile"]?i.call(n):(n.use(e,i),n)},n.prototype.use=function(e,n,l){function s(e,t){var n="PLaySTATION 3"===navigator.platform?/^complete$/:/^(complete|loaded)$/;("load"===e.type||n.test((e.currentTarget||e.srcElement).readyState))&&(o.modules[f]=t,d.removeChild(v),function r(){return++m>1e3*o.timeout/4?i(f+" is not a valid module"):void(o.status[f]?c():setTimeout(r,4))}())}function c(){l.push(layui[f]),e.length>1?y.use(e.slice(1),n,l):"function"==typeof n&&n.apply(layui,l)}var y=this,p=o.dir=o.dir?o.dir:r,d=t.getElementsByTagName("head")[0];e="string"==typeof e?[e]:e,window.jQuery&&jQuery.fn.on&&(y.each(e,function(t,o){"jquery"===o&&e.splice(t,1)}),layui.jquery=layui.$=jQuery);var f=e[0],m=0;if(l=l||[],o.host=o.host||(p.match(/\/\/([\s\S]+?)\//)||["//"+location.host+"/"])[0],0===e.length||layui["layui.all"]&&u[f]||!layui["layui.all"]&&layui["layui.mobile"]&&u[f])return c(),y;if(o.modules[f])!function g(){return++m>1e3*o.timeout/4?i(f+" is not a valid module"):void("string"==typeof o.modules[f]&&o.status[f]?c():setTimeout(g,4))}();else{var v=t.createElement("script"),h=(u[f]?p+"lay/":/^\{\/\}/.test(y.modules[f])?"":o.base||"")+(y.modules[f]||f)+".js";h=h.replace(/^\{\/\}/,""),v.async=!0,v.charset="utf-8",v.src=h+function(){var e=o.version===!0?o.v||(new Date).getTime():o.version||"";return e?"?v="+e:""}(),d.appendChild(v),!v.attachEvent||v.attachEvent.toString&&v.attachEvent.toString().indexOf("[native code")<0||a?v.addEventListener("load",function(e){s(e,h)},!1):v.attachEvent("onreadystatechange",function(e){s(e,h)}),o.modules[f]=h}return y},n.prototype.getStyle=function(t,o){var n=t.currentStyle?t.currentStyle:e.getComputedStyle(t,null);return n[n.getPropertyValue?"getPropertyValue":"getAttribute"](o)},n.prototype.link=function(e,n,r){var a=this,u=t.createElement("link"),l=t.getElementsByTagName("head")[0];"string"==typeof n&&(r=n);var s=(r||e).replace(/\.|\//g,""),c=u.id="layuicss-"+s,y=0;return u.rel="stylesheet",u.href=e+(o.debug?"?v="+(new Date).getTime():""),u.media="all",t.getElementById(c)||l.appendChild(u),"function"!=typeof n?a:(function p(){return++y>1e3*o.timeout/100?i(e+" timeout"):void(1989===parseInt(a.getStyle(t.getElementById(c),"width"))?function(){n()}():setTimeout(p,100))}(),a)},o.callback={},n.prototype.factory=function(e){if(layui[e])return"function"==typeof o.callback[e]?o.callback[e]:null},n.prototype.addcss=function(e,t,n){return layui.link((o.dir ? o.dir : r) + "css/" + e, t, n)},n.prototype.img=function(e,t,o){var n=new Image;return n.src=e,n.complete?t(n):(n.onload=function(){n.onload=null,"function"==typeof t&&t(n)},void(n.onerror=function(e){n.onerror=null,"function"==typeof o&&o(e)}))},n.prototype.config=function(e){e=e||{};for(var t in e)o[t]=e[t];return this},n.prototype.modules=function(){var e={};for(var t in u)e[t]=u[t];return e}(),n.prototype.extend=function(e){var t=this;e=e||{};for(var o in e)t[o]||t.modules[o]?i("模块名 "+o+" 已被占用"):t.modules[o]=e[o];return t},n.prototype.router=function(e){var t=this,e=e||location.hash,o={path:[],search:{},hash:(e.match(/[^#](#.*$)/)||[])[1]||""};return/^#\//.test(e)?(e=e.replace(/^#\//,""),o.href="/"+e,e=e.replace(/([^#])(#.*$)/,"$1").split("/")||[],t.each(e,function(e,t){/^\w+=/.test(t)?function(){t=t.split("="),o.search[t[0]]=t[1]}():o.path.push(t)}),o):o},n.prototype.data=function(t,o,n){if(t=t||"layui",n=n||localStorage,e.JSON&&e.JSON.parse){if(null===o)return delete n[t];o="object"==typeof o?o:{key:o};try{var r=JSON.parse(n[t])}catch(i){var r={}}return"value"in o&&(r[o.key]=o.value),o.remove&&delete r[o.key],n[t]=JSON.stringify(r),o.key?r[o.key]:r}},n.prototype.sessionData=function(e,t){return this.data(e,t,sessionStorage)},n.prototype.device=function(t){var o=navigator.userAgent.toLowerCase(),n=function(e){var t=new RegExp(e+"/([^\\s\\_\\-]+)");return e=(o.match(t)||[])[1],e||!1},r={os:function(){return/windows/.test(o)?"windows":/linux/.test(o)?"linux":/iphone|ipod|ipad|ios/.test(o)?"ios":/mac/.test(o)?"mac":void 0}(),ie:function(){return!!(e.ActiveXObject||"ActiveXObject"in e)&&((o.match(/msie\s(\d+)/)||[])[1]||"11")}(),weixin:n("micromessenger")};return t&&!r[t]&&(r[t]=n(t)),r.android=/android/.test(o),r.ios="ios"===r.os,r},n.prototype.hint=function(){return{error:i}},n.prototype.each=function(e,t){var o,n=this;if("function"!=typeof t)return n;if(e=e||[],e.constructor===Object){for(o in e)if(t.call(e[o],o,e[o]))break}else for(o=0;o<e.length&&!t.call(e[o],o,e[o]);o++);return n},n.prototype.sort=function(e,t,o){var n=JSON.parse(JSON.stringify(e||[]));return t?(n.sort(function(e,o){var n=/^-?\d+$/,r=e[t],i=o[t];return n.test(r)&&(r=parseFloat(r)),n.test(i)&&(i=parseFloat(i)),r&&!i?1:!r&&i?-1:r>i?1:r<i?-1:0}),o&&n.reverse(),n):n},n.prototype.stope=function(t){t=t||e.event;try{t.stopPropagation()}catch(o){t.cancelBubble=!0}},n.prototype.onevent=function(e,t,o){return"string"!=typeof e||"function"!=typeof o?this:n.event(e,t,null,o)},n.prototype.event=n.event=function(e,t,n,r){var i=this,a=null,u=t.match(/\((.*)\)$/)||[],l=(e+"."+t).replace(u[0],""),s=u[1]||"",c=function(e,t){var o=t&&t.call(i,n);o===!1&&null===a&&(a=!1)};return r?(o.event[l]=o.event[l]||{},o.event[l][s]=[r],this):(layui.each(o.event[l],function(e,t){return"{*}"===s?void layui.each(t,c):(""===e&&layui.each(t,c),void(s&&e===s&&layui.each(t,c)))}),a)},e.layui=new n}(window); |
| 1 | +;layui.define(["laytpl","laypage","layer","form"],function(e){"use strict";var t=layui.$,i=layui.laytpl,a=layui.laypage,l=layui.layer,n=layui.form,o=layui.hint(),r=layui.device(),d={config:{checkName:"LAY_CHECKED",indexName:"LAY_TABLE_INDEX"},cache:{},index:layui.table?layui.table.index+1e4:0,set:function(e){var i=this;return i.config=t.extend({},i.config,e),i},on:function(e,t){return layui.onevent.call(this,s,e,t)}},c=function(){var e=this,t=e.config,i=t.id;return i&&(c.config[i]=t),{reload:function(t){e.reload.call(e,t)},config:t}},s="table",u=".layui-table",f="layui-hide",h="layui-none",y="layui-table-view",p=".layui-table-header",m=".layui-table-body",v=".layui-table-main",g=".layui-table-fixed",x=".layui-table-fixed-l",b=".layui-table-fixed-r",k=".layui-table-tool",C=".layui-table-sort",w="layui-table-edit",N="layui-table-hover",z=function(e){return e=e||{},['<table cellspacing="0" cellpadding="0" border="0" class="layui-table" ','{{# if(d.data.skin){ }}lay-skin="{{d.data.skin}}"{{# } }} {{# if(d.data.size){ }}lay-size="{{d.data.size}}"{{# } }} {{# if(d.data.even){ }}lay-even{{# } }}>',"<thead>","{{# layui.each(d.data.cols, function(i1, item1){ }}","<tr>","{{# layui.each(item1, function(i2, item2){ }}",'{{# if(item2.fixed && item2.fixed !== "right"){ left = true; } }}','{{# if(item2.fixed === "right"){ right = true; } }}',function(){return e.fixed&&"right"!==e.fixed?'{{# if(item2.fixed && item2.fixed !== "right"){ }}':"right"===e.fixed?'{{# if(item2.fixed === "right"){ }}':""}(),"{{# if(item2.checkbox){ }}",'<th data-field="{{ item2.field||i2 }}" data-type="checkbox" {{#if(item2.colspan){}} colspan="{{item2.colspan}}"{{#} if(item2.rowspan){}} rowspan="{{item2.rowspan}}"{{#}}} unresize="true"><div class="layui-table-cell laytable-cell-checkbox"><input type="checkbox" name="layTableCheckbox" lay-skin="primary" lay-filter="layTableAllChoose" {{# if(item2[d.data.checkName]){ }}checked{{# }; }}></div></th>',"{{# } else if(item2.space){ }}",'<th data-field="{{ item2.field||i2 }}" {{#if(item2.colspan){}} colspan="{{item2.colspan}}"{{#} if(item2.rowspan){}} rowspan="{{item2.rowspan}}"{{#}}} unresize="true"><div class="layui-table-cell laytable-cell-space"></div></th>',"{{# } else { }}",'<th style="{{ item2.styles||"" }}" data-field="{{ item2.field||i2 }}" {{#if(item2.colspan){}} colspan="{{item2.colspan}}"{{#} if(item2.rowspan){}} rowspan="{{item2.rowspan}}"{{#}}} {{# if(item2.unresize){ }}unresize="true"{{# } }}>',"{{# if(item2.colspan > 1){ }}",'<div class="layui-table-cell laytable-cell-group" {{#if(item2.align){}}align="{{item2.align}}"{{#}}}>','<span>{{item2.title||""}}</span>',"</div>","{{# } else { }}",'<div class="layui-table-cell laytable-cell-{{d.index}}-{{item2.field||i2}}" {{#if(item2.align){}}align="{{item2.align}}"{{#}}}>','<span>{{item2.title||""}}</span>',"{{# if(item2.sort){ }}",'<span class="layui-table-sort layui-inline"><i class="layui-edge layui-table-sort-asc"></i><i class="layui-edge layui-table-sort-desc"></i></span>',"{{# } }}","</div>","{{# } }}","</th>","{{# }; }}",e.fixed?"{{# }; }}":"","{{# }); }}","</tr>","{{# }); }}","</thead>","</table>"].join("")},F=['<table cellspacing="0" cellpadding="0" border="0" class="layui-table" ','{{# if(d.data.skin){ }}lay-skin="{{d.data.skin}}"{{# } }} {{# if(d.data.size){ }}lay-size="{{d.data.size}}"{{# } }} {{# if(d.data.even){ }}lay-even{{# } }}>',"<tbody></tbody>","</table>"].join(""),T=['<div class="layui-form layui-border-box {{d.VIEW_CLASS}}" lay-filter="LAY-table-{{d.index}}" style="{{# if(d.data.width){ }}width:{{d.data.width}}px;{{# } }} {{# if(d.data.height){ }}height:{{d.data.height}}px;{{# } }}">',"{{# var left, right; }}",'<div class="layui-table-header">',z(),"</div>",'<div class="layui-table-body layui-table-main">',F,"</div>","{{# if(left){ }}",'<div class="layui-table-fixed layui-table-fixed-l">','<div class="layui-table-header">',z({fixed:!0}),"</div>",'<div class="layui-table-body">',F,"</div>","</div>","{{# }; }}","{{# if(right){ }}",'<div class="layui-table-fixed layui-table-fixed-r">','<div class="layui-table-header">',z({fixed:"right"}),'<div class="layui-table-mend"></div>',"</div>",'<div class="layui-table-body">',F,"</div>","</div>","{{# }; }}","{{# if(d.data.page){ }}",'<div class="layui-table-tool">','<div class="layui-inline layui-table-page" id="layui-table-page{{d.index}}"></div>',"</div>","{{# } }}","<style>","{{# layui.each(d.data.cols, function(i1, item1){","layui.each(item1, function(i2, item2){ }}",".laytable-cell-{{d.index}}-{{item2.field||i2}}{ width:{{# if(item2.width==='auto'){}else{item2.width = item2.width||'50px'}}}{{item2.width}}","{{# });","}); }}","</style>","</div>"].join(""),L=t(window),S=t(document),H=function(e){var i=this;i.index=++d.index,i.config=t.extend({},i.config,d.config,e),i.render()};H.prototype.config={limit:30,loading:!0},H.prototype.render=function(e){var a,l=this;if(e&&(l.config=e),a=l.config,a.elem=t(a.elem),a.where=a.where||{},a.request=t.extend({pageName:"page",limitName:"limit"},a.request),a.response=t.extend({statusName:"code",statusCode:0,msgName:"msg",dataName:"data",countName:"count"},a.response),!a.elem[0])return l;var n=a.elem,o=n.next("."+y);a.height&&/^full-\d+$/.test(a.height)&&(l.fullHeightGap=a.height.split("-")[1],a.height=L.height()-l.fullHeightGap);var r=l.elem=t(i(T).render({VIEW_CLASS:y,data:a,index:l.index}));if(a.index=l.index,o[0]&&o.remove(),n.after(r),l.layHeader=r.find(p),l.layMain=r.find(v),l.layBody=r.find(m),l.layFixed=r.find(g),l.layFixLeft=r.find(x),l.layFixRight=r.find(b),l.layTool=r.find(k),a.height&&l.fullSize(),a.cols.length>1){var d=l.layFixed.find(p).find("th");d.height(l.layHeader.height()-1-parseFloat(d.css("padding-top"))-parseFloat(d.css("padding-bottom")))}l.pullData(1),l.events()},H.prototype.reload=function(e){var i=this;i.config=t.extend({},i.config,e),i.render()},H.prototype.pullData=function(e,i){var a=this,n=a.config,o=n.request,r=n.response,d=function(){"object"==typeof n.initSort&&a.sort(n.initSort.field,n.initSort.type)};if(n.url){var c={};c[o.pageName]=e,c[o.limitName]=n.limit,t.ajax({type:n.method||"get",url:n.url,data:t.extend(c,n.where),dataType:"json",success:function(t){return t[r.statusName]!=r.statusCode?(a.renderForm(),a.layMain.html('<div class="'+h+'">'+(t[r.msgName]||"返回的数据状态异常")+"</div>")):(a.renderData(t,e,t[r.countName]),d(),i&&l.close(i),void("function"==typeof n.done&&n.done(t,e,t[r.countName])))},error:function(e,t){a.layMain.html('<div class="'+h+'">数据接口请求异常</div>'),a.renderForm(),i&&l.close(i)}})}else if(n.data&&n.data.constructor===Array){var s={},u=e*n.limit-n.limit;s[r.dataName]=n.data.concat().splice(u,n.limit),s[r.countName]=n.data.length,a.renderData(s,e,n.data.length),d(),"function"==typeof n.done&&n.done(s,e,s[r.countName])}},H.prototype.page=1,H.prototype.eachCols=function(e){var i=t.extend(!0,[],this.config.cols),a=[],l=0;layui.each(i,function(e,t){layui.each(t,function(t,n){if(n.colspan>1){var o=0;l++,n.CHILD_COLS=[],layui.each(i[e+1],function(e,t){t.PARENT_COL||o==n.colspan||(t.PARENT_COL=l,n.CHILD_COLS.push(t),o+=t.colspan>1?t.colspan:1)})}n.PARENT_COL||a.push(n)})});var n=function(t){layui.each(t||a,function(t,i){return i.CHILD_COLS?n(i.CHILD_COLS):void e(t,i)})};n()},H.prototype.renderData=function(e,n,o,r){var c=this,s=c.config,u=e[s.response.dataName]||[],f=[],y=[],p=[],m=function(){return!r&&c.sortKey?c.sort(c.sortKey.field,c.sortKey.sort,!0):(layui.each(u,function(e,a){var l=[],n=[],o=[];0!==a.length&&(r||(a[d.config.indexName]=e),c.eachCols(function(e,r){var c=a[r.field||e];if(void 0!==c&&null!==c||(c=""),!(r.colspan>1)){var u=['<td style="'+(r.styles||'')+'" data-field="'+(r.field||e)+'"'+function(){var e=[];return r.edit&&e.push(' data-edit="true"'),r.align&&e.push(' align="'+r.align+'"'),r.templet&&e.push(' data-content="'+c+'"'),r.toolbar&&e.push(' data-off="true"'),r.event&&e.push(' lay-event="'+r.event+'"'),r.style&&e.push(' style="'+r.style+'"'),e.join("")}()+">",'<div class="layui-table-cell laytable-cell-'+function(){return r.checkbox?"checkbox":r.space?"space":s.index+"-"+(r.field||e)}()+'">'+function(){return r.checkbox?'<input type="checkbox" name="layTableCheckbox" lay-skin="primary" '+function(){var e=d.config.checkName;return r[e]?(a[e]=r[e],r[e]?"checked":""):a[e]?"checked":""}()+">":r.toolbar?i(t(r.toolbar).html()||"").render(a):r.templet?i(t(r.templet).html()||String(c)).render(a):c}(),"</div></td>"].join("");l.push(u),r.fixed&&"right"!==r.fixed&&n.push(u),"right"===r.fixed&&o.push(u)}}),f.push('<tr data-index="'+e+'">'+l.join("")+"</tr>"),y.push('<tr data-index="'+e+'">'+n.join("")+"</tr>"),p.push('<tr data-index="'+e+'">'+o.join("")+"</tr>"))}),c.layBody.scrollTop(0),c.layMain.find("."+h).remove(),c.layMain.find("tbody").html(f.join("")),c.layFixLeft.find("tbody").html(y.join("")),c.layFixRight.find("tbody").html(p.join("")),c.renderForm(),c.syncCheckAll(),c.haveInit?c.scrollPatch():setTimeout(function(){c.scrollPatch()},50),c.haveInit=!0,void l.close(c.tipsIndex))};return c.key=s.id||s.index,d.cache[c.key]=u,r?m():0===u.length?(c.renderForm(),c.layFixed.remove(),c.layMain.find("tbody").html(""),c.layMain.find("."+h).remove(),c.layMain.append('<div class="'+h+'">无数据</div>')):(m(),void(s.page&&(c.page=n,c.count=o,a.render({elem:"layui-table-page"+s.index,count:o,groups:3,limits:s.limits||[10,20,30,40,50,60,70,80,90],limit:s.limit,curr:n,layout:["prev","page","next","skip","count","limit"],prev:'<i class="layui-icon"></i>',next:'<i class="layui-icon"></i>',jump:function(e,t){t||(c.page=e.curr,s.limit=e.limit,c.pullData(e.curr,c.loading()))}}),c.layTool.find(".layui-table-count span").html(o))))},H.prototype.renderForm=function(e){n.render(e||"checkbox","LAY-table-"+this.index)},H.prototype.sort=function(e,i,a,n){var r,c,u=this,f={},h=u.config,y=h.elem.attr("lay-filter"),p=d.cache[u.key];"string"==typeof e&&u.layHeader.find("th").each(function(i,a){var l=t(this),n=l.data("field");if(n===e)return e=l,r=n,!1});try{var r=r||e.data("field");if(u.sortKey&&!a&&r===u.sortKey.field&&i===u.sortKey.sort)return;var m=u.layHeader.find("th .laytable-cell-"+h.index+"-"+r).find(C);u.layHeader.find("th").find(C).removeAttr("lay-sort"),m.attr("lay-sort",i||null),u.layFixed.find("th")}catch(v){return o.error("Table modules: Did not match to field")}u.sortKey={field:r,sort:i},"asc"===i?c=layui.sort(p,r):"desc"===i?c=layui.sort(p,r,!0):(c=layui.sort(p,d.config.indexName),delete u.sortKey),f[h.response.dataName]=c,u.renderData(f,u.page,u.count,!0),l.close(u.tipsIndex),n&&layui.event.call(e,s,"sort("+y+")",{field:r,type:i})},H.prototype.loading=function(){var e=this,t=e.config;if(t.loading&&t.url)return l.msg("数据请求中",{icon:16,offset:[e.elem.offset().top+e.elem.height()/2-35-L.scrollTop()+"px",e.elem.offset().left+e.elem.width()/2-90-L.scrollLeft()+"px"],anim:-1,fixed:!1})},H.prototype.setCheckData=function(e,t){var i=this,a=i.config,l=d.cache[i.key];l[e]&&(l[e][a.checkName]=t)},H.prototype.syncCheckAll=function(){var e=this,t=e.config,i=e.layHeader.find('input[name="layTableCheckbox"]'),a=function(i){return e.eachCols(function(e,a){a.checkbox&&(a[t.checkName]=i)}),i};i[0]&&(d.checkStatus(e.key).isAll?(i[0].checked||(i.prop("checked",!0),e.renderForm()),a(!0)):(i[0].checked&&(i.prop("checked",!1),e.renderForm()),a(!1)))},H.prototype.getCssRule=function(e,t){var i=this,a=i.elem.find("style")[0],l=a.sheet||a.styleSheet,n=l.cssRules||l.rules;layui.each(n,function(a,l){if(l.selectorText===".laytable-cell-"+i.index+"-"+e)return t(l),!0})},H.prototype.fullSize=function(){var e,t=this,i=t.config,a=i.height;t.fullHeightGap&&(a=L.height()-t.fullHeightGap,a<135&&(a=135),t.elem.css("height",a)),e=parseFloat(a)-parseFloat(t.layHeader.height())-1,i.page&&(e-=parseFloat(t.layTool.outerHeight()+1)),t.layMain.css("height",e)},H.prototype.scrollPatch=function(){var e=this,i=e.layMain.children("table"),a=e.layMain.width()-e.layMain.prop("clientWidth"),l=e.layMain.height()-e.layMain.prop("clientHeight");if(a&&l){if(!e.elem.find(".layui-table-patch")[0]){var n=t('<th class="layui-table-patch"><div class="layui-table-cell"></div></th>');n.find("div").css({width:a}),e.layHeader.eq(0).find("thead tr").append(n)}}else e.layHeader.eq(0).find(".layui-table-patch").remove();var o=e.layMain.height(),r=o-l;e.layFixed.find(m).css("height",i.height()>r?r:"auto"),e.layFixRight[i.width()>e.layMain.width()?"removeClass":"addClass"](f),e.layFixRight.css("right",a-1)},H.prototype.events=function(){var e,a=this,n=a.config,o=t("body"),c={},u=a.layHeader.find("th"),f=".layui-table-cell",h=n.elem.attr("lay-filter");u.on("mousemove",function(e){var i=t(this),a=i.offset().left,l=e.clientX-a;i.attr("colspan")>1||i.attr("unresize")||c.resizeStart||(c.allowResize=i.width()-l<=10,o.css("cursor",c.allowResize?"col-resize":""))}).on("mouseleave",function(){t(this);c.resizeStart||o.css("cursor","")}).on("mousedown",function(e){if(c.allowResize){var i=t(this).data("field");e.preventDefault(),c.resizeStart=!0,c.offset=[e.clientX,e.clientY],a.getCssRule(i,function(e){c.rule=e,c.ruleWidth=parseFloat(e.style.width)})}}),S.on("mousemove",function(t){if(c.resizeStart){if(t.preventDefault(),c.rule){var i=c.ruleWidth+t.clientX-c.offset[0];c.rule.style.width=i+"px",l.close(a.tipsIndex)}e=1}}).on("mouseup",function(t){c.resizeStart&&(c={},o.css("cursor",""),a.scrollPatch()),2===e&&(e=null)}),u.on("click",function(){var i,l=t(this),n=l.find(C),o=n.attr("lay-sort");return n[0]&&1!==e?(i="asc"===o?"desc":"desc"===o?null:"asc",void a.sort(l,i,null,!0)):e=2}).find(C+" .layui-edge ").on("click",function(e){var i=t(this),l=i.index(),n=i.parents("th").eq(0).data("field");layui.stope(e),0===l?a.sort(n,"asc",null,!0):a.sort(n,"desc",null,!0)}),a.elem.on("click",'input[name="layTableCheckbox"]+',function(){var e=t(this).prev(),i=a.layBody.find('input[name="layTableCheckbox"]'),l=e.parents("tr").eq(0).data("index"),n=e[0].checked,o="layTableAllChoose"===e.attr("lay-filter");o?(i.each(function(e,t){t.checked=n,a.setCheckData(e,n)}),a.syncCheckAll(),a.renderForm()):(a.setCheckData(l,n),a.syncCheckAll()),layui.event.call(this,s,"checkbox("+h+")",{checked:n,data:d.cache[a.key][l],type:o?"all":"one"})}),a.layBody.on("mouseenter","tr",function(){var e=t(this),i=e.index();a.layBody.find("tr:eq("+i+")").addClass(N)}).on("mouseleave","tr",function(){var e=t(this),i=e.index();a.layBody.find("tr:eq("+i+")").removeClass(N)}),a.layBody.on("change","."+w,function(){var e=t(this),i=this.value,l=e.parent().data("field"),n=e.parents("tr").eq(0).data("index"),o=d.cache[a.key][n];o[l]=i,layui.event.call(this,s,"edit("+h+")",{value:i,data:o,field:l})}).on("blur","."+w,function(){var e,l=t(this),n=l.parent().data("field"),o=l.parents("tr").eq(0).data("index"),r=d.cache[a.key][o];a.eachCols(function(t,i){i.field==n&&i.templet&&(e=i.templet)}),l.siblings(f).html(e?i(t(e).html()||this.value).render(r):this.value),l.parent().data("content",this.value),l.remove()}),a.layBody.on("click","td",function(){var e=t(this),i=(e.data("field"),e.children(f));if(!e.data("off")){if(e.data("edit")){var o=t('<input class="'+w+'">');return o[0].value=e.data("content")||i.text(),e.find("."+w)[0]||e.append(o),o.focus()}i.prop("scrollWidth")>i.outerWidth()&&(a.tipsIndex=l.tips(['<div class="layui-table-tips-main" style="margin-top: -'+(i.height()+16)+"px;"+function(){return"sm"===n.size?"padding: 4px 15px; font-size: 12px;":"lg"===n.size?"padding: 14px 15px;":""}()+'">',i.html(),"</div>",'<i class="layui-icon layui-table-tips-c">ဆ</i>'].join(""),i[0],{tips:[3,""],time:-1,anim:-1,maxWidth:r.ios||r.android?300:600,isOutAnim:!1,skin:"layui-table-tips",success:function(e,t){e.find(".layui-table-tips-c").on("click",function(){l.close(t)})}}))}}),a.layBody.on("click","*[lay-event]",function(){var e=t(this),l=e.parents("tr").eq(0).data("index"),n=a.layBody.find('tr[data-index="'+l+'"]'),o="layui-table-click",r=d.cache[a.key][l];layui.event.call(this,s,"tool("+h+")",{data:d.clearCacheKey(r),event:e.attr("lay-event"),tr:n,del:function(){d.cache[a.key][l]=[],n.remove(),a.scrollPatch()},update:function(e){e=e||{},layui.each(e,function(e,l){if(e in r){var o,d=n.children('td[data-field="'+e+'"]');r[e]=l,a.eachCols(function(t,i){i.field==e&&i.templet&&(o=i.templet)}),d.children(f).html(o?i(t(o).html()||l).render(r):l),d.data("content",l)}})}}),n.addClass(o).siblings("tr").removeClass(o)}),a.layMain.on("scroll",function(){var e=t(this),i=e.scrollLeft(),n=e.scrollTop();a.layHeader.scrollLeft(i),a.layFixed.find(m).scrollTop(n),l.close(a.tipsIndex)}),L.on("resize",function(){a.fullSize(),a.scrollPatch()})},d.init=function(e,i){i=i||{};var a=this,l=t(e?'table[lay-filter="'+e+'"]':u+"[lay-data]"),n="Table element property lay-data configuration item has a syntax error: ";return l.each(function(){var a=t(this),l=a.attr("lay-data");try{l=new Function("return "+l)()}catch(r){o.error(n+l)}var c=[],s=t.extend({elem:this,cols:[],data:[],skin:a.attr("lay-skin"),size:a.attr("lay-size"),even:"string"==typeof a.attr("lay-even")},d.config,i,l);e&&a.hide(),a.find("thead>tr").each(function(e){s.cols[e]=[],t(this).children().each(function(i){var a=t(this),l=a.attr("lay-data");try{l=new Function("return "+l)()}catch(r){return o.error(n+l)}var d=t.extend({title:a.text(),colspan:a.attr("colspan")||0,rowspan:a.attr("rowspan")||0},l);d.colspan<2&&c.push(d),s.cols[e].push(d)})}),a.find("tbody>tr").each(function(e){var i=t(this),a={};i.children("td").each(function(e,i){var l=t(this),n=l.data("field");if(n)return a[n]=l.html()}),layui.each(c,function(e,t){var l=i.children("td").eq(e);a[t.field]=l.html()}),s.data[e]=a}),d.render(s)}),a},d.checkStatus=function(e){var t=0,i=[],a=d.cache[e];return a?(layui.each(a,function(e,a){a[d.config.checkName]&&(t++,i.push(d.clearCacheKey(a)))}),{data:i,isAll:t===a.length}):{}},c.config={},d.reload=function(e,i){var a=c.config[e];return a?d.render(t.extend({},a,i)):o.error("The ID option was not found in the table instance")},d.render=function(e){var t=new H(e);return c.call(t)},d.clearCacheKey=function(e){return e=t.extend({},e),delete e[d.config.checkName],delete e[d.config.indexName],e},d.init(),e(s,d)}); |
-
请 注册 或 登录 后发表评论