【正文】
參考文獻(xiàn) ASP 動(dòng)態(tài)網(wǎng)頁(yè)設(shè)計(jì)教程 。之后就從網(wǎng)上到處 查找相關(guān)資料,努力的完成了這次的畢業(yè)設(shè)計(jì) 總之,經(jīng)過(guò)本次的畢業(yè)設(shè)計(jì),培養(yǎng)了自己不怕苦不怕累,勇往直前的精神,大大提高了自己的自學(xué)畢業(yè)設(shè)計(jì) 網(wǎng)上購(gòu)物系統(tǒng) 能力和解決問(wèn)題的能力,大大豐富了自己的專(zhuān)業(yè)知識(shí)和專(zhuān)業(yè)技能。首先,本系統(tǒng)是采用 ASP對(duì)象技術(shù)所完成的,雖然以前學(xué)過(guò) ASP,但并沒(méi)有學(xué)的很好,所以我只能重新翻出了 ASP動(dòng)態(tài)網(wǎng)頁(yè)設(shè)計(jì)教程,從頭開(kāi)始看。這個(gè)論文的題目是“網(wǎng)上購(gòu)物系統(tǒng)”。 畢業(yè)設(shè)計(jì) 網(wǎng)上購(gòu)物系統(tǒng) 圖 47: 收銀臺(tái)的頁(yè)面 ? 我的訂單 登錄用戶(hù)可在“我的訂單”鏈接頁(yè)面中看到自己訂購(gòu)的所有商品的處理狀態(tài),如圖 48 所示。 圖 46: 購(gòu)物車(chē)的頁(yè)面 ? 收銀臺(tái)管理 把商品放入購(gòu)物車(chē)和在超市把商品放在購(gòu)物籃是一樣的,還需要到收款臺(tái)確認(rèn)。 畢業(yè)設(shè)計(jì) 網(wǎng)上購(gòu)物系統(tǒng) 圖 45: 訂購(gòu)商品的信息 ? 購(gòu)物車(chē)管理 把商品放入購(gòu)物車(chē)和在超市把商品放在購(gòu)物籃是一樣的,在到收款臺(tái)之前需要進(jìn)行確認(rèn)。按分類(lèi)查看商品的頁(yè)面,如圖 44 所示。 畢業(yè)設(shè)計(jì) 網(wǎng)上購(gòu)物系統(tǒng) 圖 42: 用戶(hù)注冊(cè)界面 用戶(hù)登錄界面如圖 43 所示。dok39。GO39。contents39。submit39。currentpageamp。page39。text39。contents39。maxperpageamp。totalnumberamp。contents39。namp。contents39。CurrentPageamp。contents39。contents39。contents39。namp。filenameamp。contents39。(CurrentPage+1)amp。filenameamp。contents39。contents39。CurrentPage1amp。filenameamp。contents39。filenameamp。contents39。contents39。center39。filenameamp。開(kāi)始分頁(yè) Const MaxPerPage=5 dim totalPut dim CurrentPage dim TotalPages dim j dim sql if Not isempty(request(page)) then currentPage=Cint(request(page)) else currentPage=1 end if set rs=() select top 100 pronum,discount,score,name,mark,vipprice,id,author,productdate,price2,price1,discount,pic from product order by solded desc,conn,1,1 if 0 then call MsgBox(數(shù)據(jù)庫(kù)中無(wú)數(shù)據(jù) ,Back,None) end if if And then call MsgBox(對(duì)不起,目前沒(méi)有更新商品! ,Back,None) else totalPut= if currentpage1 then urrentpage=1 end if if (currentpage1)*MaxPerPagetotalput then if (totalPut mod MaxPerPage)=0 then currentpage= totalPut \ MaxPerPage else currentpage= totalPut \ MaxPerPage + 1 end if end if if currentPage=1 then else if (currentPage1)*MaxPerPagetotalPut then (currentPage1)*MaxPerPage dim bookmark bookmark= else 畢業(yè)設(shè)計(jì) 網(wǎng)上購(gòu)物系統(tǒng) currentPage=1 end if end if end if dim i i=0 do while not % tr td width=17% height=130 align=center valign=middle bgcolor=E0EBFC class=shadowa href=?id=%=trim(rs(id))% target=_blankimg src=%=trim(rs(pic))% width=85 height=125 border=0/a/td td height=130 align=left valign=toptable width=100% border=0 cellspacing=2 cellpadding=0 tr bgcolor=E0EBFC td colspan=2img src=images/ width=18 height=18span class=booktitle%=trim(rs(name))%/span/td /tr tr bgcolor=E0EBFC class=bookinfo td width=50% height=12 class=bookinfo 品 牌:%=trim(rs(author))%/td td width=50% class=bookinfo 出廠地址: %=trim(rs(mark))%/td /tr tr bgcolor=E0EBFC class=bookinfo td width=50%優(yōu)惠價(jià): %=trim(rs(price2))%/td td width=50%出廠日期: %=trim(rs(productdate))%/td /tr tr bgcolor=E0EBFC class=bookinfo td定 價(jià): %=trim(rs(price1))%/td tdVIP 價(jià)格: %=rs(vipprice)%/td /tr tr bgcolor=E0EBFC class=bookinfo td折 扣: %=trim(rs(discount)*100)%/td td 積 分: %=rs(score)%/td /tr tr bgcolor=E0EBFC class=bookinfo td width=50% /td td width=50% /td /tr tr bgcolor=E0EBFC td colspan=2 align=centera href=?id=%=rs(id)%amp。 畢業(yè)設(shè)計(jì) 網(wǎng)上購(gòu)物系統(tǒng) 圖 41: 主界面 %LANGUAGE=VBSCRIPT CODEPAGE=936% % %!include file=manage/inc/ !include file=inc/ html head meta equiv=ContentType content=text/html。如果是注冊(cè)用戶(hù),則程序不執(zhí)行任何操作;否則顯示提示信息。 39。 amp。 39。 amp。如果用戶(hù)名為空,則顯示提示信息 If Us