基于.NET数字签名的区域在线购物系统

上传人:仙*** 文档编号:34997395 上传时间:2021-10-25 格式:DOC 页数:9 大小:651KB
返回 下载 相关 举报
基于.NET数字签名的区域在线购物系统_第1页
第1页 / 共9页
基于.NET数字签名的区域在线购物系统_第2页
第2页 / 共9页
基于.NET数字签名的区域在线购物系统_第3页
第3页 / 共9页
点击查看更多>>
资源描述
4.2 系统功能模块网上购物系统是由前台用户模块和后台管理员模块共同实现的。4.2.1 用户模块 前台用户模块主要包括商品分类,用户注册,用户菜单,搜索商品,公告,网店新闻这几个主要模块。前台用户模块如图4.1所示。前台用户模块公告用户注册搜索商品商品分类用户菜单网店新闻图4.1 前台系统模块图模块功能简介:用户通过“用户注册”成为网站的会员,并获得购买商品的权限;通过商品分类浏览并购买商品,并生成订单;登录同时浏览网店公告及新闻。4.2.2 管理员模块管理员模块的主要功能是实现在本网站的维护和管理,如类别的添加、删除管理;商品的添加,推荐,删除等管理;订单的管理等。如图4.2所示。后台管理员模块新闻信息管理销售统计管理商品管理添加商品管理商品查看留言删除留言订单管理查看订单删除订单商品种类管理排序种类添加种类删除种类删除种类用户信息管理修改个人信息删除个人信息公告信息管理留言信息管理发布公告删除公告发布新闻删除新闻图 4.2 后台管理员模块5.4 系统的界面设计5.4.1用户前台设计在页面的设计上尽量作到简洁、直观、严谨的特点。1 本系统采用框架结构设计页面,下图为本系统前台用户的界面设计:用户注册后进入系统界面,用户可以根据产品分类,进行浏览商品,选择好商品后,点击“加入购物车”,把产品加入购物车,并可以提交定单。用户界面的设计如图5-2所示:图5.2 用户前台界面5.4.2用户购物车设计用户选择完商品后,可以查看购物车,点击“我的购物车”,系统调出购物车界面,购物车界面的设计如图5.3所示:图5.3购物车界面其中“提交这次购物,并创建订单”的系统调取DesktopOrder.aspx文件,订单界面的设计如图5.4所示:图5.4订单管理界面其中“已经确认购物信息,提交订单”按钮如下所示:protected void CommitBtn_Click(object sender,EventArgs e)if(SessionSession.SessionID + OrderForm.Cart = null)return;OrderInfo order = (OrderInfo)SessionSession.SessionID + OrderForm.Cart;OrderForm orderform = new OrderForm();int nOrderFormID = orderform.AddOrderForm(Int32.Parse(SessionUserID.ToString(),order.TotalNumber,order.TotalMoney);if(nOrderFormID -1)OrderItem orderItem = new OrderItem();foreach(OrderItemInfo item in order.OrderItemList)orderItem.AddOrderItem(item.ProductID,item.Number,nOrderFormID);Response.Write(alert(提交订单成功!);5.4.3管理员后台设计系统的后台管理界面是管理员进行整个系统操作维护的主页界,依然采用框架结构,操作简单,直观,功能完备。系统的后台管理界面如下图所示:图5.5管理员后台界面5.4.4添加商品设计添加商品包括:先选择商品基本类别,商品名称,供应商或厂家,生产日期,进货日期,商品单位,进货数量,库存最大数量,库存最低数量,进货价格,销售价格,商品图书,详细描述及备注信息。图5.6 添加商品界面其中“确定”按钮的代码如下:protected void SureBtn_Click(object sender,EventArgs e)int nPictureID = 1; string PicName = ;Product product = new Product(); string file = Picture.PostedFile.FileName; string FileName = DateTime.Now.Year.ToString() + DateTime.Now.Month.ToString() + DateTime.Now.Day.ToString() + DateTime.Now.Hour.ToString() + DateTime.Now.Minute.ToString() + DateTime.Now.Second.ToString(); if (file.ToString() != ) /如果没输入上传文件,则返回 string TmpFile = Server.MapPath(././) + photo + + FileName + .jpg; Picture.PostedFile.SaveAs(TmpFile); /上传 PicName = FileName + .jpg; else PicName = ; product.AddProduct(Name.Text,nCategoryID,Desn.Text,Sell.Text,DateTime.Parse(CreateDate.Text),DateTime.Parse(SellInDate.Text),Unit.Text,Int32.Parse(Quantity.Text),Int32.Parse(Upper.Text),Int32.Parse(Lower.Text),Decimal.Parse(InPrice.Text),Decimal.Parse(OutPrice.Text),nPictureID,Remark.Text,PicName);Response.Write(window.alert(添加数据项成功。);5.4.5商品类别管理商品类别管理完成商品类别信息的添加、删除等功能。商品类别管理界面如图5.7所示:图5.7 类别管理界面其中“添加”按钮调用AddCategory.aspx文件,完成商品类别添加的功能。类别添加界面的“确定”按钮的代码如下:protected void SureBtn_Click(object sender,EventArgs e)Category category = new Category();category.AddCategory(Desn.Text.Trim(),nCategoryID,Remark.Text);Response.Write(window.alert(添加数据项成功。);5.4.6 新闻添加管理管理员可以完成新闻信息的管理,在后台添加新闻,新闻添加后,会在前台进行显示,新闻添加界面的设计如图5.8所示:图5.8 新闻添加界面其中“确定”按钮的代码如下:protected void SureBtn_Click(object sender,EventArgs e) News news = new News();news.AddNews(Desn.Text,Body.Text,Int32.Parse(SessionUserID.ToString();Response.Write(window.alert(添加数据项成功。);Investigation Detachment led the development of a small crime scene simple inspection process, as much as possible to the grassroots police burden, and the inspection results into the intelligence synthetic judgments, better service. Three is to adhere to the community operation to the police. The police insist on insufficient manpower, at all levels and the police should actively launched the peace volunteer participation Publicity and public security prevention, public security mediation and so on. In order to use auxiliary police force to help do a good job of urban and rural security patrols, contradictions and disputes mediation work. To the police station area as a unit, and actively seek the party, government and village home, support the increased prevention and treatment efforts, the social forces organized, make up for the shortage of police. A service attitude, one is key in the leadership. Leadership to make an example, if leaders dont take the lead, it is driven by the team. The second is to do a good job of education. Public security work all is for the people to strengthen the education of the mass line, really establish the concept of the masses, correct attitude towards the masses. The third is to improve service Do not attract the excellent service attitude assessment activities. In the citys public security organs to carry out police service attitude assessment activities, service attitude is not good cant Pingxian tree, can not promote reuse. To practice the immediately. Break through the park, cohesion is the municipal Party committee, municipal government made a major strategic deployment, at all levels of public security organs should resolutely abandon everything and accelerate the development to
展开阅读全文
相关资源
相关搜索

最新文档


当前位置:首页 > 办公文档 > 工作计划


copyright@ 2023-2025  zhuangpeitu.com 装配图网版权所有   联系电话:18123376007

备案号:ICP2024067431-1 川公网安备51140202000466号


本站为文档C2C交易模式,即用户上传的文档直接被用户下载,本站只是中间服务平台,本站所有文档下载所得的收益归上传人(含作者)所有。装配图网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。若文档所含内容侵犯了您的版权或隐私,请立即通知装配图网,我们立即给予删除!