Weibo8cors/WebRoot/web/pages/Wehall/wehall.jsp
(开头部分) 25KB这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。
<!DOCTYPE html>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<html>
<head id="Head1">
<meta name="viewport" content="width=320; user-scalable=no"/>
<meta http-equiv="Content-type" content="text/html; charset=utf-8">
<link href="<%=path %>/web/public/css/jquery.mobile.min.css" rel="stylesheet" type="text/css"/>
<script src="<%=path %>/web/public/js/jquery.min.js" type="text/javascript"></script>
<script src="<%=path %>/web/public/js/jquery.mobile.min.js" type="text/javascript"></script>
<script type="text/javascript">
var focusId = "";
var bill = [];
var goods = null;
var total = 0;
var totalprice = 0;
var __APP__ = "<%=path%>";
function findGoodById() {
for (var i = 0; i < goods.length; i++) {
if (goods[i].id == focusId) {
return goods[i];
}
}
}
function findById(id) {
for (var i = 0; i < goods.length; i++) {
if (goods[i].id == id) {
return goods[i];
}
}
}
function openCount(id) {
focusId = id;
var obj = findGoodById();
$("#countimg").attr("src", "<%=path%>/upload/" + obj.img);
}
function sureCount() {
var spanId = focusId + "_span";
var count = $("#count").val();
$("#" + spanId + "").text(count);
var good = findGoodById();
totalprice = totalprice+count*good.price;
$("#total").text(totalprice);
$("#btotal").text(totalprice);
}
$(function () {
foodList();
typeList();
shopList();
fulshDateSelect();
});
后面还有 762 行代码,购买后查看完整代码
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。