85 |
86 |
87 |
88 |
89 |
90 |
--------------------------------------------------------------------------------
/src/main/webapp/BSindex4.jsp:
--------------------------------------------------------------------------------
1 | <%@ page import="com.fruitDayDB.vo.User" %>
2 | <%@ page import="java.util.List" %>
3 | <%@ page import="java.util.ArrayList" %>
4 | <%@ page import="com.fruitDayDB.vo.Fruit" %>
5 | <%--
6 | Created by IntelliJ IDEA.
7 | User: xi
8 | Date: 2015/10/18
9 | Time: 9:15
10 | To change this template use File | Settings | File Templates.
11 | --%>
12 | <%@ page contentType="text/html;charset=UTF-8" language="java" %>
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | <%
23 | String show="x0";
24 | if(request.getAttribute("sky")!=null)
25 | show=(String)request.getAttribute("sky");
26 | %>
27 |
28 |
29 |
30 |
31 |

32 |
33 |
34 |
35 |
用户管理
36 |
40 |
商品管理
41 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 | - 水果
56 | -
57 | - 规格
58 | -
59 | - 单价
60 | -
61 | - 操作
62 |
63 |
64 | <%
65 | List
fruits=new ArrayList();
66 | if(request.getAttribute("allfruit")!=null) {
67 |
68 | fruits = (List) request.getAttribute("allfruit");
69 |
70 | for(Fruit fruit:fruits) {
71 | out.print(" \n" +
72 | "
\n" +
81 | "
");
82 | }
83 | }
84 | %>
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/src/main/webapp/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 | Archetype Created Web Application
7 |
8 | fruitServlet
9 | com.fruitDayDB.servlet.FruitServlet
10 |
11 |
12 | shopServlet
13 | com.fruitDayDB.servlet.ShopServlet
14 |
15 |
16 | userServlet
17 | com.fruitDayDB.servlet.UserServlet
18 |
19 |
20 | selServlet
21 | com.fruitDayDB.servlet.selServlet
22 |
23 |
24 | bsServlet
25 | com.fruitDayDB.servlet.BSServlet
26 |
27 |
28 | fruitServlet
29 | /FruitServlet
30 |
31 |
32 | shopServlet
33 | /ShopServlet
34 |
35 |
36 | userServlet
37 | /UserServlet
38 |
39 |
40 | selServlet
41 | /SELServlet
42 |
43 |
44 | bsServlet
45 | /BSServlet
46 |
47 |
48 |
--------------------------------------------------------------------------------
/src/main/webapp/css/BSindex.css:
--------------------------------------------------------------------------------
1 | .mean{
2 | width: 15%;
3 | height: 100%;
4 | position: fixed;
5 | left: 0px;z-index: -1;
6 | border-right: 2px solid #DDD;
7 | }
8 |
9 | .logo{
10 | width: 100%;
11 | height: 150px;
12 | padding-top: 50px;
13 | text-align:center;
14 | }
15 | .logo img{
16 | width: 100px;
17 | height: 100px;}
18 |
19 | .mean_ul{
20 | width: 100%;
21 | min-height:100px;
22 | display: block;
23 | }
24 | .mean_li{
25 | width: 100%;
26 | height: 50px;
27 | line-height: 50px;
28 | text-align: center;
29 | letter-spacing:10px;
30 | font-size: 20px;
31 | color: #FFFFFF;
32 | background-color: #669900;
33 | border-right: 2px solid #669933;
34 | border-bottom: 2px solid #FFFFFF;
35 | }
36 | .mm{
37 | width: 100%;
38 | height: 36px;
39 | color: #669933;
40 | line-height: 36px;
41 | text-align: center;
42 |
43 | }
44 |
45 | .g a,.mm a{color: #669933;}
46 |
47 | .gong{
48 | width: 85%;
49 | min-height:100%;
50 | position: fixed;
51 | right: 0px;
52 | }
53 |
54 | .con{
55 | width: 80%;
56 | height: 670px;
57 | margin: 0 auto;
58 |
59 | }
60 |
61 | /*全部用户*/
62 | .tit{
63 | width: 100%;
64 | height: 50px;
65 | padding-top: 50px;
66 | border-bottom: 1px dashed #669933;
67 | }
68 |
69 | .info{
70 | width: 100%;
71 | height: 50px;
72 | border-bottom: 1px dashed #669933;
73 | }
74 | .info ul li,.tit ul li{
75 | float:left;
76 | width: 230px;
77 | height: 50px;
78 | line-height: 50px;
79 | text-align: center;
80 | }
81 |
82 | .info ul li.i,.tit ul li.i{
83 | width: 2px;
84 | height: 30px;
85 | margin-top:10px;
86 | background-color: #669933;
87 | }
88 |
89 | /*添加用户*//*用户信息*/
90 | .form{
91 | margin-top: 100px;
92 | width: 100%;
93 | height: 500px;
94 | position: relative;
95 | }
96 |
97 | .add{
98 | width: 800px;
99 | height: 80px;
100 | line-height: 80px;
101 | color: #669933;
102 | }
103 |
104 | .add_tit{
105 | width: 200px;
106 | height: 80px;
107 | line-height: 80px;
108 | text-align: right;
109 | display: inline-block;
110 | }
111 | .add_text input{
112 | width: 200px;
113 | height: 30px;
114 | line-height: 30px;
115 | padding-left: 10px;
116 | font-size: 20px;
117 | border-bottom: 1px dashed #669933;
118 | }
119 |
120 | .add_sublmit{
121 | width: 100px;
122 | height: 100px;
123 | line-height: 100px;
124 | text-align: center;
125 | border: 1px dashed #669933;
126 | border-radius: 50px;
127 | position: absolute;
128 | right: 200px;
129 | top: 90px;
130 | }
131 |
132 | .add_sublmit input{
133 | width: 90px;
134 | height: 90px;
135 | border: 1px dashed #669933;
136 | border-radius: 45px;
137 | font-size: 18px;
138 | color: #669933;
139 | font-weight: bold;
140 | cursor: pointer;
141 | }
142 |
143 | /*水果*/
144 | #t1,#t2{
145 | width: 560px;
146 | }
147 |
148 |
149 | /*欢迎页面*/
150 | .hello{
151 | width: 100%;
152 | height: 200px;
153 | line-height: 200px;
154 | margin-top: 200px;
155 | text-align: center;
156 | color: #669933;
157 | }
158 |
159 | input.long{
160 | width: 500px;
161 | }
162 |
--------------------------------------------------------------------------------
/src/main/webapp/css/imgs.css:
--------------------------------------------------------------------------------
1 | .fruit_info{width: 1100px;height: 480px;margin: 0 auto;padding-top: 20px;}
2 |
3 | /*图片盒子*/
4 | .img_box{width: 370px;height: 480px;text-align: left;float:left;margin-right: 20px;}
5 | .non{display: none;}
6 | .show{display:block ;}
7 | .show img{width: 370px;height: 370px;}
8 |
9 | /*图片跳转*/
10 | .img_to{margin-top: 10px;}
11 | .img_to ul li{width: 85px;height:85px;float:left;margin-right: 10px;}
12 | .img_to ul li img{width: 85px;height:85px;cursor: pointer;}
13 |
14 | /*文字框*/
15 | .fruit_text{width: 456px;height: 480px;float:left;padding-right: 20px;}
16 | .fruit_text hr{border: none;border-top: 1px dashed #DDD;}
17 | .fname{font-size: 30px;}
18 | .spec,.up,.fid{display: inline-block;}
19 | .up{margin-left: 20px;font-size: 20px;}
20 | .fid{margin-left: 20px;}
21 | #fform{margin-top: 20px;}
22 | /*数量*/
23 | .Unum{text-align: center;width: 80px;height: 20px;border: 1px solid #C0C0C0;}
24 |
25 | #numl,#numr{display:inline-block;width: 25px;cursor: pointer;}
26 | #numl{float: left;border-right: 1px solid #C0C0C0;}
27 | #numr{float:right;border-left: 1px solid #C0C0C0;}
28 |
29 | /*加入购物车*/
30 | .Uadd #cart{background-color: #669933;color: white;width:180px;height: 40px;font-size: 16px;cursor: pointer;font-family: 'Microsoft Yahei';}
31 | .Uadd{margin:20px 0 15px 0;width:180px;height: 40px;float:left;}
32 | .Unum,.Uaddress{display: inline-block;}
33 | .Unum{margin-left: 56px;}
34 | #sel{border: 1px solid #C0C0C0;}
35 |
36 | .fform{width: 100%;height: 136px;}
37 | .fform1{width: 100%;height: 30px;margin-bottom:20px;float:left;}
38 | /*关注*/
39 | .starbutton{margin:20px 0 15px 20px;width:120px;height: 26px;float:left;}
40 | .starbutton #star{border:1px solid #669933;color: #669933;width:180px;height: 40px;font-size: 16px;cursor: pointer;font-family: 'Microsoft Yahei';}
41 |
42 | /*信息与提示*/
43 | .finfo,.fpro{margin-top: 20px;}
44 | .finfo p,.fpro p{text-indent:2em;margin-top: 10px;}
45 |
46 | /*热卖产品*/
47 | .fruit_hot{width: 212px;height: 478px;border: 1px solid #DDDDDD;float: left;padding: 0 10px 0 10px;}
48 | .ht_l{float: left;}
49 | .ht_r{float: right;}
50 | .hf_title{width: 100%;height: 20px;margin-top: 11px;}
51 | .hot_fruit{width: 200px;height: 100px;margin-top: 10px;border-bottom: 1px dashed #DDD;}
52 | .hf_img,.hf_img img{width: 85px;height:85px;}
53 | .hf_img{margin-right: 20px;}
54 | .hf_text{width: 100px;height: 85px;}
55 | .hf_img,.hf_text{float: left;}
56 | .hf_mon{margin-top: 5px;font-size: 12px;color: red;}
57 | .hf_name{font-size: 12px;}
58 |
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/src/main/webapp/css/index.css:
--------------------------------------------------------------------------------
1 | /*网页宽度1100px*/
2 | .con{width: 1100px;margin: 0 auto;}
3 | /*浮动*/
4 | .left{float: left;}
5 | .right{float: right;}
6 | /*文字*/
7 | body{color: #666666;font-size: 14px;font-family: arial,"Hiragino Sans GB",sans-serif;}
8 |
9 | /*imgs*/
10 | .imgs .con{height:400px;position: relative;}
11 | .non{display: none;}
12 | .show{display:block ;}
13 | ul.imgul {width: 200px;height: 40px;text-align: center;position: absolute;right: 0px;bottom: 0px;}
14 | ul.imgul li {float: left;width: 20px;height: 20px;line-height: 20px;background-color: #444444;color: #FFFFFF;border-radius: 10px;margin: 10px 10px;cursor: pointer;}
15 | #l0{background-color: #669933;}
16 |
17 | /*fruit*/
18 | .fruitboxs{margin:50px auto;height: 640px;}
19 | .fhead{width: 100%;height: 30px;margin-bottom: 10px;}
20 | .fhr{width: 100%; height: 2px;background-color: #669933;margin-bottom: 5px;}
21 | .fser{width: 4em;height:23px;line-height: 23px;float: left;font-size: 18px;color: #669933;}
22 | .fmore{width: 6em;height:23px;line-height: 23px;float: right;}
23 |
24 | .fruit_box{width: 200px;height: 300px;padding: 0 10px;float:left}
25 | .fruit_img{width: 200px;height:200px;}
26 | .fruit_img img{width: 200px;height: 200px;}
27 | .fruit_name{width: 100%;height:30px;color: #666666;font-size: 20px;line-height: 30px;}
28 | .fruit_num{width: 100%;height: 30px;line-height:30px;font-size:15px;}
29 | .fruit_mon{width: 100%;height:35px;line-height:35px;font-size:20px;color: #669933;}
30 |
31 |
32 |
--------------------------------------------------------------------------------
/src/main/webapp/css/main.css:
--------------------------------------------------------------------------------
1 | body,ul,ol,dl,dd,h1,h2,h3,h4,h5,h6,p,input,select,textarea,form{margin: 0; padding: 0;}
2 | body{font:14px/1.5 "宋体";}
3 | img{border:none;}
4 | ul,ol{list-style:none;}
5 | input,select,textarea{outline:none;border:none;background:none;}
6 | textarea{resize:none;}
7 | a{text-decoration:none;color: #666666;}
8 | /*清浮动*/
9 | .clearfix:after{content:"";*display:block;*clear:both;}
10 | .clearfix{zoom:1;}
11 |
12 | /*选择*/
13 | ::selection {background-color:#669900; color:#ffffff; text-shadow:none;}
14 | ::-moz-selection {background-color:#669900; color:#ffffff;text-shadow:none;}
15 |
16 | /*去掉a的下划线*/
17 | a {blr:expression(this.onFocus=this.blur())} /*if IE*/
18 | a {outline:none;}/*if 火狐等现代浏览器浏览器*/
19 |
20 | div.noss{background-color: #669933;}
21 |
22 | /*文字*/
23 | body{color: #666666;font-size: 14px;font-family: arial,"Hiragino Sans GB",sans-serif;}
--------------------------------------------------------------------------------
/src/main/webapp/css/rl.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*网页居中*/
4 | .con{width: 990px;margin: 0 auto;}
5 |
6 | .box{width: 990px;height: 480px;margin-top: 20px;}
7 | .head{width: 970px;height: 29px;background-color: #669933;padding: 11px 0 0 20px;}
8 | .text{width: 600px;height: 360px;padding:30px 50px 50px 50px;background-color: #FBF8F1;float: left;}
9 | .jmp{width: 290px;height: 440px;background-color: #DCE6CD;float: left;}
10 |
11 | .h01{font-size: 20px;}
12 | .h02{font-size:14px;color: red;}
13 | .xhr{width: 100%;height: 2px;background-color: #669933;margin-top: 10px;}
14 |
15 | .text_box{margin-top: 20px;}
16 | .main{height: 30px;width: 100%;line-height: 30px;padding: 15px 0px;}
17 | .name{text-align: right;width: 100px;padding-right: 10px;float:left;}
18 | .main input{background-color: #FFF;float:left;width: 200px;height: 100%;border: 1px solid #CCC;padding-left: 8px;}
19 | .xbutton input{float:left;cursor:pointer;background-color: #669933;color: #FFFFFF;width: 105px;height: 33px;font-size: 16px;margin-left: 110px;margin-top: 15px;}
20 |
21 | .fpwd{float:left;margin-top: 15px;margin-left:15px;height: 33px;line-height:33px;width: 100px;}
22 | .fpwd a{color: #669933;}
23 |
24 | .jmpp{color: #669933;font-size: 16px;margin-top: 100px;text-align: center;font-weight: bold;}
25 | .jmpp p{margin-bottom: 10px;}
26 | .jmpa{margin:60px auto 0 auto;width: 112px;}
27 | .jmpa_l{margin:70px auto 0 auto;width: 112px;}
28 | .jmpa a,.jmpa_l a{display: block;width: 110px;height: 30px;line-height:30px;color: #669933;text-align: center;border: 1px solid #669933;border-radius: 6px;cursor:pointer;}
29 |
30 | /*foot_box*/
31 | .foot_box{text-align: center;margin-top: 30px;}
32 | .foot_box p{margin-top: 5px;}
33 | .foot_box p.b{font-size: 18px;}
34 |
--------------------------------------------------------------------------------
/src/main/webapp/css/sel.css:
--------------------------------------------------------------------------------
1 | .fruit_info{width: 1100px;margin: 0 auto;padding-top: 20px;min-height: 660px;}
2 |
3 |
4 |
5 | /*热卖产品*/
6 | .fruit_hot{width: 120px;min-height: 170px;border: 1px solid #DDDDDD;padding: 0 10px 0 10px;float:left;}
7 | .ht_l{float: left;}
8 | .ht_r{float: right;}
9 | .hf_title{width: 100%;height: 20px;margin-top: 11px;}
10 | .hot_fruit{width: 120px;height: 170px;margin-top: 10px;border-bottom: 1px dashed #DDD;}
11 | .hf_img,.hf_img img{width: 120px;height:120px;}
12 | .hf_img{float:left;}
13 | .hf_text{width: 100%;height: 25px;float:left;line-height: 25px;}
14 | .hf_img,.hf_text{float: left;}
15 | .hf_mon{font-size: 20px;color: #669933;}
16 | .hf_name{font-size: 14px;}
17 |
18 |
19 | /*网页宽度1100px*/
20 | .con{width: 1100px;margin: 0 auto;}
21 |
22 | /*搜索*/
23 | .sel{width: 938px;min-height: 200px;float: right;padding: 0px 10px;}
24 | .selfruits{width: 896px;height: 120px;border: 1px solid #DDDDDD;padding: 20px 20px 0px 20px;margin-bottom: 20px;}
25 | .selfruits_li{border-bottom: 1px solid #DDDDDD;width: 100%;height:39px;line-height: 39px;}
26 | .selkey{display: inline-block;padding: 0px 5px;}
27 | .sgreen{ background-color: #669933;color: #fff;line-height: 20px;}
28 | #sort{border: none;}
29 |
30 |
31 | /*搜索列表*/
32 | /*fruit*/
33 | .fruitboxs{width: 938px;min-height: 200px;border-top:2px solid #669933;padding-top: 20px; }
34 |
35 | .fruit_box{width: 220px;height: 320px;float:left;border: 1px solid #FFF;position: relative;margin-right: 12px;}
36 | .fruit_box:hover{border: 1px solid #669933;width: 220px;height: 320px;}
37 | .fruit_img{width: 220px;height:220px;}
38 | .fruit_img img{width: 220px;height: 220px;}
39 | .fruit_name{width: 100%;height:30px;color: #666666;font-size: 20px;line-height: 30px;margin-left: 10px;}
40 | .fruit_spec{width: 100%;height: 30px;line-height:30px;font-size:15px;margin-left: 10px;}
41 | .fruit_up{width: 100%;height:35px;line-height:35px;font-size:20px;color: #669933;margin-left: 10px;}
42 | .flogo{position: absolute;right: 0px;bottom: 0px;}
43 |
--------------------------------------------------------------------------------
/src/main/webapp/css/showcart.css:
--------------------------------------------------------------------------------
1 | /*网页宽度1100px*/
2 | .con{width: 990px;margin: 0 auto;}
3 |
4 | .head{width: 970px;height: 29px;background-color: #669933;padding: 11px 0 0 20px;margin-top: 20px;}
5 |
6 | .shop_box{border: 1px solid #DDD;border-top: none;}
7 | .head_text_box{width: 958px;height: 76px;line-height: 76px;padding-left: 30px;}
8 | #head_text{font-size: 20px;}
9 |
10 | .shop_title{width:988px;height:50px;line-height:50px;background-color: #EEE;}
11 | .shop_title div,.shop div{float: left;text-align: center;}
12 |
13 | #st1,.s1{width: 300px;}
14 | #st2,.s2{width: 100px;}
15 | #st3,.s3{width: 100px;}
16 | #st4,.s4{width: 150px;}
17 | #st5,.s5{width: 150px;}
18 | #st6,.s6{width: 188px;}
19 |
20 | .shop{width:988px;height:120px;margin-top: 20px;line-height: 120px;border-bottom: 1px solid #EEE;}
21 | .s1 img{width: 85px;height: 85px;}
22 | .s1 .s1_img{float: left;margin-top: 20px;margin-left: 30px;width: 85px;height: 85px;margin-right: 15px;}
23 | .s1 .s1_tetx{float:left}
24 |
25 | .shop_footer{width: 988px;height: 50px;background-color: #EEE;}
26 | /*数量*/
27 | .Unum{text-align: center;width: 80px;height: 20px;line-height:20px;border: 1px solid #C0C0C0;margin-left: 34px;margin-top: 48px;}
28 | .numl,.numr{display:inline-block;width: 25px;height:20px;cursor: pointer;}
29 | .numl{float: left;border-right: 1px solid #C0C0C0;}
30 | .numr{float:right;border-left: 1px solid #C0C0C0;}
31 |
32 | .sum_mon{height: 150px;text-align: right;float: right;width: 100%;}
33 | .money{width:100%;height: 45px;line-height: 45px;margin-top: 20px;float: right;margin-bottom: 10px;}
34 | .money span{font-size: 25px;color: red;}
35 | #addmon{background-color: #669933;color: white;width: 150px;height: 36px;float:right;}
36 |
37 | /*foot_box*/
38 | .foot_box{text-align: center;margin-top: 30px;}
39 | .foot_box p{margin-top: 5px;}
40 | .foot_box p.b{font-size: 18px;}
41 |
--------------------------------------------------------------------------------
/src/main/webapp/footer/css/footer.css:
--------------------------------------------------------------------------------
1 | /*footer*/
2 | .footer{width: 100%;height:82px;;background-color: #669933;margin-top: 100px;}
3 | .foot_ul{width: 1100px;margin: 0 auto;}
4 | .foot_ul li{float:left;margin-top: 15px;padding-right: 48px;}
5 |
6 | /*foot_box*/
7 | .foot_box{text-align: center;margin-top: 30px;}
8 | .foot_box p{margin-top: 5px;}
9 | .foot_box p.b{font-size: 18px;}
10 |
--------------------------------------------------------------------------------
/src/main/webapp/footer/footer.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Created by IntelliJ IDEA.
3 | User: xi
4 | Date: 2015/10/3
5 | Time: 20:17
6 | To change this template use File | Settings | File Templates.
7 | --%>
8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %>
9 |
10 |
11 |
12 |
13 |
14 |
15 |
24 |
25 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/src/main/webapp/footer/imgs/foot_img/foot_a1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/footer/imgs/foot_img/foot_a1.jpg
--------------------------------------------------------------------------------
/src/main/webapp/footer/imgs/foot_img/foot_a2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/footer/imgs/foot_img/foot_a2.jpg
--------------------------------------------------------------------------------
/src/main/webapp/footer/imgs/foot_img/foot_a3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/footer/imgs/foot_img/foot_a3.jpg
--------------------------------------------------------------------------------
/src/main/webapp/footer/imgs/foot_img/foot_a4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/footer/imgs/foot_img/foot_a4.jpg
--------------------------------------------------------------------------------
/src/main/webapp/footer/imgs/foot_img/foot_a5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/footer/imgs/foot_img/foot_a5.jpg
--------------------------------------------------------------------------------
/src/main/webapp/head/css/head.css:
--------------------------------------------------------------------------------
1 | /*网页宽度1100px*/
2 | .con{width: 1100px;margin: 0 auto;}
3 | /*浮动*/
4 | .head_left{float: left;width: 200px;height: 30px;}
5 | .head_right{float: right;width: 300px;height: 30px;}
6 | .noLink{text-align: right;}
7 | /*文字*/
8 | body{color: #666666;font-size: 14px;font-family: arial,"Hiragino Sans GB",sans-serif;}
9 | /*网页头部*/
10 | .top{height: 30px;line-height: 30px;border-bottom: 1px solid #DEDEDE;}
11 | /*logo*/
12 | .head{height: 100px;}
13 | .logo{width: 340px;float: left;margin-top: 15px;}
14 | /*搜索框*/
15 | .ser{width: 451px;float: left;margin-top: 30px;}
16 | #ser_border{float:left; width:340px; height:40px; line-height:40px;padding-left:11px; background:none; text-align:left; font-size:14px;border: 2px solid #669933;}
17 | #ser_button{floa:right;background-color: #669933;border:0; width:96px; height:40px;line-height:40px;cursor:pointer;color:white;font-size: 20px;}
18 | /*关注*/
19 | .username{width: 200px;height: 30px;float:left;text-align: center;}
20 | .star{width: 80px;height: 30px;float: left;line-height: 30px;padding-left: 8px;}
21 | .star_img{margin-top:6px;width: 18px;height:18px;background: url(../imgs/ISstar.svg);background-size: 18px 18px;float:left;}
22 | .toStar{width: 60px;height: 30px;float:right;text-align: right;}
23 | /*购物车*/
24 | .shopcart{width: 130px;height: 16px;border: 1px solid #DFDFDF;float:right;margin-top: 30px;padding: 11px 0px 11px 20px;}
25 | .cart_img{width: 18px;height: 16px;background-image: url(../imgs/cart_img.svg);background-size: 18px 16px;float:left;}
26 | .cart{height: 16px;line-height:16px;float:left;margin-left: 5px;position:relative;}
27 | .cart_to{width:18px;height:16px;font: 400 16px/16px simsun;margin-left: 15px;float:left;}
28 | .cart_num{width: 18px;height: 18px;line-height:18px;background: #669933;position: absolute;right: -18px;top: -18px;border-radius:10px 10px 8px 0px;color: white;text-align: center;}
29 |
30 | /*head_menu*/
31 | .head_menu{width:100%;height: 45px;background: #F4ECDC;}
32 | .hmenu_ul li{float: left;}
33 | .hmenu_ul li a{display: block;width: 150px;height: 45px;line-height: 45px;color: #669933;font-size: 18px;font-weight: bold;text-align:center;}
34 | .hmenu_ul li a:hover{background-color: #EFE5CD;}
35 |
--------------------------------------------------------------------------------
/src/main/webapp/head/css/main.css:
--------------------------------------------------------------------------------
1 | body,ul,ol,dl,dd,h1,h2,h3,h4,h5,h6,p,input,select,textarea,form{margin: 0; padding: 0;}
2 | body{font:14px/1.5 "宋体";}
3 | img{border:none;}
4 | ul,ol{list-style:none;}
5 | input,select,textarea{outline:none;border:none;background:none;}
6 | textarea{resize:none;}
7 | a{text-decoration:none;color: #666666;}
8 | /*清浮动*/
9 | .clearfix:after{content:"";*display:block;*clear:both;}
10 | .clearfix{zoom:1;}
11 |
12 | /*选择*/
13 | ::selection {background-color:#669900; color:#ffffff; text-shadow:none;}
14 | ::-moz-selection {background-color:#669900; color:#ffffff;text-shadow:none;}
15 |
16 | /*去掉a的下划线*/
17 | a {blr:expression(this.onFocus=this.blur())} /*if IE*/
18 | a {outline:none;}/*if 火狐等现代浏览器浏览器*/
19 |
20 | div.noss{background-color: #669933;}
21 |
--------------------------------------------------------------------------------
/src/main/webapp/head/head.jsp:
--------------------------------------------------------------------------------
1 | <%@ page import="com.fruitDayDB.vo.User" %>
2 | <%--
3 | Created by IntelliJ IDEA.
4 | User: xi
5 | Date: 2015/10/3
6 | Time: 19:39
7 | To change this template use File | Settings | File Templates.
8 | --%>
9 | <%@ page contentType="text/html;charset=UTF-8" language="java" %>
10 |
11 |
12 |
13 |
14 |
15 | <%
16 | User user=new User(0,"","","","");
17 | int num=0;
18 | if(session.getAttribute("user")!=null)
19 | user=(User)session.getAttribute("user");
20 | if(request.getAttribute("num")!=null)
21 | num=(Integer)request.getAttribute("num");
22 | %>
23 |
24 |
25 |
26 |
27 |
28 |
29 |
您好,欢迎来到天天果园!
30 |
31 | <%
32 | if(user.getId()==0)
33 | out.print("
");
37 | else {
38 | out.print("
\n" +
39 | "
\n" +
40 | "
\n" +
41 | "
\n" +
42 | "
\n" +
43 | "
\n" +
45 | "
\n" +
46 | "
");
47 | }
48 | %>
49 |
50 |
51 |
52 |
53 | <%--网站图标、搜索框、购物车--%>
54 |
55 |
56 |
57 |
62 |
63 |
64 |
68 |
69 |
70 |
78 |
79 |
80 |
81 |
82 | <%--网站菜单--%>
83 |
93 |
94 |
95 |
96 |
--------------------------------------------------------------------------------
/src/main/webapp/head/imgs/ISstar.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
--------------------------------------------------------------------------------
/src/main/webapp/head/imgs/UNstar.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
--------------------------------------------------------------------------------
/src/main/webapp/head/imgs/cart_img.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
--------------------------------------------------------------------------------
/src/main/webapp/head/imgs/fdaylogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/head/imgs/fdaylogo.png
--------------------------------------------------------------------------------
/src/main/webapp/img/alogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/alogo.png
--------------------------------------------------------------------------------
/src/main/webapp/img/flogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/flogo.png
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/1/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/1/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/1/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/1/(2).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/1/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/1/(3).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/10/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/10/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/10/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/10/(2).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/10/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/10/(3).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/11/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/11/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/11/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/11/(2).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/11/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/11/(3).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/12/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/12/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/12/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/12/(2).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/12/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/12/(3).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/13/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/13/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/13/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/13/(2).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/13/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/13/(3).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/13/(4).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/13/(4).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/14/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/14/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/14/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/14/(2).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/14/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/14/(3).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/15/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/15/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/16/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/16/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/16/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/16/(2).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/16/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/16/(3).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/17/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/17/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/18/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/18/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/18/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/18/(2).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/18/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/18/(3).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/19/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/19/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/19/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/19/(2).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/19/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/19/(3).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/19/(4).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/19/(4).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/2/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/2/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/20/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/20/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/20/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/20/(2).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/20/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/20/(3).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/3/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/3/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/3/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/3/(2).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/3/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/3/(3).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/4/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/4/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/4/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/4/(2).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/4/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/4/(3).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/4/(4).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/4/(4).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/5/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/5/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/5/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/5/(2).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/5/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/5/(3).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/6/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/6/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/6/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/6/(2).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/6/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/6/(3).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/6/(4).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/6/(4).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/7/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/7/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/7/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/7/(2).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/7/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/7/(3).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/8/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/8/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/8/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/8/(2).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/8/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/8/(3).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/9/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/9/(1).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/9/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/9/(2).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/9/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/9/(3).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/9/(4).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/9/(4).jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/f1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/f1.jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/i1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/i1.jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/i2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/i2.jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/fruits/i3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/fruits/i3.jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/index/h0.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/index/h0.jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/index/h1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/index/h1.jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/index/h2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/index/h2.jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/index/h3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/index/h3.jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/index/h4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/index/h4.jpg
--------------------------------------------------------------------------------
/src/main/webapp/img/logo_login.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/src/main/webapp/img/logo_login.png
--------------------------------------------------------------------------------
/src/main/webapp/js/BSindex.js:
--------------------------------------------------------------------------------
1 | var unum=0;
2 | var fnum=0;
3 | function sss(t)
4 | {
5 | if(t=="u")
6 | {
7 | unum++;
8 | var u=document.getElementById("user_list");
9 | if(unum%2==1)
10 | u.style.display="none";
11 | else
12 | u.style.display="block";
13 | }
14 | else
15 | {
16 | fnum++;
17 | var f=document.getElementById("fruit_list");
18 | if(fnum%2==1)
19 | f.style.display="none";
20 | else
21 | f.style.display="block";
22 | }
23 |
24 | }
25 |
26 | function ox(s)
27 | {
28 | for(var i=0;i<7;i++)
29 | {
30 | var t="x"+i;
31 |
32 | if(s==t)
33 | {
34 | document.getElementById(t).style.display="block";
35 | }
36 | else
37 | {
38 | document.getElementById(t).style.display="none";
39 | }
40 | }
41 | }
42 |
43 |
--------------------------------------------------------------------------------
/src/main/webapp/js/reg.js:
--------------------------------------------------------------------------------
1 | function isEmail(){
2 | var email=document.getElementById("email").value;
3 | var error=document.getElementById("isEmail");
4 | var reg=/^[A-Za-z]+\w+(-|\.|)+\w*\@\w+((\.|-)\w+)*\.\w+/;
5 | if(email=="")
6 | error.innerText="邮箱不能为空!";
7 | else
8 | {
9 | if(reg.test(email))
10 | {
11 | document.getElementById("email").style.border="1px solid #669933";
12 | error.innerText="";
13 | return true;
14 | }
15 | else
16 | error.innerText="邮箱格式不正确!";
17 | }
18 | document.getElementById("email").style.border="1px solid red";
19 | return false;
20 | }
21 |
22 | function isPhone(){
23 | var phone=document.getElementById("phone").value;
24 | var error=document.getElementById("isPhone");
25 | var reg=/0?(13|14|15|18)[0-9]{9}$/;
26 | if(phone=="")
27 | error.innerText="手机不能为空!";
28 | else
29 | {
30 | if(reg.test(phone))
31 | {
32 | document.getElementById("phone").style.border="1px solid #669933";
33 | error.innerText="";
34 | return true;
35 | }
36 | else
37 | error.innerText="手机格式不正确!";
38 | }
39 | document.getElementById("phone").style.border="1px solid red";
40 | return false;
41 | }
42 |
43 | function isPwd1(){
44 | var pwd1=document.getElementById("pwd1").value;
45 | var error=document.getElementById("isPwd1");
46 | var reg=/^[A-Za-z0-9_-]+$/;
47 | if(pwd1=="")
48 | error.innerText="密码不能为空!";
49 | else
50 | {
51 | if(reg.test(pwd1))
52 | {
53 | document.getElementById("pwd1").style.border="1px solid #669933";
54 | error.innerText="";
55 | return true;
56 | }
57 | else
58 | error.innerText="密码格式不正确!";
59 | }
60 | document.getElementById("pwd1").style.border="1px solid red";
61 | return false;
62 | }
63 |
64 | function isPwd2(){
65 | var pwd2=document.getElementById("pwd2").value;
66 | var pwd1=document.getElementById("pwd1").value;
67 | var error=document.getElementById("isPwd2");
68 | if(pwd2=="")
69 | error.innerText="不能为空!";
70 | else
71 | {
72 | if(pwd2==pwd1)
73 | {
74 | document.getElementById("pwd2").style.border="1px solid #669933";
75 | error.innerText="";
76 | return true;
77 | }
78 | else
79 | error.innerText="密码不一致!";
80 | }
81 | document.getElementById("pwd2").style.border="1px solid red";
82 | return false;
83 | }
84 |
85 | function isReg()
86 | {
87 | if(isEmail()&&isPhone()&&isPwd1()&&isPwd2())
88 | document.getElementById("regForm").submit();
89 | else
90 | alert("请完成注册单!");
91 | }
92 |
93 |
94 |
95 |
96 |
97 |
--------------------------------------------------------------------------------
/src/main/webapp/js/sel.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by xi on 2015/10/16.
3 | */
4 |
--------------------------------------------------------------------------------
/src/main/webapp/login.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Created by IntelliJ IDEA.
3 | User: xi
4 | Date: 2015/10/3
5 | Time: 20:48
6 | To change this template use File | Settings | File Templates.
7 | --%>
8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %>
9 |
10 |
11 |
12 |
用户登陆 - 天天果园-水果网购首选品牌,水果,我们只挑有来头的!
13 |
14 |
15 |
16 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
54 |
55 |
56 |
57 |
还没有天天果园账号?
58 |
注册赠时令鲜果1份
59 |
60 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
--------------------------------------------------------------------------------
/src/main/webapp/reg.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Created by IntelliJ IDEA.
3 | User: xi
4 | Date: 2015/10/3
5 | Time: 21:01
6 | To change this template use File | Settings | File Templates.
7 | --%>
8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %>
9 |
10 |
11 |
12 |
用户登陆 - 天天果园-水果网购首选品牌,水果,我们只挑有来头的!
13 |
14 |
15 |
16 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
注册会员
34 |
赠时令鲜果1份
35 |
36 |
37 |
60 |
61 |
62 |
63 |
64 | 已经是天天果园会员?
65 |
66 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
--------------------------------------------------------------------------------
/target/classes/com/fruitDayDB/dao/FruitDao.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/classes/com/fruitDayDB/dao/FruitDao.class
--------------------------------------------------------------------------------
/target/classes/com/fruitDayDB/dao/FruitDaoImpl.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/classes/com/fruitDayDB/dao/FruitDaoImpl.class
--------------------------------------------------------------------------------
/target/classes/com/fruitDayDB/dao/ShopDao.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/classes/com/fruitDayDB/dao/ShopDao.class
--------------------------------------------------------------------------------
/target/classes/com/fruitDayDB/dao/ShopDaoImpl.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/classes/com/fruitDayDB/dao/ShopDaoImpl.class
--------------------------------------------------------------------------------
/target/classes/com/fruitDayDB/dao/UserDao.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/classes/com/fruitDayDB/dao/UserDao.class
--------------------------------------------------------------------------------
/target/classes/com/fruitDayDB/dao/UserDaoImpl.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/classes/com/fruitDayDB/dao/UserDaoImpl.class
--------------------------------------------------------------------------------
/target/classes/com/fruitDayDB/db/DBUtils.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/classes/com/fruitDayDB/db/DBUtils.class
--------------------------------------------------------------------------------
/target/classes/com/fruitDayDB/service/FruitService.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/classes/com/fruitDayDB/service/FruitService.class
--------------------------------------------------------------------------------
/target/classes/com/fruitDayDB/service/ShopService.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/classes/com/fruitDayDB/service/ShopService.class
--------------------------------------------------------------------------------
/target/classes/com/fruitDayDB/service/UserService.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/classes/com/fruitDayDB/service/UserService.class
--------------------------------------------------------------------------------
/target/classes/com/fruitDayDB/servlet/BSServlet.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/classes/com/fruitDayDB/servlet/BSServlet.class
--------------------------------------------------------------------------------
/target/classes/com/fruitDayDB/servlet/FruitServlet.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/classes/com/fruitDayDB/servlet/FruitServlet.class
--------------------------------------------------------------------------------
/target/classes/com/fruitDayDB/servlet/ShopServlet.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/classes/com/fruitDayDB/servlet/ShopServlet.class
--------------------------------------------------------------------------------
/target/classes/com/fruitDayDB/servlet/UserServlet.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/classes/com/fruitDayDB/servlet/UserServlet.class
--------------------------------------------------------------------------------
/target/classes/com/fruitDayDB/servlet/selServlet.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/classes/com/fruitDayDB/servlet/selServlet.class
--------------------------------------------------------------------------------
/target/classes/com/fruitDayDB/vo/Cart.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/classes/com/fruitDayDB/vo/Cart.class
--------------------------------------------------------------------------------
/target/classes/com/fruitDayDB/vo/Fruit.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/classes/com/fruitDayDB/vo/Fruit.class
--------------------------------------------------------------------------------
/target/classes/com/fruitDayDB/vo/User.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/classes/com/fruitDayDB/vo/User.class
--------------------------------------------------------------------------------
/target/m2e-wtp/web-resources/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Built-By: Administrator
3 | Build-Jdk: 1.8.0_77
4 | Created-By: Maven Integration for Eclipse
5 |
6 |
--------------------------------------------------------------------------------
/target/m2e-wtp/web-resources/META-INF/maven/com.xi.x/x-test/pom.properties:
--------------------------------------------------------------------------------
1 | #Generated by Maven Integration for Eclipse
2 | #Mon Jan 09 18:19:30 CST 2017
3 | version=1.0-SNAPSHOT
4 | groupId=com.xi.x
5 | m2e.projectName=x-test
6 | m2e.projectLocation=C\:\\Users\\Administrator\\Desktop\\x-test
7 | artifactId=x-test
8 |
--------------------------------------------------------------------------------
/target/m2e-wtp/web-resources/META-INF/maven/com.xi.x/x-test/pom.xml:
--------------------------------------------------------------------------------
1 |
3 | 4.0.0
4 | com.xi.x
5 | x-test
6 | war
7 | 1.0-SNAPSHOT
8 | x-test Maven Webapp
9 | http://maven.apache.org
10 |
11 |
12 | junit
13 | junit
14 | 3.8.1
15 | test
16 |
17 |
18 | mysql
19 | mysql-connector-java
20 | 5.1.9
21 |
22 |
23 |
24 | javax.servlet
25 | javax.servlet-api
26 | 3.0.1
27 | provided
28 |
29 |
30 | javax.servlet.jsp
31 | jsp-api
32 | 2.2
33 | provided
34 |
35 |
36 |
37 | x-test
38 |
39 |
40 | maven-compiler-plugin
41 |
42 | 1.5
43 | 1.5
44 | UTF-8
45 |
46 |
47 |
48 |
49 |
50 |
--------------------------------------------------------------------------------
/target/maven-status/maven-compiler-plugin/compile/default-compile/createdFiles.lst:
--------------------------------------------------------------------------------
1 | com\fruitDayDB\servlet\BSServlet.class
2 |
--------------------------------------------------------------------------------
/target/maven-status/maven-compiler-plugin/compile/default-compile/inputFiles.lst:
--------------------------------------------------------------------------------
1 | G:\Github\x-test\src\main\java\com\fruitDayDB\dao\ShopDao.java
2 | G:\Github\x-test\src\main\java\com\fruitDayDB\servlet\ShopServlet.java
3 | G:\Github\x-test\src\main\java\com\fruitDayDB\servlet\selServlet.java
4 | G:\Github\x-test\src\main\java\com\fruitDayDB\service\FruitService.java
5 | G:\Github\x-test\src\main\java\com\fruitDayDB\service\UserService.java
6 | G:\Github\x-test\src\main\java\com\fruitDayDB\dao\FruitDaoImpl.java
7 | G:\Github\x-test\src\main\java\com\fruitDayDB\servlet\BSServlet.java
8 | G:\Github\x-test\src\main\java\com\fruitDayDB\vo\Fruit.java
9 | G:\Github\x-test\src\main\java\com\fruitDayDB\service\ShopService.java
10 | G:\Github\x-test\src\main\java\com\fruitDayDB\dao\ShopDaoImpl.java
11 | G:\Github\x-test\src\main\java\com\fruitDayDB\servlet\FruitServlet.java
12 | G:\Github\x-test\src\main\java\com\fruitDayDB\dao\UserDaoImpl.java
13 | G:\Github\x-test\src\main\java\com\fruitDayDB\db\DBUtils.java
14 | G:\Github\x-test\src\main\java\com\fruitDayDB\servlet\UserServlet.java
15 | G:\Github\x-test\src\main\java\com\fruitDayDB\vo\Cart.java
16 | G:\Github\x-test\src\main\java\com\fruitDayDB\dao\UserDao.java
17 | G:\Github\x-test\src\main\java\com\fruitDayDB\vo\User.java
18 | G:\Github\x-test\src\main\java\com\fruitDayDB\dao\FruitDao.java
19 |
--------------------------------------------------------------------------------
/target/tomcat/conf/tomcat-users.xml:
--------------------------------------------------------------------------------
1 |
2 |
18 |
19 |
26 |
27 |
--------------------------------------------------------------------------------
/target/tomcat/work/localEngine/localhost/x-test/org/apache/jsp/BSindex_jsp.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/tomcat/work/localEngine/localhost/x-test/org/apache/jsp/BSindex_jsp.class
--------------------------------------------------------------------------------
/target/tomcat/work/localEngine/localhost/x-test/org/apache/jsp/footer/footer_jsp.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/tomcat/work/localEngine/localhost/x-test/org/apache/jsp/footer/footer_jsp.class
--------------------------------------------------------------------------------
/target/tomcat/work/localEngine/localhost/x-test/org/apache/jsp/fruit_005finfo_jsp.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/tomcat/work/localEngine/localhost/x-test/org/apache/jsp/fruit_005finfo_jsp.class
--------------------------------------------------------------------------------
/target/tomcat/work/localEngine/localhost/x-test/org/apache/jsp/head/head_jsp.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/tomcat/work/localEngine/localhost/x-test/org/apache/jsp/head/head_jsp.class
--------------------------------------------------------------------------------
/target/tomcat/work/localEngine/localhost/x-test/org/apache/jsp/index_jsp.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/tomcat/work/localEngine/localhost/x-test/org/apache/jsp/index_jsp.class
--------------------------------------------------------------------------------
/target/tomcat/work/localEngine/localhost/x-test/org/apache/jsp/login_jsp.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/tomcat/work/localEngine/localhost/x-test/org/apache/jsp/login_jsp.class
--------------------------------------------------------------------------------
/target/tomcat/work/localEngine/localhost/x-test/org/apache/jsp/showcart_jsp.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/tomcat/work/localEngine/localhost/x-test/org/apache/jsp/showcart_jsp.class
--------------------------------------------------------------------------------
/target/x-test/BSindex.jsp:
--------------------------------------------------------------------------------
1 | <%@ page import="com.fruitDayDB.vo.User" %>
2 | <%@ page import="java.util.List" %>
3 | <%@ page import="java.util.ArrayList" %>
4 | <%--
5 | Created by IntelliJ IDEA.
6 | User: xi
7 | Date: 2015/10/18
8 | Time: 9:15
9 | To change this template use File | Settings | File Templates.
10 | --%>
11 | <%@ page contentType="text/html;charset=UTF-8" language="java" %>
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |

27 |
28 |
29 |
30 |
用户管理
31 |
35 |
商品管理
36 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
欢迎进入天天果园后台管理系统
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/target/x-test/BSindex1.jsp:
--------------------------------------------------------------------------------
1 | <%@ page import="com.fruitDayDB.vo.User" %>
2 | <%@ page import="java.util.List" %>
3 | <%@ page import="java.util.ArrayList" %>
4 | <%--
5 | Created by IntelliJ IDEA.
6 | User: xi
7 | Date: 2015/10/18
8 | Time: 9:15
9 | To change this template use File | Settings | File Templates.
10 | --%>
11 | <%@ page contentType="text/html;charset=UTF-8" language="java" %>
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |

27 |
28 |
29 |
30 |
用户管理
31 |
35 |
商品管理
36 |
41 |
42 |
43 |
44 |
45 |
46 |
47 |
48 |
49 | - 用户名
50 | -
51 | - 邮箱
52 | -
53 | - 手机
54 | -
55 | - 操作
56 |
57 |
58 |
59 | <%
60 | List
users=new ArrayList();
61 | if(request.getAttribute("allusers")!=null)
62 | {
63 | users=(List)request.getAttribute("allusers");
64 |
65 | for(User user:users)
66 | {
67 | out.print(" \n" +
68 | "
\n" +
77 | "
");
78 | }
79 | }
80 |
81 |
82 | %>
83 |
84 |
85 |
86 |
87 |
88 |
89 |
--------------------------------------------------------------------------------
/target/x-test/BSindex2.jsp:
--------------------------------------------------------------------------------
1 | <%@ page import="com.fruitDayDB.vo.User" %>
2 | <%@ page import="java.util.List" %>
3 | <%@ page import="java.util.ArrayList" %>
4 | <%--
5 | Created by IntelliJ IDEA.
6 | User: xi
7 | Date: 2015/10/18
8 | Time: 9:15
9 | To change this template use File | Settings | File Templates.
10 | --%>
11 | <%@ page contentType="text/html;charset=UTF-8" language="java" %>
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |

27 |
28 |
29 |
30 |
用户管理
31 |
35 |
商品管理
36 |
41 |
42 |
43 |
44 |
45 |
46 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
--------------------------------------------------------------------------------
/target/x-test/BSindex3.jsp:
--------------------------------------------------------------------------------
1 | <%@ page import="com.fruitDayDB.vo.User" %>
2 | <%@ page import="java.util.List" %>
3 | <%@ page import="java.util.ArrayList" %>
4 | <%--
5 | Created by IntelliJ IDEA.
6 | User: xi
7 | Date: 2015/10/18
8 | Time: 9:15
9 | To change this template use File | Settings | File Templates.
10 | --%>
11 | <%@ page contentType="text/html;charset=UTF-8" language="java" %>
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 | <%
22 | String show="x0";
23 | if(request.getAttribute("sky")!=null)
24 | show=(String)request.getAttribute("sky");
25 | %>
26 |
27 |
28 |
29 |
30 |

31 |
32 |
33 |
用户管理
34 |
38 |
商品管理
39 |
44 |
45 |
46 |
47 |
48 |
49 |
50 | <%
51 | User user3=new User(1,"","","","");
52 | if(request.getAttribute("user")!=null)
53 | user3=(User)request.getAttribute("user");
54 | %>
55 |
81 |
82 |
83 |
84 |
85 |
86 |
87 |
88 |
89 |
90 |
--------------------------------------------------------------------------------
/target/x-test/BSindex4.jsp:
--------------------------------------------------------------------------------
1 | <%@ page import="com.fruitDayDB.vo.User" %>
2 | <%@ page import="java.util.List" %>
3 | <%@ page import="java.util.ArrayList" %>
4 | <%@ page import="com.fruitDayDB.vo.Fruit" %>
5 | <%--
6 | Created by IntelliJ IDEA.
7 | User: xi
8 | Date: 2015/10/18
9 | Time: 9:15
10 | To change this template use File | Settings | File Templates.
11 | --%>
12 | <%@ page contentType="text/html;charset=UTF-8" language="java" %>
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | <%
23 | String show="x0";
24 | if(request.getAttribute("sky")!=null)
25 | show=(String)request.getAttribute("sky");
26 | %>
27 |
28 |
29 |
30 |
31 |

32 |
33 |
34 |
35 |
用户管理
36 |
40 |
商品管理
41 |
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 | - 水果
56 | -
57 | - 规格
58 | -
59 | - 单价
60 | -
61 | - 操作
62 |
63 |
64 | <%
65 | List
fruits=new ArrayList();
66 | if(request.getAttribute("allfruit")!=null) {
67 |
68 | fruits = (List) request.getAttribute("allfruit");
69 |
70 | for(Fruit fruit:fruits) {
71 | out.print(" \n" +
72 | "
\n" +
81 | "
");
82 | }
83 | }
84 | %>
85 |
86 |
87 |
88 |
89 |
90 |
91 |
92 |
93 |
94 |
--------------------------------------------------------------------------------
/target/x-test/META-INF/MANIFEST.MF:
--------------------------------------------------------------------------------
1 | Manifest-Version: 1.0
2 | Built-By: xi
3 | Created-By: IntelliJ IDEA
4 | Build-Jdk: 1.8.0_111
5 |
6 |
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/classes/com/fruitDayDB/dao/FruitDao.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/classes/com/fruitDayDB/dao/FruitDao.class
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/classes/com/fruitDayDB/dao/FruitDaoImpl.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/classes/com/fruitDayDB/dao/FruitDaoImpl.class
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/classes/com/fruitDayDB/dao/ShopDao.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/classes/com/fruitDayDB/dao/ShopDao.class
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/classes/com/fruitDayDB/dao/ShopDaoImpl.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/classes/com/fruitDayDB/dao/ShopDaoImpl.class
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/classes/com/fruitDayDB/dao/UserDao.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/classes/com/fruitDayDB/dao/UserDao.class
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/classes/com/fruitDayDB/dao/UserDaoImpl.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/classes/com/fruitDayDB/dao/UserDaoImpl.class
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/classes/com/fruitDayDB/db/DBUtils.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/classes/com/fruitDayDB/db/DBUtils.class
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/classes/com/fruitDayDB/service/FruitService.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/classes/com/fruitDayDB/service/FruitService.class
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/classes/com/fruitDayDB/service/ShopService.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/classes/com/fruitDayDB/service/ShopService.class
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/classes/com/fruitDayDB/service/UserService.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/classes/com/fruitDayDB/service/UserService.class
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/classes/com/fruitDayDB/servlet/BSServlet.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/classes/com/fruitDayDB/servlet/BSServlet.class
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/classes/com/fruitDayDB/servlet/FruitServlet.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/classes/com/fruitDayDB/servlet/FruitServlet.class
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/classes/com/fruitDayDB/servlet/ShopServlet.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/classes/com/fruitDayDB/servlet/ShopServlet.class
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/classes/com/fruitDayDB/servlet/UserServlet.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/classes/com/fruitDayDB/servlet/UserServlet.class
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/classes/com/fruitDayDB/servlet/selServlet.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/classes/com/fruitDayDB/servlet/selServlet.class
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/classes/com/fruitDayDB/vo/Cart.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/classes/com/fruitDayDB/vo/Cart.class
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/classes/com/fruitDayDB/vo/Fruit.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/classes/com/fruitDayDB/vo/Fruit.class
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/classes/com/fruitDayDB/vo/User.class:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/classes/com/fruitDayDB/vo/User.class
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/lib/commons-beanutils-1.7.0.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/lib/commons-beanutils-1.7.0.jar
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/lib/commons-collections-3.2.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/lib/commons-collections-3.2.1.jar
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/lib/commons-httpclient-3.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/lib/commons-httpclient-3.1.jar
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/lib/commons-lang-2.3.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/lib/commons-lang-2.3.jar
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/lib/commons-logging-1.1.1.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/lib/commons-logging-1.1.1.jar
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/lib/ezmorph-1.0.3.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/lib/ezmorph-1.0.3.jar
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/lib/json-lib-2.2.3-jdk15.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/lib/json-lib-2.2.3-jdk15.jar
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/lib/mysql-connector-java-5.1.36-bin.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/lib/mysql-connector-java-5.1.36-bin.jar
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/lib/mysql-connector-java-5.1.9.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/WEB-INF/lib/mysql-connector-java-5.1.9.jar
--------------------------------------------------------------------------------
/target/x-test/WEB-INF/web.xml:
--------------------------------------------------------------------------------
1 |
4 |
5 |
6 | Archetype Created Web Application
7 |
8 | fruitServlet
9 | com.fruitDayDB.servlet.FruitServlet
10 |
11 |
12 | shopServlet
13 | com.fruitDayDB.servlet.ShopServlet
14 |
15 |
16 | userServlet
17 | com.fruitDayDB.servlet.UserServlet
18 |
19 |
20 | selServlet
21 | com.fruitDayDB.servlet.selServlet
22 |
23 |
24 | bsServlet
25 | com.fruitDayDB.servlet.BSServlet
26 |
27 |
28 | fruitServlet
29 | /FruitServlet
30 |
31 |
32 | shopServlet
33 | /ShopServlet
34 |
35 |
36 | userServlet
37 | /UserServlet
38 |
39 |
40 | selServlet
41 | /SELServlet
42 |
43 |
44 | bsServlet
45 | /BSServlet
46 |
47 |
48 |
--------------------------------------------------------------------------------
/target/x-test/css/BSindex.css:
--------------------------------------------------------------------------------
1 | .mean{
2 | width: 15%;
3 | height: 100%;
4 | position: fixed;
5 | left: 0px;z-index: -1;
6 | border-right: 2px solid #DDD;
7 | }
8 |
9 | .logo{
10 | width: 100%;
11 | height: 150px;
12 | padding-top: 50px;
13 | text-align:center;
14 | }
15 | .logo img{
16 | width: 100px;
17 | height: 100px;}
18 |
19 | .mean_ul{
20 | width: 100%;
21 | min-height:100px;
22 | display: block;
23 | }
24 | .mean_li{
25 | width: 100%;
26 | height: 50px;
27 | line-height: 50px;
28 | text-align: center;
29 | letter-spacing:10px;
30 | font-size: 20px;
31 | color: #FFFFFF;
32 | background-color: #669900;
33 | border-right: 2px solid #669933;
34 | border-bottom: 2px solid #FFFFFF;
35 | }
36 | .mm{
37 | width: 100%;
38 | height: 36px;
39 | color: #669933;
40 | line-height: 36px;
41 | text-align: center;
42 |
43 | }
44 |
45 | .g a,.mm a{color: #669933;}
46 |
47 | .gong{
48 | width: 85%;
49 | min-height:100%;
50 | position: fixed;
51 | right: 0px;
52 | }
53 |
54 | .con{
55 | width: 80%;
56 | height: 670px;
57 | margin: 0 auto;
58 |
59 | }
60 |
61 | /*全部用户*/
62 | .tit{
63 | width: 100%;
64 | height: 50px;
65 | padding-top: 50px;
66 | border-bottom: 1px dashed #669933;
67 | }
68 |
69 | .info{
70 | width: 100%;
71 | height: 50px;
72 | border-bottom: 1px dashed #669933;
73 | }
74 | .info ul li,.tit ul li{
75 | float:left;
76 | width: 230px;
77 | height: 50px;
78 | line-height: 50px;
79 | text-align: center;
80 | }
81 |
82 | .info ul li.i,.tit ul li.i{
83 | width: 2px;
84 | height: 30px;
85 | margin-top:10px;
86 | background-color: #669933;
87 | }
88 |
89 | /*添加用户*//*用户信息*/
90 | .form{
91 | margin-top: 100px;
92 | width: 100%;
93 | height: 500px;
94 | position: relative;
95 | }
96 |
97 | .add{
98 | width: 800px;
99 | height: 80px;
100 | line-height: 80px;
101 | color: #669933;
102 | }
103 |
104 | .add_tit{
105 | width: 200px;
106 | height: 80px;
107 | line-height: 80px;
108 | text-align: right;
109 | display: inline-block;
110 | }
111 | .add_text input{
112 | width: 200px;
113 | height: 30px;
114 | line-height: 30px;
115 | padding-left: 10px;
116 | font-size: 20px;
117 | border-bottom: 1px dashed #669933;
118 | }
119 |
120 | .add_sublmit{
121 | width: 100px;
122 | height: 100px;
123 | line-height: 100px;
124 | text-align: center;
125 | border: 1px dashed #669933;
126 | border-radius: 50px;
127 | position: absolute;
128 | right: 200px;
129 | top: 90px;
130 | }
131 |
132 | .add_sublmit input{
133 | width: 90px;
134 | height: 90px;
135 | border: 1px dashed #669933;
136 | border-radius: 45px;
137 | font-size: 18px;
138 | color: #669933;
139 | font-weight: bold;
140 | cursor: pointer;
141 | }
142 |
143 | /*水果*/
144 | #t1,#t2{
145 | width: 560px;
146 | }
147 |
148 |
149 | /*欢迎页面*/
150 | .hello{
151 | width: 100%;
152 | height: 200px;
153 | line-height: 200px;
154 | margin-top: 200px;
155 | text-align: center;
156 | color: #669933;
157 | }
158 |
159 | input.long{
160 | width: 500px;
161 | }
162 |
--------------------------------------------------------------------------------
/target/x-test/css/imgs.css:
--------------------------------------------------------------------------------
1 | .fruit_info{width: 1100px;height: 480px;margin: 0 auto;padding-top: 20px;}
2 |
3 | /*图片盒子*/
4 | .img_box{width: 370px;height: 480px;text-align: left;float:left;margin-right: 20px;}
5 | .non{display: none;}
6 | .show{display:block ;}
7 | .show img{width: 370px;height: 370px;}
8 |
9 | /*图片跳转*/
10 | .img_to{margin-top: 10px;}
11 | .img_to ul li{width: 85px;height:85px;float:left;margin-right: 10px;}
12 | .img_to ul li img{width: 85px;height:85px;cursor: pointer;}
13 |
14 | /*文字框*/
15 | .fruit_text{width: 456px;height: 480px;float:left;padding-right: 20px;}
16 | .fruit_text hr{border: none;border-top: 1px dashed #DDD;}
17 | .fname{font-size: 30px;}
18 | .spec,.up,.fid{display: inline-block;}
19 | .up{margin-left: 20px;font-size: 20px;}
20 | .fid{margin-left: 20px;}
21 | #fform{margin-top: 20px;}
22 | /*数量*/
23 | .Unum{text-align: center;width: 80px;height: 20px;border: 1px solid #C0C0C0;}
24 |
25 | #numl,#numr{display:inline-block;width: 25px;cursor: pointer;}
26 | #numl{float: left;border-right: 1px solid #C0C0C0;}
27 | #numr{float:right;border-left: 1px solid #C0C0C0;}
28 |
29 | /*加入购物车*/
30 | .Uadd #cart{background-color: #669933;color: white;width:180px;height: 40px;font-size: 16px;cursor: pointer;font-family: 'Microsoft Yahei';}
31 | .Uadd{margin:20px 0 15px 0;width:180px;height: 40px;float:left;}
32 | .Unum,.Uaddress{display: inline-block;}
33 | .Unum{margin-left: 56px;}
34 | #sel{border: 1px solid #C0C0C0;}
35 |
36 | .fform{width: 100%;height: 136px;}
37 | .fform1{width: 100%;height: 30px;margin-bottom:20px;float:left;}
38 | /*关注*/
39 | .starbutton{margin:20px 0 15px 20px;width:120px;height: 26px;float:left;}
40 | .starbutton #star{border:1px solid #669933;color: #669933;width:180px;height: 40px;font-size: 16px;cursor: pointer;font-family: 'Microsoft Yahei';}
41 |
42 | /*信息与提示*/
43 | .finfo,.fpro{margin-top: 20px;}
44 | .finfo p,.fpro p{text-indent:2em;margin-top: 10px;}
45 |
46 | /*热卖产品*/
47 | .fruit_hot{width: 212px;height: 478px;border: 1px solid #DDDDDD;float: left;padding: 0 10px 0 10px;}
48 | .ht_l{float: left;}
49 | .ht_r{float: right;}
50 | .hf_title{width: 100%;height: 20px;margin-top: 11px;}
51 | .hot_fruit{width: 200px;height: 100px;margin-top: 10px;border-bottom: 1px dashed #DDD;}
52 | .hf_img,.hf_img img{width: 85px;height:85px;}
53 | .hf_img{margin-right: 20px;}
54 | .hf_text{width: 100px;height: 85px;}
55 | .hf_img,.hf_text{float: left;}
56 | .hf_mon{margin-top: 5px;font-size: 12px;color: red;}
57 | .hf_name{font-size: 12px;}
58 |
59 |
60 |
61 |
62 |
--------------------------------------------------------------------------------
/target/x-test/css/index.css:
--------------------------------------------------------------------------------
1 | /*网页宽度1100px*/
2 | .con{width: 1100px;margin: 0 auto;}
3 | /*浮动*/
4 | .left{float: left;}
5 | .right{float: right;}
6 | /*文字*/
7 | body{color: #666666;font-size: 14px;font-family: arial,"Hiragino Sans GB",sans-serif;}
8 |
9 | /*imgs*/
10 | .imgs .con{height:400px;position: relative;}
11 | .non{display: none;}
12 | .show{display:block ;}
13 | ul.imgul {width: 200px;height: 40px;text-align: center;position: absolute;right: 0px;bottom: 0px;}
14 | ul.imgul li {float: left;width: 20px;height: 20px;line-height: 20px;background-color: #444444;color: #FFFFFF;border-radius: 10px;margin: 10px 10px;cursor: pointer;}
15 | #l0{background-color: #669933;}
16 |
17 | /*fruit*/
18 | .fruitboxs{margin:50px auto;height: 640px;}
19 | .fhead{width: 100%;height: 30px;margin-bottom: 10px;}
20 | .fhr{width: 100%; height: 2px;background-color: #669933;margin-bottom: 5px;}
21 | .fser{width: 4em;height:23px;line-height: 23px;float: left;font-size: 18px;color: #669933;}
22 | .fmore{width: 6em;height:23px;line-height: 23px;float: right;}
23 |
24 | .fruit_box{width: 200px;height: 300px;padding: 0 10px;float:left}
25 | .fruit_img{width: 200px;height:200px;}
26 | .fruit_img img{width: 200px;height: 200px;}
27 | .fruit_name{width: 100%;height:30px;color: #666666;font-size: 20px;line-height: 30px;}
28 | .fruit_num{width: 100%;height: 30px;line-height:30px;font-size:15px;}
29 | .fruit_mon{width: 100%;height:35px;line-height:35px;font-size:20px;color: #669933;}
30 |
31 |
32 |
--------------------------------------------------------------------------------
/target/x-test/css/main.css:
--------------------------------------------------------------------------------
1 | body,ul,ol,dl,dd,h1,h2,h3,h4,h5,h6,p,input,select,textarea,form{margin: 0; padding: 0;}
2 | body{font:14px/1.5 "宋体";}
3 | img{border:none;}
4 | ul,ol{list-style:none;}
5 | input,select,textarea{outline:none;border:none;background:none;}
6 | textarea{resize:none;}
7 | a{text-decoration:none;color: #666666;}
8 | /*清浮动*/
9 | .clearfix:after{content:"";*display:block;*clear:both;}
10 | .clearfix{zoom:1;}
11 |
12 | /*选择*/
13 | ::selection {background-color:#669900; color:#ffffff; text-shadow:none;}
14 | ::-moz-selection {background-color:#669900; color:#ffffff;text-shadow:none;}
15 |
16 | /*去掉a的下划线*/
17 | a {blr:expression(this.onFocus=this.blur())} /*if IE*/
18 | a {outline:none;}/*if 火狐等现代浏览器浏览器*/
19 |
20 | div.noss{background-color: #669933;}
21 |
22 | /*文字*/
23 | body{color: #666666;font-size: 14px;font-family: arial,"Hiragino Sans GB",sans-serif;}
--------------------------------------------------------------------------------
/target/x-test/css/rl.css:
--------------------------------------------------------------------------------
1 |
2 |
3 | /*网页居中*/
4 | .con{width: 990px;margin: 0 auto;}
5 |
6 | .box{width: 990px;height: 480px;margin-top: 20px;}
7 | .head{width: 970px;height: 29px;background-color: #669933;padding: 11px 0 0 20px;}
8 | .text{width: 600px;height: 360px;padding:30px 50px 50px 50px;background-color: #FBF8F1;float: left;}
9 | .jmp{width: 290px;height: 440px;background-color: #DCE6CD;float: left;}
10 |
11 | .h01{font-size: 20px;}
12 | .h02{font-size:14px;color: red;}
13 | .xhr{width: 100%;height: 2px;background-color: #669933;margin-top: 10px;}
14 |
15 | .text_box{margin-top: 20px;}
16 | .main{height: 30px;width: 100%;line-height: 30px;padding: 15px 0px;}
17 | .name{text-align: right;width: 100px;padding-right: 10px;float:left;}
18 | .main input{background-color: #FFF;float:left;width: 200px;height: 100%;border: 1px solid #CCC;padding-left: 8px;}
19 | .xbutton input{float:left;cursor:pointer;background-color: #669933;color: #FFFFFF;width: 105px;height: 33px;font-size: 16px;margin-left: 110px;margin-top: 15px;}
20 |
21 | .fpwd{float:left;margin-top: 15px;margin-left:15px;height: 33px;line-height:33px;width: 100px;}
22 | .fpwd a{color: #669933;}
23 |
24 | .jmpp{color: #669933;font-size: 16px;margin-top: 100px;text-align: center;font-weight: bold;}
25 | .jmpp p{margin-bottom: 10px;}
26 | .jmpa{margin:60px auto 0 auto;width: 112px;}
27 | .jmpa_l{margin:70px auto 0 auto;width: 112px;}
28 | .jmpa a,.jmpa_l a{display: block;width: 110px;height: 30px;line-height:30px;color: #669933;text-align: center;border: 1px solid #669933;border-radius: 6px;cursor:pointer;}
29 |
30 | /*foot_box*/
31 | .foot_box{text-align: center;margin-top: 30px;}
32 | .foot_box p{margin-top: 5px;}
33 | .foot_box p.b{font-size: 18px;}
34 |
--------------------------------------------------------------------------------
/target/x-test/css/sel.css:
--------------------------------------------------------------------------------
1 | .fruit_info{width: 1100px;margin: 0 auto;padding-top: 20px;min-height: 660px;}
2 |
3 |
4 |
5 | /*热卖产品*/
6 | .fruit_hot{width: 120px;min-height: 170px;border: 1px solid #DDDDDD;padding: 0 10px 0 10px;float:left;}
7 | .ht_l{float: left;}
8 | .ht_r{float: right;}
9 | .hf_title{width: 100%;height: 20px;margin-top: 11px;}
10 | .hot_fruit{width: 120px;height: 170px;margin-top: 10px;border-bottom: 1px dashed #DDD;}
11 | .hf_img,.hf_img img{width: 120px;height:120px;}
12 | .hf_img{float:left;}
13 | .hf_text{width: 100%;height: 25px;float:left;line-height: 25px;}
14 | .hf_img,.hf_text{float: left;}
15 | .hf_mon{font-size: 20px;color: #669933;}
16 | .hf_name{font-size: 14px;}
17 |
18 |
19 | /*网页宽度1100px*/
20 | .con{width: 1100px;margin: 0 auto;}
21 |
22 | /*搜索*/
23 | .sel{width: 938px;min-height: 200px;float: right;padding: 0px 10px;}
24 | .selfruits{width: 896px;height: 120px;border: 1px solid #DDDDDD;padding: 20px 20px 0px 20px;margin-bottom: 20px;}
25 | .selfruits_li{border-bottom: 1px solid #DDDDDD;width: 100%;height:39px;line-height: 39px;}
26 | .selkey{display: inline-block;padding: 0px 5px;}
27 | .sgreen{ background-color: #669933;color: #fff;line-height: 20px;}
28 | #sort{border: none;}
29 |
30 |
31 | /*搜索列表*/
32 | /*fruit*/
33 | .fruitboxs{width: 938px;min-height: 200px;border-top:2px solid #669933;padding-top: 20px; }
34 |
35 | .fruit_box{width: 220px;height: 320px;float:left;border: 1px solid #FFF;position: relative;margin-right: 12px;}
36 | .fruit_box:hover{border: 1px solid #669933;width: 220px;height: 320px;}
37 | .fruit_img{width: 220px;height:220px;}
38 | .fruit_img img{width: 220px;height: 220px;}
39 | .fruit_name{width: 100%;height:30px;color: #666666;font-size: 20px;line-height: 30px;margin-left: 10px;}
40 | .fruit_spec{width: 100%;height: 30px;line-height:30px;font-size:15px;margin-left: 10px;}
41 | .fruit_up{width: 100%;height:35px;line-height:35px;font-size:20px;color: #669933;margin-left: 10px;}
42 | .flogo{position: absolute;right: 0px;bottom: 0px;}
43 |
--------------------------------------------------------------------------------
/target/x-test/css/showcart.css:
--------------------------------------------------------------------------------
1 | /*网页宽度1100px*/
2 | .con{width: 990px;margin: 0 auto;}
3 |
4 | .head{width: 970px;height: 29px;background-color: #669933;padding: 11px 0 0 20px;margin-top: 20px;}
5 |
6 | .shop_box{border: 1px solid #DDD;border-top: none;}
7 | .head_text_box{width: 958px;height: 76px;line-height: 76px;padding-left: 30px;}
8 | #head_text{font-size: 20px;}
9 |
10 | .shop_title{width:988px;height:50px;line-height:50px;background-color: #EEE;}
11 | .shop_title div,.shop div{float: left;text-align: center;}
12 |
13 | #st1,.s1{width: 300px;}
14 | #st2,.s2{width: 100px;}
15 | #st3,.s3{width: 100px;}
16 | #st4,.s4{width: 150px;}
17 | #st5,.s5{width: 150px;}
18 | #st6,.s6{width: 188px;}
19 |
20 | .shop{width:988px;height:120px;margin-top: 20px;line-height: 120px;border-bottom: 1px solid #EEE;}
21 | .s1 img{width: 85px;height: 85px;}
22 | .s1 .s1_img{float: left;margin-top: 20px;margin-left: 30px;width: 85px;height: 85px;margin-right: 15px;}
23 | .s1 .s1_tetx{float:left}
24 |
25 | .shop_footer{width: 988px;height: 50px;background-color: #EEE;}
26 | /*数量*/
27 | .Unum{text-align: center;width: 80px;height: 20px;line-height:20px;border: 1px solid #C0C0C0;margin-left: 34px;margin-top: 48px;}
28 | .numl,.numr{display:inline-block;width: 25px;height:20px;cursor: pointer;}
29 | .numl{float: left;border-right: 1px solid #C0C0C0;}
30 | .numr{float:right;border-left: 1px solid #C0C0C0;}
31 |
32 | .sum_mon{height: 150px;text-align: right;float: right;width: 100%;}
33 | .money{width:100%;height: 45px;line-height: 45px;margin-top: 20px;float: right;margin-bottom: 10px;}
34 | .money span{font-size: 25px;color: red;}
35 | #addmon{background-color: #669933;color: white;width: 150px;height: 36px;float:right;}
36 |
37 | /*foot_box*/
38 | .foot_box{text-align: center;margin-top: 30px;}
39 | .foot_box p{margin-top: 5px;}
40 | .foot_box p.b{font-size: 18px;}
41 |
--------------------------------------------------------------------------------
/target/x-test/footer/css/footer.css:
--------------------------------------------------------------------------------
1 | /*footer*/
2 | .footer{width: 100%;height:82px;;background-color: #669933;margin-top: 100px;}
3 | .foot_ul{width: 1100px;margin: 0 auto;}
4 | .foot_ul li{float:left;margin-top: 15px;padding-right: 48px;}
5 |
6 | /*foot_box*/
7 | .foot_box{text-align: center;margin-top: 30px;}
8 | .foot_box p{margin-top: 5px;}
9 | .foot_box p.b{font-size: 18px;}
10 |
--------------------------------------------------------------------------------
/target/x-test/footer/footer.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Created by IntelliJ IDEA.
3 | User: xi
4 | Date: 2015/10/3
5 | Time: 20:17
6 | To change this template use File | Settings | File Templates.
7 | --%>
8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %>
9 |
10 |
11 |
12 |
13 |
14 |
15 |
24 |
25 |
31 |
32 |
33 |
--------------------------------------------------------------------------------
/target/x-test/footer/imgs/foot_img/foot_a1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/footer/imgs/foot_img/foot_a1.jpg
--------------------------------------------------------------------------------
/target/x-test/footer/imgs/foot_img/foot_a2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/footer/imgs/foot_img/foot_a2.jpg
--------------------------------------------------------------------------------
/target/x-test/footer/imgs/foot_img/foot_a3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/footer/imgs/foot_img/foot_a3.jpg
--------------------------------------------------------------------------------
/target/x-test/footer/imgs/foot_img/foot_a4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/footer/imgs/foot_img/foot_a4.jpg
--------------------------------------------------------------------------------
/target/x-test/footer/imgs/foot_img/foot_a5.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/footer/imgs/foot_img/foot_a5.jpg
--------------------------------------------------------------------------------
/target/x-test/head/css/head.css:
--------------------------------------------------------------------------------
1 | /*网页宽度1100px*/
2 | .con{width: 1100px;margin: 0 auto;}
3 | /*浮动*/
4 | .head_left{float: left;width: 200px;height: 30px;}
5 | .head_right{float: right;width: 300px;height: 30px;}
6 | .noLink{text-align: right;}
7 | /*文字*/
8 | body{color: #666666;font-size: 14px;font-family: arial,"Hiragino Sans GB",sans-serif;}
9 | /*网页头部*/
10 | .top{height: 30px;line-height: 30px;border-bottom: 1px solid #DEDEDE;}
11 | /*logo*/
12 | .head{height: 100px;}
13 | .logo{width: 340px;float: left;margin-top: 15px;}
14 | /*搜索框*/
15 | .ser{width: 451px;float: left;margin-top: 30px;}
16 | #ser_border{float:left; width:340px; height:40px; line-height:40px;padding-left:11px; background:none; text-align:left; font-size:14px;border: 2px solid #669933;}
17 | #ser_button{floa:right;background-color: #669933;border:0; width:96px; height:40px;line-height:40px;cursor:pointer;color:white;font-size: 20px;}
18 | /*关注*/
19 | .username{width: 200px;height: 30px;float:left;text-align: center;}
20 | .star{width: 80px;height: 30px;float: left;line-height: 30px;padding-left: 8px;}
21 | .star_img{margin-top:6px;width: 18px;height:18px;background: url(../imgs/ISstar.svg);background-size: 18px 18px;float:left;}
22 | .toStar{width: 60px;height: 30px;float:right;text-align: right;}
23 | /*购物车*/
24 | .shopcart{width: 130px;height: 16px;border: 1px solid #DFDFDF;float:right;margin-top: 30px;padding: 11px 0px 11px 20px;}
25 | .cart_img{width: 18px;height: 16px;background-image: url(../imgs/cart_img.svg);background-size: 18px 16px;float:left;}
26 | .cart{height: 16px;line-height:16px;float:left;margin-left: 5px;position:relative;}
27 | .cart_to{width:18px;height:16px;font: 400 16px/16px simsun;margin-left: 15px;float:left;}
28 | .cart_num{width: 18px;height: 18px;line-height:18px;background: #669933;position: absolute;right: -18px;top: -18px;border-radius:10px 10px 8px 0px;color: white;text-align: center;}
29 |
30 | /*head_menu*/
31 | .head_menu{width:100%;height: 45px;background: #F4ECDC;}
32 | .hmenu_ul li{float: left;}
33 | .hmenu_ul li a{display: block;width: 150px;height: 45px;line-height: 45px;color: #669933;font-size: 18px;font-weight: bold;text-align:center;}
34 | .hmenu_ul li a:hover{background-color: #EFE5CD;}
35 |
--------------------------------------------------------------------------------
/target/x-test/head/css/main.css:
--------------------------------------------------------------------------------
1 | body,ul,ol,dl,dd,h1,h2,h3,h4,h5,h6,p,input,select,textarea,form{margin: 0; padding: 0;}
2 | body{font:14px/1.5 "宋体";}
3 | img{border:none;}
4 | ul,ol{list-style:none;}
5 | input,select,textarea{outline:none;border:none;background:none;}
6 | textarea{resize:none;}
7 | a{text-decoration:none;color: #666666;}
8 | /*清浮动*/
9 | .clearfix:after{content:"";*display:block;*clear:both;}
10 | .clearfix{zoom:1;}
11 |
12 | /*选择*/
13 | ::selection {background-color:#669900; color:#ffffff; text-shadow:none;}
14 | ::-moz-selection {background-color:#669900; color:#ffffff;text-shadow:none;}
15 |
16 | /*去掉a的下划线*/
17 | a {blr:expression(this.onFocus=this.blur())} /*if IE*/
18 | a {outline:none;}/*if 火狐等现代浏览器浏览器*/
19 |
20 | div.noss{background-color: #669933;}
21 |
--------------------------------------------------------------------------------
/target/x-test/head/head.jsp:
--------------------------------------------------------------------------------
1 | <%@ page import="com.fruitDayDB.vo.User" %>
2 | <%--
3 | Created by IntelliJ IDEA.
4 | User: xi
5 | Date: 2015/10/3
6 | Time: 19:39
7 | To change this template use File | Settings | File Templates.
8 | --%>
9 | <%@ page contentType="text/html;charset=UTF-8" language="java" %>
10 |
11 |
12 |
13 |
14 |
15 | <%
16 | User user=new User(0,"","","","");
17 | int num=0;
18 | if(session.getAttribute("user")!=null)
19 | user=(User)session.getAttribute("user");
20 | if(request.getAttribute("num")!=null)
21 | num=(Integer)request.getAttribute("num");
22 | %>
23 |
24 |
25 |
26 |
27 |
28 |
29 |
您好,欢迎来到天天果园!
30 |
31 | <%
32 | if(user.getId()==0)
33 | out.print("
");
37 | else {
38 | out.print("
\n" +
39 | "
\n" +
40 | "
\n" +
41 | "
\n" +
42 | "
\n" +
43 | "
\n" +
45 | "
\n" +
46 | "
");
47 | }
48 | %>
49 |
50 |
51 |
52 |
53 | <%--网站图标、搜索框、购物车--%>
54 |
55 |
56 |
57 |
62 |
63 |
64 |
68 |
69 |
70 |
78 |
79 |
80 |
81 |
82 | <%--网站菜单--%>
83 |
93 |
94 |
95 |
96 |
--------------------------------------------------------------------------------
/target/x-test/head/imgs/ISstar.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
--------------------------------------------------------------------------------
/target/x-test/head/imgs/UNstar.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
--------------------------------------------------------------------------------
/target/x-test/head/imgs/cart_img.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
6 |
--------------------------------------------------------------------------------
/target/x-test/head/imgs/fdaylogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/head/imgs/fdaylogo.png
--------------------------------------------------------------------------------
/target/x-test/img/alogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/alogo.png
--------------------------------------------------------------------------------
/target/x-test/img/flogo.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/flogo.png
--------------------------------------------------------------------------------
/target/x-test/img/fruits/1/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/1/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/1/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/1/(2).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/1/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/1/(3).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/10/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/10/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/10/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/10/(2).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/10/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/10/(3).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/11/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/11/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/11/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/11/(2).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/11/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/11/(3).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/12/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/12/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/12/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/12/(2).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/12/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/12/(3).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/13/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/13/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/13/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/13/(2).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/13/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/13/(3).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/13/(4).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/13/(4).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/14/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/14/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/14/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/14/(2).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/14/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/14/(3).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/15/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/15/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/16/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/16/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/16/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/16/(2).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/16/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/16/(3).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/17/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/17/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/18/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/18/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/18/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/18/(2).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/18/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/18/(3).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/19/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/19/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/19/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/19/(2).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/19/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/19/(3).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/19/(4).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/19/(4).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/2/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/2/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/20/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/20/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/20/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/20/(2).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/20/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/20/(3).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/3/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/3/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/3/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/3/(2).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/3/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/3/(3).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/4/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/4/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/4/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/4/(2).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/4/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/4/(3).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/4/(4).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/4/(4).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/5/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/5/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/5/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/5/(2).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/5/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/5/(3).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/6/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/6/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/6/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/6/(2).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/6/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/6/(3).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/6/(4).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/6/(4).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/7/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/7/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/7/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/7/(2).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/7/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/7/(3).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/8/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/8/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/8/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/8/(2).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/8/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/8/(3).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/9/(1).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/9/(1).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/9/(2).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/9/(2).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/9/(3).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/9/(3).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/9/(4).jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/9/(4).jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/f1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/f1.jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/i1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/i1.jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/i2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/i2.jpg
--------------------------------------------------------------------------------
/target/x-test/img/fruits/i3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/fruits/i3.jpg
--------------------------------------------------------------------------------
/target/x-test/img/index/h0.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/index/h0.jpg
--------------------------------------------------------------------------------
/target/x-test/img/index/h1.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/index/h1.jpg
--------------------------------------------------------------------------------
/target/x-test/img/index/h2.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/index/h2.jpg
--------------------------------------------------------------------------------
/target/x-test/img/index/h3.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/index/h3.jpg
--------------------------------------------------------------------------------
/target/x-test/img/index/h4.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/index/h4.jpg
--------------------------------------------------------------------------------
/target/x-test/img/logo_login.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/Rhan2020/java-fruitsday/ece8b55eb419f0b68be43cd108a071a10fc9beec/target/x-test/img/logo_login.png
--------------------------------------------------------------------------------
/target/x-test/js/BSindex.js:
--------------------------------------------------------------------------------
1 | var unum=0;
2 | var fnum=0;
3 | function sss(t)
4 | {
5 | if(t=="u")
6 | {
7 | unum++;
8 | var u=document.getElementById("user_list");
9 | if(unum%2==1)
10 | u.style.display="none";
11 | else
12 | u.style.display="block";
13 | }
14 | else
15 | {
16 | fnum++;
17 | var f=document.getElementById("fruit_list");
18 | if(fnum%2==1)
19 | f.style.display="none";
20 | else
21 | f.style.display="block";
22 | }
23 |
24 | }
25 |
26 | function ox(s)
27 | {
28 | for(var i=0;i<7;i++)
29 | {
30 | var t="x"+i;
31 |
32 | if(s==t)
33 | {
34 | document.getElementById(t).style.display="block";
35 | }
36 | else
37 | {
38 | document.getElementById(t).style.display="none";
39 | }
40 | }
41 | }
42 |
43 |
--------------------------------------------------------------------------------
/target/x-test/js/reg.js:
--------------------------------------------------------------------------------
1 | function isEmail(){
2 | var email=document.getElementById("email").value;
3 | var error=document.getElementById("isEmail");
4 | var reg=/^[A-Za-z]+\w+(-|\.|)+\w*\@\w+((\.|-)\w+)*\.\w+/;
5 | if(email=="")
6 | error.innerText="邮箱不能为空!";
7 | else
8 | {
9 | if(reg.test(email))
10 | {
11 | document.getElementById("email").style.border="1px solid #669933";
12 | error.innerText="";
13 | return true;
14 | }
15 | else
16 | error.innerText="邮箱格式不正确!";
17 | }
18 | document.getElementById("email").style.border="1px solid red";
19 | return false;
20 | }
21 |
22 | function isPhone(){
23 | var phone=document.getElementById("phone").value;
24 | var error=document.getElementById("isPhone");
25 | var reg=/0?(13|14|15|18)[0-9]{9}$/;
26 | if(phone=="")
27 | error.innerText="手机不能为空!";
28 | else
29 | {
30 | if(reg.test(phone))
31 | {
32 | document.getElementById("phone").style.border="1px solid #669933";
33 | error.innerText="";
34 | return true;
35 | }
36 | else
37 | error.innerText="手机格式不正确!";
38 | }
39 | document.getElementById("phone").style.border="1px solid red";
40 | return false;
41 | }
42 |
43 | function isPwd1(){
44 | var pwd1=document.getElementById("pwd1").value;
45 | var error=document.getElementById("isPwd1");
46 | var reg=/^[A-Za-z0-9_-]+$/;
47 | if(pwd1=="")
48 | error.innerText="密码不能为空!";
49 | else
50 | {
51 | if(reg.test(pwd1))
52 | {
53 | document.getElementById("pwd1").style.border="1px solid #669933";
54 | error.innerText="";
55 | return true;
56 | }
57 | else
58 | error.innerText="密码格式不正确!";
59 | }
60 | document.getElementById("pwd1").style.border="1px solid red";
61 | return false;
62 | }
63 |
64 | function isPwd2(){
65 | var pwd2=document.getElementById("pwd2").value;
66 | var pwd1=document.getElementById("pwd1").value;
67 | var error=document.getElementById("isPwd2");
68 | if(pwd2=="")
69 | error.innerText="不能为空!";
70 | else
71 | {
72 | if(pwd2==pwd1)
73 | {
74 | document.getElementById("pwd2").style.border="1px solid #669933";
75 | error.innerText="";
76 | return true;
77 | }
78 | else
79 | error.innerText="密码不一致!";
80 | }
81 | document.getElementById("pwd2").style.border="1px solid red";
82 | return false;
83 | }
84 |
85 | function isReg()
86 | {
87 | if(isEmail()&&isPhone()&&isPwd1()&&isPwd2())
88 | document.getElementById("regForm").submit();
89 | else
90 | alert("请完成注册单!");
91 | }
92 |
93 |
94 |
95 |
96 |
97 |
--------------------------------------------------------------------------------
/target/x-test/js/sel.js:
--------------------------------------------------------------------------------
1 | /**
2 | * Created by xi on 2015/10/16.
3 | */
4 |
--------------------------------------------------------------------------------
/target/x-test/login.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Created by IntelliJ IDEA.
3 | User: xi
4 | Date: 2015/10/3
5 | Time: 20:48
6 | To change this template use File | Settings | File Templates.
7 | --%>
8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %>
9 |
10 |
11 |
12 |
用户登陆 - 天天果园-水果网购首选品牌,水果,我们只挑有来头的!
13 |
14 |
15 |
16 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
54 |
55 |
56 |
57 |
还没有天天果园账号?
58 |
注册赠时令鲜果1份
59 |
60 |
63 |
64 |
65 |
66 |
67 |
68 |
69 |
70 |
--------------------------------------------------------------------------------
/target/x-test/reg.jsp:
--------------------------------------------------------------------------------
1 | <%--
2 | Created by IntelliJ IDEA.
3 | User: xi
4 | Date: 2015/10/3
5 | Time: 21:01
6 | To change this template use File | Settings | File Templates.
7 | --%>
8 | <%@ page contentType="text/html;charset=UTF-8" language="java" %>
9 |
10 |
11 |
12 |
用户登陆 - 天天果园-水果网购首选品牌,水果,我们只挑有来头的!
13 |
14 |
15 |
16 |
21 |
22 |
23 |
24 |
25 |
30 |
31 |
32 |
33 |
注册会员
34 |
赠时令鲜果1份
35 |
36 |
37 |
60 |
61 |
62 |
63 |
64 | 已经是天天果园会员?
65 |
66 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
--------------------------------------------------------------------------------